@aws-sdk/client-sagemaker 3.350.0 → 3.351.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/models/models_0.js +2 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/AddTagsCommand.d.ts +2 -1
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointCommand.d.ts +8 -8
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +7 -5
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +2 -3
- package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/ListCompilationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +52 -49
- package/dist-types/models/models_1.d.ts +69 -68
- package/dist-types/models/models_2.d.ts +64 -66
- package/dist-types/models/models_3.d.ts +31 -13
- package/dist-types/models/models_4.d.ts +16 -14
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
|
@@ -761,10 +761,12 @@ exports.TargetDevice = {
|
|
|
761
761
|
ML_EIA2: "ml_eia2",
|
|
762
762
|
ML_G4DN: "ml_g4dn",
|
|
763
763
|
ML_INF1: "ml_inf1",
|
|
764
|
+
ML_INF2: "ml_inf2",
|
|
764
765
|
ML_M4: "ml_m4",
|
|
765
766
|
ML_M5: "ml_m5",
|
|
766
767
|
ML_P2: "ml_p2",
|
|
767
768
|
ML_P3: "ml_p3",
|
|
769
|
+
ML_TRN1: "ml_trn1",
|
|
768
770
|
QCS603: "qcs603",
|
|
769
771
|
QCS605: "qcs605",
|
|
770
772
|
RASP3B: "rasp3b",
|
|
@@ -755,10 +755,12 @@ export const TargetDevice = {
|
|
|
755
755
|
ML_EIA2: "ml_eia2",
|
|
756
756
|
ML_G4DN: "ml_g4dn",
|
|
757
757
|
ML_INF1: "ml_inf1",
|
|
758
|
+
ML_INF2: "ml_inf2",
|
|
758
759
|
ML_M4: "ml_m4",
|
|
759
760
|
ML_M5: "ml_m5",
|
|
760
761
|
ML_P2: "ml_p2",
|
|
761
762
|
ML_P3: "ml_p3",
|
|
763
|
+
ML_TRN1: "ml_trn1",
|
|
762
764
|
QCS603: "qcs603",
|
|
763
765
|
QCS605: "qcs605",
|
|
764
766
|
RASP3B: "rasp3b",
|
|
@@ -46,7 +46,8 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
46
46
|
* this API. To make sure that the tags associated with a Domain or User Profile are
|
|
47
47
|
* also added to all Apps that the Domain or User Profile launches, add the tags when
|
|
48
48
|
* you first create the Domain or User Profile by specifying them in the
|
|
49
|
-
*
|
|
49
|
+
* <code>Tags</code> parameter of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateDomain.html">CreateDomain</a>
|
|
50
|
+
* or <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateUserProfile.html">CreateUserProfile</a>.</p>
|
|
50
51
|
* </note>
|
|
51
52
|
* @example
|
|
52
53
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -73,7 +73,7 @@ export interface CreateCompilationJobCommandOutput extends CreateCompilationJobR
|
|
|
73
73
|
* },
|
|
74
74
|
* OutputConfig: { // OutputConfig
|
|
75
75
|
* S3OutputLocation: "STRING_VALUE", // required
|
|
76
|
-
* TargetDevice: "lambda" || "ml_m4" || "ml_m5" || "ml_c4" || "ml_c5" || "ml_p2" || "ml_p3" || "ml_g4dn" || "ml_inf1" || "ml_eia2" || "jetson_tx1" || "jetson_tx2" || "jetson_nano" || "jetson_xavier" || "rasp3b" || "imx8qm" || "deeplens" || "rk3399" || "rk3288" || "aisage" || "sbe_c" || "qcs605" || "qcs603" || "sitara_am57x" || "amba_cv2" || "amba_cv22" || "amba_cv25" || "x86_win32" || "x86_win64" || "coreml" || "jacinto_tda4vm" || "imx8mplus",
|
|
76
|
+
* TargetDevice: "lambda" || "ml_m4" || "ml_m5" || "ml_c4" || "ml_c5" || "ml_p2" || "ml_p3" || "ml_g4dn" || "ml_inf1" || "ml_inf2" || "ml_trn1" || "ml_eia2" || "jetson_tx1" || "jetson_tx2" || "jetson_nano" || "jetson_xavier" || "rasp3b" || "imx8qm" || "deeplens" || "rk3399" || "rk3288" || "aisage" || "sbe_c" || "qcs605" || "qcs603" || "sitara_am57x" || "amba_cv2" || "amba_cv22" || "amba_cv25" || "x86_win32" || "x86_win64" || "coreml" || "jacinto_tda4vm" || "imx8mplus",
|
|
77
77
|
* TargetPlatform: { // TargetPlatform
|
|
78
78
|
* Os: "ANDROID" || "LINUX", // required
|
|
79
79
|
* Arch: "X86_64" || "X86" || "ARM64" || "ARM_EABI" || "ARM_EABIHF", // required
|
|
@@ -41,22 +41,22 @@ export interface CreateEndpointCommandOutput extends CreateEndpointOutput, __Met
|
|
|
41
41
|
* <p>When it receives the request, SageMaker creates the endpoint, launches the resources (ML
|
|
42
42
|
* compute instances), and deploys the model(s) on them. </p>
|
|
43
43
|
* <note>
|
|
44
|
-
* <p>When you call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a>, a load call is made to DynamoDB to
|
|
45
|
-
*
|
|
46
|
-
*
|
|
44
|
+
* <p>When you call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a>, a load call is made to DynamoDB to verify that your
|
|
45
|
+
* endpoint configuration exists. When you read data from a DynamoDB table supporting
|
|
46
|
+
* <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html">
|
|
47
47
|
* <code>Eventually Consistent Reads</code>
|
|
48
48
|
* </a>, the response might not
|
|
49
49
|
* reflect the results of a recently completed write operation. The response might
|
|
50
50
|
* include some stale data. If the dependent entities are not yet in DynamoDB, this
|
|
51
51
|
* causes a validation error. If you repeat your read request after a short time, the
|
|
52
52
|
* response should return the latest data. So retry logic is recommended to handle
|
|
53
|
-
* these possible issues. We also recommend that customers call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpointConfig.html">DescribeEndpointConfig</a> before calling <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> to minimize the potential impact of a DynamoDB
|
|
53
|
+
* these possible issues. We also recommend that customers call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpointConfig.html">DescribeEndpointConfig</a> before calling <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> to minimize the potential impact of a DynamoDB
|
|
54
|
+
* eventually consistent read.</p>
|
|
54
55
|
* </note>
|
|
55
56
|
* <p>When SageMaker receives the request, it sets the endpoint status to
|
|
56
57
|
* <code>Creating</code>. After it creates the endpoint, it sets the status to
|
|
57
58
|
* <code>InService</code>. SageMaker can then process incoming requests for inferences. To
|
|
58
|
-
* check the status of an endpoint, use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html">DescribeEndpoint</a>
|
|
59
|
-
* API.</p>
|
|
59
|
+
* check the status of an endpoint, use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html">DescribeEndpoint</a> API.</p>
|
|
60
60
|
* <p>If any of the models hosted at this endpoint get model data from an Amazon S3 location,
|
|
61
61
|
* SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the
|
|
62
62
|
* S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services
|
|
@@ -69,8 +69,8 @@ export interface CreateEndpointCommandOutput extends CreateEndpointOutput, __Met
|
|
|
69
69
|
* <note>
|
|
70
70
|
* <p> To add the IAM role policies for using this API operation, go to the <a href="https://console.aws.amazon.com/iam/">IAM console</a>, and choose
|
|
71
71
|
* Roles in the left navigation pane. Search the IAM role that you want to grant
|
|
72
|
-
* access to use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html">CreateEndpointConfig</a> API operations, add the following policies to
|
|
73
|
-
*
|
|
72
|
+
* access to use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html">CreateEndpointConfig</a> API operations, add the following policies to the
|
|
73
|
+
* role. </p>
|
|
74
74
|
* <ul>
|
|
75
75
|
* <li>
|
|
76
76
|
* <p>Option 1: For a full SageMaker access, search and attach the
|
|
@@ -26,7 +26,8 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
26
26
|
* <p>Creates an endpoint configuration that SageMaker hosting services uses to deploy models. In
|
|
27
27
|
* the configuration, you identify one or more models, created using the
|
|
28
28
|
* <code>CreateModel</code> API, to deploy and the resources that you want SageMaker to
|
|
29
|
-
* provision. Then you call the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a>
|
|
29
|
+
* provision. Then you call the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a>
|
|
30
|
+
* API.</p>
|
|
30
31
|
* <note>
|
|
31
32
|
* <p> Use this API if you want to use SageMaker hosting services to deploy models into
|
|
32
33
|
* production. </p>
|
|
@@ -41,16 +42,17 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
41
42
|
* for model B. SageMaker distributes two-thirds of the traffic to Model A, and one-third to
|
|
42
43
|
* model B. </p>
|
|
43
44
|
* <note>
|
|
44
|
-
* <p>When you call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a>, a load call is made to DynamoDB to
|
|
45
|
-
*
|
|
46
|
-
*
|
|
45
|
+
* <p>When you call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a>, a load call is made to DynamoDB to verify that your
|
|
46
|
+
* endpoint configuration exists. When you read data from a DynamoDB table supporting
|
|
47
|
+
* <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html">
|
|
47
48
|
* <code>Eventually Consistent Reads</code>
|
|
48
49
|
* </a>, the response might not
|
|
49
50
|
* reflect the results of a recently completed write operation. The response might
|
|
50
51
|
* include some stale data. If the dependent entities are not yet in DynamoDB, this
|
|
51
52
|
* causes a validation error. If you repeat your read request after a short time, the
|
|
52
53
|
* response should return the latest data. So retry logic is recommended to handle
|
|
53
|
-
* these possible issues. We also recommend that customers call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpointConfig.html">DescribeEndpointConfig</a> before calling <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> to minimize the potential impact of a DynamoDB
|
|
54
|
+
* these possible issues. We also recommend that customers call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpointConfig.html">DescribeEndpointConfig</a> before calling <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html">CreateEndpoint</a> to minimize the potential impact of a DynamoDB
|
|
55
|
+
* eventually consistent read.</p>
|
|
54
56
|
* </note>
|
|
55
57
|
* @example
|
|
56
58
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -37,9 +37,8 @@ export interface CreatePresignedNotebookInstanceUrlCommandOutput extends CreateP
|
|
|
37
37
|
* <code>aws:SourceIP</code> condition context key to specify the list of IP addresses
|
|
38
38
|
* that you want to have access to the notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/security_iam_id-based-policy-examples.html#nbi-ip-filter">Limit Access to a Notebook Instance by IP Address</a>.</p>
|
|
39
39
|
* <note>
|
|
40
|
-
* <p>The URL that you get from a call to <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreatePresignedNotebookInstanceUrl.html">CreatePresignedNotebookInstanceUrl</a> is valid only for 5 minutes. If
|
|
41
|
-
*
|
|
42
|
-
* Amazon Web Services console sign-in page.</p>
|
|
40
|
+
* <p>The URL that you get from a call to <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreatePresignedNotebookInstanceUrl.html">CreatePresignedNotebookInstanceUrl</a> is valid only for 5 minutes. If you
|
|
41
|
+
* try to use the URL after the 5-minute limit expires, you are directed to the Amazon Web Services console sign-in page.</p>
|
|
43
42
|
* </note>
|
|
44
43
|
* @example
|
|
45
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -67,7 +67,7 @@ export interface DescribeCompilationJobCommandOutput extends DescribeCompilation
|
|
|
67
67
|
* // },
|
|
68
68
|
* // OutputConfig: { // OutputConfig
|
|
69
69
|
* // S3OutputLocation: "STRING_VALUE", // required
|
|
70
|
-
* // TargetDevice: "lambda" || "ml_m4" || "ml_m5" || "ml_c4" || "ml_c5" || "ml_p2" || "ml_p3" || "ml_g4dn" || "ml_inf1" || "ml_eia2" || "jetson_tx1" || "jetson_tx2" || "jetson_nano" || "jetson_xavier" || "rasp3b" || "imx8qm" || "deeplens" || "rk3399" || "rk3288" || "aisage" || "sbe_c" || "qcs605" || "qcs603" || "sitara_am57x" || "amba_cv2" || "amba_cv22" || "amba_cv25" || "x86_win32" || "x86_win64" || "coreml" || "jacinto_tda4vm" || "imx8mplus",
|
|
70
|
+
* // TargetDevice: "lambda" || "ml_m4" || "ml_m5" || "ml_c4" || "ml_c5" || "ml_p2" || "ml_p3" || "ml_g4dn" || "ml_inf1" || "ml_inf2" || "ml_trn1" || "ml_eia2" || "jetson_tx1" || "jetson_tx2" || "jetson_nano" || "jetson_xavier" || "rasp3b" || "imx8qm" || "deeplens" || "rk3399" || "rk3288" || "aisage" || "sbe_c" || "qcs605" || "qcs603" || "sitara_am57x" || "amba_cv2" || "amba_cv22" || "amba_cv25" || "x86_win32" || "x86_win64" || "coreml" || "jacinto_tda4vm" || "imx8mplus",
|
|
71
71
|
* // TargetPlatform: { // TargetPlatform
|
|
72
72
|
* // Os: "ANDROID" || "LINUX", // required
|
|
73
73
|
* // Arch: "X86_64" || "X86" || "ARM64" || "ARM_EABI" || "ARM_EABIHF", // required
|
|
@@ -54,7 +54,7 @@ export interface ListCompilationJobsCommandOutput extends ListCompilationJobsRes
|
|
|
54
54
|
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
55
55
|
* // CompilationStartTime: new Date("TIMESTAMP"),
|
|
56
56
|
* // CompilationEndTime: new Date("TIMESTAMP"),
|
|
57
|
-
* // CompilationTargetDevice: "lambda" || "ml_m4" || "ml_m5" || "ml_c4" || "ml_c5" || "ml_p2" || "ml_p3" || "ml_g4dn" || "ml_inf1" || "ml_eia2" || "jetson_tx1" || "jetson_tx2" || "jetson_nano" || "jetson_xavier" || "rasp3b" || "imx8qm" || "deeplens" || "rk3399" || "rk3288" || "aisage" || "sbe_c" || "qcs605" || "qcs603" || "sitara_am57x" || "amba_cv2" || "amba_cv22" || "amba_cv25" || "x86_win32" || "x86_win64" || "coreml" || "jacinto_tda4vm" || "imx8mplus",
|
|
57
|
+
* // CompilationTargetDevice: "lambda" || "ml_m4" || "ml_m5" || "ml_c4" || "ml_c5" || "ml_p2" || "ml_p3" || "ml_g4dn" || "ml_inf1" || "ml_inf2" || "ml_trn1" || "ml_eia2" || "jetson_tx1" || "jetson_tx2" || "jetson_nano" || "jetson_xavier" || "rasp3b" || "imx8qm" || "deeplens" || "rk3399" || "rk3288" || "aisage" || "sbe_c" || "qcs605" || "qcs603" || "sitara_am57x" || "amba_cv2" || "amba_cv22" || "amba_cv25" || "x86_win32" || "x86_win64" || "coreml" || "jacinto_tda4vm" || "imx8mplus",
|
|
58
58
|
* // CompilationTargetPlatformOs: "ANDROID" || "LINUX",
|
|
59
59
|
* // CompilationTargetPlatformArch: "X86_64" || "X86" || "ARM64" || "ARM_EABI" || "ARM_EABIHF",
|
|
60
60
|
* // CompilationTargetPlatformAccelerator: "INTEL_GRAPHICS" || "MALI" || "NVIDIA" || "NNA",
|
|
@@ -23,8 +23,8 @@ export interface ListTrainingJobsForHyperParameterTuningJobCommandOutput extends
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Gets a list of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TrainingJobSummary.html">TrainingJobSummary</a> objects that describe the training
|
|
27
|
-
*
|
|
26
|
+
* <p>Gets a list of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TrainingJobSummary.html">TrainingJobSummary</a> objects that describe the training jobs that a
|
|
27
|
+
* hyperparameter tuning job launched.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -28,7 +28,7 @@ export interface UpdateEndpointCommandOutput extends UpdateEndpointOutput, __Met
|
|
|
28
28
|
* using the previous <code>EndpointConfig</code> (there is no availability loss). </p>
|
|
29
29
|
* <p>When SageMaker receives the request, it sets the endpoint status to
|
|
30
30
|
* <code>Updating</code>. After updating the endpoint, it sets the status to
|
|
31
|
-
*
|
|
31
|
+
* <code>InService</code>. To check the status of an endpoint, use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html">DescribeEndpoint</a> API.
|
|
32
32
|
*
|
|
33
33
|
* </p>
|
|
34
34
|
* <note>
|
|
@@ -572,8 +572,7 @@ export interface MetricDefinition {
|
|
|
572
572
|
/**
|
|
573
573
|
* <p>A regular expression that searches the output of a training job and gets the value of
|
|
574
574
|
* the metric. For more information about using regular expressions to define metrics, see
|
|
575
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics-variables.html">Defining
|
|
576
|
-
* metrics and environment variables</a>.</p>
|
|
575
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics-variables.html">Defining metrics and environment variables</a>.</p>
|
|
577
576
|
*/
|
|
578
577
|
Regex: string | undefined;
|
|
579
578
|
}
|
|
@@ -633,11 +632,10 @@ export declare const TrainingInputMode: {
|
|
|
633
632
|
export type TrainingInputMode = (typeof TrainingInputMode)[keyof typeof TrainingInputMode];
|
|
634
633
|
/**
|
|
635
634
|
* @public
|
|
636
|
-
* <p>Specifies the training algorithm to use in a <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html">CreateTrainingJob</a>
|
|
637
|
-
* request.</p>
|
|
635
|
+
* <p>Specifies the training algorithm to use in a <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html">CreateTrainingJob</a> request.</p>
|
|
638
636
|
* <p>For more information about algorithms provided by SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. For
|
|
639
637
|
* information about using your own algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with
|
|
640
|
-
*
|
|
638
|
+
* Amazon SageMaker</a>. </p>
|
|
641
639
|
*/
|
|
642
640
|
export interface AlgorithmSpecification {
|
|
643
641
|
/**
|
|
@@ -939,7 +937,8 @@ export type S3DataType = (typeof S3DataType)[keyof typeof S3DataType];
|
|
|
939
937
|
/**
|
|
940
938
|
* @public
|
|
941
939
|
* <p>Describes the S3 data source.</p>
|
|
942
|
-
* <p>Your input bucket must be in the same Amazon Web Services region as your training
|
|
940
|
+
* <p>Your input bucket must be in the same Amazon Web Services region as your training
|
|
941
|
+
* job.</p>
|
|
943
942
|
*/
|
|
944
943
|
export interface S3DataSource {
|
|
945
944
|
/**
|
|
@@ -969,8 +968,8 @@ export interface S3DataSource {
|
|
|
969
968
|
* </p>
|
|
970
969
|
* <p> A manifest is an S3 object which is a JSON file consisting of an array of
|
|
971
970
|
* elements. The first element is a prefix which is followed by one or more
|
|
972
|
-
* suffixes. SageMaker appends the suffix elements to the prefix to get a full set
|
|
973
|
-
*
|
|
971
|
+
* suffixes. SageMaker appends the suffix elements to the prefix to get a full set of
|
|
972
|
+
* <code>S3Uri</code>. Note that the prefix must be a valid non-empty
|
|
974
973
|
* <code>S3Uri</code> that precludes users from specifying a manifest whose
|
|
975
974
|
* individual <code>S3Uri</code> is sourced from different S3 buckets.</p>
|
|
976
975
|
* <p> The following code example shows a valid manifest format: </p>
|
|
@@ -1012,7 +1011,8 @@ export interface S3DataSource {
|
|
|
1012
1011
|
* your behalf. </p>
|
|
1013
1012
|
* </li>
|
|
1014
1013
|
* </ul>
|
|
1015
|
-
* <p>Your input bucket must be located in same Amazon Web Services region as your
|
|
1014
|
+
* <p>Your input bucket must be located in same Amazon Web Services region as your
|
|
1015
|
+
* training job.</p>
|
|
1016
1016
|
*/
|
|
1017
1017
|
S3Uri: string | undefined;
|
|
1018
1018
|
/**
|
|
@@ -1129,12 +1129,11 @@ export interface Channel {
|
|
|
1129
1129
|
* <p>(Optional) The input mode to use for the data channel in a training job. If you don't
|
|
1130
1130
|
* set a value for <code>InputMode</code>, SageMaker uses the value set for
|
|
1131
1131
|
* <code>TrainingInputMode</code>. Use this parameter to override the
|
|
1132
|
-
*
|
|
1133
|
-
*
|
|
1134
|
-
*
|
|
1135
|
-
*
|
|
1136
|
-
*
|
|
1137
|
-
* mode.</p>
|
|
1132
|
+
* <code>TrainingInputMode</code> setting in a <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AlgorithmSpecification.html">AlgorithmSpecification</a> request when you have a channel that needs a
|
|
1133
|
+
* different input mode from the training job's general setting. To download the data from
|
|
1134
|
+
* Amazon Simple Storage Service (Amazon S3) to the provisioned ML storage volume, and mount the directory to a
|
|
1135
|
+
* Docker volume, use <code>File</code> input mode. To stream data directly from Amazon S3 to
|
|
1136
|
+
* the container, choose <code>Pipe</code> input mode.</p>
|
|
1138
1137
|
* <p>To use a model for incremental training, choose <code>File</code> input model.</p>
|
|
1139
1138
|
*/
|
|
1140
1139
|
InputMode?: TrainingInputMode | string;
|
|
@@ -1862,8 +1861,8 @@ export interface TransformJobDefinition {
|
|
|
1862
1861
|
*/
|
|
1863
1862
|
TransformInput: TransformInput | undefined;
|
|
1864
1863
|
/**
|
|
1865
|
-
* <p>Identifies the Amazon S3 location where you want Amazon SageMaker to save the results
|
|
1866
|
-
*
|
|
1864
|
+
* <p>Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the
|
|
1865
|
+
* transform job.</p>
|
|
1867
1866
|
*/
|
|
1868
1867
|
TransformOutput: TransformOutput | undefined;
|
|
1869
1868
|
/**
|
|
@@ -3896,7 +3895,8 @@ export interface AsyncInferenceNotificationConfig {
|
|
|
3896
3895
|
/**
|
|
3897
3896
|
* <p>The Amazon SNS topics where you want the inference response to be included.</p>
|
|
3898
3897
|
* <note>
|
|
3899
|
-
* <p>The inference response is included only if the response size is less than or equal
|
|
3898
|
+
* <p>The inference response is included only if the response size is less than or equal
|
|
3899
|
+
* to 128 KB.</p>
|
|
3900
3900
|
* </note>
|
|
3901
3901
|
*/
|
|
3902
3902
|
IncludeInferenceResponseIn?: (AsyncNotificationTopicTypes | string)[];
|
|
@@ -4674,13 +4674,12 @@ export interface AutoMLJobChannel {
|
|
|
4674
4674
|
* content types for different problems:</p>
|
|
4675
4675
|
* <ul>
|
|
4676
4676
|
* <li>
|
|
4677
|
-
* <p>ImageClassification: <code>image/png</code>, <code>image/jpeg</code>,
|
|
4678
|
-
* <code>image/*</code>
|
|
4679
|
-
* </p>
|
|
4677
|
+
* <p>ImageClassification: <code>image/png</code>, <code>image/jpeg</code>, or
|
|
4678
|
+
* <code>image/*</code>. The default value is <code>image/*</code>.</p>
|
|
4680
4679
|
* </li>
|
|
4681
4680
|
* <li>
|
|
4682
|
-
* <p>TextClassification: <code>text/csv;header=present</code>
|
|
4683
|
-
* </p>
|
|
4681
|
+
* <p>TextClassification: <code>text/csv;header=present</code> or <code>x-application/vnd.amazon+parquet</code>.
|
|
4682
|
+
* The default value is <code>text/csv;header=present</code>.</p>
|
|
4684
4683
|
* </li>
|
|
4685
4684
|
* </ul>
|
|
4686
4685
|
*/
|
|
@@ -5074,9 +5073,9 @@ export declare const AutoMLSortOrder: {
|
|
|
5074
5073
|
export type AutoMLSortOrder = (typeof AutoMLSortOrder)[keyof typeof AutoMLSortOrder];
|
|
5075
5074
|
/**
|
|
5076
5075
|
* @public
|
|
5077
|
-
* <p>The name and an example value of the hyperparameter that
|
|
5078
|
-
*
|
|
5079
|
-
*
|
|
5076
|
+
* <p>The name and an example value of the hyperparameter that you want to use in Autotune.
|
|
5077
|
+
* If Automatic model tuning (AMT) determines that your hyperparameter is eligible for
|
|
5078
|
+
* Autotune, an optimal hyperparameter range is selected for you.</p>
|
|
5080
5079
|
*/
|
|
5081
5080
|
export interface AutoParameter {
|
|
5082
5081
|
/**
|
|
@@ -5114,24 +5113,26 @@ export declare const AutotuneMode: {
|
|
|
5114
5113
|
export type AutotuneMode = (typeof AutotuneMode)[keyof typeof AutotuneMode];
|
|
5115
5114
|
/**
|
|
5116
5115
|
* @public
|
|
5117
|
-
* <p>A flag to indicate if you want to use Autotune to automatically find optimal values
|
|
5118
|
-
* the following fields:</p>
|
|
5116
|
+
* <p>A flag to indicate if you want to use Autotune to automatically find optimal values
|
|
5117
|
+
* for the following fields:</p>
|
|
5119
5118
|
* <ul>
|
|
5120
5119
|
* <li>
|
|
5121
5120
|
* <p>
|
|
5122
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-ParameterRanges">ParameterRanges</a>: The names and ranges of parameters that a
|
|
5123
|
-
* tuning job can optimize.</p>
|
|
5121
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-ParameterRanges">ParameterRanges</a>: The names and ranges of parameters that a
|
|
5122
|
+
* hyperparameter tuning job can optimize.</p>
|
|
5124
5123
|
* </li>
|
|
5125
5124
|
* <li>
|
|
5126
5125
|
* <p>
|
|
5127
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceLimits.html">ResourceLimits</a>: The maximum resources that can be used for a
|
|
5128
|
-
* These resources include the maximum number of training jobs, the
|
|
5129
|
-
* tuning job, and the maximum number of training jobs to run
|
|
5126
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceLimits.html">ResourceLimits</a>: The maximum resources that can be used for a
|
|
5127
|
+
* training job. These resources include the maximum number of training jobs, the
|
|
5128
|
+
* maximum runtime of a tuning job, and the maximum number of training jobs to run
|
|
5129
|
+
* at the same time.</p>
|
|
5130
5130
|
* </li>
|
|
5131
5131
|
* <li>
|
|
5132
5132
|
* <p>
|
|
5133
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-TrainingJobEarlyStoppingType">TrainingJobEarlyStoppingType</a>: A flag that specifies whether or not
|
|
5134
|
-
* early stopping for training jobs launched by a hyperparameter tuning
|
|
5133
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-TrainingJobEarlyStoppingType">TrainingJobEarlyStoppingType</a>: A flag that specifies whether or not
|
|
5134
|
+
* to use early stopping for training jobs launched by a hyperparameter tuning
|
|
5135
|
+
* job.</p>
|
|
5135
5136
|
* </li>
|
|
5136
5137
|
* <li>
|
|
5137
5138
|
* <p>
|
|
@@ -5139,13 +5140,14 @@ export type AutotuneMode = (typeof AutotuneMode)[keyof typeof AutotuneMode];
|
|
|
5139
5140
|
* </li>
|
|
5140
5141
|
* <li>
|
|
5141
5142
|
* <p>
|
|
5142
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html">Strategy</a>: Specifies how hyperparameter tuning chooses the
|
|
5143
|
-
* hyperparameter values to use for the training jobs that it
|
|
5143
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html">Strategy</a>: Specifies how hyperparameter tuning chooses the
|
|
5144
|
+
* combinations of hyperparameter values to use for the training jobs that it
|
|
5145
|
+
* launches.</p>
|
|
5144
5146
|
* </li>
|
|
5145
5147
|
* <li>
|
|
5146
5148
|
* <p>
|
|
5147
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ConvergenceDetected.html">ConvergenceDetected</a>: A flag to indicate that Automatic model tuning
|
|
5148
|
-
* convergence.</p>
|
|
5149
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ConvergenceDetected.html">ConvergenceDetected</a>: A flag to indicate that Automatic model tuning
|
|
5150
|
+
* (AMT) has detected model convergence.</p>
|
|
5149
5151
|
* </li>
|
|
5150
5152
|
* </ul>
|
|
5151
5153
|
*/
|
|
@@ -5892,11 +5894,11 @@ export interface ChannelSpecification {
|
|
|
5892
5894
|
SupportedCompressionTypes?: (CompressionType | string)[];
|
|
5893
5895
|
/**
|
|
5894
5896
|
* <p>The allowed input mode, either FILE or PIPE.</p>
|
|
5895
|
-
* <p>In FILE mode, Amazon SageMaker copies the data from the input source onto the local
|
|
5896
|
-
*
|
|
5897
|
-
*
|
|
5898
|
-
* <p>In PIPE mode, Amazon SageMaker streams input data from the source directly to your
|
|
5899
|
-
*
|
|
5897
|
+
* <p>In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon
|
|
5898
|
+
* Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This
|
|
5899
|
+
* is the most commonly used input mode.</p>
|
|
5900
|
+
* <p>In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm
|
|
5901
|
+
* without using the EBS volume.</p>
|
|
5900
5902
|
*/
|
|
5901
5903
|
SupportedInputModes: (TrainingInputMode | string)[] | undefined;
|
|
5902
5904
|
}
|
|
@@ -6487,10 +6489,12 @@ export declare const TargetDevice: {
|
|
|
6487
6489
|
readonly ML_EIA2: "ml_eia2";
|
|
6488
6490
|
readonly ML_G4DN: "ml_g4dn";
|
|
6489
6491
|
readonly ML_INF1: "ml_inf1";
|
|
6492
|
+
readonly ML_INF2: "ml_inf2";
|
|
6490
6493
|
readonly ML_M4: "ml_m4";
|
|
6491
6494
|
readonly ML_M5: "ml_m5";
|
|
6492
6495
|
readonly ML_P2: "ml_p2";
|
|
6493
6496
|
readonly ML_P3: "ml_p3";
|
|
6497
|
+
readonly ML_TRN1: "ml_trn1";
|
|
6494
6498
|
readonly QCS603: "qcs603";
|
|
6495
6499
|
readonly QCS605: "qcs605";
|
|
6496
6500
|
readonly RASP3B: "rasp3b";
|
|
@@ -6777,8 +6781,7 @@ export interface ContainerDefinition {
|
|
|
6777
6781
|
* SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both
|
|
6778
6782
|
* <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code>
|
|
6779
6783
|
* 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
|
|
6780
|
-
*
|
|
6781
|
-
* </p>
|
|
6784
|
+
* Amazon SageMaker</a>. </p>
|
|
6782
6785
|
* <note>
|
|
6783
6786
|
* <p>The model artifacts in an Amazon S3 bucket and the Docker image for inference container
|
|
6784
6787
|
* in Amazon EC2 Container Registry must be in the same region as the model or endpoint you are
|
|
@@ -6790,8 +6793,7 @@ export interface ContainerDefinition {
|
|
|
6790
6793
|
* <p>Specifies whether the model container is in Amazon ECR or a private Docker registry
|
|
6791
6794
|
* accessible from your Amazon Virtual Private Cloud (VPC). For information about storing containers in a
|
|
6792
6795
|
* private Docker registry, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html">Use a
|
|
6793
|
-
* Private Docker Registry for Real-Time Inference Containers</a>.
|
|
6794
|
-
* </p>
|
|
6796
|
+
* Private Docker Registry for Real-Time Inference Containers</a>. </p>
|
|
6795
6797
|
* <note>
|
|
6796
6798
|
* <p>The model artifacts in an Amazon S3 bucket and the Docker image for inference container
|
|
6797
6799
|
* in Amazon EC2 Container Registry must be in the same region as the model or endpoint you are
|
|
@@ -9432,7 +9434,8 @@ export interface CreateDomainRequest {
|
|
|
9432
9434
|
* communication in <code>VPCOnly</code> mode. Required when
|
|
9433
9435
|
* <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
|
|
9434
9436
|
* <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
|
|
9435
|
-
* provided. If setting up the domain for use with RStudio, this value must be set to
|
|
9437
|
+
* provided. If setting up the domain for use with RStudio, this value must be set to
|
|
9438
|
+
* <code>Service</code>.</p>
|
|
9436
9439
|
*/
|
|
9437
9440
|
AppSecurityGroupManagement?: AppSecurityGroupManagement | string;
|
|
9438
9441
|
/**
|