@aws-sdk/client-sagemaker 3.435.0 → 3.437.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 (30) hide show
  1. package/dist-cjs/models/models_0.js +12 -0
  2. package/dist-cjs/models/models_2.js +1 -5
  3. package/dist-cjs/models/models_3.js +6 -2
  4. package/dist-cjs/runtimeConfig.js +2 -0
  5. package/dist-cjs/runtimeConfig.shared.js +15 -13
  6. package/dist-es/models/models_0.js +12 -0
  7. package/dist-es/models/models_2.js +0 -4
  8. package/dist-es/models/models_3.js +4 -0
  9. package/dist-es/runtimeConfig.js +2 -0
  10. package/dist-es/runtimeConfig.shared.js +15 -13
  11. package/dist-types/commands/CreateAutoMLJobCommand.d.ts +2 -1
  12. package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +10 -1
  13. package/dist-types/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -2
  14. package/dist-types/commands/DeleteContextCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeAutoMLJobCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +14 -7
  17. package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  18. package/dist-types/models/models_0.d.ts +206 -119
  19. package/dist-types/models/models_1.d.ts +82 -27
  20. package/dist-types/models/models_2.d.ts +23 -85
  21. package/dist-types/models/models_3.d.ts +85 -220
  22. package/dist-types/models/models_4.d.ts +221 -4
  23. package/dist-types/ts3.4/commands/CreateDataQualityJobDefinitionCommand.d.ts +4 -2
  24. package/dist-types/ts3.4/commands/DeleteContextCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/models/models_0.d.ts +41 -15
  26. package/dist-types/ts3.4/models/models_1.d.ts +18 -7
  27. package/dist-types/ts3.4/models/models_2.d.ts +7 -21
  28. package/dist-types/ts3.4/models/models_3.d.ts +23 -40
  29. package/dist-types/ts3.4/models/models_4.d.ts +41 -3
  30. package/package.json +5 -5
@@ -527,12 +527,19 @@ exports.AutoMLMetricExtendedEnum = {
527
527
  MAPE: "MAPE",
528
528
  MASE: "MASE",
529
529
  MSE: "MSE",
530
+ PERPLEXITY: "Perplexity",
530
531
  PRECISION: "Precision",
531
532
  PRECISION_MACRO: "PrecisionMacro",
532
533
  R2: "R2",
533
534
  RECALL: "Recall",
534
535
  RECALL_MACRO: "RecallMacro",
535
536
  RMSE: "RMSE",
537
+ ROUGE1: "Rouge1",
538
+ ROUGE2: "Rouge2",
539
+ ROUGEL: "RougeL",
540
+ ROUGEL_SUM: "RougeLSum",
541
+ TRAINING_LOSS: "TrainingLoss",
542
+ VALIDATION_LOSS: "ValidationLoss",
536
543
  WAPE: "WAPE",
537
544
  };
538
545
  exports.CandidateStatus = {
@@ -628,6 +635,8 @@ var AutoMLProblemTypeConfig;
628
635
  return visitor.TabularJobConfig(value.TabularJobConfig);
629
636
  if (value.TimeSeriesForecastingJobConfig !== undefined)
630
637
  return visitor.TimeSeriesForecastingJobConfig(value.TimeSeriesForecastingJobConfig);
638
+ if (value.TextGenerationJobConfig !== undefined)
639
+ return visitor.TextGenerationJobConfig(value.TextGenerationJobConfig);
631
640
  return visitor._(value.$unknown[0], value.$unknown[1]);
632
641
  };
633
642
  })(AutoMLProblemTypeConfig = exports.AutoMLProblemTypeConfig || (exports.AutoMLProblemTypeConfig = {}));
@@ -635,6 +644,7 @@ exports.AutoMLProblemTypeConfigName = {
635
644
  IMAGE_CLASSIFICATION: "ImageClassification",
636
645
  TABULAR: "Tabular",
637
646
  TEXT_CLASSIFICATION: "TextClassification",
647
+ TEXT_GENERATION: "TextGeneration",
638
648
  TIMESERIES_FORECASTING: "TimeSeriesForecasting",
639
649
  };
640
650
  var AutoMLProblemTypeResolvedAttributes;
@@ -642,6 +652,8 @@ var AutoMLProblemTypeResolvedAttributes;
642
652
  AutoMLProblemTypeResolvedAttributes.visit = (value, visitor) => {
643
653
  if (value.TabularResolvedAttributes !== undefined)
644
654
  return visitor.TabularResolvedAttributes(value.TabularResolvedAttributes);
655
+ if (value.TextGenerationResolvedAttributes !== undefined)
656
+ return visitor.TextGenerationResolvedAttributes(value.TextGenerationResolvedAttributes);
645
657
  return visitor._(value.$unknown[0], value.$unknown[1]);
646
658
  };
647
659
  })(AutoMLProblemTypeResolvedAttributes = exports.AutoMLProblemTypeResolvedAttributes || (exports.AutoMLProblemTypeResolvedAttributes = {}));
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeModelCardResponseFilterSensitiveLog = exports.EndpointConfigSortKey = exports.ScalingPolicy = exports.MetricSpecification = exports.Direction = exports.DeviceDeploymentStatus = exports.WorkforceStatus = exports.UserProfileStatus = exports.TransformJobStatus = exports.WarmPoolResourceStatus = exports.SecondaryStatus = exports.ProfilingStatus = exports.SpaceStatus = exports.ProjectStatus = exports.ProcessingJobStatus = exports.PipelineExecutionStatus = exports.PipelineStatus = exports.NotebookInstanceStatus = exports.ScheduleStatus = exports.ExecutionStatus = exports.ModelPackageGroupStatus = exports.DetailedModelPackageStatus = exports.ModelCardExportJobStatus = exports.ModelCardProcessingStatus = exports.LabelingJobStatus = exports.RecommendationJobStatus = exports.InferenceExperimentStatus = exports.ModelVariantStatus = exports.ImageVersionStatus = exports.ImageStatus = exports.HyperParameterTuningJobStatus = exports.TrainingJobStatus = exports.HumanTaskUiStatus = exports.HubContentStatus = exports.HubStatus = exports.FlowDefinitionStatus = exports.OfflineStoreStatusValue = exports.LastUpdateStatusValue = exports.FeatureGroupStatus = exports.VariantStatus = exports.EndpointStatus = exports.EdgePresetDeploymentStatus = exports.EdgePackagingJobStatus = exports.DomainStatus = exports.StageStatus = exports.RecommendationStatus = exports.HubContentType = exports.RetentionType = void 0;
3
+ exports.DescribeModelCardResponseFilterSensitiveLog = exports.ScalingPolicy = exports.MetricSpecification = exports.Direction = exports.DeviceDeploymentStatus = exports.WorkforceStatus = exports.UserProfileStatus = exports.TransformJobStatus = exports.WarmPoolResourceStatus = exports.SecondaryStatus = exports.ProfilingStatus = exports.SpaceStatus = exports.ProjectStatus = exports.ProcessingJobStatus = exports.PipelineExecutionStatus = exports.PipelineStatus = exports.NotebookInstanceStatus = exports.ScheduleStatus = exports.ExecutionStatus = exports.ModelPackageGroupStatus = exports.DetailedModelPackageStatus = exports.ModelCardExportJobStatus = exports.ModelCardProcessingStatus = exports.LabelingJobStatus = exports.RecommendationJobStatus = exports.InferenceExperimentStatus = exports.ModelVariantStatus = exports.ImageVersionStatus = exports.ImageStatus = exports.HyperParameterTuningJobStatus = exports.TrainingJobStatus = exports.HumanTaskUiStatus = exports.HubContentStatus = exports.HubStatus = exports.FlowDefinitionStatus = exports.OfflineStoreStatusValue = exports.LastUpdateStatusValue = exports.FeatureGroupStatus = exports.VariantStatus = exports.EndpointStatus = exports.EdgePresetDeploymentStatus = exports.EdgePackagingJobStatus = exports.DomainStatus = exports.StageStatus = exports.RecommendationStatus = exports.HubContentType = exports.RetentionType = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  exports.RetentionType = {
6
6
  Delete: "Delete",
@@ -342,10 +342,6 @@ var ScalingPolicy;
342
342
  return visitor._(value.$unknown[0], value.$unknown[1]);
343
343
  };
344
344
  })(ScalingPolicy = exports.ScalingPolicy || (exports.ScalingPolicy = {}));
345
- exports.EndpointConfigSortKey = {
346
- CreationTime: "CreationTime",
347
- Name: "Name",
348
- };
349
345
  const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
350
346
  ...obj,
351
347
  ...(obj.Content && { Content: smithy_client_1.SENSITIVE_STRING }),
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotebookInstanceSortKey = exports.NotebookInstanceLifecycleConfigSortOrder = exports.NotebookInstanceLifecycleConfigSortKey = exports.MonitoringScheduleSortKey = exports.MonitoringExecutionSortKey = exports.MonitoringAlertStatus = exports.MonitoringAlertHistorySortKey = exports.ModelSortKey = exports.ModelPackageSortBy = exports.ModelPackageType = exports.ModelPackageGroupSortBy = exports.ModelMetadataFilterType = exports.ModelCardVersionSortBy = exports.ModelCardSortOrder = exports.ModelCardSortBy = exports.ModelCardExportJobSortOrder = exports.ModelCardExportJobSortBy = exports.SortLineageGroupsBy = exports.ListLabelingJobsForWorkteamSortByOptions = exports.SortBy = exports.ListInferenceRecommendationsJobsSortBy = exports.SortInferenceExperimentsBy = exports.SortExperimentsBy = exports.OrderKey = exports.ListEdgePackagingJobsSortBy = exports.ListEdgeDeploymentPlansSortBy = exports.ListDeviceFleetsSortBy = exports.MonitoringJobDefinitionSortKey = exports.SortContextsBy = exports.ListCompilationJobsSortBy = exports.SortAssociationsBy = exports.SortArtifactsBy = exports.SortOrder = exports.SortActionsBy = exports.LineageType = exports.RecommendationStepType = exports.InferenceExperimentStopDesiredState = exports.ImageVersionSortOrder = exports.ImageVersionSortBy = exports.ImageSortOrder = exports.ImageSortBy = exports.HyperParameterTuningJobSortByOptions = exports.HubSortBy = exports.HubContentSortBy = exports.ResourceType = exports.SagemakerServicecatalogStatus = exports.Operator = exports.FeatureGroupSortOrder = exports.FeatureGroupSortBy = exports.EndpointSortKey = void 0;
4
- exports.ModelCardFilterSensitiveLog = exports.ListWorkteamsSortByOptions = exports.ListWorkforcesSortByOptions = exports.UserProfileSortKey = exports.SortTrialsBy = exports.SortTrialComponentsBy = exports.TrainingJobSortByOptions = exports.StudioLifecycleConfigSortKey = exports.SpaceSortKey = exports.ResourceCatalogSortOrder = exports.ResourceCatalogSortBy = exports.ProjectSortOrder = exports.ProjectSortBy = exports.SortPipelinesBy = exports.StepStatus = exports.SortPipelineExecutionsBy = exports.NotebookInstanceSortOrder = void 0;
3
+ exports.NotebookInstanceLifecycleConfigSortOrder = exports.NotebookInstanceLifecycleConfigSortKey = exports.MonitoringScheduleSortKey = exports.MonitoringExecutionSortKey = exports.MonitoringAlertStatus = exports.MonitoringAlertHistorySortKey = exports.ModelSortKey = exports.ModelPackageSortBy = exports.ModelPackageType = exports.ModelPackageGroupSortBy = exports.ModelMetadataFilterType = exports.ModelCardVersionSortBy = exports.ModelCardSortOrder = exports.ModelCardSortBy = exports.ModelCardExportJobSortOrder = exports.ModelCardExportJobSortBy = exports.SortLineageGroupsBy = exports.ListLabelingJobsForWorkteamSortByOptions = exports.SortBy = exports.ListInferenceRecommendationsJobsSortBy = exports.SortInferenceExperimentsBy = exports.SortExperimentsBy = exports.OrderKey = exports.ListEdgePackagingJobsSortBy = exports.ListEdgeDeploymentPlansSortBy = exports.ListDeviceFleetsSortBy = exports.MonitoringJobDefinitionSortKey = exports.SortContextsBy = exports.ListCompilationJobsSortBy = exports.SortAssociationsBy = exports.SortArtifactsBy = exports.SortOrder = exports.SortActionsBy = exports.LineageType = exports.RecommendationStepType = exports.InferenceExperimentStopDesiredState = exports.ImageVersionSortOrder = exports.ImageVersionSortBy = exports.ImageSortOrder = exports.ImageSortBy = exports.HyperParameterTuningJobSortByOptions = exports.HubSortBy = exports.HubContentSortBy = exports.ResourceType = exports.SagemakerServicecatalogStatus = exports.Operator = exports.FeatureGroupSortOrder = exports.FeatureGroupSortBy = exports.EndpointSortKey = exports.EndpointConfigSortKey = void 0;
4
+ exports.ModelCardFilterSensitiveLog = exports.ListWorkteamsSortByOptions = exports.ListWorkforcesSortByOptions = exports.UserProfileSortKey = exports.SortTrialsBy = exports.SortTrialComponentsBy = exports.TrainingJobSortByOptions = exports.StudioLifecycleConfigSortKey = exports.SpaceSortKey = exports.ResourceCatalogSortOrder = exports.ResourceCatalogSortBy = exports.ProjectSortOrder = exports.ProjectSortBy = exports.SortPipelinesBy = exports.StepStatus = exports.SortPipelineExecutionsBy = exports.NotebookInstanceSortOrder = exports.NotebookInstanceSortKey = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
+ exports.EndpointConfigSortKey = {
7
+ CreationTime: "CreationTime",
8
+ Name: "Name",
9
+ };
6
10
  exports.EndpointSortKey = {
7
11
  CreationTime: "CreationTime",
8
12
  Name: "Name",
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
+ const core_1 = require("@aws-sdk/core");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
9
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
10
  const config_resolver_1 = require("@smithy/config-resolver");
@@ -22,6 +23,7 @@ const getRuntimeConfig = (config) => {
22
23
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
24
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
25
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
26
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
25
27
  return {
26
28
  ...clientSharedValues,
27
29
  ...config,
@@ -6,17 +6,19 @@ const url_parser_1 = require("@smithy/url-parser");
6
6
  const util_base64_1 = require("@smithy/util-base64");
7
7
  const util_utf8_1 = require("@smithy/util-utf8");
8
8
  const endpointResolver_1 = require("./endpoint/endpointResolver");
9
- const getRuntimeConfig = (config) => ({
10
- apiVersion: "2017-07-24",
11
- base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
12
- base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
13
- disableHostPrefix: config?.disableHostPrefix ?? false,
14
- endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
15
- extensions: config?.extensions ?? [],
16
- logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
17
- serviceId: config?.serviceId ?? "SageMaker",
18
- urlParser: config?.urlParser ?? url_parser_1.parseUrl,
19
- utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
20
- utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
21
- });
9
+ const getRuntimeConfig = (config) => {
10
+ return {
11
+ apiVersion: "2017-07-24",
12
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
13
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
14
+ disableHostPrefix: config?.disableHostPrefix ?? false,
15
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
16
+ extensions: config?.extensions ?? [],
17
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
18
+ serviceId: config?.serviceId ?? "SageMaker",
19
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
20
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
21
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
22
+ };
23
+ };
22
24
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -521,12 +521,19 @@ export const AutoMLMetricExtendedEnum = {
521
521
  MAPE: "MAPE",
522
522
  MASE: "MASE",
523
523
  MSE: "MSE",
524
+ PERPLEXITY: "Perplexity",
524
525
  PRECISION: "Precision",
525
526
  PRECISION_MACRO: "PrecisionMacro",
526
527
  R2: "R2",
527
528
  RECALL: "Recall",
528
529
  RECALL_MACRO: "RecallMacro",
529
530
  RMSE: "RMSE",
531
+ ROUGE1: "Rouge1",
532
+ ROUGE2: "Rouge2",
533
+ ROUGEL: "RougeL",
534
+ ROUGEL_SUM: "RougeLSum",
535
+ TRAINING_LOSS: "TrainingLoss",
536
+ VALIDATION_LOSS: "ValidationLoss",
530
537
  WAPE: "WAPE",
531
538
  };
532
539
  export const CandidateStatus = {
@@ -622,6 +629,8 @@ export var AutoMLProblemTypeConfig;
622
629
  return visitor.TabularJobConfig(value.TabularJobConfig);
623
630
  if (value.TimeSeriesForecastingJobConfig !== undefined)
624
631
  return visitor.TimeSeriesForecastingJobConfig(value.TimeSeriesForecastingJobConfig);
632
+ if (value.TextGenerationJobConfig !== undefined)
633
+ return visitor.TextGenerationJobConfig(value.TextGenerationJobConfig);
625
634
  return visitor._(value.$unknown[0], value.$unknown[1]);
626
635
  };
627
636
  })(AutoMLProblemTypeConfig || (AutoMLProblemTypeConfig = {}));
@@ -629,6 +638,7 @@ export const AutoMLProblemTypeConfigName = {
629
638
  IMAGE_CLASSIFICATION: "ImageClassification",
630
639
  TABULAR: "Tabular",
631
640
  TEXT_CLASSIFICATION: "TextClassification",
641
+ TEXT_GENERATION: "TextGeneration",
632
642
  TIMESERIES_FORECASTING: "TimeSeriesForecasting",
633
643
  };
634
644
  export var AutoMLProblemTypeResolvedAttributes;
@@ -636,6 +646,8 @@ export var AutoMLProblemTypeResolvedAttributes;
636
646
  AutoMLProblemTypeResolvedAttributes.visit = (value, visitor) => {
637
647
  if (value.TabularResolvedAttributes !== undefined)
638
648
  return visitor.TabularResolvedAttributes(value.TabularResolvedAttributes);
649
+ if (value.TextGenerationResolvedAttributes !== undefined)
650
+ return visitor.TextGenerationResolvedAttributes(value.TextGenerationResolvedAttributes);
639
651
  return visitor._(value.$unknown[0], value.$unknown[1]);
640
652
  };
641
653
  })(AutoMLProblemTypeResolvedAttributes || (AutoMLProblemTypeResolvedAttributes = {}));
@@ -339,10 +339,6 @@ export var ScalingPolicy;
339
339
  return visitor._(value.$unknown[0], value.$unknown[1]);
340
340
  };
341
341
  })(ScalingPolicy || (ScalingPolicy = {}));
342
- export const EndpointConfigSortKey = {
343
- CreationTime: "CreationTime",
344
- Name: "Name",
345
- };
346
342
  export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
347
343
  ...obj,
348
344
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,4 +1,8 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const EndpointConfigSortKey = {
3
+ CreationTime: "CreationTime",
4
+ Name: "Name",
5
+ };
2
6
  export const EndpointSortKey = {
3
7
  CreationTime: "CreationTime",
4
8
  Name: "Name",
@@ -1,5 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
5
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
6
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
@@ -18,6 +19,7 @@ export const getRuntimeConfig = (config) => {
18
19
  const defaultsMode = resolveDefaultsModeConfig(config);
19
20
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
21
  const clientSharedValues = getSharedRuntimeConfig(config);
22
+ awsCheckVersion(process.version);
21
23
  return {
22
24
  ...clientSharedValues,
23
25
  ...config,
@@ -3,16 +3,18 @@ import { parseUrl } from "@smithy/url-parser";
3
3
  import { fromBase64, toBase64 } from "@smithy/util-base64";
4
4
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
5
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
- export const getRuntimeConfig = (config) => ({
7
- apiVersion: "2017-07-24",
8
- base64Decoder: config?.base64Decoder ?? fromBase64,
9
- base64Encoder: config?.base64Encoder ?? toBase64,
10
- disableHostPrefix: config?.disableHostPrefix ?? false,
11
- endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
12
- extensions: config?.extensions ?? [],
13
- logger: config?.logger ?? new NoOpLogger(),
14
- serviceId: config?.serviceId ?? "SageMaker",
15
- urlParser: config?.urlParser ?? parseUrl,
16
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
17
- utf8Encoder: config?.utf8Encoder ?? toUtf8,
18
- });
6
+ export const getRuntimeConfig = (config) => {
7
+ return {
8
+ apiVersion: "2017-07-24",
9
+ base64Decoder: config?.base64Decoder ?? fromBase64,
10
+ base64Encoder: config?.base64Encoder ?? toBase64,
11
+ disableHostPrefix: config?.disableHostPrefix ?? false,
12
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
13
+ extensions: config?.extensions ?? [],
14
+ logger: config?.logger ?? new NoOpLogger(),
15
+ serviceId: config?.serviceId ?? "SageMaker",
16
+ urlParser: config?.urlParser ?? parseUrl,
17
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
18
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
19
+ };
20
+ };
@@ -29,7 +29,8 @@ export interface CreateAutoMLJobCommandOutput extends CreateAutoMLJobResponse, _
29
29
  * <p>
30
30
  * <code>CreateAutoMLJobV2</code> can manage tabular problem types identical to those of
31
31
  * its previous version <code>CreateAutoMLJob</code>, as well as time-series forecasting,
32
- * and non-tabular problem types such as image or text classification.</p>
32
+ * non-tabular problem types such as image or text classification, and text generation
33
+ * (LLMs fine-tuning).</p>
33
34
  * <p>Find guidelines about how to migrate a <code>CreateAutoMLJob</code> to
34
35
  * <code>CreateAutoMLJobV2</code> in <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2">Migrate a CreateAutoMLJob to CreateAutoMLJobV2</a>.</p>
35
36
  * </note>
@@ -31,7 +31,8 @@ export interface CreateAutoMLJobV2CommandOutput extends CreateAutoMLJobV2Respons
31
31
  * <p>
32
32
  * <code>CreateAutoMLJobV2</code> can manage tabular problem types identical to those of
33
33
  * its previous version <code>CreateAutoMLJob</code>, as well as time-series forecasting,
34
- * and non-tabular problem types such as image or text classification.</p>
34
+ * non-tabular problem types such as image or text classification, and text generation
35
+ * (LLMs fine-tuning).</p>
35
36
  * <p>Find guidelines about how to migrate a <code>CreateAutoMLJob</code> to
36
37
  * <code>CreateAutoMLJobV2</code> in <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2">Migrate a CreateAutoMLJob to CreateAutoMLJobV2</a>.</p>
37
38
  * </note>
@@ -138,6 +139,14 @@ export interface CreateAutoMLJobV2CommandOutput extends CreateAutoMLJobV2Respons
138
139
  * },
139
140
  * ],
140
141
  * },
142
+ * TextGenerationJobConfig: { // TextGenerationJobConfig
143
+ * CompletionCriteria: {
144
+ * MaxCandidates: Number("int"),
145
+ * MaxRuntimePerTrainingJobInSeconds: Number("int"),
146
+ * MaxAutoMLJobRuntimeInSeconds: Number("int"),
147
+ * },
148
+ * BaseModelName: "STRING_VALUE",
149
+ * },
141
150
  * },
142
151
  * RoleArn: "STRING_VALUE", // required
143
152
  * Tags: [ // TagList
@@ -1,8 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { CreateDataQualityJobDefinitionRequest } from "../models/models_0";
5
- import { CreateDataQualityJobDefinitionResponse } from "../models/models_1";
4
+ import { CreateDataQualityJobDefinitionRequest, CreateDataQualityJobDefinitionResponse } from "../models/models_1";
6
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
7
6
  /**
8
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { DeleteContextRequest, DeleteContextResponse } from "../models/models_1";
4
+ import { DeleteContextRequest, DeleteContextResponse } from "../models/models_2";
5
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
6
  /**
7
7
  * @public
@@ -149,7 +149,7 @@ export interface DescribeAutoMLJobCommandOutput extends DescribeAutoMLJobRespons
149
149
  * // MetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss",
150
150
  * // Value: Number("float"),
151
151
  * // Set: "Train" || "Validation" || "Test",
152
- * // StandardMetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "LogLoss" || "InferenceLatency" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss",
152
+ * // StandardMetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "LogLoss" || "InferenceLatency" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss" || "Rouge1" || "Rouge2" || "RougeL" || "RougeLSum" || "Perplexity" || "ValidationLoss" || "TrainingLoss",
153
153
  * // },
154
154
  * // ],
155
155
  * // },
@@ -135,6 +135,14 @@ export interface DescribeAutoMLJobV2CommandOutput extends DescribeAutoMLJobV2Res
135
135
  * // },
136
136
  * // ],
137
137
  * // },
138
+ * // TextGenerationJobConfig: { // TextGenerationJobConfig
139
+ * // CompletionCriteria: {
140
+ * // MaxCandidates: Number("int"),
141
+ * // MaxRuntimePerTrainingJobInSeconds: Number("int"),
142
+ * // MaxAutoMLJobRuntimeInSeconds: Number("int"),
143
+ * // },
144
+ * // BaseModelName: "STRING_VALUE",
145
+ * // },
138
146
  * // },
139
147
  * // CreationTime: new Date("TIMESTAMP"), // required
140
148
  * // EndTime: new Date("TIMESTAMP"),
@@ -186,7 +194,7 @@ export interface DescribeAutoMLJobV2CommandOutput extends DescribeAutoMLJobV2Res
186
194
  * // MetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss",
187
195
  * // Value: Number("float"),
188
196
  * // Set: "Train" || "Validation" || "Test",
189
- * // StandardMetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "LogLoss" || "InferenceLatency" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss",
197
+ * // StandardMetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "LogLoss" || "InferenceLatency" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss" || "Rouge1" || "Rouge2" || "RougeL" || "RougeLSum" || "Perplexity" || "ValidationLoss" || "TrainingLoss",
190
198
  * // },
191
199
  * // ],
192
200
  * // },
@@ -234,18 +242,17 @@ export interface DescribeAutoMLJobV2CommandOutput extends DescribeAutoMLJobV2Res
234
242
  * // AutoMLJobObjective: {
235
243
  * // MetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss", // required
236
244
  * // },
237
- * // CompletionCriteria: {
238
- * // MaxCandidates: Number("int"),
239
- * // MaxRuntimePerTrainingJobInSeconds: Number("int"),
240
- * // MaxAutoMLJobRuntimeInSeconds: Number("int"),
241
- * // },
245
+ * // CompletionCriteria: "<AutoMLJobCompletionCriteria>",
242
246
  * // AutoMLProblemTypeResolvedAttributes: { // AutoMLProblemTypeResolvedAttributes Union: only one key present
243
247
  * // TabularResolvedAttributes: { // TabularResolvedAttributes
244
248
  * // ProblemType: "BinaryClassification" || "MulticlassClassification" || "Regression",
245
249
  * // },
250
+ * // TextGenerationResolvedAttributes: { // TextGenerationResolvedAttributes
251
+ * // BaseModelName: "STRING_VALUE",
252
+ * // },
246
253
  * // },
247
254
  * // },
248
- * // AutoMLProblemTypeConfigName: "ImageClassification" || "TextClassification" || "Tabular" || "TimeSeriesForecasting",
255
+ * // AutoMLProblemTypeConfigName: "ImageClassification" || "TextClassification" || "Tabular" || "TimeSeriesForecasting" || "TextGeneration",
249
256
  * // };
250
257
  *
251
258
  * ```
@@ -84,7 +84,7 @@ export interface ListCandidatesForAutoMLJobCommandOutput extends ListCandidatesF
84
84
  * // MetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss",
85
85
  * // Value: Number("float"),
86
86
  * // Set: "Train" || "Validation" || "Test",
87
- * // StandardMetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "LogLoss" || "InferenceLatency" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss",
87
+ * // StandardMetricName: "Accuracy" || "MSE" || "F1" || "F1macro" || "AUC" || "RMSE" || "MAE" || "R2" || "BalancedAccuracy" || "Precision" || "PrecisionMacro" || "Recall" || "RecallMacro" || "LogLoss" || "InferenceLatency" || "MAPE" || "MASE" || "WAPE" || "AverageWeightedQuantileLoss" || "Rouge1" || "Rouge2" || "RougeL" || "RougeLSum" || "Perplexity" || "ValidationLoss" || "TrainingLoss",
88
88
  * // },
89
89
  * // ],
90
90
  * // },