@aws-sdk/client-sagemaker 3.936.0 → 3.938.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/README.md +16 -0
- package/dist-cjs/index.js +558 -168
- package/dist-es/SageMaker.js +4 -0
- package/dist-es/commands/BatchRebootClusterNodesCommand.js +16 -0
- package/dist-es/commands/BatchReplaceClusterNodesCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +64 -0
- package/dist-es/schemas/schemas_0.js +460 -168
- package/dist-types/SageMaker.d.ts +14 -0
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/BatchRebootClusterNodesCommand.d.ts +102 -0
- package/dist-types/commands/BatchReplaceClusterNodesCommand.d.ts +102 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +17 -0
- package/dist-types/commands/CreateComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeviceFleetCommand.d.ts +1 -1
- 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/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.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/DescribeComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +15 -1
- package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +2 -2
- 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 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -0
- package/dist-types/commands/ListComputeQuotasCommand.d.ts +4 -0
- package/dist-types/commands/ListOptimizationJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListTrainingPlansCommand.d.ts +3 -2
- 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/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -2
- package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterCommand.d.ts +17 -0
- package/dist-types/commands/UpdateComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +128 -0
- package/dist-types/models/models_0.d.ts +368 -369
- package/dist-types/models/models_1.d.ts +3321 -3361
- package/dist-types/models/models_2.d.ts +3816 -4111
- package/dist-types/models/models_3.d.ts +4107 -3920
- package/dist-types/models/models_4.d.ts +607 -7
- package/dist-types/schemas/schemas_0.d.ts +28 -0
- package/dist-types/ts3.4/SageMaker.d.ts +34 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchRebootClusterNodesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchReplaceClusterNodesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDeviceFleetCommand.d.ts +1 -1
- 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/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.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 +1 -1
- package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
- 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/commands/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +80 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -90
- package/dist-types/ts3.4/models/models_1.d.ts +121 -146
- package/dist-types/ts3.4/models/models_2.d.ts +139 -193
- package/dist-types/ts3.4/models/models_3.d.ts +195 -150
- package/dist-types/ts3.4/models/models_4.d.ts +161 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +1 -1
|
@@ -1,4 +1,20 @@
|
|
|
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, 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,
|
|
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
|
+
/**
|
|
3
|
+
* <p>Configuration for allocating accelerator partitions.</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface AcceleratorPartitionConfig {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The Multi-Instance GPU (MIG) profile type that defines the partition configuration. The profile specifies the compute and memory allocation for each partition instance. The available profile types depend on the instance type specified in the compute quota configuration.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
Type: MIGProfileType | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The number of accelerator partitions to allocate with the specified partition type. If you don't specify a value for vCPU and MemoryInGiB, SageMaker AI automatically allocates ratio-based values for those parameters based on the accelerator partition count you provide.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
Count: number | undefined;
|
|
17
|
+
}
|
|
2
18
|
/**
|
|
3
19
|
* <p>A structure describing the source of an action.</p>
|
|
4
20
|
* @public
|
|
@@ -3118,6 +3134,180 @@ export interface BatchDescribeModelPackageOutput {
|
|
|
3118
3134
|
*/
|
|
3119
3135
|
BatchDescribeModelPackageErrorMap?: Record<string, BatchDescribeModelPackageError> | undefined;
|
|
3120
3136
|
}
|
|
3137
|
+
/**
|
|
3138
|
+
* <p>Represents an error encountered when rebooting a node (identified by its logical node ID) from a SageMaker HyperPod cluster.</p>
|
|
3139
|
+
* @public
|
|
3140
|
+
*/
|
|
3141
|
+
export interface BatchRebootClusterNodeLogicalIdsError {
|
|
3142
|
+
/**
|
|
3143
|
+
* <p>The logical node ID of the node that encountered an error during the reboot operation.</p>
|
|
3144
|
+
* @public
|
|
3145
|
+
*/
|
|
3146
|
+
NodeLogicalId: string | undefined;
|
|
3147
|
+
/**
|
|
3148
|
+
* <p>The error code associated with the error encountered when rebooting a node by logical node ID.</p> <p>Possible values:</p> <ul> <li> <p> <code>InstanceIdNotFound</code>: The node does not exist in the specified cluster.</p> </li> <li> <p> <code>InvalidInstanceStatus</code>: The node is in a state that does not allow rebooting. Wait for the node to finish any ongoing changes before retrying.</p> </li> <li> <p> <code>InstanceIdInUse</code>: Another operation is already in progress for this node. Wait for the operation to complete before retrying.</p> </li> <li> <p> <code>InternalServerError</code>: An internal error occurred while processing this node.</p> </li> </ul>
|
|
3149
|
+
* @public
|
|
3150
|
+
*/
|
|
3151
|
+
ErrorCode: BatchRebootClusterNodesErrorCode | undefined;
|
|
3152
|
+
/**
|
|
3153
|
+
* <p>A human-readable message describing the error encountered when rebooting a node by logical node ID.</p>
|
|
3154
|
+
* @public
|
|
3155
|
+
*/
|
|
3156
|
+
Message: string | undefined;
|
|
3157
|
+
}
|
|
3158
|
+
/**
|
|
3159
|
+
* @public
|
|
3160
|
+
*/
|
|
3161
|
+
export interface BatchRebootClusterNodesRequest {
|
|
3162
|
+
/**
|
|
3163
|
+
* <p>The name or Amazon Resource Name (ARN) of the SageMaker HyperPod cluster containing the nodes to reboot.</p>
|
|
3164
|
+
* @public
|
|
3165
|
+
*/
|
|
3166
|
+
ClusterName: string | undefined;
|
|
3167
|
+
/**
|
|
3168
|
+
* <p>A list of EC2 instance IDs to reboot using soft recovery. You can specify between 1 and 25 instance IDs.</p> <note> <ul> <li> <p>Either <code>NodeIds</code> or <code>NodeLogicalIds</code> must be provided (or both), but at least one is required.</p> </li> <li> <p>Each instance ID must follow the pattern <code>i-</code> followed by 17 hexadecimal characters (for example, <code>i-0123456789abcdef0</code>).</p> </li> </ul> </note>
|
|
3169
|
+
* @public
|
|
3170
|
+
*/
|
|
3171
|
+
NodeIds?: string[] | undefined;
|
|
3172
|
+
/**
|
|
3173
|
+
* <p>A list of logical node IDs to reboot using soft recovery. You can specify between 1 and 25 logical node IDs.</p> <p>The <code>NodeLogicalId</code> is a unique identifier that persists throughout the node's lifecycle and can be used to track nodes that are still being provisioned and don't yet have an EC2 instance ID assigned.</p> <important> <ul> <li> <p>This parameter is only supported for clusters using <code>Continuous</code> as the <code>NodeProvisioningMode</code>. For clusters using the default provisioning mode, use <code>NodeIds</code> instead.</p> </li> <li> <p>Either <code>NodeIds</code> or <code>NodeLogicalIds</code> must be provided (or both), but at least one is required.</p> </li> </ul> </important>
|
|
3174
|
+
* @public
|
|
3175
|
+
*/
|
|
3176
|
+
NodeLogicalIds?: string[] | undefined;
|
|
3177
|
+
}
|
|
3178
|
+
/**
|
|
3179
|
+
* <p>Represents an error encountered when rebooting a node from a SageMaker HyperPod cluster.</p>
|
|
3180
|
+
* @public
|
|
3181
|
+
*/
|
|
3182
|
+
export interface BatchRebootClusterNodesError {
|
|
3183
|
+
/**
|
|
3184
|
+
* <p>The EC2 instance ID of the node that encountered an error during the reboot operation.</p>
|
|
3185
|
+
* @public
|
|
3186
|
+
*/
|
|
3187
|
+
NodeId: string | undefined;
|
|
3188
|
+
/**
|
|
3189
|
+
* <p>The error code associated with the error encountered when rebooting a node.</p> <p>Possible values:</p> <ul> <li> <p> <code>InstanceIdNotFound</code>: The instance does not exist in the specified cluster.</p> </li> <li> <p> <code>InvalidInstanceStatus</code>: The instance is in a state that does not allow rebooting. Wait for the instance to finish any ongoing changes before retrying.</p> </li> <li> <p> <code>InstanceIdInUse</code>: Another operation is already in progress for this node. Wait for the operation to complete before retrying.</p> </li> <li> <p> <code>InternalServerError</code>: An internal error occurred while processing this node.</p> </li> </ul>
|
|
3190
|
+
* @public
|
|
3191
|
+
*/
|
|
3192
|
+
ErrorCode: BatchRebootClusterNodesErrorCode | undefined;
|
|
3193
|
+
/**
|
|
3194
|
+
* <p>A human-readable message describing the error encountered when rebooting a node.</p>
|
|
3195
|
+
* @public
|
|
3196
|
+
*/
|
|
3197
|
+
Message: string | undefined;
|
|
3198
|
+
}
|
|
3199
|
+
/**
|
|
3200
|
+
* @public
|
|
3201
|
+
*/
|
|
3202
|
+
export interface BatchRebootClusterNodesResponse {
|
|
3203
|
+
/**
|
|
3204
|
+
* <p>A list of EC2 instance IDs for which the reboot operation was successfully initiated.</p>
|
|
3205
|
+
* @public
|
|
3206
|
+
*/
|
|
3207
|
+
Successful?: string[] | undefined;
|
|
3208
|
+
/**
|
|
3209
|
+
* <p>A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.</p>
|
|
3210
|
+
* @public
|
|
3211
|
+
*/
|
|
3212
|
+
Failed?: BatchRebootClusterNodesError[] | undefined;
|
|
3213
|
+
/**
|
|
3214
|
+
* <p>A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when <code>NodeLogicalIds</code> were provided in the request.</p>
|
|
3215
|
+
* @public
|
|
3216
|
+
*/
|
|
3217
|
+
FailedNodeLogicalIds?: BatchRebootClusterNodeLogicalIdsError[] | undefined;
|
|
3218
|
+
/**
|
|
3219
|
+
* <p>A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present when <code>NodeLogicalIds</code> were provided in the request.</p>
|
|
3220
|
+
* @public
|
|
3221
|
+
*/
|
|
3222
|
+
SuccessfulNodeLogicalIds?: string[] | undefined;
|
|
3223
|
+
}
|
|
3224
|
+
/**
|
|
3225
|
+
* <p>Represents an error encountered when replacing a node (identified by its logical node ID) in a SageMaker HyperPod cluster.</p>
|
|
3226
|
+
* @public
|
|
3227
|
+
*/
|
|
3228
|
+
export interface BatchReplaceClusterNodeLogicalIdsError {
|
|
3229
|
+
/**
|
|
3230
|
+
* <p>The logical node ID of the node that encountered an error during the replacement operation.</p>
|
|
3231
|
+
* @public
|
|
3232
|
+
*/
|
|
3233
|
+
NodeLogicalId: string | undefined;
|
|
3234
|
+
/**
|
|
3235
|
+
* <p>The error code associated with the error encountered when replacing a node by logical node ID.</p> <p>Possible values:</p> <ul> <li> <p> <code>InstanceIdNotFound</code>: The node does not exist in the specified cluster.</p> </li> <li> <p> <code>InvalidInstanceStatus</code>: The node is in a state that does not allow replacement. Wait for the node to finish any ongoing changes before retrying.</p> </li> <li> <p> <code>InstanceIdInUse</code>: Another operation is already in progress for this node. Wait for the operation to complete before retrying.</p> </li> <li> <p> <code>InternalServerError</code>: An internal error occurred while processing this node.</p> </li> </ul>
|
|
3236
|
+
* @public
|
|
3237
|
+
*/
|
|
3238
|
+
ErrorCode: BatchReplaceClusterNodesErrorCode | undefined;
|
|
3239
|
+
/**
|
|
3240
|
+
* <p>A human-readable message describing the error encountered when replacing a node by logical node ID.</p>
|
|
3241
|
+
* @public
|
|
3242
|
+
*/
|
|
3243
|
+
Message: string | undefined;
|
|
3244
|
+
}
|
|
3245
|
+
/**
|
|
3246
|
+
* @public
|
|
3247
|
+
*/
|
|
3248
|
+
export interface BatchReplaceClusterNodesRequest {
|
|
3249
|
+
/**
|
|
3250
|
+
* <p>The name or Amazon Resource Name (ARN) of the SageMaker HyperPod cluster containing the nodes to replace.</p>
|
|
3251
|
+
* @public
|
|
3252
|
+
*/
|
|
3253
|
+
ClusterName: string | undefined;
|
|
3254
|
+
/**
|
|
3255
|
+
* <p>A list of EC2 instance IDs to replace with new hardware. You can specify between 1 and 25 instance IDs.</p> <important> <p>Replace operations destroy all instance volumes (root and secondary). Ensure you have backed up any important data before proceeding.</p> </important> <note> <ul> <li> <p>Either <code>NodeIds</code> or <code>NodeLogicalIds</code> must be provided (or both), but at least one is required.</p> </li> <li> <p>Each instance ID must follow the pattern <code>i-</code> followed by 17 hexadecimal characters (for example, <code>i-0123456789abcdef0</code>).</p> </li> <li> <p>For SageMaker HyperPod clusters using the Slurm workload manager, you cannot replace instances that are configured as Slurm controller nodes.</p> </li> </ul> </note>
|
|
3256
|
+
* @public
|
|
3257
|
+
*/
|
|
3258
|
+
NodeIds?: string[] | undefined;
|
|
3259
|
+
/**
|
|
3260
|
+
* <p>A list of logical node IDs to replace with new hardware. You can specify between 1 and 25 logical node IDs.</p> <p>The <code>NodeLogicalId</code> is a unique identifier that persists throughout the node's lifecycle and can be used to track nodes that are still being provisioned and don't yet have an EC2 instance ID assigned.</p> <important> <ul> <li> <p>Replace operations destroy all instance volumes (root and secondary). Ensure you have backed up any important data before proceeding.</p> </li> <li> <p>This parameter is only supported for clusters using <code>Continuous</code> as the <code>NodeProvisioningMode</code>. For clusters using the default provisioning mode, use <code>NodeIds</code> instead.</p> </li> <li> <p>Either <code>NodeIds</code> or <code>NodeLogicalIds</code> must be provided (or both), but at least one is required.</p> </li> </ul> </important>
|
|
3261
|
+
* @public
|
|
3262
|
+
*/
|
|
3263
|
+
NodeLogicalIds?: string[] | undefined;
|
|
3264
|
+
}
|
|
3265
|
+
/**
|
|
3266
|
+
* <p>Represents an error encountered when replacing a node in a SageMaker HyperPod cluster.</p>
|
|
3267
|
+
* @public
|
|
3268
|
+
*/
|
|
3269
|
+
export interface BatchReplaceClusterNodesError {
|
|
3270
|
+
/**
|
|
3271
|
+
* <p>The EC2 instance ID of the node that encountered an error during the replacement operation.</p>
|
|
3272
|
+
* @public
|
|
3273
|
+
*/
|
|
3274
|
+
NodeId: string | undefined;
|
|
3275
|
+
/**
|
|
3276
|
+
* <p>The error code associated with the error encountered when replacing a node.</p> <p>Possible values:</p> <ul> <li> <p> <code>InstanceIdNotFound</code>: The instance does not exist in the specified cluster.</p> </li> <li> <p> <code>InvalidInstanceStatus</code>: The instance is in a state that does not allow replacement. Wait for the instance to finish any ongoing changes before retrying.</p> </li> <li> <p> <code>InstanceIdInUse</code>: Another operation is already in progress for this node. Wait for the operation to complete before retrying.</p> </li> <li> <p> <code>InternalServerError</code>: An internal error occurred while processing this node.</p> </li> </ul>
|
|
3277
|
+
* @public
|
|
3278
|
+
*/
|
|
3279
|
+
ErrorCode: BatchReplaceClusterNodesErrorCode | undefined;
|
|
3280
|
+
/**
|
|
3281
|
+
* <p>A human-readable message describing the error encountered when replacing a node.</p>
|
|
3282
|
+
* @public
|
|
3283
|
+
*/
|
|
3284
|
+
Message: string | undefined;
|
|
3285
|
+
}
|
|
3286
|
+
/**
|
|
3287
|
+
* @public
|
|
3288
|
+
*/
|
|
3289
|
+
export interface BatchReplaceClusterNodesResponse {
|
|
3290
|
+
/**
|
|
3291
|
+
* <p>A list of EC2 instance IDs for which the replacement operation was successfully initiated.</p>
|
|
3292
|
+
* @public
|
|
3293
|
+
*/
|
|
3294
|
+
Successful?: string[] | undefined;
|
|
3295
|
+
/**
|
|
3296
|
+
* <p>A list of errors encountered for EC2 instance IDs that could not be replaced. Each error includes the instance ID, an error code, and a descriptive message.</p>
|
|
3297
|
+
* @public
|
|
3298
|
+
*/
|
|
3299
|
+
Failed?: BatchReplaceClusterNodesError[] | undefined;
|
|
3300
|
+
/**
|
|
3301
|
+
* <p>A list of errors encountered for logical node IDs that could not be replaced. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when <code>NodeLogicalIds</code> were provided in the request.</p>
|
|
3302
|
+
* @public
|
|
3303
|
+
*/
|
|
3304
|
+
FailedNodeLogicalIds?: BatchReplaceClusterNodeLogicalIdsError[] | undefined;
|
|
3305
|
+
/**
|
|
3306
|
+
* <p>A list of logical node IDs for which the replacement operation was successfully initiated. This field is only present when <code>NodeLogicalIds</code> were provided in the request.</p>
|
|
3307
|
+
* @public
|
|
3308
|
+
*/
|
|
3309
|
+
SuccessfulNodeLogicalIds?: string[] | undefined;
|
|
3310
|
+
}
|
|
3121
3311
|
/**
|
|
3122
3312
|
* <p>Represents the CSV dataset format used when running a monitoring job.</p>
|
|
3123
3313
|
* @public
|
|
@@ -4100,6 +4290,34 @@ export interface ClusterAutoScalingConfigOutput {
|
|
|
4100
4290
|
*/
|
|
4101
4291
|
FailureMessage?: string | undefined;
|
|
4102
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
|
+
}
|
|
4103
4321
|
/**
|
|
4104
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>
|
|
4105
4323
|
* @public
|
|
@@ -4229,6 +4447,11 @@ export interface InstanceGroupScalingMetadata {
|
|
|
4229
4447
|
* @public
|
|
4230
4448
|
*/
|
|
4231
4449
|
TargetCount?: number | undefined;
|
|
4450
|
+
/**
|
|
4451
|
+
* <p>Minimum instance count of the instance group.</p>
|
|
4452
|
+
* @public
|
|
4453
|
+
*/
|
|
4454
|
+
MinCount?: number | undefined;
|
|
4232
4455
|
/**
|
|
4233
4456
|
* <p>An error message describing why the scaling operation failed, if applicable.</p>
|
|
4234
4457
|
* @public
|
|
@@ -4488,6 +4711,53 @@ export declare namespace ClusterInstanceStorageConfig {
|
|
|
4488
4711
|
_: (name: string, value: any) => T;
|
|
4489
4712
|
}
|
|
4490
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
|
+
}
|
|
4491
4761
|
/**
|
|
4492
4762
|
* <p>The lifecycle configuration for a SageMaker HyperPod cluster.</p>
|
|
4493
4763
|
* @public
|
|
@@ -4535,6 +4805,11 @@ export interface ClusterInstanceGroupDetails {
|
|
|
4535
4805
|
* @public
|
|
4536
4806
|
*/
|
|
4537
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;
|
|
4538
4813
|
/**
|
|
4539
4814
|
* <p>The name of the instance group of a SageMaker HyperPod cluster.</p>
|
|
4540
4815
|
* @public
|
|
@@ -4605,6 +4880,21 @@ export interface ClusterInstanceGroupDetails {
|
|
|
4605
4880
|
* @public
|
|
4606
4881
|
*/
|
|
4607
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;
|
|
4608
4898
|
/**
|
|
4609
4899
|
* <p>The number of nodes running a specific image ID since the last software update request.</p>
|
|
4610
4900
|
* @public
|
|
@@ -4621,6 +4911,22 @@ export interface ClusterInstanceGroupDetails {
|
|
|
4621
4911
|
*/
|
|
4622
4912
|
ActiveSoftwareUpdateConfig?: DeploymentConfiguration | undefined;
|
|
4623
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
|
+
}
|
|
4624
4930
|
/**
|
|
4625
4931
|
* <p>The specifications of an instance group that you need to define.</p>
|
|
4626
4932
|
* @public
|
|
@@ -4631,6 +4937,11 @@ export interface ClusterInstanceGroupSpecification {
|
|
|
4631
4937
|
* @public
|
|
4632
4938
|
*/
|
|
4633
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;
|
|
4634
4945
|
/**
|
|
4635
4946
|
* <p>Specifies the name of the instance group.</p>
|
|
4636
4947
|
* @public
|
|
@@ -4686,6 +4997,16 @@ export interface ClusterInstanceGroupSpecification {
|
|
|
4686
4997
|
* @public
|
|
4687
4998
|
*/
|
|
4688
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;
|
|
4689
5010
|
}
|
|
4690
5011
|
/**
|
|
4691
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>
|
|
@@ -4719,6 +5040,32 @@ export interface ClusterInstanceStatusDetails {
|
|
|
4719
5040
|
*/
|
|
4720
5041
|
Message?: string | undefined;
|
|
4721
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
|
+
}
|
|
4722
5069
|
/**
|
|
4723
5070
|
* <p>Contains information about the UltraServer object.</p>
|
|
4724
5071
|
* @public
|
|
@@ -4825,6 +5172,16 @@ export interface ClusterNodeDetails {
|
|
|
4825
5172
|
* @public
|
|
4826
5173
|
*/
|
|
4827
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;
|
|
4828
5185
|
}
|
|
4829
5186
|
/**
|
|
4830
5187
|
* <p>Lists a summary of the properties of an instance (also called a <i>node</i> interchangeably) of a SageMaker HyperPod cluster.</p>
|
|
@@ -4871,6 +5228,11 @@ export interface ClusterNodeSummary {
|
|
|
4871
5228
|
* @public
|
|
4872
5229
|
*/
|
|
4873
5230
|
UltraServerInfo?: UltraServerInfo | undefined;
|
|
5231
|
+
/**
|
|
5232
|
+
* <p>The private DNS hostname of the SageMaker HyperPod cluster node.</p>
|
|
5233
|
+
* @public
|
|
5234
|
+
*/
|
|
5235
|
+
PrivateDnsHostname?: string | undefined;
|
|
4874
5236
|
}
|
|
4875
5237
|
/**
|
|
4876
5238
|
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
|
|
@@ -5470,6 +5832,11 @@ export interface ComputeQuotaResourceConfig {
|
|
|
5470
5832
|
* @public
|
|
5471
5833
|
*/
|
|
5472
5834
|
MemoryInGiB?: number | undefined;
|
|
5835
|
+
/**
|
|
5836
|
+
* <p>The accelerator partition configuration for fractional GPU allocation.</p>
|
|
5837
|
+
* @public
|
|
5838
|
+
*/
|
|
5839
|
+
AcceleratorPartition?: AcceleratorPartitionConfig | undefined;
|
|
5473
5840
|
}
|
|
5474
5841
|
/**
|
|
5475
5842
|
* <p>Resource sharing configuration.</p>
|
|
@@ -6877,371 +7244,3 @@ export interface DataQualityBaselineConfig {
|
|
|
6877
7244
|
*/
|
|
6878
7245
|
StatisticsResource?: MonitoringStatisticsResource | undefined;
|
|
6879
7246
|
}
|
|
6880
|
-
/**
|
|
6881
|
-
* <p>Input object for the endpoint</p>
|
|
6882
|
-
* @public
|
|
6883
|
-
*/
|
|
6884
|
-
export interface EndpointInput {
|
|
6885
|
-
/**
|
|
6886
|
-
* <p>An endpoint in customer's account which has enabled <code>DataCaptureConfig</code> enabled.</p>
|
|
6887
|
-
* @public
|
|
6888
|
-
*/
|
|
6889
|
-
EndpointName: string | undefined;
|
|
6890
|
-
/**
|
|
6891
|
-
* <p>Path to the filesystem where the endpoint data is available to the container.</p>
|
|
6892
|
-
* @public
|
|
6893
|
-
*/
|
|
6894
|
-
LocalPath: string | undefined;
|
|
6895
|
-
/**
|
|
6896
|
-
* <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>
|
|
6897
|
-
* @public
|
|
6898
|
-
*/
|
|
6899
|
-
S3InputMode?: ProcessingS3InputMode | undefined;
|
|
6900
|
-
/**
|
|
6901
|
-
* <p>Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to <code>FullyReplicated</code> </p>
|
|
6902
|
-
* @public
|
|
6903
|
-
*/
|
|
6904
|
-
S3DataDistributionType?: ProcessingS3DataDistributionType | undefined;
|
|
6905
|
-
/**
|
|
6906
|
-
* <p>The attributes of the input data that are the input features.</p>
|
|
6907
|
-
* @public
|
|
6908
|
-
*/
|
|
6909
|
-
FeaturesAttribute?: string | undefined;
|
|
6910
|
-
/**
|
|
6911
|
-
* <p>The attribute of the input data that represents the ground truth label.</p>
|
|
6912
|
-
* @public
|
|
6913
|
-
*/
|
|
6914
|
-
InferenceAttribute?: string | undefined;
|
|
6915
|
-
/**
|
|
6916
|
-
* <p>In a classification problem, the attribute that represents the class probability.</p>
|
|
6917
|
-
* @public
|
|
6918
|
-
*/
|
|
6919
|
-
ProbabilityAttribute?: string | undefined;
|
|
6920
|
-
/**
|
|
6921
|
-
* <p>The threshold for the class probability to be evaluated as a positive result.</p>
|
|
6922
|
-
* @public
|
|
6923
|
-
*/
|
|
6924
|
-
ProbabilityThresholdAttribute?: number | undefined;
|
|
6925
|
-
/**
|
|
6926
|
-
* <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>
|
|
6927
|
-
* @public
|
|
6928
|
-
*/
|
|
6929
|
-
StartTimeOffset?: string | undefined;
|
|
6930
|
-
/**
|
|
6931
|
-
* <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>
|
|
6932
|
-
* @public
|
|
6933
|
-
*/
|
|
6934
|
-
EndTimeOffset?: string | undefined;
|
|
6935
|
-
/**
|
|
6936
|
-
* <p>The attributes of the input data to exclude from the analysis.</p>
|
|
6937
|
-
* @public
|
|
6938
|
-
*/
|
|
6939
|
-
ExcludeFeaturesAttribute?: string | undefined;
|
|
6940
|
-
}
|
|
6941
|
-
/**
|
|
6942
|
-
* <p>The input for the data quality monitoring job. Currently endpoints are supported for input.</p>
|
|
6943
|
-
* @public
|
|
6944
|
-
*/
|
|
6945
|
-
export interface DataQualityJobInput {
|
|
6946
|
-
/**
|
|
6947
|
-
* <p>Input object for the endpoint</p>
|
|
6948
|
-
* @public
|
|
6949
|
-
*/
|
|
6950
|
-
EndpointInput?: EndpointInput | undefined;
|
|
6951
|
-
/**
|
|
6952
|
-
* <p>Input object for the batch transform job.</p>
|
|
6953
|
-
* @public
|
|
6954
|
-
*/
|
|
6955
|
-
BatchTransformInput?: BatchTransformInput | undefined;
|
|
6956
|
-
}
|
|
6957
|
-
/**
|
|
6958
|
-
* <p>Information about where and how you want to store the results of a monitoring job.</p>
|
|
6959
|
-
* @public
|
|
6960
|
-
*/
|
|
6961
|
-
export interface MonitoringS3Output {
|
|
6962
|
-
/**
|
|
6963
|
-
* <p>A URI that identifies the Amazon S3 storage location where Amazon SageMaker AI saves the results of a monitoring job.</p>
|
|
6964
|
-
* @public
|
|
6965
|
-
*/
|
|
6966
|
-
S3Uri: string | undefined;
|
|
6967
|
-
/**
|
|
6968
|
-
* <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>
|
|
6969
|
-
* @public
|
|
6970
|
-
*/
|
|
6971
|
-
LocalPath: string | undefined;
|
|
6972
|
-
/**
|
|
6973
|
-
* <p>Whether to upload the results of the monitoring job continuously or after the job completes.</p>
|
|
6974
|
-
* @public
|
|
6975
|
-
*/
|
|
6976
|
-
S3UploadMode?: ProcessingS3UploadMode | undefined;
|
|
6977
|
-
}
|
|
6978
|
-
/**
|
|
6979
|
-
* <p>The output object for a monitoring job.</p>
|
|
6980
|
-
* @public
|
|
6981
|
-
*/
|
|
6982
|
-
export interface MonitoringOutput {
|
|
6983
|
-
/**
|
|
6984
|
-
* <p>The Amazon S3 storage location where the results of a monitoring job are saved.</p>
|
|
6985
|
-
* @public
|
|
6986
|
-
*/
|
|
6987
|
-
S3Output: MonitoringS3Output | undefined;
|
|
6988
|
-
}
|
|
6989
|
-
/**
|
|
6990
|
-
* <p>The output configuration for monitoring jobs.</p>
|
|
6991
|
-
* @public
|
|
6992
|
-
*/
|
|
6993
|
-
export interface MonitoringOutputConfig {
|
|
6994
|
-
/**
|
|
6995
|
-
* <p>Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.</p>
|
|
6996
|
-
* @public
|
|
6997
|
-
*/
|
|
6998
|
-
MonitoringOutputs: MonitoringOutput[] | undefined;
|
|
6999
|
-
/**
|
|
7000
|
-
* <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>
|
|
7001
|
-
* @public
|
|
7002
|
-
*/
|
|
7003
|
-
KmsKeyId?: string | undefined;
|
|
7004
|
-
}
|
|
7005
|
-
/**
|
|
7006
|
-
* <p>Configuration for the cluster used to run model monitoring jobs.</p>
|
|
7007
|
-
* @public
|
|
7008
|
-
*/
|
|
7009
|
-
export interface MonitoringClusterConfig {
|
|
7010
|
-
/**
|
|
7011
|
-
* <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>
|
|
7012
|
-
* @public
|
|
7013
|
-
*/
|
|
7014
|
-
InstanceCount: number | undefined;
|
|
7015
|
-
/**
|
|
7016
|
-
* <p>The ML compute instance type for the processing job.</p>
|
|
7017
|
-
* @public
|
|
7018
|
-
*/
|
|
7019
|
-
InstanceType: ProcessingInstanceType | undefined;
|
|
7020
|
-
/**
|
|
7021
|
-
* <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>
|
|
7022
|
-
* @public
|
|
7023
|
-
*/
|
|
7024
|
-
VolumeSizeInGB: number | undefined;
|
|
7025
|
-
/**
|
|
7026
|
-
* <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>
|
|
7027
|
-
* @public
|
|
7028
|
-
*/
|
|
7029
|
-
VolumeKmsKeyId?: string | undefined;
|
|
7030
|
-
}
|
|
7031
|
-
/**
|
|
7032
|
-
* <p>Identifies the resources to deploy for a monitoring job.</p>
|
|
7033
|
-
* @public
|
|
7034
|
-
*/
|
|
7035
|
-
export interface MonitoringResources {
|
|
7036
|
-
/**
|
|
7037
|
-
* <p>The configuration for the cluster resources used to run the processing job.</p>
|
|
7038
|
-
* @public
|
|
7039
|
-
*/
|
|
7040
|
-
ClusterConfig: MonitoringClusterConfig | undefined;
|
|
7041
|
-
}
|
|
7042
|
-
/**
|
|
7043
|
-
* <p>The networking configuration for the monitoring job.</p>
|
|
7044
|
-
* @public
|
|
7045
|
-
*/
|
|
7046
|
-
export interface MonitoringNetworkConfig {
|
|
7047
|
-
/**
|
|
7048
|
-
* <p>Whether to encrypt all communications between the instances used for the monitoring jobs. Choose <code>True</code> to encrypt communications. Encryption provides greater security for distributed jobs, but the processing might take longer.</p>
|
|
7049
|
-
* @public
|
|
7050
|
-
*/
|
|
7051
|
-
EnableInterContainerTrafficEncryption?: boolean | undefined;
|
|
7052
|
-
/**
|
|
7053
|
-
* <p>Whether to allow inbound and outbound network calls to and from the containers used for the monitoring job.</p>
|
|
7054
|
-
* @public
|
|
7055
|
-
*/
|
|
7056
|
-
EnableNetworkIsolation?: boolean | undefined;
|
|
7057
|
-
/**
|
|
7058
|
-
* <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
|
|
7059
|
-
* @public
|
|
7060
|
-
*/
|
|
7061
|
-
VpcConfig?: VpcConfig | undefined;
|
|
7062
|
-
}
|
|
7063
|
-
/**
|
|
7064
|
-
* <p>A time limit for how long the monitoring job is allowed to run before stopping.</p>
|
|
7065
|
-
* @public
|
|
7066
|
-
*/
|
|
7067
|
-
export interface MonitoringStoppingCondition {
|
|
7068
|
-
/**
|
|
7069
|
-
* <p>The maximum runtime allowed in seconds.</p> <note> <p>The <code>MaxRuntimeInSeconds</code> cannot exceed the frequency of the job. For data quality and model explainability, this can be up to 3600 seconds for an hourly schedule. For model bias and model quality hourly schedules, this can be up to 1800 seconds.</p> </note>
|
|
7070
|
-
* @public
|
|
7071
|
-
*/
|
|
7072
|
-
MaxRuntimeInSeconds: number | undefined;
|
|
7073
|
-
}
|
|
7074
|
-
/**
|
|
7075
|
-
* @public
|
|
7076
|
-
*/
|
|
7077
|
-
export interface CreateDataQualityJobDefinitionRequest {
|
|
7078
|
-
/**
|
|
7079
|
-
* <p>The name for the monitoring job definition.</p>
|
|
7080
|
-
* @public
|
|
7081
|
-
*/
|
|
7082
|
-
JobDefinitionName: string | undefined;
|
|
7083
|
-
/**
|
|
7084
|
-
* <p>Configures the constraints and baselines for the monitoring job.</p>
|
|
7085
|
-
* @public
|
|
7086
|
-
*/
|
|
7087
|
-
DataQualityBaselineConfig?: DataQualityBaselineConfig | undefined;
|
|
7088
|
-
/**
|
|
7089
|
-
* <p>Specifies the container that runs the monitoring job.</p>
|
|
7090
|
-
* @public
|
|
7091
|
-
*/
|
|
7092
|
-
DataQualityAppSpecification: DataQualityAppSpecification | undefined;
|
|
7093
|
-
/**
|
|
7094
|
-
* <p>A list of inputs for the monitoring job. Currently endpoints are supported as monitoring inputs.</p>
|
|
7095
|
-
* @public
|
|
7096
|
-
*/
|
|
7097
|
-
DataQualityJobInput: DataQualityJobInput | undefined;
|
|
7098
|
-
/**
|
|
7099
|
-
* <p>The output configuration for monitoring jobs.</p>
|
|
7100
|
-
* @public
|
|
7101
|
-
*/
|
|
7102
|
-
DataQualityJobOutputConfig: MonitoringOutputConfig | undefined;
|
|
7103
|
-
/**
|
|
7104
|
-
* <p>Identifies the resources to deploy for a monitoring job.</p>
|
|
7105
|
-
* @public
|
|
7106
|
-
*/
|
|
7107
|
-
JobResources: MonitoringResources | undefined;
|
|
7108
|
-
/**
|
|
7109
|
-
* <p>Specifies networking configuration for the monitoring job.</p>
|
|
7110
|
-
* @public
|
|
7111
|
-
*/
|
|
7112
|
-
NetworkConfig?: MonitoringNetworkConfig | undefined;
|
|
7113
|
-
/**
|
|
7114
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.</p>
|
|
7115
|
-
* @public
|
|
7116
|
-
*/
|
|
7117
|
-
RoleArn: string | undefined;
|
|
7118
|
-
/**
|
|
7119
|
-
* <p>A time limit for how long the monitoring job is allowed to run before stopping.</p>
|
|
7120
|
-
* @public
|
|
7121
|
-
*/
|
|
7122
|
-
StoppingCondition?: MonitoringStoppingCondition | undefined;
|
|
7123
|
-
/**
|
|
7124
|
-
* <p>(Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL"> Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management User Guide</i>.</p>
|
|
7125
|
-
* @public
|
|
7126
|
-
*/
|
|
7127
|
-
Tags?: Tag[] | undefined;
|
|
7128
|
-
}
|
|
7129
|
-
/**
|
|
7130
|
-
* @public
|
|
7131
|
-
*/
|
|
7132
|
-
export interface CreateDataQualityJobDefinitionResponse {
|
|
7133
|
-
/**
|
|
7134
|
-
* <p>The Amazon Resource Name (ARN) of the job definition.</p>
|
|
7135
|
-
* @public
|
|
7136
|
-
*/
|
|
7137
|
-
JobDefinitionArn: string | undefined;
|
|
7138
|
-
}
|
|
7139
|
-
/**
|
|
7140
|
-
* <p>The output configuration.</p>
|
|
7141
|
-
* @public
|
|
7142
|
-
*/
|
|
7143
|
-
export interface EdgeOutputConfig {
|
|
7144
|
-
/**
|
|
7145
|
-
* <p>The Amazon Simple Storage (S3) bucker URI.</p>
|
|
7146
|
-
* @public
|
|
7147
|
-
*/
|
|
7148
|
-
S3OutputLocation: string | undefined;
|
|
7149
|
-
/**
|
|
7150
|
-
* <p>The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.</p>
|
|
7151
|
-
* @public
|
|
7152
|
-
*/
|
|
7153
|
-
KmsKeyId?: string | undefined;
|
|
7154
|
-
/**
|
|
7155
|
-
* <p>The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.</p>
|
|
7156
|
-
* @public
|
|
7157
|
-
*/
|
|
7158
|
-
PresetDeploymentType?: EdgePresetDeploymentType | undefined;
|
|
7159
|
-
/**
|
|
7160
|
-
* <p>The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:</p> <ul> <li> <p> <code>ComponentName</code> (optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job.</p> </li> <li> <p> <code>ComponentDescription</code> (optional) - Description of the component.</p> </li> <li> <p> <code>ComponentVersion</code> (optional) - The version of the component.</p> <note> <p>Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a<i> major.minor.patch</i> number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the <a href="https://semver.org/">semantic version specification</a>.</p> </note> </li> <li> <p> <code>PlatformOS</code> (optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux.</p> </li> <li> <p> <code>PlatformArchitecture</code> (optional) - The processor architecture for the platform. </p> <p>Supported architectures Windows include: Windows32_x86, Windows64_x64.</p> <p>Supported architectures for Linux include: Linux x86_64, Linux ARMV8.</p> </li> </ul>
|
|
7161
|
-
* @public
|
|
7162
|
-
*/
|
|
7163
|
-
PresetDeploymentConfig?: string | undefined;
|
|
7164
|
-
}
|
|
7165
|
-
/**
|
|
7166
|
-
* @public
|
|
7167
|
-
*/
|
|
7168
|
-
export interface CreateDeviceFleetRequest {
|
|
7169
|
-
/**
|
|
7170
|
-
* <p>The name of the fleet that the device belongs to.</p>
|
|
7171
|
-
* @public
|
|
7172
|
-
*/
|
|
7173
|
-
DeviceFleetName: string | undefined;
|
|
7174
|
-
/**
|
|
7175
|
-
* <p>The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).</p>
|
|
7176
|
-
* @public
|
|
7177
|
-
*/
|
|
7178
|
-
RoleArn?: string | undefined;
|
|
7179
|
-
/**
|
|
7180
|
-
* <p>A description of the fleet.</p>
|
|
7181
|
-
* @public
|
|
7182
|
-
*/
|
|
7183
|
-
Description?: string | undefined;
|
|
7184
|
-
/**
|
|
7185
|
-
* <p>The output configuration for storing sample data collected by the fleet.</p>
|
|
7186
|
-
* @public
|
|
7187
|
-
*/
|
|
7188
|
-
OutputConfig: EdgeOutputConfig | undefined;
|
|
7189
|
-
/**
|
|
7190
|
-
* <p>Creates tags for the specified fleet.</p>
|
|
7191
|
-
* @public
|
|
7192
|
-
*/
|
|
7193
|
-
Tags?: Tag[] | undefined;
|
|
7194
|
-
/**
|
|
7195
|
-
* <p>Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-\{DeviceFleetName\}".</p> <p>For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".</p>
|
|
7196
|
-
* @public
|
|
7197
|
-
*/
|
|
7198
|
-
EnableIotRoleAlias?: boolean | undefined;
|
|
7199
|
-
}
|
|
7200
|
-
/**
|
|
7201
|
-
* <p>The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker AI Domain.</p>
|
|
7202
|
-
* @public
|
|
7203
|
-
*/
|
|
7204
|
-
export interface EFSFileSystemConfig {
|
|
7205
|
-
/**
|
|
7206
|
-
* <p>The ID of your Amazon EFS file system.</p>
|
|
7207
|
-
* @public
|
|
7208
|
-
*/
|
|
7209
|
-
FileSystemId: string | undefined;
|
|
7210
|
-
/**
|
|
7211
|
-
* <p>The path to the file system directory that is accessible in Amazon SageMaker AI Studio. Permitted users can access only this directory and below.</p>
|
|
7212
|
-
* @public
|
|
7213
|
-
*/
|
|
7214
|
-
FileSystemPath?: string | undefined;
|
|
7215
|
-
}
|
|
7216
|
-
/**
|
|
7217
|
-
* <p>The settings for assigning a custom Amazon FSx for Lustre file system to a user profile or space for an Amazon SageMaker Domain.</p>
|
|
7218
|
-
* @public
|
|
7219
|
-
*/
|
|
7220
|
-
export interface FSxLustreFileSystemConfig {
|
|
7221
|
-
/**
|
|
7222
|
-
* <p>The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.</p>
|
|
7223
|
-
* @public
|
|
7224
|
-
*/
|
|
7225
|
-
FileSystemId: string | undefined;
|
|
7226
|
-
/**
|
|
7227
|
-
* <p>The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.</p>
|
|
7228
|
-
* @public
|
|
7229
|
-
*/
|
|
7230
|
-
FileSystemPath?: string | undefined;
|
|
7231
|
-
}
|
|
7232
|
-
/**
|
|
7233
|
-
* <p>Configuration for the custom Amazon S3 file system.</p>
|
|
7234
|
-
* @public
|
|
7235
|
-
*/
|
|
7236
|
-
export interface S3FileSystemConfig {
|
|
7237
|
-
/**
|
|
7238
|
-
* <p>The file system path where the Amazon S3 storage location will be mounted within the Amazon SageMaker Studio environment.</p>
|
|
7239
|
-
* @public
|
|
7240
|
-
*/
|
|
7241
|
-
MountPath?: string | undefined;
|
|
7242
|
-
/**
|
|
7243
|
-
* <p>The Amazon S3 URI of the S3 file system configuration.</p>
|
|
7244
|
-
* @public
|
|
7245
|
-
*/
|
|
7246
|
-
S3Uri: string | undefined;
|
|
7247
|
-
}
|