@aws-sdk/client-sagemaker 3.424.0 → 3.427.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProblemType = exports.AutoMLJobStatus = exports.AutoMLJobSecondaryStatus = exports.AutoMLMode = exports.AutoMLS3DataType = exports.AutoMLChannelType = exports.ObjectiveStatus = exports.AutoMLProcessingUnit = exports.AutoMLJobObjectiveType = exports.CandidateStepType = exports.CandidateStatus = exports.AutoMLMetricExtendedEnum = exports.MetricSetSource = exports.AutoMLMetricEnum = exports.AutoMLAlgorithm = exports.AuthMode = exports.AthenaResultFormat = exports.AthenaResultCompressionType = exports.AsyncNotificationTopicTypes = exports.ArtifactSourceIdType = exports.AppSortKey = exports.AppSecurityGroupManagement = exports.AppNetworkAccessType = exports.AppInstanceType = exports.AppImageConfigSortKey = exports.AppStatus = exports.AppType = exports.AssemblyType = exports.SplitType = exports.BatchStrategy = exports.TrainingInstanceType = exports.OutputCompressionType = exports.RecordWrapper = exports.S3DataType = exports.S3DataDistribution = exports.FileSystemType = exports.FileSystemAccessMode = exports.CompressionType = exports.DetailedAlgorithmStatus = exports.AlgorithmStatus = exports.TrainingInputMode = exports.TrainingRepositoryAccessMode = exports.AlgorithmSortBy = exports.AggregationTransformationValue = exports.TransformInstanceType = exports.ProductionVariantInstanceType = exports.ResourceNotFound = exports.ResourceLimitExceeded = exports.AssociationEdgeType = exports.ActionStatus = void 0;
4
- exports.EdgePresetDeploymentType = exports.ProcessingInstanceType = exports.ProcessingS3UploadMode = exports.Framework = exports.ResourceInUse = exports.HyperParameterTuningJobObjectiveType = exports.ParameterType = exports.HyperParameterScalingType = exports.ContentClassifier = exports.ModelCacheSetting = exports.S3ModelDataType = exports.ModelCompressionType = exports.ContainerMode = exports.RepositoryAccessMode = exports.ConflictException = exports.ConditionOutcome = exports.CompleteOnConvergence = exports.TargetPlatformOs = exports.TargetPlatformArch = exports.TargetPlatformAccelerator = exports.TargetDevice = exports.CompilationJobStatus = exports.CollectionType = exports.CollectionConfig = exports.CodeRepositorySortOrder = exports.CodeRepositorySortBy = exports.ClarifyTextLanguage = exports.ClarifyTextGranularity = exports.ClarifyFeatureType = exports.CaptureStatus = exports.CaptureMode = exports.FeatureStatus = exports.DataSourceName = exports.CandidateSortBy = exports.BooleanOperator = exports.TrafficRoutingConfigType = exports.CapacitySizeType = exports.ProcessingS3InputMode = exports.ProcessingS3DataDistributionType = exports.ModelPackageStatus = exports.ModelApprovalStatus = exports.AwsManagedHumanLoopRequestSource = exports.AutotuneMode = exports.AutoMLSortOrder = exports.AutoMLSortBy = exports.AutoMLProblemTypeResolvedAttributes = exports.AutoMLProblemTypeConfigName = exports.AutoMLProblemTypeConfig = exports.FillingType = void 0;
3
+ exports.AutoMLJobStatus = exports.AutoMLJobSecondaryStatus = exports.AutoMLMode = exports.AutoMLS3DataType = exports.AutoMLChannelType = exports.ObjectiveStatus = exports.AutoMLProcessingUnit = exports.AutoMLJobObjectiveType = exports.CandidateStepType = exports.CandidateStatus = exports.AutoMLMetricExtendedEnum = exports.MetricSetSource = exports.AutoMLMetricEnum = exports.AutoMLAlgorithm = exports.AuthMode = exports.AthenaResultFormat = exports.AthenaResultCompressionType = exports.AsyncNotificationTopicTypes = exports.ArtifactSourceIdType = exports.AppSortKey = exports.AppSecurityGroupManagement = exports.AppNetworkAccessType = exports.AppInstanceType = exports.AppImageConfigSortKey = exports.AppStatus = exports.AppType = exports.AssemblyType = exports.SplitType = exports.BatchStrategy = exports.TrainingInstanceType = exports.OutputCompressionType = exports.RecordWrapper = exports.S3DataType = exports.S3DataDistribution = exports.FileSystemType = exports.FileSystemAccessMode = exports.DetailedAlgorithmStatus = exports.AlgorithmStatus = exports.TrainingInputMode = exports.TrainingRepositoryAccessMode = exports.AlgorithmSortBy = exports.AggregationTransformationValue = exports.TransformInstanceType = exports.ProductionVariantInstanceType = exports.AdditionalS3DataSourceDataType = exports.CompressionType = exports.ResourceNotFound = exports.ResourceLimitExceeded = exports.AssociationEdgeType = exports.ActionStatus = void 0;
4
+ exports.EdgePresetDeploymentType = exports.ProcessingInstanceType = exports.ProcessingS3UploadMode = exports.Framework = exports.ResourceInUse = exports.HyperParameterTuningJobObjectiveType = exports.ParameterType = exports.HyperParameterScalingType = exports.ContentClassifier = exports.ModelCacheSetting = exports.S3ModelDataType = exports.ModelCompressionType = exports.ContainerMode = exports.RepositoryAccessMode = exports.ConflictException = exports.ConditionOutcome = exports.CompleteOnConvergence = exports.TargetPlatformOs = exports.TargetPlatformArch = exports.TargetPlatformAccelerator = exports.TargetDevice = exports.CompilationJobStatus = exports.CollectionType = exports.CollectionConfig = exports.CodeRepositorySortOrder = exports.CodeRepositorySortBy = exports.ClarifyTextLanguage = exports.ClarifyTextGranularity = exports.ClarifyFeatureType = exports.CaptureStatus = exports.CaptureMode = exports.FeatureStatus = exports.DataSourceName = exports.CandidateSortBy = exports.BooleanOperator = exports.TrafficRoutingConfigType = exports.CapacitySizeType = exports.ProcessingS3InputMode = exports.ProcessingS3DataDistributionType = exports.ModelPackageStatus = exports.ModelApprovalStatus = exports.AwsManagedHumanLoopRequestSource = exports.AutotuneMode = exports.AutoMLSortOrder = exports.AutoMLSortBy = exports.AutoMLProblemTypeResolvedAttributes = exports.AutoMLProblemTypeConfigName = exports.AutoMLProblemTypeConfig = exports.FillingType = exports.ProblemType = void 0;
5
5
  const SageMakerServiceException_1 = require("./SageMakerServiceException");
6
6
  exports.ActionStatus = {
7
7
  COMPLETED: "Completed",
@@ -45,6 +45,13 @@ class ResourceNotFound extends SageMakerServiceException_1.SageMakerServiceExcep
45
45
  }
46
46
  }
47
47
  exports.ResourceNotFound = ResourceNotFound;
48
+ exports.CompressionType = {
49
+ GZIP: "Gzip",
50
+ NONE: "None",
51
+ };
52
+ exports.AdditionalS3DataSourceDataType = {
53
+ S3OBJECT: "S3Object",
54
+ };
48
55
  exports.ProductionVariantInstanceType = {
49
56
  ML_C4_2XLARGE: "ml.c4.2xlarge",
50
57
  ML_C4_4XLARGE: "ml.c4.4xlarge",
@@ -262,10 +269,6 @@ exports.DetailedAlgorithmStatus = {
262
269
  IN_PROGRESS: "InProgress",
263
270
  NOT_STARTED: "NotStarted",
264
271
  };
265
- exports.CompressionType = {
266
- GZIP: "Gzip",
267
- NONE: "None",
268
- };
269
272
  exports.FileSystemAccessMode = {
270
273
  RO: "ro",
271
274
  RW: "rw",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateWorkforceRequestFilterSensitiveLog = exports.OidcConfigFilterSensitiveLog = exports.CreateModelCardRequestFilterSensitiveLog = exports.RetentionType = exports.RuleEvaluationStatus = exports.Statistic = exports.CrossAccountFilterOption = exports.TrialComponentPrimaryStatus = exports.TrialComponentParameterValue = exports.JoinSource = exports.StudioLifecycleConfigAppType = exports.ProcessingS3DataType = exports.ProcessingS3CompressionType = exports.RedshiftResultFormat = exports.RedshiftResultCompressionType = exports.InputMode = exports.DataDistributionType = exports.RootAccess = exports.DirectInternetAccess = exports.NotebookInstanceAcceleratorType = exports.MonitoringType = exports.MonitoringProblemType = exports.SkipModelValidation = exports.ModelCardStatus = exports.InferenceExecutionMode = exports.FlatInvocations = exports.RecommendationJobType = exports.TrafficType = exports.RecommendationJobSupportedEndpointType = exports.InferenceExperimentType = exports._InstanceType = exports.ModelInfrastructureType = exports.VendorGuidance = exports.Processor = exports.JobType = exports.HyperParameterTuningJobWarmStartType = exports.HyperParameterTuningAllocationStrategy = exports.TrainingJobEarlyStoppingType = exports.HyperParameterTuningJobStrategyType = exports.TtlDurationUnit = exports.StorageType = exports.TableFormat = exports.FeatureType = exports.ProductionVariantAcceleratorType = exports.DeviceSubsetType = exports.FailureHandlingPolicy = exports.ExecutionRoleIdentityConfig = exports.NotebookOutputOption = exports.RStudioServerProUserGroup = exports.RStudioServerProAccessStatus = void 0;
3
+ exports.CreateWorkforceRequestFilterSensitiveLog = exports.OidcConfigFilterSensitiveLog = exports.CreateModelCardRequestFilterSensitiveLog = exports.RuleEvaluationStatus = exports.Statistic = exports.CrossAccountFilterOption = exports.TrialComponentPrimaryStatus = exports.TrialComponentParameterValue = exports.JoinSource = exports.StudioLifecycleConfigAppType = exports.ProcessingS3DataType = exports.ProcessingS3CompressionType = exports.RedshiftResultFormat = exports.RedshiftResultCompressionType = exports.InputMode = exports.DataDistributionType = exports.RootAccess = exports.DirectInternetAccess = exports.NotebookInstanceAcceleratorType = exports.MonitoringType = exports.MonitoringProblemType = exports.SkipModelValidation = exports.ModelCardStatus = exports.InferenceExecutionMode = exports.FlatInvocations = exports.RecommendationJobType = exports.TrafficType = exports.RecommendationJobSupportedEndpointType = exports.InferenceExperimentType = exports._InstanceType = exports.ModelInfrastructureType = exports.VendorGuidance = exports.Processor = exports.JobType = exports.HyperParameterTuningJobWarmStartType = exports.HyperParameterTuningAllocationStrategy = exports.TrainingJobEarlyStoppingType = exports.HyperParameterTuningJobStrategyType = exports.TtlDurationUnit = exports.StorageType = exports.TableFormat = exports.FeatureType = exports.ProductionVariantAcceleratorType = exports.DeviceSubsetType = exports.FailureHandlingPolicy = exports.ExecutionRoleIdentityConfig = exports.NotebookOutputOption = exports.RStudioServerProUserGroup = exports.RStudioServerProAccessStatus = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  exports.RStudioServerProAccessStatus = {
6
6
  Disabled: "DISABLED",
@@ -298,10 +298,6 @@ exports.RuleEvaluationStatus = {
298
298
  STOPPED: "Stopped",
299
299
  STOPPING: "Stopping",
300
300
  };
301
- exports.RetentionType = {
302
- Delete: "Delete",
303
- Retain: "Retain",
304
- };
305
301
  const CreateModelCardRequestFilterSensitiveLog = (obj) => ({
306
302
  ...obj,
307
303
  ...(obj.Content && { Content: smithy_client_1.SENSITIVE_STRING }),
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeModelCardResponseFilterSensitiveLog = exports.EndpointSortKey = 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 = void 0;
3
+ exports.DescribeModelCardResponseFilterSensitiveLog = exports.EndpointSortKey = 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;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
+ exports.RetentionType = {
6
+ Delete: "Delete",
7
+ Retain: "Retain",
8
+ };
5
9
  exports.HubContentType = {
6
10
  MODEL: "Model",
7
11
  NOTEBOOK: "Notebook",
@@ -39,6 +39,13 @@ export class ResourceNotFound extends __BaseException {
39
39
  this.Message = opts.Message;
40
40
  }
41
41
  }
42
+ export const CompressionType = {
43
+ GZIP: "Gzip",
44
+ NONE: "None",
45
+ };
46
+ export const AdditionalS3DataSourceDataType = {
47
+ S3OBJECT: "S3Object",
48
+ };
42
49
  export const ProductionVariantInstanceType = {
43
50
  ML_C4_2XLARGE: "ml.c4.2xlarge",
44
51
  ML_C4_4XLARGE: "ml.c4.4xlarge",
@@ -256,10 +263,6 @@ export const DetailedAlgorithmStatus = {
256
263
  IN_PROGRESS: "InProgress",
257
264
  NOT_STARTED: "NotStarted",
258
265
  };
259
- export const CompressionType = {
260
- GZIP: "Gzip",
261
- NONE: "None",
262
- };
263
266
  export const FileSystemAccessMode = {
264
267
  RO: "ro",
265
268
  RW: "rw",
@@ -295,10 +295,6 @@ export const RuleEvaluationStatus = {
295
295
  STOPPED: "Stopped",
296
296
  STOPPING: "Stopping",
297
297
  };
298
- export const RetentionType = {
299
- Delete: "Delete",
300
- Retain: "Retain",
301
- };
302
298
  export const CreateModelCardRequestFilterSensitiveLog = (obj) => ({
303
299
  ...obj,
304
300
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,4 +1,8 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const RetentionType = {
3
+ Delete: "Delete",
4
+ Retain: "Retain",
5
+ };
2
6
  export const HubContentType = {
3
7
  MODEL: "Model",
4
8
  NOTEBOOK: "Notebook",
@@ -415,6 +415,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
415
415
  maxAttempts?: number | __Provider<number>;
416
416
  /**
417
417
  * Specifies which retry algorithm to use.
418
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
419
+ *
418
420
  */
419
421
  retryMode?: string | __Provider<string>;
420
422
  /**
@@ -62,6 +62,11 @@ export interface BatchDescribeModelPackageCommandOutput extends BatchDescribeMod
62
62
  * // Framework: "STRING_VALUE",
63
63
  * // FrameworkVersion: "STRING_VALUE",
64
64
  * // NearestModelName: "STRING_VALUE",
65
+ * // AdditionalS3DataSource: { // AdditionalS3DataSource
66
+ * // S3DataType: "S3Object", // required
67
+ * // S3Uri: "STRING_VALUE", // required
68
+ * // CompressionType: "None" || "Gzip",
69
+ * // },
65
70
  * // },
66
71
  * // ],
67
72
  * // SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -93,6 +93,11 @@ export interface CreateAlgorithmCommandOutput extends CreateAlgorithmOutput, __M
93
93
  * MetricName: "STRING_VALUE", // required
94
94
  * },
95
95
  * ],
96
+ * AdditionalS3DataSource: { // AdditionalS3DataSource
97
+ * S3DataType: "S3Object", // required
98
+ * S3Uri: "STRING_VALUE", // required
99
+ * CompressionType: "None" || "Gzip",
100
+ * },
96
101
  * },
97
102
  * InferenceSpecification: { // InferenceSpecification
98
103
  * Containers: [ // ModelPackageContainerDefinitionList // required
@@ -111,6 +116,11 @@ export interface CreateAlgorithmCommandOutput extends CreateAlgorithmOutput, __M
111
116
  * Framework: "STRING_VALUE",
112
117
  * FrameworkVersion: "STRING_VALUE",
113
118
  * NearestModelName: "STRING_VALUE",
119
+ * AdditionalS3DataSource: {
120
+ * S3DataType: "S3Object", // required
121
+ * S3Uri: "STRING_VALUE", // required
122
+ * CompressionType: "None" || "Gzip",
123
+ * },
114
124
  * },
115
125
  * ],
116
126
  * SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -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 { CreateDeviceFleetRequest } from "../models/models_0";
4
+ import { CreateDeviceFleetRequest } from "../models/models_1";
5
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
6
  /**
7
7
  * @public
@@ -70,6 +70,11 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
70
70
  * Framework: "STRING_VALUE",
71
71
  * FrameworkVersion: "STRING_VALUE",
72
72
  * NearestModelName: "STRING_VALUE",
73
+ * AdditionalS3DataSource: { // AdditionalS3DataSource
74
+ * S3DataType: "S3Object", // required
75
+ * S3Uri: "STRING_VALUE", // required
76
+ * CompressionType: "None" || "Gzip",
77
+ * },
73
78
  * },
74
79
  * ],
75
80
  * SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -237,6 +242,11 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
237
242
  * Framework: "STRING_VALUE",
238
243
  * FrameworkVersion: "STRING_VALUE",
239
244
  * NearestModelName: "STRING_VALUE",
245
+ * AdditionalS3DataSource: {
246
+ * S3DataType: "S3Object", // required
247
+ * S3Uri: "STRING_VALUE", // required
248
+ * CompressionType: "None" || "Gzip",
249
+ * },
240
250
  * },
241
251
  * ],
242
252
  * SupportedTransformInstanceTypes: [
@@ -100,6 +100,11 @@ export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmOutput,
100
100
  * // MetricName: "STRING_VALUE", // required
101
101
  * // },
102
102
  * // ],
103
+ * // AdditionalS3DataSource: { // AdditionalS3DataSource
104
+ * // S3DataType: "S3Object", // required
105
+ * // S3Uri: "STRING_VALUE", // required
106
+ * // CompressionType: "None" || "Gzip",
107
+ * // },
103
108
  * // },
104
109
  * // InferenceSpecification: { // InferenceSpecification
105
110
  * // Containers: [ // ModelPackageContainerDefinitionList // required
@@ -118,6 +123,11 @@ export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmOutput,
118
123
  * // Framework: "STRING_VALUE",
119
124
  * // FrameworkVersion: "STRING_VALUE",
120
125
  * // NearestModelName: "STRING_VALUE",
126
+ * // AdditionalS3DataSource: {
127
+ * // S3DataType: "S3Object", // required
128
+ * // S3Uri: "STRING_VALUE", // required
129
+ * // CompressionType: "None" || "Gzip",
130
+ * // },
121
131
  * // },
122
132
  * // ],
123
133
  * // SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -62,6 +62,11 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
62
62
  * // Framework: "STRING_VALUE",
63
63
  * // FrameworkVersion: "STRING_VALUE",
64
64
  * // NearestModelName: "STRING_VALUE",
65
+ * // AdditionalS3DataSource: { // AdditionalS3DataSource
66
+ * // S3DataType: "S3Object", // required
67
+ * // S3Uri: "STRING_VALUE", // required
68
+ * // CompressionType: "None" || "Gzip",
69
+ * // },
65
70
  * // },
66
71
  * // ],
67
72
  * // SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -261,6 +266,11 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
261
266
  * // Framework: "STRING_VALUE",
262
267
  * // FrameworkVersion: "STRING_VALUE",
263
268
  * // NearestModelName: "STRING_VALUE",
269
+ * // AdditionalS3DataSource: {
270
+ * // S3DataType: "S3Object", // required
271
+ * // S3Uri: "STRING_VALUE", // required
272
+ * // CompressionType: "None" || "Gzip",
273
+ * // },
264
274
  * // },
265
275
  * // ],
266
276
  * // SupportedTransformInstanceTypes: [
@@ -1069,6 +1069,11 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {
1069
1069
  * // Framework: "STRING_VALUE",
1070
1070
  * // FrameworkVersion: "STRING_VALUE",
1071
1071
  * // NearestModelName: "STRING_VALUE",
1072
+ * // AdditionalS3DataSource: { // AdditionalS3DataSource
1073
+ * // S3DataType: "S3Object", // required
1074
+ * // S3Uri: "STRING_VALUE", // required
1075
+ * // CompressionType: "None" || "Gzip",
1076
+ * // },
1072
1077
  * // },
1073
1078
  * // ],
1074
1079
  * // SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -1220,6 +1225,11 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {
1220
1225
  * // Framework: "STRING_VALUE",
1221
1226
  * // FrameworkVersion: "STRING_VALUE",
1222
1227
  * // NearestModelName: "STRING_VALUE",
1228
+ * // AdditionalS3DataSource: {
1229
+ * // S3DataType: "S3Object", // required
1230
+ * // S3Uri: "STRING_VALUE", // required
1231
+ * // CompressionType: "None" || "Gzip",
1232
+ * // },
1223
1233
  * // },
1224
1234
  * // ],
1225
1235
  * // SupportedTransformInstanceTypes: [
@@ -60,6 +60,11 @@ export interface UpdateModelPackageCommandOutput extends UpdateModelPackageOutpu
60
60
  * Framework: "STRING_VALUE",
61
61
  * FrameworkVersion: "STRING_VALUE",
62
62
  * NearestModelName: "STRING_VALUE",
63
+ * AdditionalS3DataSource: { // AdditionalS3DataSource
64
+ * S3DataType: "S3Object", // required
65
+ * S3Uri: "STRING_VALUE", // required
66
+ * CompressionType: "None" || "Gzip",
67
+ * },
63
68
  * },
64
69
  * ],
65
70
  * SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -176,6 +176,54 @@ export declare class ResourceNotFound extends __BaseException {
176
176
  */
177
177
  constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
178
178
  }
179
+ /**
180
+ * @public
181
+ * @enum
182
+ */
183
+ export declare const CompressionType: {
184
+ readonly GZIP: "Gzip";
185
+ readonly NONE: "None";
186
+ };
187
+ /**
188
+ * @public
189
+ */
190
+ export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType];
191
+ /**
192
+ * @public
193
+ * @enum
194
+ */
195
+ export declare const AdditionalS3DataSourceDataType: {
196
+ readonly S3OBJECT: "S3Object";
197
+ };
198
+ /**
199
+ * @public
200
+ */
201
+ export type AdditionalS3DataSourceDataType = (typeof AdditionalS3DataSourceDataType)[keyof typeof AdditionalS3DataSourceDataType];
202
+ /**
203
+ * @public
204
+ * <p>A data source used for training or inference that is in addition to the input dataset
205
+ * or model data.</p>
206
+ */
207
+ export interface AdditionalS3DataSource {
208
+ /**
209
+ * @public
210
+ * <p>The data type of the additional data source that you specify for use in inference or
211
+ * training. </p>
212
+ */
213
+ S3DataType: AdditionalS3DataSourceDataType | string | undefined;
214
+ /**
215
+ * @public
216
+ * <p>The uniform resource identifier (URI) used to identify an additional data source used
217
+ * in inference or training.</p>
218
+ */
219
+ S3Uri: string | undefined;
220
+ /**
221
+ * @public
222
+ * <p>The type of compression used for an additional data source used in inference or
223
+ * training. Specify <code>None</code> if your additional data source is not compressed.</p>
224
+ */
225
+ CompressionType?: CompressionType | string;
226
+ }
179
227
  /**
180
228
  * @public
181
229
  * <p>Input object for the model.</p>
@@ -258,6 +306,12 @@ export interface ModelPackageContainerDefinition {
258
306
  * You can find a list of benchmarked models by calling <code>ListModelMetadata</code>.</p>
259
307
  */
260
308
  NearestModelName?: string;
309
+ /**
310
+ * @public
311
+ * <p>The additional data source that is used during inference in the Docker container for
312
+ * your model package.</p>
313
+ */
314
+ AdditionalS3DataSource?: AdditionalS3DataSource;
261
315
  }
262
316
  /**
263
317
  * @public
@@ -929,18 +983,6 @@ export interface AlgorithmSummary {
929
983
  */
930
984
  AlgorithmStatus: AlgorithmStatus | string | undefined;
931
985
  }
932
- /**
933
- * @public
934
- * @enum
935
- */
936
- export declare const CompressionType: {
937
- readonly GZIP: "Gzip";
938
- readonly NONE: "None";
939
- };
940
- /**
941
- * @public
942
- */
943
- export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType];
944
986
  /**
945
987
  * @public
946
988
  * @enum
@@ -1329,7 +1371,8 @@ export interface OutputDataConfig {
1329
1371
  S3OutputPath: string | undefined;
1330
1372
  /**
1331
1373
  * @public
1332
- * <p>The model output compression type. Select <code>None</code> to output an uncompressed model, recommended for large model outputs. Defaults to gzip.</p>
1374
+ * <p>The model output compression type. Select <code>None</code> to output an uncompressed
1375
+ * model, recommended for large model outputs. Defaults to gzip.</p>
1333
1376
  */
1334
1377
  CompressionType?: OutputCompressionType | string;
1335
1378
  }
@@ -6432,10 +6475,12 @@ export declare const CapacitySizeType: {
6432
6475
  export type CapacitySizeType = (typeof CapacitySizeType)[keyof typeof CapacitySizeType];
6433
6476
  /**
6434
6477
  * @public
6435
- * <p>Specifies the type and size of the endpoint capacity to activate for a blue/green deployment, a rolling deployment, or a rollback strategy.
6436
- * You can specify your batches as either instance count or the overall percentage or your fleet.</p>
6437
- * <p>For a rollback strategy, if you don't specify the fields in this object, or if you set the <code>Value</code> to 100%, then SageMaker
6438
- * uses a blue/green rollback strategy and rolls all traffic back to the blue fleet.</p>
6478
+ * <p>Specifies the type and size of the endpoint capacity to activate for a blue/green
6479
+ * deployment, a rolling deployment, or a rollback strategy. You can specify your batches
6480
+ * as either instance count or the overall percentage or your fleet.</p>
6481
+ * <p>For a rollback strategy, if you don't specify the fields in this object, or if you set
6482
+ * the <code>Value</code> to 100%, then SageMaker uses a blue/green rollback strategy and rolls
6483
+ * all traffic back to the blue fleet.</p>
6439
6484
  */
6440
6485
  export interface CapacitySize {
6441
6486
  /**
@@ -7902,32 +7947,32 @@ export interface S3ModelDataSource {
7902
7947
  * @public
7903
7948
  * <p>Specifies how the ML model data is prepared.</p>
7904
7949
  * <p>If you choose <code>Gzip</code> and choose <code>S3Object</code> as the value of
7905
- * <code>S3DataType</code>, <code>S3Uri</code> identifies an object that is a
7906
- * gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object
7907
- * during model deployment.</p>
7950
+ * <code>S3DataType</code>, <code>S3Uri</code> identifies an object that is a
7951
+ * gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object during
7952
+ * model deployment.</p>
7908
7953
  * <p>If you choose <code>None</code> and chooose <code>S3Object</code> as the value of
7909
- * <code>S3DataType</code>, <code>S3Uri</code> identifies an object that represents an
7954
+ * <code>S3DataType</code>, <code>S3Uri</code> identifies an object that represents an
7910
7955
  * uncompressed ML model to deploy.</p>
7911
7956
  * <p>If you choose None and choose <code>S3Prefix</code> as the value of
7912
- * <code>S3DataType</code>, <code>S3Uri</code> identifies a key name prefix, under which
7913
- * all objects represents the uncompressed ML model to deploy.</p>
7957
+ * <code>S3DataType</code>, <code>S3Uri</code> identifies a key name prefix, under
7958
+ * which all objects represents the uncompressed ML model to deploy.</p>
7914
7959
  * <p>If you choose None, then SageMaker will follow rules below when creating model data files
7915
7960
  * under /opt/ml/model directory for use by your inference code:</p>
7916
7961
  * <ul>
7917
7962
  * <li>
7918
7963
  * <p>If you choose <code>S3Object</code> as the value of <code>S3DataType</code>,
7919
- * then SageMaker will split the key of the S3 object referenced by <code>S3Uri</code> by
7920
- * slash (/), and use the last part as the filename of the file holding the content
7921
- * of the S3 object.</p>
7964
+ * then SageMaker will split the key of the S3 object referenced by <code>S3Uri</code>
7965
+ * by slash (/), and use the last part as the filename of the file holding the
7966
+ * content of the S3 object.</p>
7922
7967
  * </li>
7923
7968
  * <li>
7924
7969
  * <p>If you choose <code>S3Prefix</code> as the value of <code>S3DataType</code>,
7925
- * then for each S3 object under the key name pefix referenced by <code>S3Uri</code>,
7926
- * SageMaker will trim its key by the prefix, and use the remainder as the path
7927
- * (relative to <code>/opt/ml/model</code>) of the file holding the content of the
7928
- * S3 object. SageMaker will split the remainder by slash (/), using intermediate parts as
7929
- * directory names and the last part as filename of the file holding the content of
7930
- * the S3 object.</p>
7970
+ * then for each S3 object under the key name pefix referenced by
7971
+ * <code>S3Uri</code>, SageMaker will trim its key by the prefix, and use the
7972
+ * remainder as the path (relative to <code>/opt/ml/model</code>) of the file
7973
+ * holding the content of the S3 object. SageMaker will split the remainder by slash
7974
+ * (/), using intermediate parts as directory names and the last part as filename
7975
+ * of the file holding the content of the S3 object.</p>
7931
7976
  * </li>
7932
7977
  * <li>
7933
7978
  * <p>Do not use any of the following as file names or directory names:</p>
@@ -7950,21 +7995,21 @@ export interface S3ModelDataSource {
7950
7995
  * </ul>
7951
7996
  * </li>
7952
7997
  * <li>
7953
- * <p>Ambiguous file names will result in model deployment failure. For example,
7954
- * if your uncompressed ML model consists of two S3 objects
7955
- * <code>s3://mybucket/model/weights</code> and <code>s3://mybucket/model/weights/part1</code>
7956
- * and you specify <code>s3://mybucket/model/</code> as the value of <code>S3Uri</code> and
7957
- * <code>S3Prefix</code> as the value of <code>S3DataType</code>, then it will result in name
7958
- * clash between <code>/opt/ml/model/weights</code> (a regular file) and
7959
- * <code>/opt/ml/model/weights/</code> (a directory).</p>
7998
+ * <p>Ambiguous file names will result in model deployment failure. For example, if
7999
+ * your uncompressed ML model consists of two S3 objects
8000
+ * <code>s3://mybucket/model/weights</code> and
8001
+ * <code>s3://mybucket/model/weights/part1</code> and you specify
8002
+ * <code>s3://mybucket/model/</code> as the value of <code>S3Uri</code> and
8003
+ * <code>S3Prefix</code> as the value of <code>S3DataType</code>, then it will
8004
+ * result in name clash between <code>/opt/ml/model/weights</code> (a regular file)
8005
+ * and <code>/opt/ml/model/weights/</code> (a directory).</p>
7960
8006
  * </li>
7961
8007
  * <li>
7962
- * <p>Do not organize the model artifacts in
7963
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html">S3 console using folders</a>.
7964
- * When you create a folder in S3 console, S3 creates a 0-byte object with a key set to the
7965
- * folder name you provide. They key of the 0-byte object ends with a slash (/) which violates
7966
- * SageMaker restrictions on model artifact file names, leading to model deployment failure.
7967
- * </p>
8008
+ * <p>Do not organize the model artifacts in <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html">S3 console using
8009
+ * folders</a>. When you create a folder in S3 console, S3 creates a 0-byte
8010
+ * object with a key set to the folder name you provide. They key of the 0-byte
8011
+ * object ends with a slash (/) which violates SageMaker restrictions on model artifact
8012
+ * file names, leading to model deployment failure. </p>
7968
8013
  * </li>
7969
8014
  * </ul>
7970
8015
  */
@@ -7972,8 +8017,8 @@ export interface S3ModelDataSource {
7972
8017
  }
7973
8018
  /**
7974
8019
  * @public
7975
- * <p>Specifies the location of ML model data to deploy. If specified, you must specify
7976
- * one and only one of the available data sources.</p>
8020
+ * <p>Specifies the location of ML model data to deploy. If specified, you must specify one
8021
+ * and only one of the available data sources.</p>
7977
8022
  */
7978
8023
  export interface ModelDataSource {
7979
8024
  /**
@@ -8117,8 +8162,8 @@ export interface ContainerDefinition {
8117
8162
  * @public
8118
8163
  * <p>Specifies the location of ML model data to deploy.</p>
8119
8164
  * <note>
8120
- * <p>Currently you cannot use <code>ModelDataSource</code> in conjunction with
8121
- * SageMaker batch transform, SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker
8165
+ * <p>Currently you cannot use <code>ModelDataSource</code> in conjunction with SageMaker
8166
+ * batch transform, SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker
8122
8167
  * Marketplace.</p>
8123
8168
  * </note>
8124
8169
  */
@@ -8563,6 +8608,11 @@ export interface TrainingSpecification {
8563
8608
  * metric in a hyperparameter tuning job.</p>
8564
8609
  */
8565
8610
  SupportedTuningJobObjectiveMetrics?: HyperParameterTuningJobObjective[];
8611
+ /**
8612
+ * @public
8613
+ * <p>The additional data source used during the training job.</p>
8614
+ */
8615
+ AdditionalS3DataSource?: AdditionalS3DataSource;
8566
8616
  }
8567
8617
  /**
8568
8618
  * @public
@@ -10459,103 +10509,3 @@ export declare const EdgePresetDeploymentType: {
10459
10509
  * @public
10460
10510
  */
10461
10511
  export type EdgePresetDeploymentType = (typeof EdgePresetDeploymentType)[keyof typeof EdgePresetDeploymentType];
10462
- /**
10463
- * @public
10464
- * <p>The output configuration.</p>
10465
- */
10466
- export interface EdgeOutputConfig {
10467
- /**
10468
- * @public
10469
- * <p>The Amazon Simple Storage (S3) bucker URI.</p>
10470
- */
10471
- S3OutputLocation: string | undefined;
10472
- /**
10473
- * @public
10474
- * <p>The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job.
10475
- * If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.</p>
10476
- */
10477
- KmsKeyId?: string;
10478
- /**
10479
- * @public
10480
- * <p>The deployment type SageMaker Edge Manager will create.
10481
- * Currently only supports Amazon Web Services IoT Greengrass Version 2 components.</p>
10482
- */
10483
- PresetDeploymentType?: EdgePresetDeploymentType | string;
10484
- /**
10485
- * @public
10486
- * <p>The configuration used to create deployment artifacts.
10487
- * Specify configuration options with a JSON string. The available configuration options for each type are:</p>
10488
- * <ul>
10489
- * <li>
10490
- * <p>
10491
- * <code>ComponentName</code> (optional) - Name of the GreenGrass V2 component. If not specified,
10492
- * the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager
10493
- * packaging job.</p>
10494
- * </li>
10495
- * <li>
10496
- * <p>
10497
- * <code>ComponentDescription</code> (optional) - Description of the component.</p>
10498
- * </li>
10499
- * <li>
10500
- * <p>
10501
- * <code>ComponentVersion</code> (optional) - The version of the component.</p>
10502
- * <note>
10503
- * <p>Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a<i>
10504
- * major.minor.patch</i> number system. For example, version 1.0.0 represents the first
10505
- * major release for a component. For more information, see the <a href="https://semver.org/">semantic version specification</a>.</p>
10506
- * </note>
10507
- * </li>
10508
- * <li>
10509
- * <p>
10510
- * <code>PlatformOS</code> (optional) - The name of the operating system for the platform.
10511
- * Supported platforms include Windows and Linux.</p>
10512
- * </li>
10513
- * <li>
10514
- * <p>
10515
- * <code>PlatformArchitecture</code> (optional) - The processor architecture for the platform. </p>
10516
- * <p>Supported architectures Windows include: Windows32_x86, Windows64_x64.</p>
10517
- * <p>Supported architectures for Linux include: Linux x86_64, Linux ARMV8.</p>
10518
- * </li>
10519
- * </ul>
10520
- */
10521
- PresetDeploymentConfig?: string;
10522
- }
10523
- /**
10524
- * @public
10525
- */
10526
- export interface CreateDeviceFleetRequest {
10527
- /**
10528
- * @public
10529
- * <p>The name of the fleet that the device belongs to.</p>
10530
- */
10531
- DeviceFleetName: string | undefined;
10532
- /**
10533
- * @public
10534
- * <p>The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).</p>
10535
- */
10536
- RoleArn?: string;
10537
- /**
10538
- * @public
10539
- * <p>A description of the fleet.</p>
10540
- */
10541
- Description?: string;
10542
- /**
10543
- * @public
10544
- * <p>The output configuration for storing sample data collected by the fleet.</p>
10545
- */
10546
- OutputConfig: EdgeOutputConfig | undefined;
10547
- /**
10548
- * @public
10549
- * <p>Creates tags for the specified fleet.</p>
10550
- */
10551
- Tags?: Tag[];
10552
- /**
10553
- * @public
10554
- * <p>Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
10555
- * The name of the role alias generated will match this pattern:
10556
- * "SageMakerEdge-\{DeviceFleetName\}".</p>
10557
- * <p>For example, if your device fleet is called "demo-fleet", the name of
10558
- * the role alias will be "SageMakerEdge-demo-fleet".</p>
10559
- */
10560
- EnableIotRoleAlias?: boolean;
10561
- }