@aws-sdk/client-sagemaker 3.937.0 → 3.939.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 +227 -45
- package/dist-es/models/enums.js +21 -0
- package/dist-es/schemas/schemas_0.js +203 -45
- package/dist-types/commands/CreateClusterCommand.d.ts +17 -0
- package/dist-types/commands/CreateOptimizationJobCommand.d.ts +15 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateTrainingPlanCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +30 -0
- package/dist-types/commands/DescribeClusterEventCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +23 -0
- package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +15 -1
- package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -2
- package/dist-types/commands/ListOptimizationJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListTrainingPlansCommand.d.ts +2 -1
- package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +17 -0
- package/dist-types/models/enums.d.ts +61 -0
- package/dist-types/models/models_0.d.ts +168 -163
- package/dist-types/models/models_1.d.ts +239 -226
- package/dist-types/models/models_2.d.ts +231 -436
- package/dist-types/models/models_3.d.ts +4027 -3937
- package/dist-types/models/models_4.d.ts +352 -4
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/commands/CreateTrainingJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateTrainingPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrainingPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListTrainingPlansCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +31 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -40
- package/dist-types/ts3.4/models/models_1.d.ts +69 -64
- package/dist-types/ts3.4/models/models_2.d.ts +59 -105
- package/dist-types/ts3.4/models/models_3.d.ts +109 -85
- package/dist-types/ts3.4/models/models_4.d.ts +88 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionStatus, ActivationState, AdditionalS3DataSourceDataType, AggregationTransformationValue, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterConfigMode, ClusterEventResourceType, ClusterInstanceStatus, ClusterInstanceType, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CompleteOnConvergence, CompressionType, ConditionOutcome, ContainerMode, DataSourceName, DeepHealthCheckType, DetailedAlgorithmStatus, FairShare, FeatureStatus, FileSystemAccessMode, FileSystemType, FillingType, Framework, HyperParameterScalingType, HyperParameterTuningJobObjectiveType, InstanceGroupStatus, LifecycleManagement, MetricSetSource, MIGProfileType, ModelApprovalStatus, ModelCacheSetting, ModelCompressionType, ModelPackageStatus, NodeUnavailabilityType, ObjectiveStatus, OutputCompressionType, ParameterType, PreemptTeamTasks, ProblemType,
|
|
1
|
+
import { ActionStatus, ActivationState, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterConfigMode, ClusterEventResourceType, ClusterInstanceStatus, ClusterInstanceType, ClusterKubernetesTaintEffect, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CompilationJobStatus, CompleteOnConvergence, CompressionType, ConditionOutcome, ContainerMode, DataSourceName, DeepHealthCheckType, DetailedAlgorithmStatus, FairShare, FeatureStatus, FileSystemAccessMode, FileSystemType, FillingType, Framework, HyperParameterScalingType, HyperParameterTuningJobObjectiveType, InstanceGroupStatus, LifecycleManagement, MetricSetSource, MIGProfileType, ModelApprovalStatus, ModelCacheSetting, ModelCompressionType, ModelPackageStatus, NodeUnavailabilityType, ObjectiveStatus, OutputCompressionType, ParameterType, PreemptTeamTasks, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, RecordWrapper, RepositoryAccessMode, ResourceSharingStrategy, S3DataDistribution, S3DataType, S3ModelDataType, SchedulerResourceStatus, SoftwareUpdateStatus, SplitType, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrafficRoutingConfigType, TrainingInputMode, TrainingInstanceType, TrainingRepositoryAccessMode, TransformInstanceType, VolumeAttachmentStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Configuration for allocating accelerator partitions.</p>
|
|
4
4
|
* @public
|
|
@@ -4290,6 +4290,34 @@ export interface ClusterAutoScalingConfigOutput {
|
|
|
4290
4290
|
*/
|
|
4291
4291
|
FailureMessage?: string | undefined;
|
|
4292
4292
|
}
|
|
4293
|
+
/**
|
|
4294
|
+
* <p>Configuration options specific to On-Demand instances.</p>
|
|
4295
|
+
* @public
|
|
4296
|
+
*/
|
|
4297
|
+
export interface ClusterOnDemandOptions {
|
|
4298
|
+
}
|
|
4299
|
+
/**
|
|
4300
|
+
* <p>Configuration options specific to Spot instances.</p>
|
|
4301
|
+
* @public
|
|
4302
|
+
*/
|
|
4303
|
+
export interface ClusterSpotOptions {
|
|
4304
|
+
}
|
|
4305
|
+
/**
|
|
4306
|
+
* <p>Defines the instance capacity requirements for an instance group, including configurations for both Spot and On-Demand capacity types. </p>
|
|
4307
|
+
* @public
|
|
4308
|
+
*/
|
|
4309
|
+
export interface ClusterCapacityRequirements {
|
|
4310
|
+
/**
|
|
4311
|
+
* <p>Configuration options specific to Spot instances.</p>
|
|
4312
|
+
* @public
|
|
4313
|
+
*/
|
|
4314
|
+
Spot?: ClusterSpotOptions | undefined;
|
|
4315
|
+
/**
|
|
4316
|
+
* <p>Configuration options specific to On-Demand instances.</p>
|
|
4317
|
+
* @public
|
|
4318
|
+
*/
|
|
4319
|
+
OnDemand?: ClusterOnDemandOptions | undefined;
|
|
4320
|
+
}
|
|
4293
4321
|
/**
|
|
4294
4322
|
* <p>Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group. To learn more, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620">SageMaker HyperPod release notes: June 20, 2024</a>.</p>
|
|
4295
4323
|
* @public
|
|
@@ -4419,6 +4447,11 @@ export interface InstanceGroupScalingMetadata {
|
|
|
4419
4447
|
* @public
|
|
4420
4448
|
*/
|
|
4421
4449
|
TargetCount?: number | undefined;
|
|
4450
|
+
/**
|
|
4451
|
+
* <p>Minimum instance count of the instance group.</p>
|
|
4452
|
+
* @public
|
|
4453
|
+
*/
|
|
4454
|
+
MinCount?: number | undefined;
|
|
4422
4455
|
/**
|
|
4423
4456
|
* <p>An error message describing why the scaling operation failed, if applicable.</p>
|
|
4424
4457
|
* @public
|
|
@@ -4678,6 +4711,53 @@ export declare namespace ClusterInstanceStorageConfig {
|
|
|
4678
4711
|
_: (name: string, value: any) => T;
|
|
4679
4712
|
}
|
|
4680
4713
|
}
|
|
4714
|
+
/**
|
|
4715
|
+
* <p>A Kubernetes taint that can be applied to cluster nodes.</p>
|
|
4716
|
+
* @public
|
|
4717
|
+
*/
|
|
4718
|
+
export interface ClusterKubernetesTaint {
|
|
4719
|
+
/**
|
|
4720
|
+
* <p>The key of the taint.</p>
|
|
4721
|
+
* @public
|
|
4722
|
+
*/
|
|
4723
|
+
Key: string | undefined;
|
|
4724
|
+
/**
|
|
4725
|
+
* <p>The value of the taint.</p>
|
|
4726
|
+
* @public
|
|
4727
|
+
*/
|
|
4728
|
+
Value?: string | undefined;
|
|
4729
|
+
/**
|
|
4730
|
+
* <p>The effect of the taint. Valid values are <code>NoSchedule</code>, <code>PreferNoSchedule</code>, and <code>NoExecute</code>. </p>
|
|
4731
|
+
* @public
|
|
4732
|
+
*/
|
|
4733
|
+
Effect: ClusterKubernetesTaintEffect | undefined;
|
|
4734
|
+
}
|
|
4735
|
+
/**
|
|
4736
|
+
* <p>Detailed Kubernetes configuration showing both the current and desired state of labels and taints for cluster nodes. </p>
|
|
4737
|
+
* @public
|
|
4738
|
+
*/
|
|
4739
|
+
export interface ClusterKubernetesConfigDetails {
|
|
4740
|
+
/**
|
|
4741
|
+
* <p>The current labels applied to cluster nodes of an instance group.</p>
|
|
4742
|
+
* @public
|
|
4743
|
+
*/
|
|
4744
|
+
CurrentLabels?: Record<string, string> | undefined;
|
|
4745
|
+
/**
|
|
4746
|
+
* <p>The desired labels to be applied to cluster nodes of an instance group.</p>
|
|
4747
|
+
* @public
|
|
4748
|
+
*/
|
|
4749
|
+
DesiredLabels?: Record<string, string> | undefined;
|
|
4750
|
+
/**
|
|
4751
|
+
* <p>The current taints applied to cluster nodes of an instance group.</p>
|
|
4752
|
+
* @public
|
|
4753
|
+
*/
|
|
4754
|
+
CurrentTaints?: ClusterKubernetesTaint[] | undefined;
|
|
4755
|
+
/**
|
|
4756
|
+
* <p>The desired taints to be applied to cluster nodes of an instance group.</p>
|
|
4757
|
+
* @public
|
|
4758
|
+
*/
|
|
4759
|
+
DesiredTaints?: ClusterKubernetesTaint[] | undefined;
|
|
4760
|
+
}
|
|
4681
4761
|
/**
|
|
4682
4762
|
* <p>The lifecycle configuration for a SageMaker HyperPod cluster.</p>
|
|
4683
4763
|
* @public
|
|
@@ -4725,6 +4805,11 @@ export interface ClusterInstanceGroupDetails {
|
|
|
4725
4805
|
* @public
|
|
4726
4806
|
*/
|
|
4727
4807
|
TargetCount?: number | undefined;
|
|
4808
|
+
/**
|
|
4809
|
+
* <p>The minimum number of instances that must be available in the instance group of a SageMaker HyperPod cluster before it transitions to <code>InService</code> status. </p>
|
|
4810
|
+
* @public
|
|
4811
|
+
*/
|
|
4812
|
+
MinCount?: number | undefined;
|
|
4728
4813
|
/**
|
|
4729
4814
|
* <p>The name of the instance group of a SageMaker HyperPod cluster.</p>
|
|
4730
4815
|
* @public
|
|
@@ -4795,6 +4880,21 @@ export interface ClusterInstanceGroupDetails {
|
|
|
4795
4880
|
* @public
|
|
4796
4881
|
*/
|
|
4797
4882
|
DesiredImageId?: string | undefined;
|
|
4883
|
+
/**
|
|
4884
|
+
* <p>A map indicating active operations currently in progress for the instance group of a SageMaker HyperPod cluster. When there is a scaling operation in progress, this map contains a key <code>Scaling</code> with value 1. </p>
|
|
4885
|
+
* @public
|
|
4886
|
+
*/
|
|
4887
|
+
ActiveOperations?: Partial<Record<ActiveClusterOperationName, number>> | undefined;
|
|
4888
|
+
/**
|
|
4889
|
+
* <p>The Kubernetes configuration for the instance group that contains labels and taints to be applied for the nodes in this instance group. </p>
|
|
4890
|
+
* @public
|
|
4891
|
+
*/
|
|
4892
|
+
KubernetesConfig?: ClusterKubernetesConfigDetails | undefined;
|
|
4893
|
+
/**
|
|
4894
|
+
* <p>The instance capacity requirements for the instance group.</p>
|
|
4895
|
+
* @public
|
|
4896
|
+
*/
|
|
4897
|
+
CapacityRequirements?: ClusterCapacityRequirements | undefined;
|
|
4798
4898
|
/**
|
|
4799
4899
|
* <p>The number of nodes running a specific image ID since the last software update request.</p>
|
|
4800
4900
|
* @public
|
|
@@ -4811,6 +4911,22 @@ export interface ClusterInstanceGroupDetails {
|
|
|
4811
4911
|
*/
|
|
4812
4912
|
ActiveSoftwareUpdateConfig?: DeploymentConfiguration | undefined;
|
|
4813
4913
|
}
|
|
4914
|
+
/**
|
|
4915
|
+
* <p>Kubernetes configuration that specifies labels and taints to be applied to cluster nodes in an instance group. </p>
|
|
4916
|
+
* @public
|
|
4917
|
+
*/
|
|
4918
|
+
export interface ClusterKubernetesConfig {
|
|
4919
|
+
/**
|
|
4920
|
+
* <p>Key-value pairs of labels to be applied to cluster nodes.</p>
|
|
4921
|
+
* @public
|
|
4922
|
+
*/
|
|
4923
|
+
Labels?: Record<string, string> | undefined;
|
|
4924
|
+
/**
|
|
4925
|
+
* <p>List of taints to be applied to cluster nodes.</p>
|
|
4926
|
+
* @public
|
|
4927
|
+
*/
|
|
4928
|
+
Taints?: ClusterKubernetesTaint[] | undefined;
|
|
4929
|
+
}
|
|
4814
4930
|
/**
|
|
4815
4931
|
* <p>The specifications of an instance group that you need to define.</p>
|
|
4816
4932
|
* @public
|
|
@@ -4821,6 +4937,11 @@ export interface ClusterInstanceGroupSpecification {
|
|
|
4821
4937
|
* @public
|
|
4822
4938
|
*/
|
|
4823
4939
|
InstanceCount: number | undefined;
|
|
4940
|
+
/**
|
|
4941
|
+
* <p>Defines the minimum number of instances required for an instance group to become <code>InService</code>. If this threshold isn't met within 3 hours, the instance group rolls back to its previous state - zero instances for new instance groups, or previous settings for existing instance groups. <code>MinInstanceCount</code> only affects the initial transition to <code>InService</code> and does not guarantee maintaining this minimum afterward. </p>
|
|
4942
|
+
* @public
|
|
4943
|
+
*/
|
|
4944
|
+
MinInstanceCount?: number | undefined;
|
|
4824
4945
|
/**
|
|
4825
4946
|
* <p>Specifies the name of the instance group.</p>
|
|
4826
4947
|
* @public
|
|
@@ -4876,6 +4997,16 @@ export interface ClusterInstanceGroupSpecification {
|
|
|
4876
4997
|
* @public
|
|
4877
4998
|
*/
|
|
4878
4999
|
ImageId?: string | undefined;
|
|
5000
|
+
/**
|
|
5001
|
+
* <p>Specifies the Kubernetes configuration for the instance group. You describe what you want the labels and taints to look like, and the cluster works to reconcile the actual state with the declared state for nodes in this instance group. </p>
|
|
5002
|
+
* @public
|
|
5003
|
+
*/
|
|
5004
|
+
KubernetesConfig?: ClusterKubernetesConfig | undefined;
|
|
5005
|
+
/**
|
|
5006
|
+
* <p>Specifies the capacity requirements for the instance group.</p>
|
|
5007
|
+
* @public
|
|
5008
|
+
*/
|
|
5009
|
+
CapacityRequirements?: ClusterCapacityRequirements | undefined;
|
|
4879
5010
|
}
|
|
4880
5011
|
/**
|
|
4881
5012
|
* <p>Specifies the placement details for the node in the SageMaker HyperPod cluster, including the Availability Zone and the unique identifier (ID) of the Availability Zone.</p>
|
|
@@ -4909,6 +5040,32 @@ export interface ClusterInstanceStatusDetails {
|
|
|
4909
5040
|
*/
|
|
4910
5041
|
Message?: string | undefined;
|
|
4911
5042
|
}
|
|
5043
|
+
/**
|
|
5044
|
+
* <p>Node-specific Kubernetes configuration showing both current and desired state of labels and taints for an individual cluster node. </p>
|
|
5045
|
+
* @public
|
|
5046
|
+
*/
|
|
5047
|
+
export interface ClusterKubernetesConfigNodeDetails {
|
|
5048
|
+
/**
|
|
5049
|
+
* <p>The current labels applied to the cluster node.</p>
|
|
5050
|
+
* @public
|
|
5051
|
+
*/
|
|
5052
|
+
CurrentLabels?: Record<string, string> | undefined;
|
|
5053
|
+
/**
|
|
5054
|
+
* <p>The desired labels to be applied to the cluster node.</p>
|
|
5055
|
+
* @public
|
|
5056
|
+
*/
|
|
5057
|
+
DesiredLabels?: Record<string, string> | undefined;
|
|
5058
|
+
/**
|
|
5059
|
+
* <p>The current taints applied to the cluster node.</p>
|
|
5060
|
+
* @public
|
|
5061
|
+
*/
|
|
5062
|
+
CurrentTaints?: ClusterKubernetesTaint[] | undefined;
|
|
5063
|
+
/**
|
|
5064
|
+
* <p>The desired taints to be applied to the cluster node.</p>
|
|
5065
|
+
* @public
|
|
5066
|
+
*/
|
|
5067
|
+
DesiredTaints?: ClusterKubernetesTaint[] | undefined;
|
|
5068
|
+
}
|
|
4912
5069
|
/**
|
|
4913
5070
|
* <p>Contains information about the UltraServer object.</p>
|
|
4914
5071
|
* @public
|
|
@@ -5015,6 +5172,16 @@ export interface ClusterNodeDetails {
|
|
|
5015
5172
|
* @public
|
|
5016
5173
|
*/
|
|
5017
5174
|
UltraServerInfo?: UltraServerInfo | undefined;
|
|
5175
|
+
/**
|
|
5176
|
+
* <p>The Kubernetes configuration applied to this node, showing both the current and desired state of labels and taints. The cluster works to reconcile the actual state with the declared state. </p>
|
|
5177
|
+
* @public
|
|
5178
|
+
*/
|
|
5179
|
+
KubernetesConfig?: ClusterKubernetesConfigNodeDetails | undefined;
|
|
5180
|
+
/**
|
|
5181
|
+
* <p>The capacity type of the node. Valid values are <code>OnDemand</code> and <code>Spot</code>. When set to <code>OnDemand</code>, the node is launched as an On-Demand instance. When set to <code>Spot</code>, the node is launched as a Spot instance. </p>
|
|
5182
|
+
* @public
|
|
5183
|
+
*/
|
|
5184
|
+
CapacityType?: ClusterCapacityType | undefined;
|
|
5018
5185
|
}
|
|
5019
5186
|
/**
|
|
5020
5187
|
* <p>Lists a summary of the properties of an instance (also called a <i>node</i> interchangeably) of a SageMaker HyperPod cluster.</p>
|
|
@@ -7077,165 +7244,3 @@ export interface DataQualityBaselineConfig {
|
|
|
7077
7244
|
*/
|
|
7078
7245
|
StatisticsResource?: MonitoringStatisticsResource | undefined;
|
|
7079
7246
|
}
|
|
7080
|
-
/**
|
|
7081
|
-
* <p>Input object for the endpoint</p>
|
|
7082
|
-
* @public
|
|
7083
|
-
*/
|
|
7084
|
-
export interface EndpointInput {
|
|
7085
|
-
/**
|
|
7086
|
-
* <p>An endpoint in customer's account which has enabled <code>DataCaptureConfig</code> enabled.</p>
|
|
7087
|
-
* @public
|
|
7088
|
-
*/
|
|
7089
|
-
EndpointName: string | undefined;
|
|
7090
|
-
/**
|
|
7091
|
-
* <p>Path to the filesystem where the endpoint data is available to the container.</p>
|
|
7092
|
-
* @public
|
|
7093
|
-
*/
|
|
7094
|
-
LocalPath: string | undefined;
|
|
7095
|
-
/**
|
|
7096
|
-
* <p>Whether the <code>Pipe</code> or <code>File</code> is used as the input mode for transferring data for the monitoring job. <code>Pipe</code> mode is recommended for large datasets. <code>File</code> mode is useful for small files that fit in memory. Defaults to <code>File</code>.</p>
|
|
7097
|
-
* @public
|
|
7098
|
-
*/
|
|
7099
|
-
S3InputMode?: ProcessingS3InputMode | undefined;
|
|
7100
|
-
/**
|
|
7101
|
-
* <p>Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to <code>FullyReplicated</code> </p>
|
|
7102
|
-
* @public
|
|
7103
|
-
*/
|
|
7104
|
-
S3DataDistributionType?: ProcessingS3DataDistributionType | undefined;
|
|
7105
|
-
/**
|
|
7106
|
-
* <p>The attributes of the input data that are the input features.</p>
|
|
7107
|
-
* @public
|
|
7108
|
-
*/
|
|
7109
|
-
FeaturesAttribute?: string | undefined;
|
|
7110
|
-
/**
|
|
7111
|
-
* <p>The attribute of the input data that represents the ground truth label.</p>
|
|
7112
|
-
* @public
|
|
7113
|
-
*/
|
|
7114
|
-
InferenceAttribute?: string | undefined;
|
|
7115
|
-
/**
|
|
7116
|
-
* <p>In a classification problem, the attribute that represents the class probability.</p>
|
|
7117
|
-
* @public
|
|
7118
|
-
*/
|
|
7119
|
-
ProbabilityAttribute?: string | undefined;
|
|
7120
|
-
/**
|
|
7121
|
-
* <p>The threshold for the class probability to be evaluated as a positive result.</p>
|
|
7122
|
-
* @public
|
|
7123
|
-
*/
|
|
7124
|
-
ProbabilityThresholdAttribute?: number | undefined;
|
|
7125
|
-
/**
|
|
7126
|
-
* <p>If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html">Schedule Model Quality Monitoring Jobs</a>.</p>
|
|
7127
|
-
* @public
|
|
7128
|
-
*/
|
|
7129
|
-
StartTimeOffset?: string | undefined;
|
|
7130
|
-
/**
|
|
7131
|
-
* <p>If specified, monitoring jobs substract this time from the end time. For information about using offsets for scheduling monitoring jobs, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html">Schedule Model Quality Monitoring Jobs</a>.</p>
|
|
7132
|
-
* @public
|
|
7133
|
-
*/
|
|
7134
|
-
EndTimeOffset?: string | undefined;
|
|
7135
|
-
/**
|
|
7136
|
-
* <p>The attributes of the input data to exclude from the analysis.</p>
|
|
7137
|
-
* @public
|
|
7138
|
-
*/
|
|
7139
|
-
ExcludeFeaturesAttribute?: string | undefined;
|
|
7140
|
-
}
|
|
7141
|
-
/**
|
|
7142
|
-
* <p>The input for the data quality monitoring job. Currently endpoints are supported for input.</p>
|
|
7143
|
-
* @public
|
|
7144
|
-
*/
|
|
7145
|
-
export interface DataQualityJobInput {
|
|
7146
|
-
/**
|
|
7147
|
-
* <p>Input object for the endpoint</p>
|
|
7148
|
-
* @public
|
|
7149
|
-
*/
|
|
7150
|
-
EndpointInput?: EndpointInput | undefined;
|
|
7151
|
-
/**
|
|
7152
|
-
* <p>Input object for the batch transform job.</p>
|
|
7153
|
-
* @public
|
|
7154
|
-
*/
|
|
7155
|
-
BatchTransformInput?: BatchTransformInput | undefined;
|
|
7156
|
-
}
|
|
7157
|
-
/**
|
|
7158
|
-
* <p>Information about where and how you want to store the results of a monitoring job.</p>
|
|
7159
|
-
* @public
|
|
7160
|
-
*/
|
|
7161
|
-
export interface MonitoringS3Output {
|
|
7162
|
-
/**
|
|
7163
|
-
* <p>A URI that identifies the Amazon S3 storage location where Amazon SageMaker AI saves the results of a monitoring job.</p>
|
|
7164
|
-
* @public
|
|
7165
|
-
*/
|
|
7166
|
-
S3Uri: string | undefined;
|
|
7167
|
-
/**
|
|
7168
|
-
* <p>The local path to the Amazon S3 storage location where Amazon SageMaker AI saves the results of a monitoring job. LocalPath is an absolute path for the output data.</p>
|
|
7169
|
-
* @public
|
|
7170
|
-
*/
|
|
7171
|
-
LocalPath: string | undefined;
|
|
7172
|
-
/**
|
|
7173
|
-
* <p>Whether to upload the results of the monitoring job continuously or after the job completes.</p>
|
|
7174
|
-
* @public
|
|
7175
|
-
*/
|
|
7176
|
-
S3UploadMode?: ProcessingS3UploadMode | undefined;
|
|
7177
|
-
}
|
|
7178
|
-
/**
|
|
7179
|
-
* <p>The output object for a monitoring job.</p>
|
|
7180
|
-
* @public
|
|
7181
|
-
*/
|
|
7182
|
-
export interface MonitoringOutput {
|
|
7183
|
-
/**
|
|
7184
|
-
* <p>The Amazon S3 storage location where the results of a monitoring job are saved.</p>
|
|
7185
|
-
* @public
|
|
7186
|
-
*/
|
|
7187
|
-
S3Output: MonitoringS3Output | undefined;
|
|
7188
|
-
}
|
|
7189
|
-
/**
|
|
7190
|
-
* <p>The output configuration for monitoring jobs.</p>
|
|
7191
|
-
* @public
|
|
7192
|
-
*/
|
|
7193
|
-
export interface MonitoringOutputConfig {
|
|
7194
|
-
/**
|
|
7195
|
-
* <p>Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.</p>
|
|
7196
|
-
* @public
|
|
7197
|
-
*/
|
|
7198
|
-
MonitoringOutputs: MonitoringOutput[] | undefined;
|
|
7199
|
-
/**
|
|
7200
|
-
* <p>The Key Management Service (KMS) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.</p>
|
|
7201
|
-
* @public
|
|
7202
|
-
*/
|
|
7203
|
-
KmsKeyId?: string | undefined;
|
|
7204
|
-
}
|
|
7205
|
-
/**
|
|
7206
|
-
* <p>Configuration for the cluster used to run model monitoring jobs.</p>
|
|
7207
|
-
* @public
|
|
7208
|
-
*/
|
|
7209
|
-
export interface MonitoringClusterConfig {
|
|
7210
|
-
/**
|
|
7211
|
-
* <p>The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1.</p>
|
|
7212
|
-
* @public
|
|
7213
|
-
*/
|
|
7214
|
-
InstanceCount: number | undefined;
|
|
7215
|
-
/**
|
|
7216
|
-
* <p>The ML compute instance type for the processing job.</p>
|
|
7217
|
-
* @public
|
|
7218
|
-
*/
|
|
7219
|
-
InstanceType: ProcessingInstanceType | undefined;
|
|
7220
|
-
/**
|
|
7221
|
-
* <p>The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario.</p>
|
|
7222
|
-
* @public
|
|
7223
|
-
*/
|
|
7224
|
-
VolumeSizeInGB: number | undefined;
|
|
7225
|
-
/**
|
|
7226
|
-
* <p>The Key Management Service (KMS) key that Amazon SageMaker AI uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job.</p>
|
|
7227
|
-
* @public
|
|
7228
|
-
*/
|
|
7229
|
-
VolumeKmsKeyId?: string | undefined;
|
|
7230
|
-
}
|
|
7231
|
-
/**
|
|
7232
|
-
* <p>Identifies the resources to deploy for a monitoring job.</p>
|
|
7233
|
-
* @public
|
|
7234
|
-
*/
|
|
7235
|
-
export interface MonitoringResources {
|
|
7236
|
-
/**
|
|
7237
|
-
* <p>The configuration for the cluster resources used to run the processing job.</p>
|
|
7238
|
-
* @public
|
|
7239
|
-
*/
|
|
7240
|
-
ClusterConfig: MonitoringClusterConfig | undefined;
|
|
7241
|
-
}
|