@aws-sdk/client-sagemaker 3.161.0 → 3.162.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 (33) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/commands/DescribeFlowDefinitionCommand.js +2 -1
  3. package/dist-cjs/commands/DescribeHumanTaskUiCommand.js +1 -2
  4. package/dist-cjs/commands/ListNotebookInstancesCommand.js +2 -1
  5. package/dist-cjs/models/models_1.js +15 -15
  6. package/dist-cjs/models/models_2.js +13 -14
  7. package/dist-cjs/models/models_3.js +13 -4
  8. package/dist-cjs/protocols/Aws_json1_1.js +88 -0
  9. package/dist-es/commands/DescribeFlowDefinitionCommand.js +2 -1
  10. package/dist-es/commands/DescribeHumanTaskUiCommand.js +1 -2
  11. package/dist-es/commands/ListNotebookInstancesCommand.js +2 -1
  12. package/dist-es/models/models_1.js +2 -2
  13. package/dist-es/models/models_2.js +2 -6
  14. package/dist-es/models/models_3.js +6 -0
  15. package/dist-es/protocols/Aws_json1_1.js +77 -1
  16. package/dist-types/SageMaker.d.ts +3 -3
  17. package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateUserProfileCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeHumanTaskUiCommand.d.ts +1 -2
  22. package/dist-types/commands/ListNotebookInstancesCommand.d.ts +2 -1
  23. package/dist-types/models/models_0.d.ts +21 -19
  24. package/dist-types/models/models_1.d.ts +100 -78
  25. package/dist-types/models/models_2.d.ts +61 -24
  26. package/dist-types/models/models_3.d.ts +22 -1
  27. package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/DescribeHumanTaskUiCommand.d.ts +1 -2
  29. package/dist-types/ts3.4/commands/ListNotebookInstancesCommand.d.ts +2 -1
  30. package/dist-types/ts3.4/models/models_1.d.ts +31 -31
  31. package/dist-types/ts3.4/models/models_2.d.ts +31 -13
  32. package/dist-types/ts3.4/models/models_3.d.ts +13 -1
  33. package/package.json +27 -27
@@ -18422,8 +18422,17 @@ var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, contex
18422
18422
  var serializeAws_json1_1RecommendationJobCompiledOutputConfig = function (input, context) {
18423
18423
  return __assign({}, (input.S3OutputUri != null && { S3OutputUri: input.S3OutputUri }));
18424
18424
  };
18425
+ var serializeAws_json1_1RecommendationJobContainerConfig = function (input, context) {
18426
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Domain != null && { Domain: input.Domain })), (input.Framework != null && { Framework: input.Framework })), (input.FrameworkVersion != null && { FrameworkVersion: input.FrameworkVersion })), (input.NearestModelName != null && { NearestModelName: input.NearestModelName })), (input.PayloadConfig != null && {
18427
+ PayloadConfig: serializeAws_json1_1RecommendationJobPayloadConfig(input.PayloadConfig, context),
18428
+ })), (input.SupportedInstanceTypes != null && {
18429
+ SupportedInstanceTypes: serializeAws_json1_1RecommendationJobSupportedInstanceTypes(input.SupportedInstanceTypes, context),
18430
+ })), (input.Task != null && { Task: input.Task }));
18431
+ };
18425
18432
  var serializeAws_json1_1RecommendationJobInputConfig = function (input, context) {
18426
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations != null && {
18433
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerConfig != null && {
18434
+ ContainerConfig: serializeAws_json1_1RecommendationJobContainerConfig(input.ContainerConfig, context),
18435
+ })), (input.EndpointConfigurations != null && {
18427
18436
  EndpointConfigurations: serializeAws_json1_1EndpointInputConfigurations(input.EndpointConfigurations, context),
18428
18437
  })), (input.JobDurationInSeconds != null && { JobDurationInSeconds: input.JobDurationInSeconds })), (input.ModelPackageVersionArn != null && { ModelPackageVersionArn: input.ModelPackageVersionArn })), (input.ResourceLimit != null && {
18429
18438
  ResourceLimit: serializeAws_json1_1RecommendationJobResourceLimit(input.ResourceLimit, context),
@@ -18436,6 +18445,11 @@ var serializeAws_json1_1RecommendationJobOutputConfig = function (input, context
18436
18445
  CompiledOutputConfig: serializeAws_json1_1RecommendationJobCompiledOutputConfig(input.CompiledOutputConfig, context),
18437
18446
  })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }));
18438
18447
  };
18448
+ var serializeAws_json1_1RecommendationJobPayloadConfig = function (input, context) {
18449
+ return __assign(__assign({}, (input.SamplePayloadUrl != null && { SamplePayloadUrl: input.SamplePayloadUrl })), (input.SupportedContentTypes != null && {
18450
+ SupportedContentTypes: serializeAws_json1_1RecommendationJobSupportedContentTypes(input.SupportedContentTypes, context),
18451
+ }));
18452
+ };
18439
18453
  var serializeAws_json1_1RecommendationJobResourceLimit = function (input, context) {
18440
18454
  return __assign(__assign({}, (input.MaxNumberOfTests != null && { MaxNumberOfTests: input.MaxNumberOfTests })), (input.MaxParallelOfTests != null && { MaxParallelOfTests: input.MaxParallelOfTests }));
18441
18455
  };
@@ -18444,6 +18458,20 @@ var serializeAws_json1_1RecommendationJobStoppingConditions = function (input, c
18444
18458
  ModelLatencyThresholds: serializeAws_json1_1ModelLatencyThresholds(input.ModelLatencyThresholds, context),
18445
18459
  }));
18446
18460
  };
18461
+ var serializeAws_json1_1RecommendationJobSupportedContentTypes = function (input, context) {
18462
+ return input
18463
+ .filter(function (e) { return e != null; })
18464
+ .map(function (entry) {
18465
+ return entry;
18466
+ });
18467
+ };
18468
+ var serializeAws_json1_1RecommendationJobSupportedInstanceTypes = function (input, context) {
18469
+ return input
18470
+ .filter(function (e) { return e != null; })
18471
+ .map(function (entry) {
18472
+ return entry;
18473
+ });
18474
+ };
18447
18475
  var serializeAws_json1_1RedshiftDatasetDefinition = function (input, context) {
18448
18476
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterId != null && { ClusterId: input.ClusterId })), (input.ClusterRoleArn != null && { ClusterRoleArn: input.ClusterRoleArn })), (input.Database != null && { Database: input.Database })), (input.DbUser != null && { DbUser: input.DbUser })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.OutputCompression != null && { OutputCompression: input.OutputCompression })), (input.OutputFormat != null && { OutputFormat: input.OutputFormat })), (input.OutputS3Uri != null && { OutputS3Uri: input.OutputS3Uri })), (input.QueryString != null && { QueryString: input.QueryString }));
18449
18477
  };
@@ -25876,8 +25904,26 @@ var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, con
25876
25904
  });
25877
25905
  return retVal;
25878
25906
  };
25907
+ var deserializeAws_json1_1RecommendationJobContainerConfig = function (output, context) {
25908
+ return {
25909
+ Domain: __expectString(output.Domain),
25910
+ Framework: __expectString(output.Framework),
25911
+ FrameworkVersion: __expectString(output.FrameworkVersion),
25912
+ NearestModelName: __expectString(output.NearestModelName),
25913
+ PayloadConfig: output.PayloadConfig != null
25914
+ ? deserializeAws_json1_1RecommendationJobPayloadConfig(output.PayloadConfig, context)
25915
+ : undefined,
25916
+ SupportedInstanceTypes: output.SupportedInstanceTypes != null
25917
+ ? deserializeAws_json1_1RecommendationJobSupportedInstanceTypes(output.SupportedInstanceTypes, context)
25918
+ : undefined,
25919
+ Task: __expectString(output.Task),
25920
+ };
25921
+ };
25879
25922
  var deserializeAws_json1_1RecommendationJobInputConfig = function (output, context) {
25880
25923
  return {
25924
+ ContainerConfig: output.ContainerConfig != null
25925
+ ? deserializeAws_json1_1RecommendationJobContainerConfig(output.ContainerConfig, context)
25926
+ : undefined,
25881
25927
  EndpointConfigurations: output.EndpointConfigurations != null
25882
25928
  ? deserializeAws_json1_1EndpointInputConfigurations(output.EndpointConfigurations, context)
25883
25929
  : undefined,
@@ -25890,6 +25936,14 @@ var deserializeAws_json1_1RecommendationJobInputConfig = function (output, conte
25890
25936
  VolumeKmsKeyId: __expectString(output.VolumeKmsKeyId),
25891
25937
  };
25892
25938
  };
25939
+ var deserializeAws_json1_1RecommendationJobPayloadConfig = function (output, context) {
25940
+ return {
25941
+ SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
25942
+ SupportedContentTypes: output.SupportedContentTypes != null
25943
+ ? deserializeAws_json1_1RecommendationJobSupportedContentTypes(output.SupportedContentTypes, context)
25944
+ : undefined,
25945
+ };
25946
+ };
25893
25947
  var deserializeAws_json1_1RecommendationJobResourceLimit = function (output, context) {
25894
25948
  return {
25895
25949
  MaxNumberOfTests: __expectInt32(output.MaxNumberOfTests),
@@ -25904,6 +25958,28 @@ var deserializeAws_json1_1RecommendationJobStoppingConditions = function (output
25904
25958
  : undefined,
25905
25959
  };
25906
25960
  };
25961
+ var deserializeAws_json1_1RecommendationJobSupportedContentTypes = function (output, context) {
25962
+ var retVal = (output || [])
25963
+ .filter(function (e) { return e != null; })
25964
+ .map(function (entry) {
25965
+ if (entry === null) {
25966
+ return null;
25967
+ }
25968
+ return __expectString(entry);
25969
+ });
25970
+ return retVal;
25971
+ };
25972
+ var deserializeAws_json1_1RecommendationJobSupportedInstanceTypes = function (output, context) {
25973
+ var retVal = (output || [])
25974
+ .filter(function (e) { return e != null; })
25975
+ .map(function (entry) {
25976
+ if (entry === null) {
25977
+ return null;
25978
+ }
25979
+ return __expectString(entry);
25980
+ });
25981
+ return retVal;
25982
+ };
25907
25983
  var deserializeAws_json1_1RecommendationMetrics = function (output, context) {
25908
25984
  return {
25909
25985
  CostPerHour: __limitedParseFloat32(output.CostPerHour),
@@ -929,7 +929,7 @@ export declare class SageMaker extends SageMakerClient {
929
929
  * the Apps and files associated with the Domain's Amazon Elastic File System (EFS) volume.
930
930
  * This operation can only be called when the authentication mode equals IAM.
931
931
  * </p>
932
- * <p>The IAM role or user used to call this API defines the permissions to access the app. Once
932
+ * <p>The IAM role or user passed to this API defines the permissions to access the app. Once
933
933
  * the presigned URL is created, no additional permission is required to access this URL. IAM
934
934
  * authorization policies for this API are also enforced for every HTTP request and WebSocket
935
935
  * frame that attempts to connect to the app.</p>
@@ -1140,7 +1140,7 @@ export declare class SageMaker extends SageMakerClient {
1140
1140
  * <p>Creates a user profile. A user profile represents a single user within a domain, and is
1141
1141
  * the main way to reference a "person" for the purposes of sharing, reporting, and other
1142
1142
  * user-oriented features. This entity is created when a user onboards to Amazon SageMaker Studio. If an
1143
- * administrator invites a person by email or imports them from SSO, a user profile is
1143
+ * administrator invites a person by email or imports them from Amazon Web Services SSO, a user profile is
1144
1144
  * automatically created. A user profile is the primary holder of settings for an individual
1145
1145
  * user and has a reference to the user's private Amazon Elastic File System (EFS) home directory.
1146
1146
  * </p>
@@ -1246,7 +1246,7 @@ export declare class SageMaker extends SageMakerClient {
1246
1246
  deleteDeviceFleet(args: DeleteDeviceFleetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDeviceFleetCommandOutput) => void): void;
1247
1247
  /**
1248
1248
  * <p>Used to delete a domain.
1249
- * If you onboarded with IAM mode, you will need to delete your domain to onboard again using SSO.
1249
+ * If you onboarded with IAM mode, you will need to delete your domain to onboard again using Amazon Web Services SSO.
1250
1250
  * Use with caution. All of the members of the domain will lose access to their EFS volume,
1251
1251
  * including data, notebooks, and other artifacts.
1252
1252
  * </p>
@@ -12,7 +12,7 @@ export interface CreatePresignedDomainUrlCommandOutput extends CreatePresignedDo
12
12
  * the Apps and files associated with the Domain's Amazon Elastic File System (EFS) volume.
13
13
  * This operation can only be called when the authentication mode equals IAM.
14
14
  * </p>
15
- * <p>The IAM role or user used to call this API defines the permissions to access the app. Once
15
+ * <p>The IAM role or user passed to this API defines the permissions to access the app. Once
16
16
  * the presigned URL is created, no additional permission is required to access this URL. IAM
17
17
  * authorization policies for this API are also enforced for every HTTP request and WebSocket
18
18
  * frame that attempts to connect to the app.</p>
@@ -10,7 +10,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
10
10
  * <p>Creates a user profile. A user profile represents a single user within a domain, and is
11
11
  * the main way to reference a "person" for the purposes of sharing, reporting, and other
12
12
  * user-oriented features. This entity is created when a user onboards to Amazon SageMaker Studio. If an
13
- * administrator invites a person by email or imports them from SSO, a user profile is
13
+ * administrator invites a person by email or imports them from Amazon Web Services SSO, a user profile is
14
14
  * automatically created. A user profile is the primary holder of settings for an individual
15
15
  * user and has a reference to the user's private Amazon Elastic File System (EFS) home directory.
16
16
  * </p>
@@ -8,7 +8,7 @@ export interface DeleteDomainCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
10
  * <p>Used to delete a domain.
11
- * If you onboarded with IAM mode, you will need to delete your domain to onboard again using SSO.
11
+ * If you onboarded with IAM mode, you will need to delete your domain to onboard again using Amazon Web Services SSO.
12
12
  * Use with caution. All of the members of the domain will lose access to their EFS volume,
13
13
  * including data, notebooks, and other artifacts.
14
14
  * </p>
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { DescribeFlowDefinitionRequest, DescribeFlowDefinitionResponse } from "../models/models_1";
3
+ import { DescribeFlowDefinitionRequest } from "../models/models_1";
4
+ import { DescribeFlowDefinitionResponse } from "../models/models_2";
4
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
6
  export interface DescribeFlowDefinitionCommandInput extends DescribeFlowDefinitionRequest {
6
7
  }
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { DescribeHumanTaskUiRequest } from "../models/models_1";
4
- import { DescribeHumanTaskUiResponse } from "../models/models_2";
3
+ import { DescribeHumanTaskUiRequest, DescribeHumanTaskUiResponse } from "../models/models_2";
5
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
5
  export interface DescribeHumanTaskUiCommandInput extends DescribeHumanTaskUiRequest {
7
6
  }
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListNotebookInstancesInput, ListNotebookInstancesOutput } from "../models/models_2";
3
+ import { ListNotebookInstancesInput } from "../models/models_2";
4
+ import { ListNotebookInstancesOutput } from "../models/models_3";
4
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
6
  export interface ListNotebookInstancesCommandInput extends ListNotebookInstancesInput {
6
7
  }
@@ -929,7 +929,6 @@ export interface OutputDataConfig {
929
929
  * </p>
930
930
  * </li>
931
931
  * </ul>
932
- *
933
932
  * <p>If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must
934
933
  * include permissions to call <code>kms:Encrypt</code>. If you don't provide a KMS key ID,
935
934
  * SageMaker uses the default KMS key for Amazon S3 for your role's account. SageMaker uses server-side
@@ -1041,20 +1040,21 @@ export interface ResourceConfig {
1041
1040
  * algorithms might also use the ML storage volume for scratch space. If you want to store
1042
1041
  * the training data in the ML storage volume, choose <code>File</code> as the
1043
1042
  * <code>TrainingInputMode</code> in the algorithm specification. </p>
1044
- * <p>You must specify sufficient ML storage for your scenario. </p>
1045
- * <note>
1046
- * <p> SageMaker supports only the General Purpose SSD (gp2) ML storage volume type.
1047
- * </p>
1048
- * </note>
1049
- * <note>
1050
- * <p>Certain Nitro-based instances include local storage with a fixed total size,
1051
- * dependent on the instance type. When using these instances for training, SageMaker mounts
1052
- * the local instance storage instead of Amazon EBS gp2 storage. You can't request a
1053
- * <code>VolumeSizeInGB</code> greater than the total size of the local instance
1054
- * storage.</p>
1055
- * <p>For a list of instance types that support local instance storage, including the
1056
- * total size per instance type, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes">Instance Store Volumes</a>.</p>
1057
- * </note>
1043
+ * <p>When using an ML instance with <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html#nvme-ssd-volumes">NVMe SSD
1044
+ * volumes</a>, SageMaker doesn't provision Amazon EBS General Purpose SSD (gp2) storage.
1045
+ * Available storage is fixed to the NVMe-type instance's storage capacity. SageMaker configures
1046
+ * storage paths for training datasets, checkpoints, model artifacts, and outputs to use
1047
+ * the entire capacity of the instance storage. For example, ML instance families with the
1048
+ * NVMe-type instance storage include <code>ml.p4d</code>, <code>ml.g4dn</code>, and
1049
+ * <code>ml.g5</code>. </p>
1050
+ * <p>When using an ML instance with the EBS-only storage option and without instance
1051
+ * storage, you must define the size of EBS volume through <code>VolumeSizeInGB</code> in
1052
+ * the <code>ResourceConfig</code> API. For example, ML instance families that use EBS
1053
+ * volumes include <code>ml.c5</code> and <code>ml.p2</code>. </p>
1054
+ * <p>To look up instance types and their instance storage types and volumes, see <a href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>.</p>
1055
+ * <p>To find the default local paths defined by the SageMaker training platform, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-train-storage.html">Amazon SageMaker
1056
+ * Training Storage Folders for Training Datasets, Checkpoints, Model Artifacts, and
1057
+ * Outputs</a>.</p>
1058
1058
  */
1059
1059
  VolumeSizeInGB: number | undefined;
1060
1060
  /**
@@ -1113,8 +1113,8 @@ export interface ResourceConfig {
1113
1113
  */
1114
1114
  export interface StoppingCondition {
1115
1115
  /**
1116
- * <p>The maximum length of time, in seconds, that a training or compilation job can
1117
- * run.</p>
1116
+ * <p>The maximum length of time, in seconds, that a training or compilation job can run
1117
+ * before it is stopped.</p>
1118
1118
  * <p>For compilation jobs, if the job does not complete during this time, a
1119
1119
  * <code>TimeOut</code> error is generated. We recommend starting with 900 seconds and
1120
1120
  * increasing as necessary based on your model.</p>
@@ -1123,6 +1123,9 @@ export interface StoppingCondition {
1123
1123
  * <code>MaxRuntimeInSeconds</code> specifies the maximum time for all of the attempts
1124
1124
  * in total, not each individual attempt. The default value is 1 day. The maximum value is
1125
1125
  * 28 days.</p>
1126
+ * <p>The maximum time that a <code>TrainingJob</code> can run in total, including any time spent
1127
+ * publishing metrics or archiving and uploading models after it has been stopped, is 30
1128
+ * days.</p>
1126
1129
  */
1127
1130
  MaxRuntimeInSeconds?: number;
1128
1131
  /**
@@ -3887,7 +3890,7 @@ export interface AutoMLJobCompletionCriteria {
3887
3890
  */
3888
3891
  MaxCandidates?: number;
3889
3892
  /**
3890
- * <p>The maximum time, in seconds, that each training job is allowed to run as part of a
3893
+ * <p>The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a
3891
3894
  * hyperparameter tuning job. For more information, see the used by the action.</p>
3892
3895
  */
3893
3896
  MaxRuntimePerTrainingJobInSeconds?: number;
@@ -7592,7 +7595,6 @@ export interface ProductionVariantCoreDumpConfig {
7592
7595
  * </p>
7593
7596
  * </li>
7594
7597
  * </ul>
7595
- *
7596
7598
  * <p>If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must
7597
7599
  * include permissions to call <code>kms:Encrypt</code>. If you don't provide a KMS key ID,
7598
7600
  * SageMaker uses the default KMS key for Amazon S3 for your role's account. SageMaker uses server-side
@@ -1,4 +1,4 @@
1
- import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLJobArtifacts, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, BatchStrategy, Bias, CaptureStatus, CategoricalParameter, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ContainerDefinition, ContentClassifier, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, GitConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HyperParameterTuningJobObjective, HyperParameterTuningJobStrategyType, InferenceSpecification, InputConfig, KernelGatewayImageConfig, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDeployConfig, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, OutputDataConfig, ParameterRanges, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantInstanceType, ProductionVariantServerlessConfig, PublicWorkforceTaskPrice, ResourceConfig, ResourceLimits, ResourceSpec, StoppingCondition, Tag, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TrainingSpecification, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, TuningJobCompletionCriteria, UserContext, UserSettings, VpcConfig } from "./models_0";
1
+ import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLJobArtifacts, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, BatchStrategy, Bias, CaptureStatus, CategoricalParameter, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ContainerDefinition, ContentClassifier, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, FeatureDefinition, FeatureType, GitConfig, HyperParameterTuningJobObjective, HyperParameterTuningJobStrategyType, InferenceSpecification, InputConfig, KernelGatewayImageConfig, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDeployConfig, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, OutputDataConfig, ParameterRanges, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantInstanceType, ProductionVariantServerlessConfig, PublicWorkforceTaskPrice, ResourceConfig, ResourceLimits, ResourceSpec, StoppingCondition, Tag, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TrainingSpecification, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, TuningJobCompletionCriteria, UserContext, UserSettings, VpcConfig } from "./models_0";
2
2
  /**
3
3
  * <p>Configures a hyperparameter tuning job.</p>
4
4
  */
@@ -157,8 +157,9 @@ export interface HyperParameterTuningInstanceConfig {
157
157
  * use in training jobs launched by hyperparameter tuning jobs. Specify one or more
158
158
  * instance type and count and the allocation strategy for instance selection.</p>
159
159
  * <note>
160
- * <p>HyperParameterTuningResourceConfig supports all of the capabilities of
161
- * ResourceConfig with added functionality for flexible instance management.</p>
160
+ * <p>
161
+ * <code>HyperParameterTuningResourceConfig</code> supports all of the capabilities
162
+ * of ResourceConfig with added functionality for flexible instance management.</p>
162
163
  * </note>
163
164
  */
164
165
  export interface HyperParameterTuningResourceConfig {
@@ -179,27 +180,31 @@ export interface HyperParameterTuningResourceConfig {
179
180
  * <p>Some instance types have a fixed total local storage size. If you select one of these
180
181
  * instances for training, <code>VolumeSizeInGB</code> cannot be greater than this total
181
182
  * size. For a list of instance types with local instance storage and their sizes, see
182
- * <a href="https://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/">instance store volumes</a>.</p>
183
+ * <a href="http://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/">instance store volumes</a>.</p>
183
184
  * <note>
184
- * <p>SageMaker supports only the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html">General Purpose SSD (gp2)</a> storage volume type.</p>
185
+ * <p>SageMaker supports only the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html">General Purpose SSD
186
+ * (gp2)</a> storage volume type.</p>
185
187
  * </note>
186
188
  */
187
189
  VolumeSizeInGB?: number;
188
190
  /**
189
- * <p>A key used by AWS Key Management Service to encrypt data on the storage volume attached to the compute
190
- * instances used to run the training job. You can use either of the following formats to
191
- * specify a key.</p>
191
+ * <p>A key used by Amazon Web Services Key Management Service to encrypt data on the storage volume
192
+ * attached to the compute instances used to run the training job. You can use either of
193
+ * the following formats to specify a key.</p>
192
194
  * <p>KMS Key ID:</p>
193
195
  * <p>
194
196
  * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
195
197
  * </p>
196
- * <p>Amazon Resource Name (ARN) of a AWS KMS key:</p>
198
+ * <p>Amazon Resource Name (ARN) of a KMS key:</p>
197
199
  * <p>
198
200
  * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
199
201
  * </p>
200
- * <p>Some instances use local storage, which use a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html">hardware module to encrypt</a> storage volumes. If you choose one of these
201
- * instance types, you cannot request a <code>VolumeKmsKeyId</code>. For a list of instance
202
- * types that use local storage, see <a href="https://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/">instance store volumes</a>. For more information about AWS Key Management Service, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security-kms-permissions.html">AWS KMS encryption</a> for more information.</p>
202
+ * <p>Some instances use local storage, which use a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html">hardware module to
203
+ * encrypt</a> storage volumes. If you choose one of these instance types, you
204
+ * cannot request a <code>VolumeKmsKeyId</code>. For a list of instance types that use
205
+ * local storage, see <a href="http://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/">instance store
206
+ * volumes</a>. For more information about Amazon Web Services Key Management Service, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security-kms-permissions.html">KMS
207
+ * encryption</a> for more information.</p>
203
208
  */
204
209
  VolumeKmsKeyId?: string;
205
210
  /**
@@ -214,7 +219,7 @@ export interface HyperParameterTuningResourceConfig {
214
219
  * <code>AllocationStrategy</code> controls the order in which multiple configurations
215
220
  * provided in <code>InstanceConfigs</code> are used.</p>
216
221
  * <note>
217
- * <p>If you only want to use a single InstanceConfig inside the
222
+ * <p>If you only want to use a single instance configuration inside the
218
223
  * <code>HyperParameterTuningResourceConfig</code> API, do not provide a value for
219
224
  * <code>InstanceConfigs</code>. Instead, use <code>InstanceType</code>,
220
225
  * <code>VolumeSizeInGB</code> and <code>InstanceCount</code>. If you use
@@ -328,8 +333,9 @@ export interface HyperParameterTrainingJobDefinition {
328
333
  * algorithm specification. For distributed training algorithms, specify an instance count
329
334
  * greater than 1.</p>
330
335
  * <note>
331
- * <p>If you want to use hyperparameter optimization with instance type flexibility, use <code>HyperParameterTuningResourceConfig</code> instead.</p>
332
- * </note>
336
+ * <p>If you want to use hyperparameter optimization with instance type flexibility, use
337
+ * <code>HyperParameterTuningResourceConfig</code> instead.</p>
338
+ * </note>
333
339
  */
334
340
  ResourceConfig?: ResourceConfig;
335
341
  /**
@@ -374,7 +380,7 @@ export interface HyperParameterTrainingJobDefinition {
374
380
  * instances and storage volumes, used for training jobs launched by the tuning job. By
375
381
  * default, storage volumes hold model artifacts and incremental states. Choose
376
382
  * <code>File</code> for <code>TrainingInputMode</code> in the
377
- * <code>AlgorithmSpecification</code>parameter to additionally store training data in
383
+ * <code>AlgorithmSpecification</code> parameter to additionally store training data in
378
384
  * the storage volume (optional).</p>
379
385
  */
380
386
  HyperParameterTuningResourceConfig?: HyperParameterTuningResourceConfig;
@@ -568,6 +574,67 @@ export interface CreateImageVersionResponse {
568
574
  */
569
575
  ImageVersionArn?: string;
570
576
  }
577
+ /**
578
+ * <p>The configuration for the payload for a recommendation job.</p>
579
+ */
580
+ export interface RecommendationJobPayloadConfig {
581
+ /**
582
+ * <p>The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).</p>
583
+ */
584
+ SamplePayloadUrl?: string;
585
+ /**
586
+ * <p>The supported MIME types for the input data.</p>
587
+ */
588
+ SupportedContentTypes?: string[];
589
+ }
590
+ /**
591
+ * <p>Specifies mandatory fields for running an Inference Recommender job directly in the
592
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateInferenceRecommendationsJob.html">CreateInferenceRecommendationsJob</a>
593
+ * API. The fields specified in <code>ContainerConfig</code> override the corresponding fields in the model package. Use
594
+ * <code>ContainerConfig</code> if you want to specify these fields for the recommendation job but don't want to edit them in your model package.</p>
595
+ */
596
+ export interface RecommendationJobContainerConfig {
597
+ /**
598
+ * <p>The machine learning domain of the model and its components.</p>
599
+ * <p>Valid Values: <code>COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING |
600
+ * MACHINE_LEARNING</code>
601
+ * </p>
602
+ */
603
+ Domain?: string;
604
+ /**
605
+ * <p>The machine learning task that the model accomplishes.</p>
606
+ * <p>Valid Values: <code>IMAGE_CLASSIFICATION | OBJECT_DETECTION
607
+ * | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION |
608
+ * REGRESSION | OTHER</code>
609
+ * </p>
610
+ */
611
+ Task?: string;
612
+ /**
613
+ * <p>The machine learning framework of the container image.</p>
614
+ * <p>Valid Values: <code>TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN</code>
615
+ * </p>
616
+ */
617
+ Framework?: string;
618
+ /**
619
+ * <p>The framework version of the container image.</p>
620
+ */
621
+ FrameworkVersion?: string;
622
+ /**
623
+ * <p>Specifies the <code>SamplePayloadUrl</code> and all other sample payload-related fields.</p>
624
+ */
625
+ PayloadConfig?: RecommendationJobPayloadConfig;
626
+ /**
627
+ * <p>The name of a pre-trained machine learning model benchmarked by Amazon SageMaker Inference Recommender that matches your model.</p>
628
+ * <p>Valid Values: <code>efficientnetb7 | unet | xgboost | faster-rcnn-resnet101 | nasnetlarge | vgg16 | inception-v3 | mask-rcnn | sagemaker-scikit-learn |
629
+ * densenet201-gluon | resnet18v2-gluon | xception | densenet201 | yolov4 | resnet152 | bert-base-cased | xceptionV1-keras | resnet50 | retinanet</code>
630
+ * </p>
631
+ */
632
+ NearestModelName?: string;
633
+ /**
634
+ * <p>A list of the instance types that are used to generate inferences in real-time.</p>
635
+ */
636
+ SupportedInstanceTypes?: string[];
637
+ }
571
638
  /**
572
639
  * <p>Specifies the range of environment parameters</p>
573
640
  */
@@ -707,6 +774,11 @@ export interface RecommendationJobInputConfig {
707
774
  * Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.</p>
708
775
  */
709
776
  VolumeKmsKeyId?: string;
777
+ /**
778
+ * <p>Specifies mandatory fields for running an Inference Recommender job. The fields specified in <code>ContainerConfig</code>
779
+ * override the corresponding fields in the model package.</p>
780
+ */
781
+ ContainerConfig?: RecommendationJobContainerConfig;
710
782
  }
711
783
  export declare enum RecommendationJobType {
712
784
  ADVANCED = "Advanced",
@@ -5570,13 +5642,13 @@ export interface CreateUserProfileRequest {
5570
5642
  UserProfileName: string | undefined;
5571
5643
  /**
5572
5644
  * <p>A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName".
5573
- * If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified.
5645
+ * If the Domain's AuthMode is Amazon Web Services SSO, this field is required. If the Domain's AuthMode is not Amazon Web Services SSO, this field cannot be specified.
5574
5646
  * </p>
5575
5647
  */
5576
5648
  SingleSignOnUserIdentifier?: string;
5577
5649
  /**
5578
- * <p>The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is SSO, this field is
5579
- * required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified.
5650
+ * <p>The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is Amazon Web Services SSO, this field is
5651
+ * required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not Amazon Web Services SSO, this field cannot be specified.
5580
5652
  * </p>
5581
5653
  */
5582
5654
  SingleSignOnUserValue?: string;
@@ -7139,7 +7211,7 @@ export interface DescribeDomainResponse {
7139
7211
  */
7140
7212
  HomeEfsFileSystemId?: string;
7141
7213
  /**
7142
- * <p>The SSO managed application instance ID.</p>
7214
+ * <p>The Amazon Web Services SSO managed application instance ID.</p>
7143
7215
  */
7144
7216
  SingleSignOnManagedApplicationInstanceId?: string;
7145
7217
  /**
@@ -8008,56 +8080,6 @@ export declare enum FlowDefinitionStatus {
8008
8080
  FAILED = "Failed",
8009
8081
  INITIALIZING = "Initializing"
8010
8082
  }
8011
- export interface DescribeFlowDefinitionResponse {
8012
- /**
8013
- * <p>The Amazon Resource Name (ARN) of the flow defintion.</p>
8014
- */
8015
- FlowDefinitionArn: string | undefined;
8016
- /**
8017
- * <p>The Amazon Resource Name (ARN) of the flow definition.</p>
8018
- */
8019
- FlowDefinitionName: string | undefined;
8020
- /**
8021
- * <p>The status of the flow definition. Valid values are listed below.</p>
8022
- */
8023
- FlowDefinitionStatus: FlowDefinitionStatus | string | undefined;
8024
- /**
8025
- * <p>The timestamp when the flow definition was created.</p>
8026
- */
8027
- CreationTime: Date | undefined;
8028
- /**
8029
- * <p>Container for configuring the source of human task requests. Used to specify if
8030
- * Amazon Rekognition or Amazon Textract is used as an integration source.</p>
8031
- */
8032
- HumanLoopRequestSource?: HumanLoopRequestSource;
8033
- /**
8034
- * <p>An object containing information about what triggers a human review workflow.</p>
8035
- */
8036
- HumanLoopActivationConfig?: HumanLoopActivationConfig;
8037
- /**
8038
- * <p>An object containing information about who works on the task, the workforce task price, and other task details.</p>
8039
- */
8040
- HumanLoopConfig: HumanLoopConfig | undefined;
8041
- /**
8042
- * <p>An object containing information about the output file.</p>
8043
- */
8044
- OutputConfig: FlowDefinitionOutputConfig | undefined;
8045
- /**
8046
- * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.</p>
8047
- */
8048
- RoleArn: string | undefined;
8049
- /**
8050
- * <p>The reason your flow definition failed.</p>
8051
- */
8052
- FailureReason?: string;
8053
- }
8054
- export interface DescribeHumanTaskUiRequest {
8055
- /**
8056
- * <p>The name of the human task user interface
8057
- * (worker task template) you want information about.</p>
8058
- */
8059
- HumanTaskUiName: string | undefined;
8060
- }
8061
8083
  /**
8062
8084
  * @internal
8063
8085
  */
@@ -8114,6 +8136,14 @@ export declare const CreateImageVersionRequestFilterSensitiveLog: (obj: CreateIm
8114
8136
  * @internal
8115
8137
  */
8116
8138
  export declare const CreateImageVersionResponseFilterSensitiveLog: (obj: CreateImageVersionResponse) => any;
8139
+ /**
8140
+ * @internal
8141
+ */
8142
+ export declare const RecommendationJobPayloadConfigFilterSensitiveLog: (obj: RecommendationJobPayloadConfig) => any;
8143
+ /**
8144
+ * @internal
8145
+ */
8146
+ export declare const RecommendationJobContainerConfigFilterSensitiveLog: (obj: RecommendationJobContainerConfig) => any;
8117
8147
  /**
8118
8148
  * @internal
8119
8149
  */
@@ -9122,11 +9152,3 @@ export declare const DescribeFeatureMetadataResponseFilterSensitiveLog: (obj: De
9122
9152
  * @internal
9123
9153
  */
9124
9154
  export declare const DescribeFlowDefinitionRequestFilterSensitiveLog: (obj: DescribeFlowDefinitionRequest) => any;
9125
- /**
9126
- * @internal
9127
- */
9128
- export declare const DescribeFlowDefinitionResponseFilterSensitiveLog: (obj: DescribeFlowDefinitionResponse) => any;
9129
- /**
9130
- * @internal
9131
- */
9132
- export declare const DescribeHumanTaskUiRequestFilterSensitiveLog: (obj: DescribeHumanTaskUiRequest) => any;