@aws-sdk/client-sagemaker 3.353.0 → 3.355.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 (45) hide show
  1. package/dist-cjs/models/models_0.js +22 -16
  2. package/dist-cjs/models/models_1.js +10 -1
  3. package/dist-cjs/models/models_2.js +1 -19
  4. package/dist-cjs/models/models_3.js +20 -2
  5. package/dist-cjs/protocols/Aws_json1_1.js +3 -0
  6. package/dist-es/models/models_0.js +20 -14
  7. package/dist-es/models/models_1.js +9 -0
  8. package/dist-es/models/models_2.js +0 -18
  9. package/dist-es/models/models_3.js +18 -0
  10. package/dist-es/protocols/Aws_json1_1.js +3 -0
  11. package/dist-types/commands/CreateAutoMLJobCommand.d.ts +11 -4
  12. package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +33 -8
  13. package/dist-types/commands/DeleteModelQualityJobDefinitionCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteMonitoringScheduleCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteNotebookInstanceCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  17. package/dist-types/commands/DeletePipelineCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeAutoMLJobCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +43 -5
  20. package/dist-types/commands/StopCompilationJobCommand.d.ts +1 -1
  21. package/dist-types/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
  22. package/dist-types/commands/StopEdgePackagingJobCommand.d.ts +1 -1
  23. package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
  24. package/dist-types/commands/StopInferenceExperimentCommand.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +319 -169
  26. package/dist-types/models/models_1.d.ts +91 -60
  27. package/dist-types/models/models_2.d.ts +85 -141
  28. package/dist-types/models/models_3.d.ts +127 -108
  29. package/dist-types/models/models_4.d.ts +107 -1
  30. package/dist-types/ts3.4/commands/DeleteModelQualityJobDefinitionCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/DeleteMonitoringScheduleCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/DeleteNotebookInstanceCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/DeleteNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/StopCompilationJobCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/StopEdgePackagingJobCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/StopInferenceExperimentCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +66 -37
  41. package/dist-types/ts3.4/models/models_1.d.ts +31 -21
  42. package/dist-types/ts3.4/models/models_2.d.ts +27 -47
  43. package/dist-types/ts3.4/models/models_3.d.ts +46 -30
  44. package/dist-types/ts3.4/models/models_4.d.ts +25 -0
  45. package/package.json +9 -9
@@ -4401,8 +4401,9 @@ export interface AutoMLCandidate {
4401
4401
  CandidateProperties?: CandidateProperties;
4402
4402
  /**
4403
4403
  * <p>The mapping of all supported processing unit (CPU, GPU, etc...) to inference container
4404
- * definitions for the candidate. This field is populated for the V2 API only (for example,
4405
- * for jobs created by calling <code>CreateAutoMLJobV2</code>).</p>
4404
+ * definitions for the candidate. This field is populated for the AutoML jobs V2 (for example,
4405
+ * for jobs created by calling <code>CreateAutoMLJobV2</code>) related to image or text
4406
+ * classification problem types only.</p>
4406
4407
  */
4407
4408
  InferenceContainerDefinitions?: Record<string, AutoMLContainerDefinition[]>;
4408
4409
  }
@@ -4609,15 +4610,14 @@ export interface AutoMLChannel {
4609
4610
  ChannelType?: AutoMLChannelType | string;
4610
4611
  /**
4611
4612
  * <p>If specified, this column name indicates which column of the dataset should be treated
4612
- * as sample weights for use by the objective metric during the training, evaluation, and
4613
- * the selection of the best model. This column
4614
- * is not considered as a predictive feature. For more information on Autopilot metrics,
4615
- * see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-metrics-validation.html">Metrics and validation</a>.</p>
4616
- * <p>Sample weights should be numeric, non-negative, with larger values
4617
- * indicating which rows are more important than others. Data points that have invalid or no
4618
- * weight value are excluded.</p>
4619
- * <p>Support for sample weights
4620
- * is available in <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLAlgorithmConfig.html">Ensembling</a>
4613
+ * as sample weights for use by the objective metric during the training, evaluation, and the
4614
+ * selection of the best model. This column is not considered as a predictive feature. For
4615
+ * more information on Autopilot metrics, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-metrics-validation.html">Metrics and
4616
+ * validation</a>.</p>
4617
+ * <p>Sample weights should be numeric, non-negative, with larger values indicating which rows
4618
+ * are more important than others. Data points that have invalid or no weight value are
4619
+ * excluded.</p>
4620
+ * <p>Support for sample weights is available in <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLAlgorithmConfig.html">Ensembling</a>
4621
4621
  * mode only.</p>
4622
4622
  */
4623
4623
  SampleWeightAttributeName?: string;
@@ -4626,11 +4626,9 @@ export interface AutoMLChannel {
4626
4626
  * @public
4627
4627
  * <p>This structure specifies how to split the data into train and validation
4628
4628
  * datasets.</p>
4629
- * <p>If you are using the V1 API (for example <code>CreateAutoMLJob</code>) or the V2 API for
4630
- * Natural Language Processing problems (for example <code>CreateAutoMLJobV2</code> with a
4631
- * <code>TextClassificationJobConfig</code> problem type), the validation and training
4632
- * datasets must contain the same headers. Also, for V1 API jobs, the validation dataset must
4633
- * be less than 2 GB in size.</p>
4629
+ * <p>The validation and training datasets must contain the same headers. For jobs created by
4630
+ * calling <code>CreateAutoMLJob</code>, the validation dataset must be less than 2 GB in
4631
+ * size.</p>
4634
4632
  */
4635
4633
  export interface AutoMLDataSplitConfig {
4636
4634
  /**
@@ -4657,9 +4655,7 @@ export interface AutoMLJobArtifacts {
4657
4655
  /**
4658
4656
  * @public
4659
4657
  * <p>A channel is a named input source that training algorithms can consume. This channel is
4660
- * used for the non tabular training data of an AutoML job using the V2 API. For tabular
4661
- * training data, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLChannel.html"> AutoMLChannel</a>. For
4662
- * more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Channel.html"> Channel</a>.</p>
4658
+ * used for AutoML jobs V2 (jobs created by calling <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html">CreateAutoMLJobV2</a>).</p>
4663
4659
  */
4664
4660
  export interface AutoMLJobChannel {
4665
4661
  /**
@@ -4674,25 +4670,31 @@ export interface AutoMLJobChannel {
4674
4670
  * content types for different problems:</p>
4675
4671
  * <ul>
4676
4672
  * <li>
4677
- * <p>ImageClassification: <code>image/png</code>, <code>image/jpeg</code>, or
4673
+ * <p>For Tabular problem types: <code>text/csv;header=present</code> or
4674
+ * <code>x-application/vnd.amazon+parquet</code>. The default value is
4675
+ * <code>text/csv;header=present</code>.</p>
4676
+ * </li>
4677
+ * <li>
4678
+ * <p>For ImageClassification: <code>image/png</code>, <code>image/jpeg</code>, or
4678
4679
  * <code>image/*</code>. The default value is <code>image/*</code>.</p>
4679
4680
  * </li>
4680
4681
  * <li>
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>
4682
+ * <p>For TextClassification: <code>text/csv;header=present</code> or
4683
+ * <code>x-application/vnd.amazon+parquet</code>. The default value is
4684
+ * <code>text/csv;header=present</code>.</p>
4683
4685
  * </li>
4684
4686
  * </ul>
4685
4687
  */
4686
4688
  ContentType?: string;
4687
4689
  /**
4688
- * <p>The allowed compression types depend on the input format. We allow the compression type
4689
- * <code>Gzip</code> for <code>S3Prefix</code> inputs only. For all other inputs, the
4690
- * compression type should be <code>None</code>. If no compression type is provided, we
4691
- * default to <code>None</code>.</p>
4690
+ * <p>The allowed compression types depend on the input format and problem type. We allow the
4691
+ * compression type <code>Gzip</code> for <code>S3Prefix</code> inputs on tabular data only.
4692
+ * For all other inputs, the compression type should be <code>None</code>. If no compression
4693
+ * type is provided, we default to <code>None</code>.</p>
4692
4694
  */
4693
4695
  CompressionType?: CompressionType | string;
4694
4696
  /**
4695
- * <p>The data source for an AutoML channel.</p>
4697
+ * <p>The data source for an AutoML channel (Required).</p>
4696
4698
  */
4697
4699
  DataSource?: AutoMLDataSource;
4698
4700
  }
@@ -4704,7 +4706,7 @@ export interface AutoMLJobChannel {
4704
4706
  export interface AutoMLJobCompletionCriteria {
4705
4707
  /**
4706
4708
  * <p>The maximum number of times a training job is allowed to run.</p>
4707
- * <p>For V2 jobs (jobs created by calling <code>CreateAutoMLJobV2</code>), the supported
4709
+ * <p>For job V2s (jobs created by calling <code>CreateAutoMLJobV2</code>), the supported
4708
4710
  * value is 1.</p>
4709
4711
  */
4710
4712
  MaxCandidates?: number;
@@ -4713,7 +4715,7 @@ export interface AutoMLJobCompletionCriteria {
4713
4715
  * tuning is allowed to run as part of a hyperparameter tuning job. For more information, see
4714
4716
  * the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StoppingCondition.html">StoppingCondition</a>
4715
4717
  * used by the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateHyperParameterTuningJob.html">CreateHyperParameterTuningJob</a> action.</p>
4716
- * <p>For V2 jobs (jobs created by calling <code>CreateAutoMLJobV2</code>), this field
4718
+ * <p>For job V2s (jobs created by calling <code>CreateAutoMLJobV2</code>), this field
4717
4719
  * controls the runtime of the job candidate.</p>
4718
4720
  */
4719
4721
  MaxRuntimePerTrainingJobInSeconds?: number;
@@ -4810,21 +4812,19 @@ export interface AutoMLJobConfig {
4810
4812
  * combines several base models to produce an optimal predictive model. It then uses a
4811
4813
  * stacking ensemble method to combine predictions from contributing members. A multi-stack
4812
4814
  * ensemble model can provide better performance over a single model by combining the
4813
- * predictive capabilities of multiple models. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-suppprt">Autopilot algorithm support</a> for a list of algorithms supported by
4815
+ * predictive capabilities of multiple models. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support">Autopilot algorithm support</a> for a list of algorithms supported by
4814
4816
  * <code>ENSEMBLING</code> mode.</p>
4815
4817
  * <p>The <code>HYPERPARAMETER_TUNING</code> (HPO) mode uses the best hyperparameters to train
4816
4818
  * the best version of a model. HPO automatically selects an algorithm for the type of problem
4817
4819
  * you want to solve. Then HPO finds the best hyperparameters according to your objective
4818
- * metric. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-suppprt">Autopilot algorithm support</a> for a list of algorithms supported by
4820
+ * metric. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support">Autopilot algorithm support</a> for a list of algorithms supported by
4819
4821
  * <code>HYPERPARAMETER_TUNING</code> mode.</p>
4820
4822
  */
4821
4823
  Mode?: AutoMLMode | string;
4822
4824
  }
4823
4825
  /**
4824
4826
  * @public
4825
- * <p>Specifies a metric to minimize or maximize as the objective of a job. V2 API jobs (for
4826
- * example jobs created by calling <code>CreateAutoMLJobV2</code>), support
4827
- * <code>Accuracy</code> only.</p>
4827
+ * <p>Specifies a metric to minimize or maximize as the objective of a job.</p>
4828
4828
  */
4829
4829
  export interface AutoMLJobObjective {
4830
4830
  /**
@@ -4838,16 +4838,22 @@ export interface AutoMLJobObjective {
4838
4838
  * use:</p>
4839
4839
  * <ul>
4840
4840
  * <li>
4841
- * <p>
4842
- * <code>MSE</code>: for regression.</p>
4843
- * </li>
4844
- * <li>
4845
- * <p>
4846
- * <code>F1</code>: for binary classification</p>
4841
+ * <p>For tabular problem types:</p>
4842
+ * <ul>
4843
+ * <li>
4844
+ * <p>Regression: <code>MSE</code>.</p>
4845
+ * </li>
4846
+ * <li>
4847
+ * <p>Binary classification: <code>F1</code>.</p>
4848
+ * </li>
4849
+ * <li>
4850
+ * <p>Multiclass classification: <code>Accuracy</code>.</p>
4851
+ * </li>
4852
+ * </ul>
4847
4853
  * </li>
4848
4854
  * <li>
4849
- * <p>
4850
- * <code>Accuracy</code>: for multiclass classification.</p>
4855
+ * <p>For image or text classification problem types: <code>Accuracy</code>
4856
+ * </p>
4851
4857
  * </li>
4852
4858
  * </ul>
4853
4859
  */
@@ -4975,7 +4981,7 @@ export interface AutoMLOutputDataConfig {
4975
4981
  /**
4976
4982
  * @public
4977
4983
  * <p>Stores the configuration information for the image classification problem of an AutoML
4978
- * job using the V2 API.</p>
4984
+ * job V2.</p>
4979
4985
  */
4980
4986
  export interface ImageClassificationJobConfig {
4981
4987
  /**
@@ -4984,10 +4990,154 @@ export interface ImageClassificationJobConfig {
4984
4990
  */
4985
4991
  CompletionCriteria?: AutoMLJobCompletionCriteria;
4986
4992
  }
4993
+ /**
4994
+ * @public
4995
+ * <p>Stores the configuration information for how model candidates are generated using an
4996
+ * AutoML job V2.</p>
4997
+ */
4998
+ export interface CandidateGenerationConfig {
4999
+ /**
5000
+ * <p>Stores the configuration information for the selection of algorithms used to train model
5001
+ * candidates on tabular data.</p>
5002
+ * <p>The list of available algorithms to choose from depends on the training mode set in
5003
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TabularJobConfig.html">
5004
+ * <code>TabularJobConfig.Mode</code>
5005
+ * </a>.</p>
5006
+ * <ul>
5007
+ * <li>
5008
+ * <p>
5009
+ * <code>AlgorithmsConfig</code> should not be set in <code>AUTO</code> training
5010
+ * mode.</p>
5011
+ * </li>
5012
+ * <li>
5013
+ * <p>When <code>AlgorithmsConfig</code> is provided, one <code>AutoMLAlgorithms</code>
5014
+ * attribute must be set and one only.</p>
5015
+ * <p>If the list of algorithms provided as values for <code>AutoMLAlgorithms</code> is
5016
+ * empty, <code>CandidateGenerationConfig</code> uses the full set of algorithms for the
5017
+ * given training mode.</p>
5018
+ * </li>
5019
+ * <li>
5020
+ * <p>When <code>AlgorithmsConfig</code> is not provided,
5021
+ * <code>CandidateGenerationConfig</code> uses the full set of algorithms for the
5022
+ * given training mode.</p>
5023
+ * </li>
5024
+ * </ul>
5025
+ * <p>For the list of all algorithms per problem type and training mode, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLAlgorithmConfig.html">
5026
+ * AutoMLAlgorithmConfig</a>.</p>
5027
+ * <p>For more information on each algorithm, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support">Algorithm support</a> section in Autopilot developer guide.</p>
5028
+ */
5029
+ AlgorithmsConfig?: AutoMLAlgorithmConfig[];
5030
+ }
5031
+ /**
5032
+ * @public
5033
+ * @enum
5034
+ */
5035
+ export declare const ProblemType: {
5036
+ readonly BINARY_CLASSIFICATION: "BinaryClassification";
5037
+ readonly MULTICLASS_CLASSIFICATION: "MulticlassClassification";
5038
+ readonly REGRESSION: "Regression";
5039
+ };
5040
+ /**
5041
+ * @public
5042
+ */
5043
+ export type ProblemType = (typeof ProblemType)[keyof typeof ProblemType];
5044
+ /**
5045
+ * @public
5046
+ * <p>The collection of settings used by an AutoML job V2 for the <code>TABULAR</code> problem
5047
+ * type.</p>
5048
+ */
5049
+ export interface TabularJobConfig {
5050
+ /**
5051
+ * <p>The configuration information of how model candidates are generated.</p>
5052
+ */
5053
+ CandidateGenerationConfig?: CandidateGenerationConfig;
5054
+ /**
5055
+ * <p>How long a job is allowed to run, or how many candidates a job is allowed to
5056
+ * generate.</p>
5057
+ */
5058
+ CompletionCriteria?: AutoMLJobCompletionCriteria;
5059
+ /**
5060
+ * <p>A URL to the Amazon S3 data source containing selected features from the input data source to
5061
+ * run an Autopilot job V2. You can input <code>FeatureAttributeNames</code> (optional) in JSON
5062
+ * format as shown below: </p>
5063
+ * <p>
5064
+ * <code>\{ "FeatureAttributeNames":["col1", "col2", ...] \}</code>.</p>
5065
+ * <p>You can also specify the data type of the feature (optional) in the format shown
5066
+ * below:</p>
5067
+ * <p>
5068
+ * <code>\{ "FeatureDataTypes":\{"col1":"numeric", "col2":"categorical" ... \} \}</code>
5069
+ * </p>
5070
+ * <note>
5071
+ * <p>These column keys may not include the target column.</p>
5072
+ * </note>
5073
+ * <p>In ensembling mode, Autopilot only supports the following data types: <code>numeric</code>,
5074
+ * <code>categorical</code>, <code>text</code>, and <code>datetime</code>. In HPO mode,
5075
+ * Autopilot can support <code>numeric</code>, <code>categorical</code>, <code>text</code>,
5076
+ * <code>datetime</code>, and <code>sequence</code>.</p>
5077
+ * <p>If only <code>FeatureDataTypes</code> is provided, the column keys (<code>col1</code>,
5078
+ * <code>col2</code>,..) should be a subset of the column names in the input data. </p>
5079
+ * <p>If both <code>FeatureDataTypes</code> and <code>FeatureAttributeNames</code> are
5080
+ * provided, then the column keys should be a subset of the column names provided in
5081
+ * <code>FeatureAttributeNames</code>. </p>
5082
+ * <p>The key name <code>FeatureAttributeNames</code> is fixed. The values listed in
5083
+ * <code>["col1", "col2", ...]</code> are case sensitive and should be a list of strings
5084
+ * containing unique values that are a subset of the column names in the input data. The list
5085
+ * of columns provided must not include the target column.</p>
5086
+ */
5087
+ FeatureSpecificationS3Uri?: string;
5088
+ /**
5089
+ * <p>The method that Autopilot uses to train the data. You can either specify the mode manually
5090
+ * or let Autopilot choose for you based on the dataset size by selecting <code>AUTO</code>. In
5091
+ * <code>AUTO</code> mode, Autopilot chooses <code>ENSEMBLING</code> for datasets smaller than
5092
+ * 100 MB, and <code>HYPERPARAMETER_TUNING</code> for larger ones.</p>
5093
+ * <p>The <code>ENSEMBLING</code> mode uses a multi-stack ensemble model to predict
5094
+ * classification and regression tasks directly from your dataset. This machine learning mode
5095
+ * combines several base models to produce an optimal predictive model. It then uses a
5096
+ * stacking ensemble method to combine predictions from contributing members. A multi-stack
5097
+ * ensemble model can provide better performance over a single model by combining the
5098
+ * predictive capabilities of multiple models. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support">Autopilot algorithm support</a> for a list of algorithms supported by
5099
+ * <code>ENSEMBLING</code> mode.</p>
5100
+ * <p>The <code>HYPERPARAMETER_TUNING</code> (HPO) mode uses the best hyperparameters to train
5101
+ * the best version of a model. HPO automatically selects an algorithm for the type of problem
5102
+ * you want to solve. Then HPO finds the best hyperparameters according to your objective
5103
+ * metric. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-algorithm-support">Autopilot algorithm support</a> for a list of algorithms supported by
5104
+ * <code>HYPERPARAMETER_TUNING</code> mode.</p>
5105
+ */
5106
+ Mode?: AutoMLMode | string;
5107
+ /**
5108
+ * <p>Generates possible candidates without training the models. A model candidate is a
5109
+ * combination of data preprocessors, algorithms, and algorithm parameter settings.</p>
5110
+ */
5111
+ GenerateCandidateDefinitionsOnly?: boolean;
5112
+ /**
5113
+ * <p>The type of supervised learning problem available for the model candidates of the AutoML
5114
+ * job V2. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-problem-types">
5115
+ * Amazon SageMaker Autopilot problem types</a>.</p>
5116
+ */
5117
+ ProblemType?: ProblemType | string;
5118
+ /**
5119
+ * <p>The name of the target variable in supervised learning, usually represented by
5120
+ * 'y'.</p>
5121
+ */
5122
+ TargetAttributeName: string | undefined;
5123
+ /**
5124
+ * <p>If specified, this column name indicates which column of the dataset should be treated
5125
+ * as sample weights for use by the objective metric during the training, evaluation, and the
5126
+ * selection of the best model. This column is not considered as a predictive feature. For
5127
+ * more information on Autopilot metrics, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-metrics-validation.html">Metrics and
5128
+ * validation</a>.</p>
5129
+ * <p>Sample weights should be numeric, non-negative, with larger values indicating which rows
5130
+ * are more important than others. Data points that have invalid or no weight value are
5131
+ * excluded.</p>
5132
+ * <p>Support for sample weights is available in <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLAlgorithmConfig.html">Ensembling</a>
5133
+ * mode only.</p>
5134
+ */
5135
+ SampleWeightAttributeName?: string;
5136
+ }
4987
5137
  /**
4988
5138
  * @public
4989
5139
  * <p>Stores the configuration information for the text classification problem of an AutoML job
4990
- * using the V2 API.</p>
5140
+ * V2.</p>
4991
5141
  */
4992
5142
  export interface TextClassificationJobConfig {
4993
5143
  /**
@@ -4997,55 +5147,140 @@ export interface TextClassificationJobConfig {
4997
5147
  CompletionCriteria?: AutoMLJobCompletionCriteria;
4998
5148
  /**
4999
5149
  * <p>The name of the column used to provide the sentences to be classified. It should not be
5000
- * the same as the target column.</p>
5150
+ * the same as the target column (Required).</p>
5001
5151
  */
5002
5152
  ContentColumn?: string;
5003
5153
  /**
5004
5154
  * <p>The name of the column used to provide the class labels. It should not be same as the
5005
- * content column.</p>
5155
+ * content column (Required).</p>
5006
5156
  */
5007
5157
  TargetLabelColumn?: string;
5008
5158
  }
5009
5159
  /**
5010
5160
  * @public
5011
- * <p>A collection of settings specific to the problem type used to configure an AutoML job
5012
- * using the V2 API. There must be one and only one config of the following type.</p>
5161
+ * <p>A collection of settings specific to the problem type used to configure an AutoML job V2.
5162
+ * There must be one and only one config of the following type.</p>
5013
5163
  */
5014
- export type AutoMLProblemTypeConfig = AutoMLProblemTypeConfig.ImageClassificationJobConfigMember | AutoMLProblemTypeConfig.TextClassificationJobConfigMember | AutoMLProblemTypeConfig.$UnknownMember;
5164
+ export type AutoMLProblemTypeConfig = AutoMLProblemTypeConfig.ImageClassificationJobConfigMember | AutoMLProblemTypeConfig.TabularJobConfigMember | AutoMLProblemTypeConfig.TextClassificationJobConfigMember | AutoMLProblemTypeConfig.$UnknownMember;
5015
5165
  /**
5016
5166
  * @public
5017
5167
  */
5018
5168
  export declare namespace AutoMLProblemTypeConfig {
5019
5169
  /**
5020
- * <p>Settings used to configure an AutoML job using the V2 API for the image classification
5021
- * problem type.</p>
5170
+ * <p>Settings used to configure an AutoML job V2 for the image classification problem
5171
+ * type.</p>
5022
5172
  */
5023
5173
  interface ImageClassificationJobConfigMember {
5024
5174
  ImageClassificationJobConfig: ImageClassificationJobConfig;
5025
5175
  TextClassificationJobConfig?: never;
5176
+ TabularJobConfig?: never;
5026
5177
  $unknown?: never;
5027
5178
  }
5028
5179
  /**
5029
- * <p>Settings used to configure an AutoML job using the V2 API for the text classification
5030
- * problem type.</p>
5180
+ * <p>Settings used to configure an AutoML job V2 for the text classification problem
5181
+ * type.</p>
5031
5182
  */
5032
5183
  interface TextClassificationJobConfigMember {
5033
5184
  ImageClassificationJobConfig?: never;
5034
5185
  TextClassificationJobConfig: TextClassificationJobConfig;
5186
+ TabularJobConfig?: never;
5187
+ $unknown?: never;
5188
+ }
5189
+ /**
5190
+ * <p>Settings used to configure an AutoML job V2 for a tabular problem type (regression,
5191
+ * classification).</p>
5192
+ */
5193
+ interface TabularJobConfigMember {
5194
+ ImageClassificationJobConfig?: never;
5195
+ TextClassificationJobConfig?: never;
5196
+ TabularJobConfig: TabularJobConfig;
5035
5197
  $unknown?: never;
5036
5198
  }
5037
5199
  interface $UnknownMember {
5038
5200
  ImageClassificationJobConfig?: never;
5039
5201
  TextClassificationJobConfig?: never;
5202
+ TabularJobConfig?: never;
5040
5203
  $unknown: [string, any];
5041
5204
  }
5042
5205
  interface Visitor<T> {
5043
5206
  ImageClassificationJobConfig: (value: ImageClassificationJobConfig) => T;
5044
5207
  TextClassificationJobConfig: (value: TextClassificationJobConfig) => T;
5208
+ TabularJobConfig: (value: TabularJobConfig) => T;
5045
5209
  _: (name: string, value: any) => T;
5046
5210
  }
5047
5211
  const visit: <T>(value: AutoMLProblemTypeConfig, visitor: Visitor<T>) => T;
5048
5212
  }
5213
+ /**
5214
+ * @public
5215
+ * @enum
5216
+ */
5217
+ export declare const AutoMLProblemTypeConfigName: {
5218
+ readonly IMAGE_CLASSIFICATION: "ImageClassification";
5219
+ readonly TABULAR: "Tabular";
5220
+ readonly TEXT_CLASSIFICATION: "TextClassification";
5221
+ };
5222
+ /**
5223
+ * @public
5224
+ */
5225
+ export type AutoMLProblemTypeConfigName = (typeof AutoMLProblemTypeConfigName)[keyof typeof AutoMLProblemTypeConfigName];
5226
+ /**
5227
+ * @public
5228
+ * <p>The resolved attributes specific to the <code>TABULAR</code> problem type.</p>
5229
+ */
5230
+ export interface TabularResolvedAttributes {
5231
+ /**
5232
+ * <p>The type of supervised learning problem available for the model candidates of the AutoML
5233
+ * job V2 (Binary Classification, Multiclass Classification, Regression). For more
5234
+ * information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-problem-types">
5235
+ * Amazon SageMaker Autopilot problem types</a>.</p>
5236
+ */
5237
+ ProblemType?: ProblemType | string;
5238
+ }
5239
+ /**
5240
+ * @public
5241
+ * <p>The resolved attributes specific to the problem type of an AutoML job V2.</p>
5242
+ */
5243
+ export type AutoMLProblemTypeResolvedAttributes = AutoMLProblemTypeResolvedAttributes.TabularResolvedAttributesMember | AutoMLProblemTypeResolvedAttributes.$UnknownMember;
5244
+ /**
5245
+ * @public
5246
+ */
5247
+ export declare namespace AutoMLProblemTypeResolvedAttributes {
5248
+ /**
5249
+ * <p>Defines the resolved attributes for the <code>TABULAR</code> problem type.</p>
5250
+ */
5251
+ interface TabularResolvedAttributesMember {
5252
+ TabularResolvedAttributes: TabularResolvedAttributes;
5253
+ $unknown?: never;
5254
+ }
5255
+ interface $UnknownMember {
5256
+ TabularResolvedAttributes?: never;
5257
+ $unknown: [string, any];
5258
+ }
5259
+ interface Visitor<T> {
5260
+ TabularResolvedAttributes: (value: TabularResolvedAttributes) => T;
5261
+ _: (name: string, value: any) => T;
5262
+ }
5263
+ const visit: <T>(value: AutoMLProblemTypeResolvedAttributes, visitor: Visitor<T>) => T;
5264
+ }
5265
+ /**
5266
+ * @public
5267
+ * <p>The resolved attributes used to configure an AutoML job V2.</p>
5268
+ */
5269
+ export interface AutoMLResolvedAttributes {
5270
+ /**
5271
+ * <p>Specifies a metric to minimize or maximize as the objective of a job.</p>
5272
+ */
5273
+ AutoMLJobObjective?: AutoMLJobObjective;
5274
+ /**
5275
+ * <p>How long a job is allowed to run, or how many candidates a job is allowed to
5276
+ * generate.</p>
5277
+ */
5278
+ CompletionCriteria?: AutoMLJobCompletionCriteria;
5279
+ /**
5280
+ * <p>Defines the resolved attributes specific to a problem type.</p>
5281
+ */
5282
+ AutoMLProblemTypeResolvedAttributes?: AutoMLProblemTypeResolvedAttributes;
5283
+ }
5049
5284
  /**
5050
5285
  * @public
5051
5286
  * @enum
@@ -7511,19 +7746,6 @@ export interface ModelDeployConfig {
7511
7746
  */
7512
7747
  EndpointName?: string;
7513
7748
  }
7514
- /**
7515
- * @public
7516
- * @enum
7517
- */
7518
- export declare const ProblemType: {
7519
- readonly BINARY_CLASSIFICATION: "BinaryClassification";
7520
- readonly MULTICLASS_CLASSIFICATION: "MulticlassClassification";
7521
- readonly REGRESSION: "Regression";
7522
- };
7523
- /**
7524
- * @public
7525
- */
7526
- export type ProblemType = (typeof ProblemType)[keyof typeof ProblemType];
7527
7749
  /**
7528
7750
  * @public
7529
7751
  */
@@ -7552,9 +7774,8 @@ export interface CreateAutoMLJobRequest {
7552
7774
  */
7553
7775
  ProblemType?: ProblemType | string;
7554
7776
  /**
7555
- * <p>Defines the objective metric used to measure the predictive quality of an AutoML job. You
7556
- * provide an <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html">AutoMLJobObjective$MetricName</a> and Autopilot infers whether to minimize or maximize
7557
- * it. For <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html">CreateAutoMLJobV2</a>, only <code>Accuracy</code> is supported.</p>
7777
+ * <p>Specifies a metric to minimize or maximize as the objective of a job. If not specified,
7778
+ * the default objective metric depends on the problem type. See <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html">AutoMLJobObjective</a> for the default values.</p>
7558
7779
  */
7559
7780
  AutoMLJobObjective?: AutoMLJobObjective;
7560
7781
  /**
@@ -7607,12 +7828,15 @@ export interface CreateAutoMLJobV2Request {
7607
7828
  * formats depend on the problem type:</p>
7608
7829
  * <ul>
7609
7830
  * <li>
7610
- * <p>ImageClassification: S3Prefix, <code>ManifestFile</code>,
7611
- * <code>AugmentedManifestFile</code>
7612
- * </p>
7831
+ * <p>For Tabular problem types: <code>S3Prefix</code>,
7832
+ * <code>ManifestFile</code>.</p>
7613
7833
  * </li>
7614
7834
  * <li>
7615
- * <p>TextClassification: S3Prefix</p>
7835
+ * <p>For ImageClassification: <code>S3Prefix</code>, <code>ManifestFile</code>,
7836
+ * <code>AugmentedManifestFile</code>.</p>
7837
+ * </li>
7838
+ * <li>
7839
+ * <p>For TextClassification: <code>S3Prefix</code>.</p>
7616
7840
  * </li>
7617
7841
  * </ul>
7618
7842
  */
@@ -7624,6 +7848,12 @@ export interface CreateAutoMLJobV2Request {
7624
7848
  OutputDataConfig: AutoMLOutputDataConfig | undefined;
7625
7849
  /**
7626
7850
  * <p>Defines the configuration settings of one of the supported problem types.</p>
7851
+ * <note>
7852
+ * <p>For tabular problem types, you must either specify the type of supervised learning
7853
+ * problem in <code>AutoMLProblemTypeConfig</code>
7854
+ * (<code>TabularJobConfig.ProblemType</code>) and provide the
7855
+ * <code>AutoMLJobObjective</code>, or none at all.</p>
7856
+ * </note>
7627
7857
  */
7628
7858
  AutoMLProblemTypeConfig: AutoMLProblemTypeConfig | undefined;
7629
7859
  /**
@@ -7642,7 +7872,15 @@ export interface CreateAutoMLJobV2Request {
7642
7872
  */
7643
7873
  SecurityConfig?: AutoMLSecurityConfig;
7644
7874
  /**
7645
- * <p>Specifies a metric to minimize or maximize as the objective of a job. For <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html">CreateAutoMLJobV2</a>, only <code>Accuracy</code> is supported.</p>
7875
+ * <p>Specifies a metric to minimize or maximize as the objective of a job. If not specified,
7876
+ * the default objective metric depends on the problem type. For the list of default values
7877
+ * per problem type, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html">AutoMLJobObjective</a>.</p>
7878
+ * <note>
7879
+ * <p>For tabular problem types, you must either provide the
7880
+ * <code>AutoMLJobObjective</code> and indicate the type of supervised learning problem
7881
+ * in <code>AutoMLProblemTypeConfig</code> (<code>TabularJobConfig.ProblemType</code>), or
7882
+ * none.</p>
7883
+ * </note>
7646
7884
  */
7647
7885
  AutoMLJobObjective?: AutoMLJobObjective;
7648
7886
  /**
@@ -7653,11 +7891,9 @@ export interface CreateAutoMLJobV2Request {
7653
7891
  /**
7654
7892
  * <p>This structure specifies how to split the data into train and validation
7655
7893
  * datasets.</p>
7656
- * <p>If you are using the V1 API (for example <code>CreateAutoMLJob</code>) or the V2 API for
7657
- * Natural Language Processing problems (for example <code>CreateAutoMLJobV2</code> with a
7658
- * <code>TextClassificationJobConfig</code> problem type), the validation and training
7659
- * datasets must contain the same headers. Also, for V1 API jobs, the validation dataset must
7660
- * be less than 2 GB in size.</p>
7894
+ * <p>The validation and training datasets must contain the same headers. For jobs created by
7895
+ * calling <code>CreateAutoMLJob</code>, the validation dataset must be less than 2 GB in
7896
+ * size.</p>
7661
7897
  */
7662
7898
  DataSplitConfig?: AutoMLDataSplitConfig;
7663
7899
  }
@@ -8169,6 +8405,10 @@ export interface OutputConfig {
8169
8405
  * your model on after the compilation has completed. Alternatively, you can specify OS,
8170
8406
  * architecture, and accelerator using <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TargetPlatform.html">TargetPlatform</a> fields. It can be
8171
8407
  * used instead of <code>TargetPlatform</code>.</p>
8408
+ * <note>
8409
+ * <p>Currently <code>ml_trn1</code> is available only in US East (N. Virginia) Region,
8410
+ * and <code>ml_inf2</code> is available only in US East (Ohio) Region.</p>
8411
+ * </note>
8172
8412
  */
8173
8413
  TargetDevice?: TargetDevice | string;
8174
8414
  /**
@@ -9460,93 +9700,3 @@ export interface CreateDomainResponse {
9460
9700
  */
9461
9701
  Url?: string;
9462
9702
  }
9463
- /**
9464
- * @public
9465
- * <p>Contains information about the configuration of a model in a deployment.</p>
9466
- */
9467
- export interface EdgeDeploymentModelConfig {
9468
- /**
9469
- * <p>The name the device application uses to reference this model.</p>
9470
- */
9471
- ModelHandle: string | undefined;
9472
- /**
9473
- * <p>The edge packaging job associated with this deployment.</p>
9474
- */
9475
- EdgePackagingJobName: string | undefined;
9476
- }
9477
- /**
9478
- * @public
9479
- * @enum
9480
- */
9481
- export declare const FailureHandlingPolicy: {
9482
- readonly DoNothing: "DO_NOTHING";
9483
- readonly RollbackOnFailure: "ROLLBACK_ON_FAILURE";
9484
- };
9485
- /**
9486
- * @public
9487
- */
9488
- export type FailureHandlingPolicy = (typeof FailureHandlingPolicy)[keyof typeof FailureHandlingPolicy];
9489
- /**
9490
- * @public
9491
- * <p>Contains information about the configuration of a deployment.</p>
9492
- */
9493
- export interface EdgeDeploymentConfig {
9494
- /**
9495
- * <p>Toggle that determines whether to rollback to previous configuration if the current deployment fails.
9496
- * By default this is turned on. You may turn this off if you want to investigate the errors yourself.</p>
9497
- */
9498
- FailureHandlingPolicy: FailureHandlingPolicy | string | undefined;
9499
- }
9500
- /**
9501
- * @public
9502
- * @enum
9503
- */
9504
- export declare const DeviceSubsetType: {
9505
- readonly NameContains: "NAMECONTAINS";
9506
- readonly Percentage: "PERCENTAGE";
9507
- readonly Selection: "SELECTION";
9508
- };
9509
- /**
9510
- * @public
9511
- */
9512
- export type DeviceSubsetType = (typeof DeviceSubsetType)[keyof typeof DeviceSubsetType];
9513
- /**
9514
- * @public
9515
- * <p>Contains information about the configurations of selected devices.</p>
9516
- */
9517
- export interface DeviceSelectionConfig {
9518
- /**
9519
- * <p>Type of device subsets to deploy to the current stage.</p>
9520
- */
9521
- DeviceSubsetType: DeviceSubsetType | string | undefined;
9522
- /**
9523
- * <p>Percentage of devices in the fleet to deploy to the current stage.</p>
9524
- */
9525
- Percentage?: number;
9526
- /**
9527
- * <p>List of devices chosen to deploy.</p>
9528
- */
9529
- DeviceNames?: string[];
9530
- /**
9531
- * <p>A filter to select devices with names containing this name.</p>
9532
- */
9533
- DeviceNameContains?: string;
9534
- }
9535
- /**
9536
- * @public
9537
- * <p>Contains information about a stage in an edge deployment plan.</p>
9538
- */
9539
- export interface DeploymentStage {
9540
- /**
9541
- * <p>The name of the stage.</p>
9542
- */
9543
- StageName: string | undefined;
9544
- /**
9545
- * <p>Configuration of the devices in the stage.</p>
9546
- */
9547
- DeviceSelectionConfig: DeviceSelectionConfig | undefined;
9548
- /**
9549
- * <p>Configuration of the deployment details.</p>
9550
- */
9551
- DeploymentConfig?: EdgeDeploymentConfig;
9552
- }