@aws-sdk/client-sagemaker 3.76.0 → 3.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +2 -2
- package/dist-cjs/commands/CreateImageVersionCommand.js +2 -1
- package/dist-cjs/commands/DescribeLabelingJobCommand.js +2 -1
- package/dist-cjs/commands/DescribeLineageGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelCommand.js +1 -2
- package/dist-cjs/commands/ListTrainingJobsCommand.js +3 -3
- package/dist-cjs/models/models_0.js +16 -17
- package/dist-cjs/models/models_1.js +30 -30
- package/dist-cjs/models/models_2.js +30 -31
- package/dist-cjs/models/models_3.js +28 -3
- package/dist-cjs/pagination/ListActionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAlgorithmsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAppImageConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAppsPaginator.js +2 -1
- package/dist-cjs/pagination/ListArtifactsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/ListAutoMLJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListCandidatesForAutoMLJobPaginator.js +2 -1
- package/dist-cjs/pagination/ListCodeRepositoriesPaginator.js +2 -1
- package/dist-cjs/pagination/ListCompilationJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListContextsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDataQualityJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDeviceFleetsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDevicesPaginator.js +2 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js +2 -1
- package/dist-cjs/pagination/ListEdgePackagingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListEndpointConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListEndpointsPaginator.js +2 -1
- package/dist-cjs/pagination/ListExperimentsPaginator.js +2 -1
- package/dist-cjs/pagination/ListFlowDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListHumanTaskUisPaginator.js +2 -1
- package/dist-cjs/pagination/ListHyperParameterTuningJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListImageVersionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListImagesPaginator.js +2 -1
- package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListLabelingJobsForWorkteamPaginator.js +2 -1
- package/dist-cjs/pagination/ListLabelingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListLineageGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelBiasJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelMetadataPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelPackageGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelPackagesPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelQualityJobDefinitionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListModelsPaginator.js +2 -1
- package/dist-cjs/pagination/ListMonitoringExecutionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListMonitoringSchedulesPaginator.js +2 -1
- package/dist-cjs/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListNotebookInstancesPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelineExecutionStepsPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelineParametersForExecutionPaginator.js +2 -1
- package/dist-cjs/pagination/ListPipelinesPaginator.js +2 -1
- package/dist-cjs/pagination/ListProcessingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListProjectsPaginator.js +2 -1
- package/dist-cjs/pagination/ListStudioLifecycleConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListSubscribedWorkteamsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTagsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrainingJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTransformJobsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrialComponentsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTrialsPaginator.js +2 -1
- package/dist-cjs/pagination/ListUserProfilesPaginator.js +2 -1
- package/dist-cjs/pagination/ListWorkforcesPaginator.js +2 -1
- package/dist-cjs/pagination/ListWorkteamsPaginator.js +2 -1
- package/dist-cjs/pagination/QueryLineagePaginator.js +2 -1
- package/dist-cjs/pagination/SearchPaginator.js +2 -1
- package/dist-cjs/protocols/Aws_json1_1.js +41 -0
- package/dist-es/commands/CreateImageVersionCommand.js +2 -1
- package/dist-es/commands/DescribeLabelingJobCommand.js +2 -1
- package/dist-es/commands/DescribeLineageGroupCommand.js +1 -1
- package/dist-es/commands/DescribeModelCommand.js +1 -2
- package/dist-es/commands/ListTrainingJobsCommand.js +1 -1
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +16 -16
- package/dist-es/models/models_2.js +16 -19
- package/dist-es/models/models_3.js +19 -0
- package/dist-es/pagination/ListActionsPaginator.js +3 -2
- package/dist-es/pagination/ListAlgorithmsPaginator.js +3 -2
- package/dist-es/pagination/ListAppImageConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListAppsPaginator.js +3 -2
- package/dist-es/pagination/ListArtifactsPaginator.js +3 -2
- package/dist-es/pagination/ListAssociationsPaginator.js +3 -2
- package/dist-es/pagination/ListAutoMLJobsPaginator.js +3 -2
- package/dist-es/pagination/ListCandidatesForAutoMLJobPaginator.js +3 -2
- package/dist-es/pagination/ListCodeRepositoriesPaginator.js +3 -2
- package/dist-es/pagination/ListCompilationJobsPaginator.js +3 -2
- package/dist-es/pagination/ListContextsPaginator.js +3 -2
- package/dist-es/pagination/ListDataQualityJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListDeviceFleetsPaginator.js +3 -2
- package/dist-es/pagination/ListDevicesPaginator.js +3 -2
- package/dist-es/pagination/ListDomainsPaginator.js +3 -2
- package/dist-es/pagination/ListEdgePackagingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListEndpointConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListEndpointsPaginator.js +3 -2
- package/dist-es/pagination/ListExperimentsPaginator.js +3 -2
- package/dist-es/pagination/ListFlowDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListHumanTaskUisPaginator.js +3 -2
- package/dist-es/pagination/ListHyperParameterTuningJobsPaginator.js +3 -2
- package/dist-es/pagination/ListImageVersionsPaginator.js +3 -2
- package/dist-es/pagination/ListImagesPaginator.js +3 -2
- package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +3 -2
- package/dist-es/pagination/ListLabelingJobsForWorkteamPaginator.js +3 -2
- package/dist-es/pagination/ListLabelingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListLineageGroupsPaginator.js +3 -2
- package/dist-es/pagination/ListModelBiasJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListModelMetadataPaginator.js +3 -2
- package/dist-es/pagination/ListModelPackageGroupsPaginator.js +3 -2
- package/dist-es/pagination/ListModelPackagesPaginator.js +3 -2
- package/dist-es/pagination/ListModelQualityJobDefinitionsPaginator.js +3 -2
- package/dist-es/pagination/ListModelsPaginator.js +3 -2
- package/dist-es/pagination/ListMonitoringExecutionsPaginator.js +3 -2
- package/dist-es/pagination/ListMonitoringSchedulesPaginator.js +3 -2
- package/dist-es/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListNotebookInstancesPaginator.js +3 -2
- package/dist-es/pagination/ListPipelineExecutionStepsPaginator.js +3 -2
- package/dist-es/pagination/ListPipelineExecutionsPaginator.js +3 -2
- package/dist-es/pagination/ListPipelineParametersForExecutionPaginator.js +3 -2
- package/dist-es/pagination/ListPipelinesPaginator.js +3 -2
- package/dist-es/pagination/ListProcessingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListProjectsPaginator.js +3 -2
- package/dist-es/pagination/ListStudioLifecycleConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListSubscribedWorkteamsPaginator.js +3 -2
- package/dist-es/pagination/ListTagsPaginator.js +3 -2
- package/dist-es/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +3 -2
- package/dist-es/pagination/ListTrainingJobsPaginator.js +3 -2
- package/dist-es/pagination/ListTransformJobsPaginator.js +3 -2
- package/dist-es/pagination/ListTrialComponentsPaginator.js +3 -2
- package/dist-es/pagination/ListTrialsPaginator.js +3 -2
- package/dist-es/pagination/ListUserProfilesPaginator.js +3 -2
- package/dist-es/pagination/ListWorkforcesPaginator.js +3 -2
- package/dist-es/pagination/ListWorkteamsPaginator.js +3 -2
- package/dist-es/pagination/QueryLineagePaginator.js +3 -2
- package/dist-es/pagination/SearchPaginator.js +3 -2
- package/dist-es/protocols/Aws_json1_1.js +36 -6
- package/dist-types/SageMaker.d.ts +78 -73
- package/dist-types/SageMakerClient.d.ts +2 -2
- package/dist-types/commands/AddTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/CreateEndpointCommand.d.ts +7 -7
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +5 -5
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageVersionCommand.d.ts +3 -2
- package/dist-types/commands/CreateModelCommand.d.ts +6 -8
- package/dist-types/commands/CreateModelPackageCommand.d.ts +4 -4
- package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +13 -13
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +2 -2
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +8 -8
- package/dist-types/commands/DeleteEndpointCommand.d.ts +9 -2
- package/dist-types/commands/DeleteModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +2 -2
- package/dist-types/commands/DeleteNotebookInstanceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLabelingJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLineageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -2
- package/dist-types/commands/ListNotebookInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +2 -2
- package/dist-types/commands/StopTrainingJobCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +143 -126
- package/dist-types/models/models_1.d.ts +205 -285
- package/dist-types/models/models_2.d.ts +269 -187
- package/dist-types/models/models_3.d.ts +139 -29
- package/dist-types/ts3.4/commands/CreateImageVersionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +17 -17
- package/dist-types/ts3.4/models/models_1.d.ts +42 -81
- package/dist-types/ts3.4/models/models_2.d.ts +81 -62
- package/dist-types/ts3.4/models/models_3.d.ts +62 -1
- package/package.json +26 -26
|
@@ -1,4 +1,31 @@
|
|
|
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, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ContainerDefinition, ContentClassifier, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DeploymentConfig, DomainSettings, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput,
|
|
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, DomainSettings, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, FeatureDefinition, FlowDefinitionOutputConfig, GitConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobWarmStartConfig, InferenceSpecification, InputConfig, KernelGatewayImageConfig, MetadataProperties, MetricsSource, ModelApprovalStatus, ModelDeployConfig, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, ObjectiveStatus, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, OutputDataConfig, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantInstanceType, ProductionVariantServerlessConfig, PublicWorkforceTaskPrice, ResourceConfig, ResourceSpec, RetryStrategy, StoppingCondition, Tag, TrainingSpecification, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, UserSettings, VpcConfig } from "./models_0";
|
|
2
|
+
export interface CreateImageVersionResponse {
|
|
3
|
+
/**
|
|
4
|
+
* <p>The Amazon Resource Name (ARN) of the image version.</p>
|
|
5
|
+
*/
|
|
6
|
+
ImageVersionArn?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace CreateImageVersionResponse {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
const filterSensitiveLog: (obj: CreateImageVersionResponse) => any;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* <p>Specifies the range of environment parameters</p>
|
|
16
|
+
*/
|
|
17
|
+
export interface EnvironmentParameterRanges {
|
|
18
|
+
/**
|
|
19
|
+
* <p>Specified a list of parameters for each category.</p>
|
|
20
|
+
*/
|
|
21
|
+
CategoricalParameterRanges?: CategoricalParameter[];
|
|
22
|
+
}
|
|
23
|
+
export declare namespace EnvironmentParameterRanges {
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
const filterSensitiveLog: (obj: EnvironmentParameterRanges) => any;
|
|
28
|
+
}
|
|
2
29
|
/**
|
|
3
30
|
* <p>The endpoint configuration for the load test.</p>
|
|
4
31
|
*/
|
|
@@ -111,6 +138,48 @@ export interface RecommendationJobInputConfig {
|
|
|
111
138
|
* <p>Specifies the endpoint configuration to use for a job.</p>
|
|
112
139
|
*/
|
|
113
140
|
EndpointConfigurations?: EndpointInputConfiguration[];
|
|
141
|
+
/**
|
|
142
|
+
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key
|
|
143
|
+
* that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
|
|
144
|
+
* This key will be passed to SageMaker Hosting for endpoint creation. </p>
|
|
145
|
+
*
|
|
146
|
+
* <p>The SageMaker execution role must have <code>kms:CreateGrant</code> permission in order to encrypt data on the storage
|
|
147
|
+
* volume of the endpoints created for inference recommendation. The inference recommendation job will fail
|
|
148
|
+
* asynchronously during endpoint configuration creation if the role passed does not have
|
|
149
|
+
* <code>kms:CreateGrant</code> permission.</p>
|
|
150
|
+
*
|
|
151
|
+
* <p>The <code>KmsKeyId</code> can be any of the following formats:</p>
|
|
152
|
+
* <ul>
|
|
153
|
+
* <li>
|
|
154
|
+
* <p>// KMS Key ID</p>
|
|
155
|
+
* <p>
|
|
156
|
+
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
157
|
+
* </p>
|
|
158
|
+
* </li>
|
|
159
|
+
* <li>
|
|
160
|
+
* <p>// Amazon Resource Name (ARN) of a KMS Key</p>
|
|
161
|
+
* <p>
|
|
162
|
+
* <code>"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"</code>
|
|
163
|
+
* </p>
|
|
164
|
+
* </li>
|
|
165
|
+
* <li>
|
|
166
|
+
* <p>// KMS Key Alias</p>
|
|
167
|
+
* <p>
|
|
168
|
+
* <code>"alias/ExampleAlias"</code>
|
|
169
|
+
* </p>
|
|
170
|
+
* </li>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>// Amazon Resource Name (ARN) of a KMS Key Alias</p>
|
|
173
|
+
* <p>
|
|
174
|
+
* <code>"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"</code>
|
|
175
|
+
* </p>
|
|
176
|
+
* </li>
|
|
177
|
+
* </ul>
|
|
178
|
+
* <p>For more information about key identifiers, see
|
|
179
|
+
* <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id">Key identifiers (KeyID)</a> in the
|
|
180
|
+
* Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.</p>
|
|
181
|
+
*/
|
|
182
|
+
VolumeKmsKeyId?: string;
|
|
114
183
|
}
|
|
115
184
|
export declare namespace RecommendationJobInputConfig {
|
|
116
185
|
/**
|
|
@@ -122,6 +191,76 @@ export declare enum RecommendationJobType {
|
|
|
122
191
|
ADVANCED = "Advanced",
|
|
123
192
|
DEFAULT = "Default"
|
|
124
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* <p>Provides information about the output configuration for the compiled
|
|
196
|
+
* model.</p>
|
|
197
|
+
*/
|
|
198
|
+
export interface RecommendationJobCompiledOutputConfig {
|
|
199
|
+
/**
|
|
200
|
+
* <p>Identifies the Amazon S3 bucket where you want SageMaker to store the
|
|
201
|
+
* compiled model artifacts.</p>
|
|
202
|
+
*/
|
|
203
|
+
S3OutputUri?: string;
|
|
204
|
+
}
|
|
205
|
+
export declare namespace RecommendationJobCompiledOutputConfig {
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
const filterSensitiveLog: (obj: RecommendationJobCompiledOutputConfig) => any;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* <p>Provides information about the output configuration for the compiled model.</p>
|
|
213
|
+
*/
|
|
214
|
+
export interface RecommendationJobOutputConfig {
|
|
215
|
+
/**
|
|
216
|
+
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key
|
|
217
|
+
* that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption.
|
|
218
|
+
* The SageMaker execution role must have <code>kms:GenerateDataKey</code> permission.</p>
|
|
219
|
+
*
|
|
220
|
+
* <p>The <code>KmsKeyId</code> can be any of the following formats:</p>
|
|
221
|
+
* <ul>
|
|
222
|
+
* <li>
|
|
223
|
+
* <p>// KMS Key ID</p>
|
|
224
|
+
* <p>
|
|
225
|
+
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
226
|
+
* </p>
|
|
227
|
+
* </li>
|
|
228
|
+
* <li>
|
|
229
|
+
* <p>// Amazon Resource Name (ARN) of a KMS Key</p>
|
|
230
|
+
* <p>
|
|
231
|
+
* <code>"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"</code>
|
|
232
|
+
* </p>
|
|
233
|
+
* </li>
|
|
234
|
+
* <li>
|
|
235
|
+
* <p>// KMS Key Alias</p>
|
|
236
|
+
* <p>
|
|
237
|
+
* <code>"alias/ExampleAlias"</code>
|
|
238
|
+
* </p>
|
|
239
|
+
* </li>
|
|
240
|
+
* <li>
|
|
241
|
+
* <p>// Amazon Resource Name (ARN) of a KMS Key Alias</p>
|
|
242
|
+
* <p>
|
|
243
|
+
* <code>"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"</code>
|
|
244
|
+
* </p>
|
|
245
|
+
* </li>
|
|
246
|
+
* </ul>
|
|
247
|
+
* <p>For more information about key identifiers, see
|
|
248
|
+
* <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id">Key identifiers (KeyID)</a> in the
|
|
249
|
+
* Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.</p>
|
|
250
|
+
*/
|
|
251
|
+
KmsKeyId?: string;
|
|
252
|
+
/**
|
|
253
|
+
* <p>Provides information about the output configuration for the compiled
|
|
254
|
+
* model.</p>
|
|
255
|
+
*/
|
|
256
|
+
CompiledOutputConfig?: RecommendationJobCompiledOutputConfig;
|
|
257
|
+
}
|
|
258
|
+
export declare namespace RecommendationJobOutputConfig {
|
|
259
|
+
/**
|
|
260
|
+
* @internal
|
|
261
|
+
*/
|
|
262
|
+
const filterSensitiveLog: (obj: RecommendationJobOutputConfig) => any;
|
|
263
|
+
}
|
|
125
264
|
/**
|
|
126
265
|
* <p>The model latency threshold.</p>
|
|
127
266
|
*/
|
|
@@ -195,6 +334,11 @@ export interface CreateInferenceRecommendationsJobRequest {
|
|
|
195
334
|
* the conditions are met, the job is automatically stopped.</p>
|
|
196
335
|
*/
|
|
197
336
|
StoppingConditions?: RecommendationJobStoppingConditions;
|
|
337
|
+
/**
|
|
338
|
+
* <p>Provides information about the output artifacts and the KMS key
|
|
339
|
+
* to use for Amazon S3 server-side encryption.</p>
|
|
340
|
+
*/
|
|
341
|
+
OutputConfig?: RecommendationJobOutputConfig;
|
|
198
342
|
/**
|
|
199
343
|
* <p>The metadata that you apply to Amazon Web Services resources to help you
|
|
200
344
|
* categorize and organize them. Each tag consists of a key and a value, both of
|
|
@@ -1937,7 +2081,7 @@ export declare namespace HumanTaskConfig {
|
|
|
1937
2081
|
export interface LabelingJobDataAttributes {
|
|
1938
2082
|
/**
|
|
1939
2083
|
* <p>Declares that your content is free of personally identifiable information or adult
|
|
1940
|
-
* content.
|
|
2084
|
+
* content. SageMaker may restrict the Amazon Mechanical Turk workers that can view your task
|
|
1941
2085
|
* based on this information.</p>
|
|
1942
2086
|
*/
|
|
1943
2087
|
ContentClassifiers?: (ContentClassifier | string)[];
|
|
@@ -2452,13 +2596,13 @@ export interface CreateModelInput {
|
|
|
2452
2596
|
*/
|
|
2453
2597
|
InferenceExecutionConfig?: InferenceExecutionConfig;
|
|
2454
2598
|
/**
|
|
2455
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role that
|
|
2599
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access model
|
|
2456
2600
|
* artifacts and docker image for deployment on ML compute instances or for batch transform
|
|
2457
2601
|
* jobs. Deploying on ML compute instances is part of model hosting. For more information,
|
|
2458
|
-
* see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">
|
|
2602
|
+
* see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker
|
|
2459
2603
|
* Roles</a>. </p>
|
|
2460
2604
|
* <note>
|
|
2461
|
-
* <p>To be able to pass this role to
|
|
2605
|
+
* <p>To be able to pass this role to SageMaker, the caller of this API must have the
|
|
2462
2606
|
* <code>iam:PassRole</code> permission.</p>
|
|
2463
2607
|
* </note>
|
|
2464
2608
|
*/
|
|
@@ -2492,7 +2636,7 @@ export declare namespace CreateModelInput {
|
|
|
2492
2636
|
}
|
|
2493
2637
|
export interface CreateModelOutput {
|
|
2494
2638
|
/**
|
|
2495
|
-
* <p>The ARN of the model created in
|
|
2639
|
+
* <p>The ARN of the model created in SageMaker.</p>
|
|
2496
2640
|
*/
|
|
2497
2641
|
ModelArn: string | undefined;
|
|
2498
2642
|
}
|
|
@@ -2795,7 +2939,7 @@ export declare namespace FileSource {
|
|
|
2795
2939
|
}
|
|
2796
2940
|
/**
|
|
2797
2941
|
* <p>Represents the drift check bias baselines that can be used when the model monitor is set using the
|
|
2798
|
-
*
|
|
2942
|
+
* model package.</p>
|
|
2799
2943
|
*/
|
|
2800
2944
|
export interface DriftCheckBias {
|
|
2801
2945
|
/**
|
|
@@ -2819,7 +2963,7 @@ export declare namespace DriftCheckBias {
|
|
|
2819
2963
|
}
|
|
2820
2964
|
/**
|
|
2821
2965
|
* <p>Represents the drift check explainability baselines that can be used when the model monitor is set
|
|
2822
|
-
*
|
|
2966
|
+
* using the model package. </p>
|
|
2823
2967
|
*/
|
|
2824
2968
|
export interface DriftCheckExplainability {
|
|
2825
2969
|
/**
|
|
@@ -2839,7 +2983,7 @@ export declare namespace DriftCheckExplainability {
|
|
|
2839
2983
|
}
|
|
2840
2984
|
/**
|
|
2841
2985
|
* <p>Represents the drift check data quality baselines that can be used when the model monitor is set using
|
|
2842
|
-
*
|
|
2986
|
+
* the model package. </p>
|
|
2843
2987
|
*/
|
|
2844
2988
|
export interface DriftCheckModelDataQuality {
|
|
2845
2989
|
/**
|
|
@@ -2859,7 +3003,7 @@ export declare namespace DriftCheckModelDataQuality {
|
|
|
2859
3003
|
}
|
|
2860
3004
|
/**
|
|
2861
3005
|
* <p>Represents the drift check model quality baselines that can be used when the model monitor is set using
|
|
2862
|
-
*
|
|
3006
|
+
* the model package. </p>
|
|
2863
3007
|
*/
|
|
2864
3008
|
export interface DriftCheckModelQuality {
|
|
2865
3009
|
/**
|
|
@@ -2879,27 +3023,27 @@ export declare namespace DriftCheckModelQuality {
|
|
|
2879
3023
|
}
|
|
2880
3024
|
/**
|
|
2881
3025
|
* <p>Represents the drift check baselines that can be used when the model monitor is set using the model
|
|
2882
|
-
*
|
|
3026
|
+
* package. </p>
|
|
2883
3027
|
*/
|
|
2884
3028
|
export interface DriftCheckBaselines {
|
|
2885
3029
|
/**
|
|
2886
3030
|
* <p>Represents the drift check bias baselines that can be used when the model monitor is set using the model
|
|
2887
|
-
*
|
|
3031
|
+
* package. </p>
|
|
2888
3032
|
*/
|
|
2889
3033
|
Bias?: DriftCheckBias;
|
|
2890
3034
|
/**
|
|
2891
3035
|
* <p>Represents the drift check explainability baselines that can be used when the model monitor is set using
|
|
2892
|
-
*
|
|
3036
|
+
* the model package. </p>
|
|
2893
3037
|
*/
|
|
2894
3038
|
Explainability?: DriftCheckExplainability;
|
|
2895
3039
|
/**
|
|
2896
3040
|
* <p>Represents the drift check model quality baselines that can be used when the model monitor is set using
|
|
2897
|
-
*
|
|
3041
|
+
* the model package.</p>
|
|
2898
3042
|
*/
|
|
2899
3043
|
ModelQuality?: DriftCheckModelQuality;
|
|
2900
3044
|
/**
|
|
2901
3045
|
* <p>Represents the drift check model data quality baselines that can be used when the model monitor is set
|
|
2902
|
-
*
|
|
3046
|
+
* using the model package.</p>
|
|
2903
3047
|
*/
|
|
2904
3048
|
ModelDataQuality?: DriftCheckModelDataQuality;
|
|
2905
3049
|
}
|
|
@@ -2991,7 +3135,7 @@ export declare namespace ModelMetrics {
|
|
|
2991
3135
|
}
|
|
2992
3136
|
/**
|
|
2993
3137
|
* <p>Specifies an algorithm that was used to create the model package. The algorithm must
|
|
2994
|
-
* be either an algorithm resource in your
|
|
3138
|
+
* be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you
|
|
2995
3139
|
* are subscribed to.</p>
|
|
2996
3140
|
*/
|
|
2997
3141
|
export interface SourceAlgorithm {
|
|
@@ -3007,7 +3151,7 @@ export interface SourceAlgorithm {
|
|
|
3007
3151
|
ModelDataUrl?: string;
|
|
3008
3152
|
/**
|
|
3009
3153
|
* <p>The name of an algorithm that was used to create the model package. The algorithm must
|
|
3010
|
-
* be either an algorithm resource in your
|
|
3154
|
+
* be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you
|
|
3011
3155
|
* are subscribed to.</p>
|
|
3012
3156
|
*/
|
|
3013
3157
|
AlgorithmName: string | undefined;
|
|
@@ -3057,7 +3201,7 @@ export declare namespace ModelPackageValidationProfile {
|
|
|
3057
3201
|
const filterSensitiveLog: (obj: ModelPackageValidationProfile) => any;
|
|
3058
3202
|
}
|
|
3059
3203
|
/**
|
|
3060
|
-
* <p>Specifies batch transform jobs that
|
|
3204
|
+
* <p>Specifies batch transform jobs that SageMaker runs to validate your model package.</p>
|
|
3061
3205
|
*/
|
|
3062
3206
|
export interface ModelPackageValidationSpecification {
|
|
3063
3207
|
/**
|
|
@@ -3066,7 +3210,7 @@ export interface ModelPackageValidationSpecification {
|
|
|
3066
3210
|
ValidationRole: string | undefined;
|
|
3067
3211
|
/**
|
|
3068
3212
|
* <p>An array of <code>ModelPackageValidationProfile</code> objects, each of which
|
|
3069
|
-
* specifies a batch transform job that
|
|
3213
|
+
* specifies a batch transform job that SageMaker runs to validate your model package.</p>
|
|
3070
3214
|
*/
|
|
3071
3215
|
ValidationProfiles: ModelPackageValidationProfile[] | undefined;
|
|
3072
3216
|
}
|
|
@@ -3114,7 +3258,7 @@ export interface CreateModelPackageInput {
|
|
|
3114
3258
|
*/
|
|
3115
3259
|
InferenceSpecification?: InferenceSpecification;
|
|
3116
3260
|
/**
|
|
3117
|
-
* <p>Specifies configurations for one or more transform jobs that
|
|
3261
|
+
* <p>Specifies configurations for one or more transform jobs that SageMaker runs to test the
|
|
3118
3262
|
* model package.</p>
|
|
3119
3263
|
*/
|
|
3120
3264
|
ValidationSpecification?: ModelPackageValidationSpecification;
|
|
@@ -3161,8 +3305,8 @@ export interface CreateModelPackageInput {
|
|
|
3161
3305
|
};
|
|
3162
3306
|
/**
|
|
3163
3307
|
* <p>Represents the drift check baselines that can be used when the model monitor is set using the model package.
|
|
3164
|
-
*
|
|
3165
|
-
*
|
|
3308
|
+
* For more information, see the topic on <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html#pipelines-quality-clarify-baseline-drift-detection">Drift Detection against Previous Baselines in SageMaker Pipelines</a> in the <i>Amazon SageMaker Developer Guide</i>.
|
|
3309
|
+
* </p>
|
|
3166
3310
|
*/
|
|
3167
3311
|
DriftCheckBaselines?: DriftCheckBaselines;
|
|
3168
3312
|
/**
|
|
@@ -3802,19 +3946,19 @@ export interface CreateNotebookInstanceInput {
|
|
|
3802
3946
|
*/
|
|
3803
3947
|
SecurityGroupIds?: string[];
|
|
3804
3948
|
/**
|
|
3805
|
-
* <p> When you send any requests to Amazon Web Services resources from the notebook instance,
|
|
3949
|
+
* <p> When you send any requests to Amazon Web Services resources from the notebook instance, SageMaker
|
|
3806
3950
|
* assumes this role to perform tasks on your behalf. You must grant this role necessary
|
|
3807
|
-
* permissions so
|
|
3951
|
+
* permissions so SageMaker can perform these tasks. The policy must allow the SageMaker service
|
|
3808
3952
|
* principal (sagemaker.amazonaws.com) permissions to assume this role. For more
|
|
3809
|
-
* information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">
|
|
3953
|
+
* information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker Roles</a>. </p>
|
|
3810
3954
|
* <note>
|
|
3811
|
-
* <p>To be able to pass this role to
|
|
3955
|
+
* <p>To be able to pass this role to SageMaker, the caller of this API must have the
|
|
3812
3956
|
* <code>iam:PassRole</code> permission.</p>
|
|
3813
3957
|
* </note>
|
|
3814
3958
|
*/
|
|
3815
3959
|
RoleArn: string | undefined;
|
|
3816
3960
|
/**
|
|
3817
|
-
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that
|
|
3961
|
+
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on
|
|
3818
3962
|
* the storage volume attached to your notebook instance. The KMS key you provide must be
|
|
3819
3963
|
* enabled. For information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html">Enabling and Disabling
|
|
3820
3964
|
* Keys</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p>
|
|
@@ -3834,9 +3978,9 @@ export interface CreateNotebookInstanceInput {
|
|
|
3834
3978
|
*/
|
|
3835
3979
|
LifecycleConfigName?: string;
|
|
3836
3980
|
/**
|
|
3837
|
-
* <p>Sets whether
|
|
3981
|
+
* <p>Sets whether SageMaker provides internet access to the notebook instance. If you set this
|
|
3838
3982
|
* to <code>Disabled</code> this notebook instance is able to access resources only in your
|
|
3839
|
-
* VPC, and is not be able to connect to
|
|
3983
|
+
* VPC, and is not be able to connect to SageMaker training and endpoint services unless you
|
|
3840
3984
|
* configure a NAT Gateway in your VPC.</p>
|
|
3841
3985
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access">Notebook Instances Are Internet-Enabled by Default</a>. You can set the value
|
|
3842
3986
|
* of this parameter to <code>Disabled</code> only if you set a value for the
|
|
@@ -3859,7 +4003,7 @@ export interface CreateNotebookInstanceInput {
|
|
|
3859
4003
|
* repository. This can be either the name of a Git repository stored as a resource in your
|
|
3860
4004
|
* account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a> or in any
|
|
3861
4005
|
* other Git repository. When you open a notebook instance, it opens in the directory that
|
|
3862
|
-
* contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with
|
|
4006
|
+
* contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with SageMaker
|
|
3863
4007
|
* Notebook Instances</a>.</p>
|
|
3864
4008
|
*/
|
|
3865
4009
|
DefaultCodeRepository?: string;
|
|
@@ -3869,7 +4013,7 @@ export interface CreateNotebookInstanceInput {
|
|
|
3869
4013
|
* or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a> or in any
|
|
3870
4014
|
* other Git repository. These repositories are cloned at the same level as the default
|
|
3871
4015
|
* repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git
|
|
3872
|
-
* Repositories with
|
|
4016
|
+
* Repositories with SageMaker Notebook Instances</a>.</p>
|
|
3873
4017
|
*/
|
|
3874
4018
|
AdditionalCodeRepositories?: string[];
|
|
3875
4019
|
/**
|
|
@@ -4960,7 +5104,7 @@ export interface CreateTrainingJobRequest {
|
|
|
4960
5104
|
/**
|
|
4961
5105
|
* <p>Algorithm-specific parameters that influence the quality of the model. You set
|
|
4962
5106
|
* hyperparameters before you start the learning process. For a list of hyperparameters for
|
|
4963
|
-
* each training algorithm provided by
|
|
5107
|
+
* each training algorithm provided by SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. </p>
|
|
4964
5108
|
* <p>You can specify a maximum of 100 hyperparameters. Each hyperparameter is a
|
|
4965
5109
|
* key-value pair. Each key and value is limited to 256 characters, as specified by the
|
|
4966
5110
|
* <code>Length Constraint</code>. </p>
|
|
@@ -4971,44 +5115,43 @@ export interface CreateTrainingJobRequest {
|
|
|
4971
5115
|
/**
|
|
4972
5116
|
* <p>The registry path of the Docker image that contains the training algorithm and
|
|
4973
5117
|
* algorithm-specific metadata, including the input mode. For more information about
|
|
4974
|
-
* algorithms provided by
|
|
5118
|
+
* algorithms provided by SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html">Algorithms</a>. For information about
|
|
4975
5119
|
* providing your own algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon
|
|
4976
5120
|
* SageMaker</a>. </p>
|
|
4977
5121
|
*/
|
|
4978
5122
|
AlgorithmSpecification: AlgorithmSpecification | undefined;
|
|
4979
5123
|
/**
|
|
4980
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that
|
|
5124
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that SageMaker can assume to perform
|
|
4981
5125
|
* tasks on your behalf. </p>
|
|
4982
|
-
* <p>During model training,
|
|
5126
|
+
* <p>During model training, SageMaker needs your permission to read input data from an S3
|
|
4983
5127
|
* bucket, download a Docker image that contains training code, write model artifacts to an
|
|
4984
5128
|
* S3 bucket, write logs to Amazon CloudWatch Logs, and publish metrics to Amazon CloudWatch. You grant
|
|
4985
|
-
* permissions for all of these tasks to an IAM role. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">
|
|
5129
|
+
* permissions for all of these tasks to an IAM role. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker
|
|
4986
5130
|
* Roles</a>. </p>
|
|
4987
5131
|
* <note>
|
|
4988
|
-
* <p>To be able to pass this role to
|
|
5132
|
+
* <p>To be able to pass this role to SageMaker, the caller of this API must have the
|
|
4989
5133
|
* <code>iam:PassRole</code> permission.</p>
|
|
4990
5134
|
* </note>
|
|
4991
5135
|
*/
|
|
4992
5136
|
RoleArn: string | undefined;
|
|
4993
5137
|
/**
|
|
4994
5138
|
* <p>An array of <code>Channel</code> objects. Each channel is a named input source.
|
|
4995
|
-
* <code>InputDataConfig</code>
|
|
4996
|
-
* describes the input data and its location. </p>
|
|
5139
|
+
* <code>InputDataConfig</code> describes the input data and its location. </p>
|
|
4997
5140
|
* <p>Algorithms can accept input data from one or more channels. For example, an
|
|
4998
5141
|
* algorithm might have two channels of input data, <code>training_data</code> and
|
|
4999
5142
|
* <code>validation_data</code>. The configuration for each channel provides the S3,
|
|
5000
5143
|
* EFS, or FSx location where the input data is stored. It also provides information about
|
|
5001
5144
|
* the stored data: the MIME type, compression method, and whether the data is wrapped in
|
|
5002
5145
|
* RecordIO format. </p>
|
|
5003
|
-
* <p>Depending on the input mode that the algorithm supports,
|
|
5146
|
+
* <p>Depending on the input mode that the algorithm supports, SageMaker either copies input
|
|
5004
5147
|
* data files from an S3 bucket to a local directory in the Docker container, or makes it
|
|
5005
5148
|
* available as input streams. For example, if you specify an EFS location, input data
|
|
5006
|
-
* files
|
|
5149
|
+
* files are available as input streams. They do not need to be
|
|
5007
5150
|
* downloaded.</p>
|
|
5008
5151
|
*/
|
|
5009
5152
|
InputDataConfig?: Channel[];
|
|
5010
5153
|
/**
|
|
5011
|
-
* <p>Specifies the path to the S3 location where you want to store model artifacts.
|
|
5154
|
+
* <p>Specifies the path to the S3 location where you want to store model artifacts. SageMaker
|
|
5012
5155
|
* creates subfolders for the artifacts. </p>
|
|
5013
5156
|
*/
|
|
5014
5157
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
@@ -5016,7 +5159,7 @@ export interface CreateTrainingJobRequest {
|
|
|
5016
5159
|
* <p>The resources, including the ML compute instances and ML storage volumes, to use
|
|
5017
5160
|
* for model training. </p>
|
|
5018
5161
|
* <p>ML storage volumes store model artifacts and incremental states. Training
|
|
5019
|
-
* algorithms might also use ML storage volumes for scratch space. If you want
|
|
5162
|
+
* algorithms might also use ML storage volumes for scratch space. If you want SageMaker to use
|
|
5020
5163
|
* the ML storage volume to store the training data, choose <code>File</code> as the
|
|
5021
5164
|
* <code>TrainingInputMode</code> in the algorithm specification. For distributed
|
|
5022
5165
|
* training algorithms, specify an instance count greater than 1.</p>
|
|
@@ -5031,9 +5174,9 @@ export interface CreateTrainingJobRequest {
|
|
|
5031
5174
|
VpcConfig?: VpcConfig;
|
|
5032
5175
|
/**
|
|
5033
5176
|
* <p>Specifies a limit to how long a model training job can run. It also specifies how long
|
|
5034
|
-
* a managed Spot training job has to complete. When the job reaches the time limit,
|
|
5177
|
+
* a managed Spot training job has to complete. When the job reaches the time limit, SageMaker
|
|
5035
5178
|
* ends the training job. Use this API to cap model training costs.</p>
|
|
5036
|
-
* <p>To stop a job,
|
|
5179
|
+
* <p>To stop a job, SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays
|
|
5037
5180
|
* job termination for 120 seconds. Algorithms can use this 120-second window to save the
|
|
5038
5181
|
* model artifacts, so the results of training are not lost. </p>
|
|
5039
5182
|
*/
|
|
@@ -5048,7 +5191,7 @@ export interface CreateTrainingJobRequest {
|
|
|
5048
5191
|
/**
|
|
5049
5192
|
* <p>Isolates the training container. No inbound or outbound network calls can be made,
|
|
5050
5193
|
* except for calls between peers within a training cluster for distributed training. If
|
|
5051
|
-
* you enable network isolation for training jobs that are configured to use a VPC,
|
|
5194
|
+
* you enable network isolation for training jobs that are configured to use a VPC, SageMaker
|
|
5052
5195
|
* downloads and uploads customer data and model artifacts through the specified VPC, but
|
|
5053
5196
|
* the training container does not have network access.</p>
|
|
5054
5197
|
*/
|
|
@@ -5172,7 +5315,7 @@ export interface DataProcessing {
|
|
|
5172
5315
|
/**
|
|
5173
5316
|
* <p>A <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators">JSONPath</a> expression used to select a portion of the input data to pass to
|
|
5174
5317
|
* the algorithm. Use the <code>InputFilter</code> parameter to exclude fields, such as an
|
|
5175
|
-
* ID column, from the input. If you want
|
|
5318
|
+
* ID column, from the input. If you want SageMaker to pass the entire input dataset to the
|
|
5176
5319
|
* algorithm, accept the default value <code>$</code>.</p>
|
|
5177
5320
|
* <p>Examples: <code>"$"</code>, <code>"$[1:]"</code>, <code>"$.features"</code>
|
|
5178
5321
|
* </p>
|
|
@@ -5180,7 +5323,7 @@ export interface DataProcessing {
|
|
|
5180
5323
|
InputFilter?: string;
|
|
5181
5324
|
/**
|
|
5182
5325
|
* <p>A <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators">JSONPath</a> expression used to select a portion of the joined dataset to save
|
|
5183
|
-
* in the output file for a batch transform job. If you want
|
|
5326
|
+
* in the output file for a batch transform job. If you want SageMaker to store the entire input
|
|
5184
5327
|
* dataset in the output file, leave the default value, <code>$</code>. If you specify
|
|
5185
5328
|
* indexes that aren't within the dimension size of the joined dataset, you get an
|
|
5186
5329
|
* error.</p>
|
|
@@ -5223,11 +5366,11 @@ export declare namespace DataProcessing {
|
|
|
5223
5366
|
*/
|
|
5224
5367
|
export interface ModelClientConfig {
|
|
5225
5368
|
/**
|
|
5226
|
-
* <p>The timeout value in seconds for an invocation request.</p>
|
|
5369
|
+
* <p>The timeout value in seconds for an invocation request. The default value is 600.</p>
|
|
5227
5370
|
*/
|
|
5228
5371
|
InvocationsTimeoutInSeconds?: number;
|
|
5229
5372
|
/**
|
|
5230
|
-
* <p>The maximum number of retries when invocation requests are failing.</p>
|
|
5373
|
+
* <p>The maximum number of retries when invocation requests are failing. The default value is 3.</p>
|
|
5231
5374
|
*/
|
|
5232
5375
|
InvocationsMaxRetries?: number;
|
|
5233
5376
|
}
|
|
@@ -5271,6 +5414,10 @@ export interface CreateTransformJobRequest {
|
|
|
5271
5414
|
* the records fit within the maximum payload size, we recommend using a slightly larger
|
|
5272
5415
|
* value. The default value is <code>6</code> MB.
|
|
5273
5416
|
* </p>
|
|
5417
|
+
* <p>The value of <code>MaxPayloadInMB</code> cannot be greater than 100 MB. If you specify
|
|
5418
|
+
* the <code>MaxConcurrentTransforms</code> parameter, the value of
|
|
5419
|
+
* <code>(MaxConcurrentTransforms * MaxPayloadInMB)</code> also cannot exceed 100
|
|
5420
|
+
* MB.</p>
|
|
5274
5421
|
* <p>For cases where the payload might be arbitrarily large and is transmitted using HTTP
|
|
5275
5422
|
* chunked encoding, set the value to <code>0</code>.
|
|
5276
5423
|
* This
|
|
@@ -6374,7 +6521,7 @@ export interface DeleteModelPackageInput {
|
|
|
6374
6521
|
/**
|
|
6375
6522
|
* <p>The name or Amazon Resource Name (ARN) of the model package to delete.</p>
|
|
6376
6523
|
* <p>When you specify a name, the name must have 1 to 63 characters. Valid
|
|
6377
|
-
*
|
|
6524
|
+
* characters are a-z, A-Z, 0-9, and - (hyphen).</p>
|
|
6378
6525
|
*/
|
|
6379
6526
|
ModelPackageName: string | undefined;
|
|
6380
6527
|
}
|
|
@@ -6434,7 +6581,7 @@ export declare namespace DeleteMonitoringScheduleRequest {
|
|
|
6434
6581
|
}
|
|
6435
6582
|
export interface DeleteNotebookInstanceInput {
|
|
6436
6583
|
/**
|
|
6437
|
-
* <p>The name of the
|
|
6584
|
+
* <p>The name of the SageMaker notebook instance to delete.</p>
|
|
6438
6585
|
*/
|
|
6439
6586
|
NotebookInstanceName: string | undefined;
|
|
6440
6587
|
}
|
|
@@ -6804,7 +6951,7 @@ export interface DescribeAlgorithmOutput {
|
|
|
6804
6951
|
*/
|
|
6805
6952
|
InferenceSpecification?: InferenceSpecification;
|
|
6806
6953
|
/**
|
|
6807
|
-
* <p>Details about configurations for one or more training jobs that
|
|
6954
|
+
* <p>Details about configurations for one or more training jobs that SageMaker runs to test the
|
|
6808
6955
|
* algorithm.</p>
|
|
6809
6956
|
*/
|
|
6810
6957
|
ValidationSpecification?: AlgorithmValidationSpecification;
|
|
@@ -8023,16 +8170,10 @@ export interface PendingProductionVariantSummary {
|
|
|
8023
8170
|
VariantStatus?: ProductionVariantStatus[];
|
|
8024
8171
|
/**
|
|
8025
8172
|
* <p>The serverless configuration for the endpoint.</p>
|
|
8026
|
-
* <note>
|
|
8027
|
-
* <p>Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.</p>
|
|
8028
|
-
* </note>
|
|
8029
8173
|
*/
|
|
8030
8174
|
CurrentServerlessConfig?: ProductionVariantServerlessConfig;
|
|
8031
8175
|
/**
|
|
8032
8176
|
* <p>The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.</p>
|
|
8033
|
-
* <note>
|
|
8034
|
-
* <p>Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.</p>
|
|
8035
|
-
* </note>
|
|
8036
8177
|
*/
|
|
8037
8178
|
DesiredServerlessConfig?: ProductionVariantServerlessConfig;
|
|
8038
8179
|
}
|
|
@@ -8106,16 +8247,10 @@ export interface ProductionVariantSummary {
|
|
|
8106
8247
|
VariantStatus?: ProductionVariantStatus[];
|
|
8107
8248
|
/**
|
|
8108
8249
|
* <p>The serverless configuration for the endpoint.</p>
|
|
8109
|
-
* <note>
|
|
8110
|
-
* <p>Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.</p>
|
|
8111
|
-
* </note>
|
|
8112
8250
|
*/
|
|
8113
8251
|
CurrentServerlessConfig?: ProductionVariantServerlessConfig;
|
|
8114
8252
|
/**
|
|
8115
8253
|
* <p>The serverless configuration requested for the endpoint update.</p>
|
|
8116
|
-
* <note>
|
|
8117
|
-
* <p>Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.</p>
|
|
8118
|
-
* </note>
|
|
8119
8254
|
*/
|
|
8120
8255
|
DesiredServerlessConfig?: ProductionVariantServerlessConfig;
|
|
8121
8256
|
}
|
|
@@ -8249,7 +8384,7 @@ export declare namespace DescribeEndpointConfigInput {
|
|
|
8249
8384
|
}
|
|
8250
8385
|
export interface DescribeEndpointConfigOutput {
|
|
8251
8386
|
/**
|
|
8252
|
-
* <p>Name of the
|
|
8387
|
+
* <p>Name of the SageMaker endpoint configuration.</p>
|
|
8253
8388
|
*/
|
|
8254
8389
|
EndpointConfigName: string | undefined;
|
|
8255
8390
|
/**
|
|
@@ -8685,8 +8820,7 @@ export declare enum TrainingJobStatus {
|
|
|
8685
8820
|
STOPPING = "Stopping"
|
|
8686
8821
|
}
|
|
8687
8822
|
/**
|
|
8688
|
-
* <p>
|
|
8689
|
-
* summary information about a training job.</p>
|
|
8823
|
+
* <p>The container for the summary information about a training job.</p>
|
|
8690
8824
|
*/
|
|
8691
8825
|
export interface HyperParameterTrainingJobSummary {
|
|
8692
8826
|
/**
|
|
@@ -8698,9 +8832,7 @@ export interface HyperParameterTrainingJobSummary {
|
|
|
8698
8832
|
*/
|
|
8699
8833
|
TrainingJobName: string | undefined;
|
|
8700
8834
|
/**
|
|
8701
|
-
* <p>The
|
|
8702
|
-
* Amazon
|
|
8703
|
-
* Resource Name (ARN) of the training job.</p>
|
|
8835
|
+
* <p>The Amazon Resource Name (ARN) of the training job.</p>
|
|
8704
8836
|
*/
|
|
8705
8837
|
TrainingJobArn: string | undefined;
|
|
8706
8838
|
/**
|
|
@@ -8719,7 +8851,7 @@ export interface HyperParameterTrainingJobSummary {
|
|
|
8719
8851
|
* <p>Specifies the time when the training job ends on training instances. You are billed
|
|
8720
8852
|
* for the time interval between the value of <code>TrainingStartTime</code> and this time.
|
|
8721
8853
|
* For successful jobs and stopped jobs, this is the time after model artifacts are
|
|
8722
|
-
* uploaded. For failed jobs, this is the time when
|
|
8854
|
+
* uploaded. For failed jobs, this is the time when SageMaker detects a job failure.</p>
|
|
8723
8855
|
*/
|
|
8724
8856
|
TrainingEndTime?: Date;
|
|
8725
8857
|
/**
|
|
@@ -9335,7 +9467,7 @@ export interface LabelingJobOutput {
|
|
|
9335
9467
|
*/
|
|
9336
9468
|
OutputDatasetS3Uri: string | undefined;
|
|
9337
9469
|
/**
|
|
9338
|
-
* <p>The Amazon Resource Name (ARN) for the most recent
|
|
9470
|
+
* <p>The Amazon Resource Name (ARN) for the most recent SageMaker model trained as part of
|
|
9339
9471
|
* automated data labeling. </p>
|
|
9340
9472
|
*/
|
|
9341
9473
|
FinalActiveLearningModelArn?: string;
|
|
@@ -9354,215 +9486,3 @@ export declare enum LabelingJobStatus {
|
|
|
9354
9486
|
STOPPED = "Stopped",
|
|
9355
9487
|
STOPPING = "Stopping"
|
|
9356
9488
|
}
|
|
9357
|
-
export interface DescribeLabelingJobResponse {
|
|
9358
|
-
/**
|
|
9359
|
-
* <p>The processing status of the labeling job. </p>
|
|
9360
|
-
*/
|
|
9361
|
-
LabelingJobStatus: LabelingJobStatus | string | undefined;
|
|
9362
|
-
/**
|
|
9363
|
-
* <p>Provides a breakdown of the number of data objects labeled by humans, the number of
|
|
9364
|
-
* objects labeled by machine, the number of objects than couldn't be labeled, and the
|
|
9365
|
-
* total number of objects labeled. </p>
|
|
9366
|
-
*/
|
|
9367
|
-
LabelCounters: LabelCounters | undefined;
|
|
9368
|
-
/**
|
|
9369
|
-
* <p>If the job failed, the reason that it failed. </p>
|
|
9370
|
-
*/
|
|
9371
|
-
FailureReason?: string;
|
|
9372
|
-
/**
|
|
9373
|
-
* <p>The date and time that the labeling job was created.</p>
|
|
9374
|
-
*/
|
|
9375
|
-
CreationTime: Date | undefined;
|
|
9376
|
-
/**
|
|
9377
|
-
* <p>The date and time that the labeling job was last updated.</p>
|
|
9378
|
-
*/
|
|
9379
|
-
LastModifiedTime: Date | undefined;
|
|
9380
|
-
/**
|
|
9381
|
-
* <p>A unique identifier for work done as part of a labeling job.</p>
|
|
9382
|
-
*/
|
|
9383
|
-
JobReferenceCode: string | undefined;
|
|
9384
|
-
/**
|
|
9385
|
-
* <p>The name assigned to the labeling job when it was created.</p>
|
|
9386
|
-
*/
|
|
9387
|
-
LabelingJobName: string | undefined;
|
|
9388
|
-
/**
|
|
9389
|
-
* <p>The Amazon Resource Name (ARN) of the labeling job.</p>
|
|
9390
|
-
*/
|
|
9391
|
-
LabelingJobArn: string | undefined;
|
|
9392
|
-
/**
|
|
9393
|
-
* <p>The attribute used as the label in the output manifest file.</p>
|
|
9394
|
-
*/
|
|
9395
|
-
LabelAttributeName?: string;
|
|
9396
|
-
/**
|
|
9397
|
-
* <p>Input configuration information for the labeling job, such as the Amazon S3 location of the
|
|
9398
|
-
* data objects and the location of the manifest file that describes the data
|
|
9399
|
-
* objects.</p>
|
|
9400
|
-
*/
|
|
9401
|
-
InputConfig: LabelingJobInputConfig | undefined;
|
|
9402
|
-
/**
|
|
9403
|
-
* <p>The location of the job's output data and the Amazon Web Services Key Management Service key ID for the key used to
|
|
9404
|
-
* encrypt the output data, if any.</p>
|
|
9405
|
-
*/
|
|
9406
|
-
OutputConfig: LabelingJobOutputConfig | undefined;
|
|
9407
|
-
/**
|
|
9408
|
-
* <p>The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks on your behalf
|
|
9409
|
-
* during data labeling.</p>
|
|
9410
|
-
*/
|
|
9411
|
-
RoleArn: string | undefined;
|
|
9412
|
-
/**
|
|
9413
|
-
* <p>The S3 location of the JSON file that defines the categories used to label data
|
|
9414
|
-
* objects. Please note the following label-category limits:</p>
|
|
9415
|
-
* <ul>
|
|
9416
|
-
* <li>
|
|
9417
|
-
* <p>Semantic segmentation labeling jobs using automated labeling: 20 labels</p>
|
|
9418
|
-
* </li>
|
|
9419
|
-
* <li>
|
|
9420
|
-
* <p>Box bounding labeling jobs (all): 10 labels</p>
|
|
9421
|
-
* </li>
|
|
9422
|
-
* </ul>
|
|
9423
|
-
* <p>The file is a JSON structure in the following format:</p>
|
|
9424
|
-
* <p>
|
|
9425
|
-
* <code>{</code>
|
|
9426
|
-
* </p>
|
|
9427
|
-
* <p>
|
|
9428
|
-
* <code> "document-version": "2018-11-28"</code>
|
|
9429
|
-
* </p>
|
|
9430
|
-
* <p>
|
|
9431
|
-
* <code> "labels": [</code>
|
|
9432
|
-
* </p>
|
|
9433
|
-
* <p>
|
|
9434
|
-
* <code> {</code>
|
|
9435
|
-
* </p>
|
|
9436
|
-
* <p>
|
|
9437
|
-
* <code> "label": "<i>label 1</i>"</code>
|
|
9438
|
-
* </p>
|
|
9439
|
-
* <p>
|
|
9440
|
-
* <code> },</code>
|
|
9441
|
-
* </p>
|
|
9442
|
-
* <p>
|
|
9443
|
-
* <code> {</code>
|
|
9444
|
-
* </p>
|
|
9445
|
-
* <p>
|
|
9446
|
-
* <code> "label": "<i>label 2</i>"</code>
|
|
9447
|
-
* </p>
|
|
9448
|
-
* <p>
|
|
9449
|
-
* <code> },</code>
|
|
9450
|
-
* </p>
|
|
9451
|
-
* <p>
|
|
9452
|
-
* <code> ...</code>
|
|
9453
|
-
* </p>
|
|
9454
|
-
* <p>
|
|
9455
|
-
* <code> {</code>
|
|
9456
|
-
* </p>
|
|
9457
|
-
* <p>
|
|
9458
|
-
* <code> "label": "<i>label n</i>"</code>
|
|
9459
|
-
* </p>
|
|
9460
|
-
* <p>
|
|
9461
|
-
* <code> }</code>
|
|
9462
|
-
* </p>
|
|
9463
|
-
* <p>
|
|
9464
|
-
* <code> ]</code>
|
|
9465
|
-
* </p>
|
|
9466
|
-
* <p>
|
|
9467
|
-
* <code>}</code>
|
|
9468
|
-
* </p>
|
|
9469
|
-
*/
|
|
9470
|
-
LabelCategoryConfigS3Uri?: string;
|
|
9471
|
-
/**
|
|
9472
|
-
* <p>A set of conditions for stopping a labeling job. If any of the conditions are met, the
|
|
9473
|
-
* job is automatically stopped.</p>
|
|
9474
|
-
*/
|
|
9475
|
-
StoppingConditions?: LabelingJobStoppingConditions;
|
|
9476
|
-
/**
|
|
9477
|
-
* <p>Configuration information for automated data labeling.</p>
|
|
9478
|
-
*/
|
|
9479
|
-
LabelingJobAlgorithmsConfig?: LabelingJobAlgorithmsConfig;
|
|
9480
|
-
/**
|
|
9481
|
-
* <p>Configuration information required for human workers to complete a labeling
|
|
9482
|
-
* task.</p>
|
|
9483
|
-
*/
|
|
9484
|
-
HumanTaskConfig: HumanTaskConfig | undefined;
|
|
9485
|
-
/**
|
|
9486
|
-
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
|
|
9487
|
-
* different ways, for example, by purpose, owner, or environment. For more information,
|
|
9488
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
|
|
9489
|
-
* Resources</a>.</p>
|
|
9490
|
-
*/
|
|
9491
|
-
Tags?: Tag[];
|
|
9492
|
-
/**
|
|
9493
|
-
* <p>The location of the output produced by the labeling job.</p>
|
|
9494
|
-
*/
|
|
9495
|
-
LabelingJobOutput?: LabelingJobOutput;
|
|
9496
|
-
}
|
|
9497
|
-
export declare namespace DescribeLabelingJobResponse {
|
|
9498
|
-
/**
|
|
9499
|
-
* @internal
|
|
9500
|
-
*/
|
|
9501
|
-
const filterSensitiveLog: (obj: DescribeLabelingJobResponse) => any;
|
|
9502
|
-
}
|
|
9503
|
-
export interface DescribeLineageGroupRequest {
|
|
9504
|
-
/**
|
|
9505
|
-
* <p>The name of the lineage group.</p>
|
|
9506
|
-
*/
|
|
9507
|
-
LineageGroupName: string | undefined;
|
|
9508
|
-
}
|
|
9509
|
-
export declare namespace DescribeLineageGroupRequest {
|
|
9510
|
-
/**
|
|
9511
|
-
* @internal
|
|
9512
|
-
*/
|
|
9513
|
-
const filterSensitiveLog: (obj: DescribeLineageGroupRequest) => any;
|
|
9514
|
-
}
|
|
9515
|
-
export interface DescribeLineageGroupResponse {
|
|
9516
|
-
/**
|
|
9517
|
-
* <p>The name of the lineage group.</p>
|
|
9518
|
-
*/
|
|
9519
|
-
LineageGroupName?: string;
|
|
9520
|
-
/**
|
|
9521
|
-
* <p>The Amazon Resource Name (ARN) of the lineage group.</p>
|
|
9522
|
-
*/
|
|
9523
|
-
LineageGroupArn?: string;
|
|
9524
|
-
/**
|
|
9525
|
-
* <p>The display name of the lineage group.</p>
|
|
9526
|
-
*/
|
|
9527
|
-
DisplayName?: string;
|
|
9528
|
-
/**
|
|
9529
|
-
* <p>The description of the lineage group.</p>
|
|
9530
|
-
*/
|
|
9531
|
-
Description?: string;
|
|
9532
|
-
/**
|
|
9533
|
-
* <p>The creation time of lineage group.</p>
|
|
9534
|
-
*/
|
|
9535
|
-
CreationTime?: Date;
|
|
9536
|
-
/**
|
|
9537
|
-
* <p>Information about the user who created or modified an experiment, trial, trial
|
|
9538
|
-
* component, lineage group, or project.</p>
|
|
9539
|
-
*/
|
|
9540
|
-
CreatedBy?: UserContext;
|
|
9541
|
-
/**
|
|
9542
|
-
* <p>The last modified time of the lineage group.</p>
|
|
9543
|
-
*/
|
|
9544
|
-
LastModifiedTime?: Date;
|
|
9545
|
-
/**
|
|
9546
|
-
* <p>Information about the user who created or modified an experiment, trial, trial
|
|
9547
|
-
* component, lineage group, or project.</p>
|
|
9548
|
-
*/
|
|
9549
|
-
LastModifiedBy?: UserContext;
|
|
9550
|
-
}
|
|
9551
|
-
export declare namespace DescribeLineageGroupResponse {
|
|
9552
|
-
/**
|
|
9553
|
-
* @internal
|
|
9554
|
-
*/
|
|
9555
|
-
const filterSensitiveLog: (obj: DescribeLineageGroupResponse) => any;
|
|
9556
|
-
}
|
|
9557
|
-
export interface DescribeModelInput {
|
|
9558
|
-
/**
|
|
9559
|
-
* <p>The name of the model.</p>
|
|
9560
|
-
*/
|
|
9561
|
-
ModelName: string | undefined;
|
|
9562
|
-
}
|
|
9563
|
-
export declare namespace DescribeModelInput {
|
|
9564
|
-
/**
|
|
9565
|
-
* @internal
|
|
9566
|
-
*/
|
|
9567
|
-
const filterSensitiveLog: (obj: DescribeModelInput) => any;
|
|
9568
|
-
}
|