@aws-sdk/client-sagemaker 3.848.0 → 3.850.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/dist-cjs/index.js +31 -0
- package/dist-es/models/models_1.js +2 -0
- package/dist-es/models/models_2.js +6 -0
- package/dist-es/models/models_3.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +22 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -2
- package/dist-types/commands/CreateComputeQuotaCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +8 -0
- package/dist-types/commands/CreateSpaceCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserProfileCommand.d.ts +4 -0
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +2 -2
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +8 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpaceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +4 -0
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -0
- package/dist-types/commands/ListAppImageConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppsCommand.d.ts +1 -2
- package/dist-types/commands/ListComputeQuotasCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingPlansCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -0
- package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
- package/dist-types/commands/UpdateComputeQuotaCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainCommand.d.ts +8 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +4 -0
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +3 -3
- package/dist-types/models/models_1.d.ts +34 -20
- package/dist-types/models/models_2.d.ts +61 -180
- package/dist-types/models/models_3.d.ts +186 -108
- package/dist-types/models/models_4.d.ts +109 -297
- package/dist-types/models/models_5.d.ts +303 -5
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListAppImageConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/models/models_1.d.ts +15 -4
- package/dist-types/ts3.4/models/models_2.d.ts +26 -45
- package/dist-types/ts3.4/models/models_3.d.ts +50 -28
- package/dist-types/ts3.4/models/models_4.d.ts +27 -76
- package/dist-types/ts3.4/models/models_5.d.ts +83 -2
- package/package.json +1 -1
|
@@ -1,8 +1,301 @@
|
|
|
1
|
-
import { ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AppNetworkAccessType, AppSecurityGroupManagement, BooleanOperator, CfnUpdateTemplateProvider, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterRestrictedInstanceGroupSpecification, CodeEditorAppImageConfig, DeploymentConfiguration, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, ModelApprovalStatus, OutputParameter, Tag, UserContext } from "./models_0";
|
|
2
|
-
import { _InstanceType, ComputeQuotaConfig, ComputeQuotaTarget, DefaultSpaceSettings, DeploymentConfig, EdgeOutputConfig, FeatureDefinition, HubContentType, InferenceComponentRuntimeConfig, InferenceComponentSpecification, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, JobType, MetadataProperties, ModelCardStatus, ModelLifeCycle, ModelPackageModelCard, ModelVariantConfig, Processor, SchedulerConfig, ShadowModeConfig, TagPropagation, ThroughputMode, TrackingServerSize, UserSettings, VendorGuidance } from "./models_1";
|
|
3
|
-
import { CrossAccountFilterOption, InstanceMetadataServiceConfiguration, MemberDefinition, MonitoringScheduleConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, OidcConfig, ParallelismConfiguration, PartnerAppConfig, PartnerAppMaintenanceConfig, PipelineDefinitionS3Location, ProfilerRuleConfiguration, ProvisioningParameter, RootAccess, SourceIpConfig, SpaceSettings, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, WorkerAccessConfiguration, WorkforceVpcConfigRequest } from "./models_2";
|
|
4
|
-
import { DesiredWeightAndCapacity, Device, DomainSettingsForUpdate, Endpoint, Experiment, FeatureGroup, FeatureMetadata, FeatureParameter, Filter, GitConfigForUpdate, HubContentSupportStatus, HyperParameterTuningJobSearchEntity, InferenceComponentDeploymentConfig, InferenceExperimentStopDesiredState, ReservedCapacityInstanceType, ResourceType, SageMakerResourceName, SelectiveExecutionConfig, TrialComponentMetricSummary, TrialComponentSource, Workforce, Workteam } from "./models_3";
|
|
5
|
-
import { ModelCard, ModelDashboardModel, ModelPackage, ModelPackageGroup, ModelVariantAction, NestedFilters, OnlineStoreConfigUpdate, Parameter, Parent, Pipeline, PipelineExecution, PipelineVersion, ProcessingJob, ProfilerConfigForUpdate, Project, Relation, RemoteDebugConfigForUpdate, ReservedCapacityOffering, ResourceConfigForUpdate, SearchSortOrder,
|
|
1
|
+
import { ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AppNetworkAccessType, AppSecurityGroupManagement, BooleanOperator, CfnUpdateTemplateProvider, Channel, CheckpointConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterRestrictedInstanceGroupSpecification, CodeEditorAppImageConfig, DeploymentConfiguration, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, ModelApprovalStatus, OutputDataConfig, OutputParameter, ResourceConfig, StoppingCondition, Tag, UserContext, VpcConfig } from "./models_0";
|
|
2
|
+
import { _InstanceType, ComputeQuotaConfig, ComputeQuotaTarget, DefaultSpaceSettings, DeploymentConfig, EdgeOutputConfig, FeatureDefinition, HubContentType, InferenceComponentRuntimeConfig, InferenceComponentSpecification, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, JobType, MetadataProperties, ModelCardStatus, ModelLifeCycle, ModelPackageModelCard, ModelVariantConfig, Processor, RetryStrategy, SchedulerConfig, ShadowModeConfig, TagPropagation, ThroughputMode, TrackingServerSize, UserSettings, VendorGuidance } from "./models_1";
|
|
3
|
+
import { CrossAccountFilterOption, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, ExperimentConfig, InstanceMetadataServiceConfiguration, MemberDefinition, ModelArtifacts, MonitoringScheduleConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, OidcConfig, ParallelismConfiguration, PartnerAppConfig, PartnerAppMaintenanceConfig, PipelineDefinitionS3Location, ProfilerConfig, ProfilerRuleConfiguration, ProvisioningParameter, RootAccess, SourceIpConfig, SpaceSettings, TensorBoardOutputConfig, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, WorkerAccessConfiguration, WorkforceIpAddressType, WorkforceVpcConfigRequest } from "./models_2";
|
|
4
|
+
import { DesiredWeightAndCapacity, Device, DomainSettingsForUpdate, Endpoint, Experiment, FeatureGroup, FeatureMetadata, FeatureParameter, Filter, GitConfigForUpdate, HubContentSupportStatus, HyperParameterTuningJobSearchEntity, InferenceComponentDeploymentConfig, InferenceExperimentStopDesiredState, MetricData, ReservedCapacityInstanceType, ResourceType, SageMakerResourceName, SecondaryStatus, SecondaryStatusTransition, SelectiveExecutionConfig, TrainingJobStatus, TrialComponentMetricSummary, TrialComponentSource, TrialSource, Workforce, Workteam } from "./models_3";
|
|
5
|
+
import { ModelCard, ModelDashboardModel, ModelPackage, ModelPackageGroup, ModelVariantAction, NestedFilters, OnlineStoreConfigUpdate, Parameter, Parent, Pipeline, PipelineExecution, PipelineVersion, ProcessingJob, ProfilerConfigForUpdate, Project, Relation, RemoteDebugConfigForUpdate, ReservedCapacityOffering, ResourceConfigForUpdate, SearchSortOrder, TransformJob, VisibilityConditions } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* <p>Contains information about a training job.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface TrainingJob {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The name of the training job.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
TrainingJobName?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The Amazon Resource Name (ARN) of the training job.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
TrainingJobArn?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
TuningJobArn?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The Amazon Resource Name (ARN) of the labeling job.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
LabelingJobArn?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The Amazon Resource Name (ARN) of the job.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
AutoMLJobArn?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>Information about the Amazon S3 location that is configured for storing model artifacts.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
ModelArtifacts?: ModelArtifacts | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The status of the training job.</p> <p>Training job statuses are:</p> <ul> <li> <p> <code>InProgress</code> - The training is in progress.</p> </li> <li> <p> <code>Completed</code> - The training job has completed.</p> </li> <li> <p> <code>Failed</code> - The training job has failed. To see the reason for the failure, see the <code>FailureReason</code> field in the response to a <code>DescribeTrainingJobResponse</code> call.</p> </li> <li> <p> <code>Stopping</code> - The training job is stopping.</p> </li> <li> <p> <code>Stopped</code> - The training job has stopped.</p> </li> </ul> <p>For more detailed information, see <code>SecondaryStatus</code>. </p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
TrainingJobStatus?: TrainingJobStatus | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p> Provides detailed information about the state of the training job. For detailed information about the secondary status of the training job, see <code>StatusMessage</code> under <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_SecondaryStatusTransition.html">SecondaryStatusTransition</a>.</p> <p>SageMaker provides primary statuses and secondary statuses that apply to each of them:</p> <dl> <dt>InProgress</dt> <dd> <ul> <li> <p> <code>Starting</code> - Starting the training job.</p> </li> <li> <p> <code>Downloading</code> - An optional stage for algorithms that support <code>File</code> training input mode. It indicates that data is being downloaded to the ML storage volumes.</p> </li> <li> <p> <code>Training</code> - Training is in progress.</p> </li> <li> <p> <code>Uploading</code> - Training is complete and the model artifacts are being uploaded to the S3 location.</p> </li> </ul> </dd> <dt>Completed</dt> <dd> <ul> <li> <p> <code>Completed</code> - The training job has completed.</p> </li> </ul> </dd> <dt>Failed</dt> <dd> <ul> <li> <p> <code>Failed</code> - The training job has failed. The reason for the failure is returned in the <code>FailureReason</code> field of <code>DescribeTrainingJobResponse</code>.</p> </li> </ul> </dd> <dt>Stopped</dt> <dd> <ul> <li> <p> <code>MaxRuntimeExceeded</code> - The job stopped because it exceeded the maximum allowed runtime.</p> </li> <li> <p> <code>Stopped</code> - The training job has stopped.</p> </li> </ul> </dd> <dt>Stopping</dt> <dd> <ul> <li> <p> <code>Stopping</code> - Stopping the training job.</p> </li> </ul> </dd> </dl> <important> <p>Valid values for <code>SecondaryStatus</code> are subject to change. </p> </important> <p>We no longer support the following secondary statuses:</p> <ul> <li> <p> <code>LaunchingMLInstances</code> </p> </li> <li> <p> <code>PreparingTrainingStack</code> </p> </li> <li> <p> <code>DownloadingTrainingImage</code> </p> </li> </ul>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
SecondaryStatus?: SecondaryStatus | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>If the training job failed, the reason it failed.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
FailureReason?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Algorithm-specific parameters.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
HyperParameters?: Record<string, string> | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>Information about the algorithm used for training, and algorithm metadata.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
AlgorithmSpecification?: AlgorithmSpecification | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
RoleArn?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>An array of <code>Channel</code> objects that describes each data input channel.</p> <p>Your input must be in the same Amazon Web Services region as your training job.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
InputDataConfig?: Channel[] | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* <p>The S3 path where model artifacts that you configured when creating the job are stored. SageMaker creates subfolders for model artifacts.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
OutputDataConfig?: OutputDataConfig | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>Resources, including ML compute instances and ML storage volumes, that are configured for model training.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
ResourceConfig?: ResourceConfig | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>A <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> object that specifies the VPC that this training job has access to. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs by Using an Amazon Virtual Private Cloud</a>.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
VpcConfig?: VpcConfig | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.</p> <p>To stop a job, SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. </p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
StoppingCondition?: StoppingCondition | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>A timestamp that indicates when the training job was created.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
CreationTime?: Date | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value of <code>TrainingEndTime</code>. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
TrainingStartTime?: Date | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>Indicates the time when the training job ends on training instances. You are billed for the time interval between the value of <code>TrainingStartTime</code> and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when SageMaker detects a job failure.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
TrainingEndTime?: Date | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>A timestamp that indicates when the status of the training job was last modified.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
LastModifiedTime?: Date | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>A history of all of the secondary statuses that the training job has transitioned through.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
SecondaryStatusTransitions?: SecondaryStatusTransition[] | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>A list of final metric values that are set when the training job completes. Used only if the training job was configured to use metrics.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
FinalMetricDataList?: MetricData[] | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>If the <code>TrainingJob</code> was created with network isolation, the value is set to <code>true</code>. If network isolation is enabled, nodes can't communicate beyond the VPC they run in.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
EnableNetworkIsolation?: boolean | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* <p>To encrypt all communications between ML compute instances in distributed training, choose <code>True</code>. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
EnableInterContainerTrafficEncryption?: boolean | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* <p>When true, enables managed spot training using Amazon EC2 Spot instances to run training jobs instead of on-demand instances. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html">Managed Spot Training</a>.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
EnableManagedSpotTraining?: boolean | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>Contains information about the output location for managed spot training checkpoint data. </p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
CheckpointConfig?: CheckpointConfig | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The training time in seconds.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
TrainingTimeInSeconds?: number | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* <p>The billable time in seconds.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
BillableTimeInSeconds?: number | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>Configuration information for the Amazon SageMaker Debugger hook parameters, metric and tensor collections, and storage paths. To learn more about how to configure the <code>DebugHookConfig</code> parameter, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html">Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job</a>.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
DebugHookConfig?: DebugHookConfig | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* <p>Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateProcessingJob.html">CreateProcessingJob</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html">CreateTrainingJob</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTransformJob.html">CreateTransformJob</a> </p> </li> </ul>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
ExperimentConfig?: ExperimentConfig | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* <p>Information about the debug rule configuration.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
DebugRuleConfigurations?: DebugRuleConfiguration[] | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* <p>Configuration of storage locations for the Amazon SageMaker Debugger TensorBoard output data.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
TensorBoardOutputConfig?: TensorBoardOutputConfig | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>Information about the evaluation status of the rules for the training job.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
DebugRuleEvaluationStatuses?: DebugRuleEvaluationStatus[] | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>Configuration information for Amazon SageMaker Debugger system monitoring, framework profiling, and storage paths.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
ProfilerConfig?: ProfilerConfig | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>The environment variables to set in the Docker container.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
Environment?: Record<string, string> | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* <p>The number of times to retry the job when the job fails due to an <code>InternalServerError</code>.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
RetryStrategy?: RetryStrategy | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
Tags?: Tag[] | undefined;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* <p>A short summary of a trial component.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export interface TrialComponentSimpleSummary {
|
|
207
|
+
/**
|
|
208
|
+
* <p>The name of the trial component.</p>
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
TrialComponentName?: string | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* <p>The Amazon Resource Name (ARN) of the trial component.</p>
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
TrialComponentArn?: string | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* <p>The Amazon Resource Name (ARN) and job type of the source of a trial component.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
TrialComponentSource?: TrialComponentSource | undefined;
|
|
222
|
+
/**
|
|
223
|
+
* <p>When the component was created.</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
CreationTime?: Date | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* <p>Information about the user who created or modified a SageMaker resource.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
CreatedBy?: UserContext | undefined;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* <p>The properties of a trial as returned by the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Search.html">Search</a> API.</p>
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export interface Trial {
|
|
238
|
+
/**
|
|
239
|
+
* <p>The name of the trial.</p>
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
TrialName?: string | undefined;
|
|
243
|
+
/**
|
|
244
|
+
* <p>The Amazon Resource Name (ARN) of the trial.</p>
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
TrialArn?: string | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't specified, <code>TrialName</code> is displayed.</p>
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
DisplayName?: string | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* <p>The name of the experiment the trial is part of.</p>
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
ExperimentName?: string | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* <p>The source of the trial.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
Source?: TrialSource | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* <p>When the trial was created.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
CreationTime?: Date | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* <p>Who created the trial.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
CreatedBy?: UserContext | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* <p>Who last modified the trial.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
LastModifiedTime?: Date | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* <p>Information about the user who created or modified a SageMaker resource.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
LastModifiedBy?: UserContext | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* <p>Metadata properties of the tracking entity, trial, or trial component.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
MetadataProperties?: MetadataProperties | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The list of tags that are associated with the trial. You can use <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Search.html">Search</a> API to search on the tags.</p>
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
Tags?: Tag[] | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* <p>A list of the components associated with the trial. For each component, a summary of the component's properties is included.</p>
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
TrialComponentSummaries?: TrialComponentSimpleSummary[] | undefined;
|
|
298
|
+
}
|
|
6
299
|
/**
|
|
7
300
|
* <p>Detailed information about the source of a trial component. Either <code>ProcessingJob</code> or <code>TrainingJob</code> is returned.</p>
|
|
8
301
|
* @public
|
|
@@ -2590,6 +2883,11 @@ export interface UpdateWorkforceRequest {
|
|
|
2590
2883
|
* @public
|
|
2591
2884
|
*/
|
|
2592
2885
|
WorkforceVpcConfig?: WorkforceVpcConfigRequest | undefined;
|
|
2886
|
+
/**
|
|
2887
|
+
* <p>Use this parameter to specify whether you want <code>IPv4</code> only or <code>dualstack</code> (<code>IPv4</code> and <code>IPv6</code>) to support your labeling workforce.</p>
|
|
2888
|
+
* @public
|
|
2889
|
+
*/
|
|
2890
|
+
IpAddressType?: WorkforceIpAddressType | undefined;
|
|
2593
2891
|
}
|
|
2594
2892
|
/**
|
|
2595
2893
|
* @public
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
DescribeEndpointOutput,
|
|
6
|
-
} from "../models/models_2";
|
|
3
|
+
import { DescribeEndpointInput } from "../models/models_2";
|
|
4
|
+
import { DescribeEndpointOutput } from "../models/models_3";
|
|
7
5
|
import {
|
|
8
6
|
SageMakerClientResolvedConfig,
|
|
9
7
|
ServiceInputTypes,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListAppsRequest } from "../models/
|
|
4
|
-
import { ListAppsResponse } from "../models/models_4";
|
|
3
|
+
import { ListAppsRequest, ListAppsResponse } from "../models/models_4";
|
|
5
4
|
import {
|
|
6
5
|
SageMakerClientResolvedConfig,
|
|
7
6
|
ServiceInputTypes,
|
|
@@ -2289,7 +2289,7 @@ export interface ClarifyExplainerConfig {
|
|
|
2289
2289
|
ShapConfig: ClarifyShapConfig | undefined;
|
|
2290
2290
|
}
|
|
2291
2291
|
export interface ClusterEbsVolumeConfig {
|
|
2292
|
-
VolumeSizeInGB
|
|
2292
|
+
VolumeSizeInGB?: number | undefined;
|
|
2293
2293
|
}
|
|
2294
2294
|
export type ClusterInstanceStorageConfig =
|
|
2295
2295
|
| ClusterInstanceStorageConfig.EbsVolumeConfigMember
|
|
@@ -2808,7 +2808,7 @@ export type CompleteOnConvergence =
|
|
|
2808
2808
|
(typeof CompleteOnConvergence)[keyof typeof CompleteOnConvergence];
|
|
2809
2809
|
export interface ComputeQuotaResourceConfig {
|
|
2810
2810
|
InstanceType: ClusterInstanceType | undefined;
|
|
2811
|
-
Count
|
|
2811
|
+
Count?: number | undefined;
|
|
2812
2812
|
}
|
|
2813
2813
|
export declare const PreemptTeamTasks: {
|
|
2814
2814
|
readonly LOWERPRIORITY: "LowerPriority";
|
|
@@ -731,29 +731,44 @@ export interface FSxLustreFileSystemConfig {
|
|
|
731
731
|
FileSystemId: string | undefined;
|
|
732
732
|
FileSystemPath?: string | undefined;
|
|
733
733
|
}
|
|
734
|
+
export interface S3FileSystemConfig {
|
|
735
|
+
MountPath?: string | undefined;
|
|
736
|
+
S3Uri?: string | undefined;
|
|
737
|
+
}
|
|
734
738
|
export type CustomFileSystemConfig =
|
|
735
739
|
| CustomFileSystemConfig.EFSFileSystemConfigMember
|
|
736
740
|
| CustomFileSystemConfig.FSxLustreFileSystemConfigMember
|
|
741
|
+
| CustomFileSystemConfig.S3FileSystemConfigMember
|
|
737
742
|
| CustomFileSystemConfig.$UnknownMember;
|
|
738
743
|
export declare namespace CustomFileSystemConfig {
|
|
739
744
|
interface EFSFileSystemConfigMember {
|
|
740
745
|
EFSFileSystemConfig: EFSFileSystemConfig;
|
|
741
746
|
FSxLustreFileSystemConfig?: never;
|
|
747
|
+
S3FileSystemConfig?: never;
|
|
742
748
|
$unknown?: never;
|
|
743
749
|
}
|
|
744
750
|
interface FSxLustreFileSystemConfigMember {
|
|
745
751
|
EFSFileSystemConfig?: never;
|
|
746
752
|
FSxLustreFileSystemConfig: FSxLustreFileSystemConfig;
|
|
753
|
+
S3FileSystemConfig?: never;
|
|
754
|
+
$unknown?: never;
|
|
755
|
+
}
|
|
756
|
+
interface S3FileSystemConfigMember {
|
|
757
|
+
EFSFileSystemConfig?: never;
|
|
758
|
+
FSxLustreFileSystemConfig?: never;
|
|
759
|
+
S3FileSystemConfig: S3FileSystemConfig;
|
|
747
760
|
$unknown?: never;
|
|
748
761
|
}
|
|
749
762
|
interface $UnknownMember {
|
|
750
763
|
EFSFileSystemConfig?: never;
|
|
751
764
|
FSxLustreFileSystemConfig?: never;
|
|
765
|
+
S3FileSystemConfig?: never;
|
|
752
766
|
$unknown: [string, any];
|
|
753
767
|
}
|
|
754
768
|
interface Visitor<T> {
|
|
755
769
|
EFSFileSystemConfig: (value: EFSFileSystemConfig) => T;
|
|
756
770
|
FSxLustreFileSystemConfig: (value: FSxLustreFileSystemConfig) => T;
|
|
771
|
+
S3FileSystemConfig: (value: S3FileSystemConfig) => T;
|
|
757
772
|
_: (name: string, value: any) => T;
|
|
758
773
|
}
|
|
759
774
|
const visit: <T>(value: CustomFileSystemConfig, visitor: Visitor<T>) => T;
|
|
@@ -2149,10 +2164,6 @@ export interface ModelDataQuality {
|
|
|
2149
2164
|
Statistics?: MetricsSource | undefined;
|
|
2150
2165
|
Constraints?: MetricsSource | undefined;
|
|
2151
2166
|
}
|
|
2152
|
-
export interface ModelQuality {
|
|
2153
|
-
Statistics?: MetricsSource | undefined;
|
|
2154
|
-
Constraints?: MetricsSource | undefined;
|
|
2155
|
-
}
|
|
2156
2167
|
export declare const CreateModelCardRequestFilterSensitiveLog: (
|
|
2157
2168
|
obj: CreateModelCardRequest
|
|
2158
2169
|
) => any;
|
|
@@ -13,7 +13,6 @@ import {
|
|
|
13
13
|
AppStatus,
|
|
14
14
|
AppType,
|
|
15
15
|
ArtifactSource,
|
|
16
|
-
AsyncInferenceConfig,
|
|
17
16
|
AthenaDatasetDefinition,
|
|
18
17
|
AuthMode,
|
|
19
18
|
AutoMLCandidate,
|
|
@@ -37,7 +36,6 @@ import {
|
|
|
37
36
|
BatchStrategy,
|
|
38
37
|
BatchTransformInput,
|
|
39
38
|
Bias,
|
|
40
|
-
CapacityReservationPreference,
|
|
41
39
|
CaptureStatus,
|
|
42
40
|
CfnCreateTemplateProvider,
|
|
43
41
|
Channel,
|
|
@@ -59,6 +57,7 @@ import {
|
|
|
59
57
|
InferenceSpecification,
|
|
60
58
|
JupyterLabAppImageConfig,
|
|
61
59
|
KernelGatewayImageConfig,
|
|
60
|
+
MetricsSource,
|
|
62
61
|
ModelApprovalStatus,
|
|
63
62
|
ModelDataSource,
|
|
64
63
|
OutputDataConfig,
|
|
@@ -87,7 +86,6 @@ import {
|
|
|
87
86
|
DataQualityBaselineConfig,
|
|
88
87
|
DataQualityJobInput,
|
|
89
88
|
DefaultSpaceSettings,
|
|
90
|
-
DeploymentConfig,
|
|
91
89
|
DeviceSelectionConfig,
|
|
92
90
|
DomainSettings,
|
|
93
91
|
DriftCheckBaselines,
|
|
@@ -97,7 +95,6 @@ import {
|
|
|
97
95
|
EdgePresetDeploymentType,
|
|
98
96
|
EndpointInput,
|
|
99
97
|
Explainability,
|
|
100
|
-
ExplainerConfig,
|
|
101
98
|
HubContentType,
|
|
102
99
|
InputConfig,
|
|
103
100
|
JupyterServerAppSettings,
|
|
@@ -107,7 +104,6 @@ import {
|
|
|
107
104
|
ModelDeployConfig,
|
|
108
105
|
ModelLifeCycle,
|
|
109
106
|
ModelPackageModelCard,
|
|
110
|
-
ModelQuality,
|
|
111
107
|
MonitoringConstraintsResource,
|
|
112
108
|
MonitoringGroundTruthS3Input,
|
|
113
109
|
MonitoringNetworkConfig,
|
|
@@ -129,6 +125,10 @@ import {
|
|
|
129
125
|
TrainingSpecification,
|
|
130
126
|
UserSettings,
|
|
131
127
|
} from "./models_1";
|
|
128
|
+
export interface ModelQuality {
|
|
129
|
+
Statistics?: MetricsSource | undefined;
|
|
130
|
+
Constraints?: MetricsSource | undefined;
|
|
131
|
+
}
|
|
132
132
|
export interface ModelMetrics {
|
|
133
133
|
ModelQuality?: ModelQuality | undefined;
|
|
134
134
|
ModelDataQuality?: ModelDataQuality | undefined;
|
|
@@ -737,29 +737,43 @@ export interface EFSFileSystem {
|
|
|
737
737
|
export interface FSxLustreFileSystem {
|
|
738
738
|
FileSystemId: string | undefined;
|
|
739
739
|
}
|
|
740
|
+
export interface S3FileSystem {
|
|
741
|
+
S3Uri?: string | undefined;
|
|
742
|
+
}
|
|
740
743
|
export type CustomFileSystem =
|
|
741
744
|
| CustomFileSystem.EFSFileSystemMember
|
|
742
745
|
| CustomFileSystem.FSxLustreFileSystemMember
|
|
746
|
+
| CustomFileSystem.S3FileSystemMember
|
|
743
747
|
| CustomFileSystem.$UnknownMember;
|
|
744
748
|
export declare namespace CustomFileSystem {
|
|
745
749
|
interface EFSFileSystemMember {
|
|
746
750
|
EFSFileSystem: EFSFileSystem;
|
|
747
751
|
FSxLustreFileSystem?: never;
|
|
752
|
+
S3FileSystem?: never;
|
|
748
753
|
$unknown?: never;
|
|
749
754
|
}
|
|
750
755
|
interface FSxLustreFileSystemMember {
|
|
751
756
|
EFSFileSystem?: never;
|
|
752
757
|
FSxLustreFileSystem: FSxLustreFileSystem;
|
|
758
|
+
S3FileSystem?: never;
|
|
759
|
+
$unknown?: never;
|
|
760
|
+
}
|
|
761
|
+
interface S3FileSystemMember {
|
|
762
|
+
EFSFileSystem?: never;
|
|
763
|
+
FSxLustreFileSystem?: never;
|
|
764
|
+
S3FileSystem: S3FileSystem;
|
|
753
765
|
$unknown?: never;
|
|
754
766
|
}
|
|
755
767
|
interface $UnknownMember {
|
|
756
768
|
EFSFileSystem?: never;
|
|
757
769
|
FSxLustreFileSystem?: never;
|
|
770
|
+
S3FileSystem?: never;
|
|
758
771
|
$unknown: [string, any];
|
|
759
772
|
}
|
|
760
773
|
interface Visitor<T> {
|
|
761
774
|
EFSFileSystem: (value: EFSFileSystem) => T;
|
|
762
775
|
FSxLustreFileSystem: (value: FSxLustreFileSystem) => T;
|
|
776
|
+
S3FileSystem: (value: S3FileSystem) => T;
|
|
763
777
|
_: (name: string, value: any) => T;
|
|
764
778
|
}
|
|
765
779
|
const visit: <T>(value: CustomFileSystem, visitor: Visitor<T>) => T;
|
|
@@ -1020,6 +1034,12 @@ export interface CreateUserProfileRequest {
|
|
|
1020
1034
|
export interface CreateUserProfileResponse {
|
|
1021
1035
|
UserProfileArn?: string | undefined;
|
|
1022
1036
|
}
|
|
1037
|
+
export declare const WorkforceIpAddressType: {
|
|
1038
|
+
readonly dualstack: "dualstack";
|
|
1039
|
+
readonly ipv4: "ipv4";
|
|
1040
|
+
};
|
|
1041
|
+
export type WorkforceIpAddressType =
|
|
1042
|
+
(typeof WorkforceIpAddressType)[keyof typeof WorkforceIpAddressType];
|
|
1023
1043
|
export interface OidcConfig {
|
|
1024
1044
|
ClientId: string | undefined;
|
|
1025
1045
|
ClientSecret: string | undefined;
|
|
@@ -1047,6 +1067,7 @@ export interface CreateWorkforceRequest {
|
|
|
1047
1067
|
WorkforceName: string | undefined;
|
|
1048
1068
|
Tags?: Tag[] | undefined;
|
|
1049
1069
|
WorkforceVpcConfig?: WorkforceVpcConfigRequest | undefined;
|
|
1070
|
+
IpAddressType?: WorkforceIpAddressType | undefined;
|
|
1050
1071
|
}
|
|
1051
1072
|
export interface CreateWorkforceResponse {
|
|
1052
1073
|
WorkforceArn: string | undefined;
|
|
@@ -1900,46 +1921,6 @@ export interface Ec2CapacityReservation {
|
|
|
1900
1921
|
AvailableInstanceCount?: number | undefined;
|
|
1901
1922
|
UsedByCurrentEndpoint?: number | undefined;
|
|
1902
1923
|
}
|
|
1903
|
-
export interface ProductionVariantCapacityReservationSummary {
|
|
1904
|
-
MlReservationArn?: string | undefined;
|
|
1905
|
-
CapacityReservationPreference?: CapacityReservationPreference | undefined;
|
|
1906
|
-
TotalInstanceCount?: number | undefined;
|
|
1907
|
-
AvailableInstanceCount?: number | undefined;
|
|
1908
|
-
UsedByCurrentEndpoint?: number | undefined;
|
|
1909
|
-
Ec2CapacityReservations?: Ec2CapacityReservation[] | undefined;
|
|
1910
|
-
}
|
|
1911
|
-
export interface ProductionVariantSummary {
|
|
1912
|
-
VariantName: string | undefined;
|
|
1913
|
-
DeployedImages?: DeployedImage[] | undefined;
|
|
1914
|
-
CurrentWeight?: number | undefined;
|
|
1915
|
-
DesiredWeight?: number | undefined;
|
|
1916
|
-
CurrentInstanceCount?: number | undefined;
|
|
1917
|
-
DesiredInstanceCount?: number | undefined;
|
|
1918
|
-
VariantStatus?: ProductionVariantStatus[] | undefined;
|
|
1919
|
-
CurrentServerlessConfig?: ProductionVariantServerlessConfig | undefined;
|
|
1920
|
-
DesiredServerlessConfig?: ProductionVariantServerlessConfig | undefined;
|
|
1921
|
-
ManagedInstanceScaling?: ProductionVariantManagedInstanceScaling | undefined;
|
|
1922
|
-
RoutingConfig?: ProductionVariantRoutingConfig | undefined;
|
|
1923
|
-
CapacityReservationConfig?:
|
|
1924
|
-
| ProductionVariantCapacityReservationSummary
|
|
1925
|
-
| undefined;
|
|
1926
|
-
}
|
|
1927
|
-
export interface DescribeEndpointOutput {
|
|
1928
|
-
EndpointName: string | undefined;
|
|
1929
|
-
EndpointArn: string | undefined;
|
|
1930
|
-
EndpointConfigName?: string | undefined;
|
|
1931
|
-
ProductionVariants?: ProductionVariantSummary[] | undefined;
|
|
1932
|
-
DataCaptureConfig?: DataCaptureConfigSummary | undefined;
|
|
1933
|
-
EndpointStatus: EndpointStatus | undefined;
|
|
1934
|
-
FailureReason?: string | undefined;
|
|
1935
|
-
CreationTime: Date | undefined;
|
|
1936
|
-
LastModifiedTime: Date | undefined;
|
|
1937
|
-
LastDeploymentConfig?: DeploymentConfig | undefined;
|
|
1938
|
-
AsyncInferenceConfig?: AsyncInferenceConfig | undefined;
|
|
1939
|
-
PendingDeploymentSummary?: PendingDeploymentSummary | undefined;
|
|
1940
|
-
ExplainerConfig?: ExplainerConfig | undefined;
|
|
1941
|
-
ShadowProductionVariants?: ProductionVariantSummary[] | undefined;
|
|
1942
|
-
}
|
|
1943
1924
|
export declare const CreateModelPackageInputFilterSensitiveLog: (
|
|
1944
1925
|
obj: CreateModelPackageInput
|
|
1945
1926
|
) => any;
|