@aws-sdk/client-sagemaker 3.988.0 → 3.990.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 +18 -0
- package/dist-cjs/schemas/schemas_0.js +313 -273
- package/dist-es/models/enums.js +16 -0
- package/dist-es/schemas/schemas_0.js +278 -238
- package/dist-types/commands/CreateClusterCommand.d.ts +27 -0
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateComputeQuotaCommand.d.ts +1 -2
- package/dist-types/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateSpaceCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribeClusterCommand.d.ts +27 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +9 -0
- package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeProcessingJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribeProjectCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -2
- package/dist-types/commands/ListProcessingJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +5 -5
- package/dist-types/commands/UpdateClusterCommand.d.ts +32 -0
- package/dist-types/commands/UpdateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrainingJobCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +32 -0
- package/dist-types/models/models_0.d.ts +124 -145
- package/dist-types/models/models_1.d.ts +144 -125
- package/dist-types/models/models_2.d.ts +126 -229
- package/dist-types/models/models_3.d.ts +230 -156
- package/dist-types/models/models_4.d.ts +162 -5
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/commands/CreateCompilationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateComputeQuotaCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePipelineExecutionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListProcessingJobsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -33
- package/dist-types/ts3.4/models/models_1.d.ts +39 -30
- package/dist-types/ts3.4/models/models_2.d.ts +39 -60
- package/dist-types/ts3.4/models/models_3.d.ts +62 -39
- package/dist-types/ts3.4/models/models_4.d.ts +42 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +6 -6
|
@@ -1,6 +1,148 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
-
import { _InstanceType, AccountDefaultStatus, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, CollectionType, ContentClassifier, DataDistributionType, DeviceSubsetType, DirectInternetAccess, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, FailureHandlingPolicy, FeatureStatus, FeatureType, FlatInvocations, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, InferenceExecutionMode, InferenceExperimentType, InputMode, IPAddressType, JobType, ManagedInstanceScalingStatus, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, MonitoringProblemType, MonitoringType, NotebookInstanceAcceleratorType, NotebookOutputOption, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RedshiftResultCompressionType, RedshiftResultFormat, RootAccess, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName,
|
|
3
|
-
import { type AmazonQSettings, type AnnotationConsolidationConfig, type AppLifecycleManagement, type AppSpecification, type AsyncInferenceConfig, type AthenaDatasetDefinition, type AutoRollbackConfig, type Autotune, type BatchTransformInput, type BestObjectiveNotImproving, type Bias, type BlueGreenUpdatePolicy, type CanvasAppSettings, type CapacitySize, type CaptureContentTypeHeader, type CfnCreateTemplateProvider, type CheckpointConfig, type ClarifyExplainerConfig, type CodeEditorAppSettings, type CollectionConfig, type ContextSource, type ConvergenceDetected, type HyperParameterTuningJobObjective, type InferenceSpecification, type MetadataProperties, type MetricsSource, type ModelDataSource, type OutputDataConfig, type ResourceConfig, type ResourceSpec, type StoppingCondition, type TransformJobDefinition, type VpcConfig, AdditionalInferenceSpecificationDefinition, AuthorizedUrl, AutoParameter, CaptureOption, CategoricalParameter, CategoricalParameterRange, Channel, CodeRepository, ContainerDefinition, ContinuousParameterRange, CustomImage, MetricDefinition, Tag } from "./models_0";
|
|
2
|
+
import { _InstanceType, AccountDefaultStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, CollectionType, ContentClassifier, DataDistributionType, DeviceSubsetType, DirectInternetAccess, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, FailureHandlingPolicy, FeatureStatus, FeatureType, FlatInvocations, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, InferenceExecutionMode, InferenceExperimentType, InputMode, IPAddressType, JobType, ManagedInstanceScalingStatus, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, ModelSpeculativeDecodingS3DataType, ModelSpeculativeDecodingTechnique, MonitoringProblemType, MonitoringType, NotebookInstanceAcceleratorType, NotebookOutputOption, OptimizationJobDeploymentInstanceType, PartnerAppAuthType, PartnerAppType, ProcessingInstanceType, ProcessingS3CompressionType, ProcessingS3DataDistributionType, ProcessingS3DataType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RedshiftResultCompressionType, RedshiftResultFormat, RootAccess, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
|
|
3
|
+
import { type AmazonQSettings, type AnnotationConsolidationConfig, type AppLifecycleManagement, type AppSpecification, type AsyncInferenceConfig, type AthenaDatasetDefinition, type AutoRollbackConfig, type Autotune, type BatchTransformInput, type BestObjectiveNotImproving, type Bias, type BlueGreenUpdatePolicy, type CanvasAppSettings, type CapacitySize, type CaptureContentTypeHeader, type CfnCreateTemplateProvider, type CheckpointConfig, type ClarifyExplainerConfig, type CodeEditorAppSettings, type CollectionConfig, type ComputeQuotaConfig, type ComputeQuotaTarget, type ContextSource, type ConvergenceDetected, type HyperParameterTuningJobObjective, type InferenceSpecification, type InputConfig, type MetadataProperties, type MetricsSource, type ModelDataSource, type OutputDataConfig, type ResourceConfig, type ResourceSpec, type StoppingCondition, type TargetPlatform, type TransformJobDefinition, type VpcConfig, AdditionalInferenceSpecificationDefinition, AuthorizedUrl, AutoParameter, CaptureOption, CategoricalParameter, CategoricalParameterRange, Channel, CodeRepository, ContainerDefinition, ContinuousParameterRange, CustomImage, MetricDefinition, Tag } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Contains information about the output location for the compiled model and the target device that the model runs on. <code>TargetDevice</code> and <code>TargetPlatform</code> are mutually exclusive, so you need to choose one between the two to specify your target device or platform. If you cannot find your device you want to use from the <code>TargetDevice</code> list, use <code>TargetPlatform</code> to describe the platform of your edge device and <code>CompilerOptions</code> if there are specific settings that are required or recommended to use for particular TargetPlatform.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface OutputConfig {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Identifies the S3 bucket where you want Amazon SageMaker AI to store the model artifacts. For example, <code>s3://bucket-name/key-name-prefix</code>.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
S3OutputLocation: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>Identifies the target device or the machine learning instance that you want to run your model on after the compilation has completed. Alternatively, you can specify OS, architecture, and accelerator using <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TargetPlatform.html">TargetPlatform</a> fields. It can be used instead of <code>TargetPlatform</code>.</p> <note> <p>Currently <code>ml_trn1</code> is available only in US East (N. Virginia) Region, and <code>ml_inf2</code> is available only in US East (Ohio) Region.</p> </note>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
TargetDevice?: TargetDevice | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>Contains information about a target platform that you want your model to run on, such as OS, architecture, and accelerators. It is an alternative of <code>TargetDevice</code>.</p> <p>The following examples show how to configure the <code>TargetPlatform</code> and <code>CompilerOptions</code> JSON strings for popular target platforms: </p> <ul> <li> <p>Raspberry Pi 3 Model B+</p> <p> <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM_EABIHF"\},</code> </p> <p> <code> "CompilerOptions": \{'mattr': ['+neon']\}</code> </p> </li> <li> <p>Jetson TX2</p> <p> <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator": "NVIDIA"\},</code> </p> <p> <code> "CompilerOptions": \{'gpu-code': 'sm_62', 'trt-ver': '6.0.1', 'cuda-ver': '10.0'\}</code> </p> </li> <li> <p>EC2 m5.2xlarge instance OS</p> <p> <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "X86_64", "Accelerator": "NVIDIA"\},</code> </p> <p> <code> "CompilerOptions": \{'mcpu': 'skylake-avx512'\}</code> </p> </li> <li> <p>RK3399</p> <p> <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator": "MALI"\}</code> </p> </li> <li> <p>ARMv7 phone (CPU)</p> <p> <code>"TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM_EABI"\},</code> </p> <p> <code> "CompilerOptions": \{'ANDROID_PLATFORM': 25, 'mattr': ['+neon']\}</code> </p> </li> <li> <p>ARMv8 phone (CPU)</p> <p> <code>"TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM64"\},</code> </p> <p> <code> "CompilerOptions": \{'ANDROID_PLATFORM': 29\}</code> </p> </li> </ul>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
TargetPlatform?: TargetPlatform | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>Specifies additional parameters for compiler options in JSON format. The compiler options are <code>TargetPlatform</code> specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specify <code>CompilerOptions.</code> </p> <ul> <li> <p> <code>DTYPE</code>: Specifies the data type for the input. When compiling for <code>ml_*</code> (except for <code>ml_inf</code>) instances using PyTorch framework, provide the data type (dtype) of the model's input. <code>"float32"</code> is used if <code>"DTYPE"</code> is not specified. Options for data type are:</p> <ul> <li> <p>float32: Use either <code>"float"</code> or <code>"float32"</code>.</p> </li> <li> <p>int64: Use either <code>"int64"</code> or <code>"long"</code>.</p> </li> </ul> <p> For example, <code>\{"dtype" : "float32"\}</code>.</p> </li> <li> <p> <code>CPU</code>: Compilation for CPU supports the following compiler options.</p> <ul> <li> <p> <code>mcpu</code>: CPU micro-architecture. For example, <code>\{'mcpu': 'skylake-avx512'\}</code> </p> </li> <li> <p> <code>mattr</code>: CPU flags. For example, <code>\{'mattr': ['+neon', '+vfpv4']\}</code> </p> </li> </ul> </li> <li> <p> <code>ARM</code>: Details of ARM CPU compilations.</p> <ul> <li> <p> <code>NEON</code>: NEON is an implementation of the Advanced SIMD extension used in ARMv7 processors.</p> <p>For example, add <code>\{'mattr': ['+neon']\}</code> to the compiler options if compiling for ARM 32-bit platform with the NEON support.</p> </li> </ul> </li> <li> <p> <code>NVIDIA</code>: Compilation for NVIDIA GPU supports the following compiler options.</p> <ul> <li> <p> <code>gpu_code</code>: Specifies the targeted architecture.</p> </li> <li> <p> <code>trt-ver</code>: Specifies the TensorRT versions in x.y.z. format.</p> </li> <li> <p> <code>cuda-ver</code>: Specifies the CUDA version in x.y format.</p> </li> </ul> <p>For example, <code>\{'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver': '10.1'\}</code> </p> </li> <li> <p> <code>ANDROID</code>: Compilation for the Android OS supports the following compiler options:</p> <ul> <li> <p> <code>ANDROID_PLATFORM</code>: Specifies the Android API levels. Available levels range from 21 to 29. For example, <code>\{'ANDROID_PLATFORM': 28\}</code>.</p> </li> <li> <p> <code>mattr</code>: Add <code>\{'mattr': ['+neon']\}</code> to compiler options if compiling for ARM 32-bit platform with NEON support.</p> </li> </ul> </li> <li> <p> <code>INFERENTIA</code>: Compilation for target ml_inf1 uses compiler options passed in as a JSON string. For example, <code>"CompilerOptions": "\"--verbose 1 --num-neuroncores 2 -O2\""</code>. </p> <p>For information about supported compiler options, see <a href="https://awsdocs-neuron.readthedocs-hosted.com/en/latest/compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-guide.html"> Neuron Compiler CLI Reference Guide</a>. </p> </li> <li> <p> <code>CoreML</code>: Compilation for the CoreML <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html">OutputConfig</a> <code>TargetDevice</code> supports the following compiler options:</p> <ul> <li> <p> <code>class_labels</code>: Specifies the classification labels file name inside input tar.gz file. For example, <code>\{"class_labels": "imagenet_labels_1000.txt"\}</code>. Labels inside the txt file should be separated by newlines.</p> </li> </ul> </li> </ul>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
CompilerOptions?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker AI uses to encrypt your output models with Amazon S3 server-side encryption after compilation job. If you don't provide a KMS key ID, Amazon SageMaker AI uses the default KMS key for Amazon S3 for your role's account. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">KMS-Managed Encryption Keys</a> in the <i>Amazon Simple Storage Service Developer Guide.</i> </p> <p>The KmsKeyId can be any of the following formats: </p> <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Key ARN: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> </li> <li> <p>Alias name: <code>alias/ExampleAlias</code> </p> </li> <li> <p>Alias name ARN: <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code> </p> </li> </ul>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
KmsKeyId?: string | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p>The <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> configuration object that specifies the VPC that you want the compilation jobs to connect to. For more information on controlling access to your Amazon S3 buckets used for compilation job, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html">Give Amazon SageMaker AI Compilation Jobs Access to Resources in Your Amazon VPC</a>.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface NeoVpcConfig {
|
|
40
|
+
/**
|
|
41
|
+
* <p>The VPC security group IDs. IDs have the form of <code>sg-xxxxxxxx</code>. Specify the security groups for the VPC that is specified in the <code>Subnets</code> field.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
SecurityGroupIds: string[] | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in Amazon S3.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
Subnets: string[] | undefined;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export interface CreateCompilationJobRequest {
|
|
55
|
+
/**
|
|
56
|
+
* <p>A name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. </p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
CompilationJobName: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf. </p> <p>During model compilation, Amazon SageMaker AI needs your permission to:</p> <ul> <li> <p>Read input data from an S3 bucket</p> </li> <li> <p>Write model artifacts to an S3 bucket</p> </li> <li> <p>Write logs to Amazon CloudWatch Logs</p> </li> <li> <p>Publish metrics to Amazon CloudWatch</p> </li> </ul> <p>You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker AI, the caller of this API must have the <code>iam:PassRole</code> permission. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">Amazon SageMaker AI Roles.</a> </p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
RoleArn: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The Amazon Resource Name (ARN) of a versioned model package. Provide either a <code>ModelPackageVersionArn</code> or an <code>InputConfig</code> object in the request syntax. The presence of both objects in the <code>CreateCompilationJob</code> request will return an exception.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
ModelPackageVersionArn?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
InputConfig?: InputConfig | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>Provides information about the output location for the compiled model and the target device the model runs on.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
OutputConfig: OutputConfig | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>A <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html">Protect Compilation Jobs by Using an Amazon Virtual Private Cloud</a>.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
VpcConfig?: NeoVpcConfig | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker AI ends the compilation job. Use this API to cap model training costs.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
StoppingCondition: StoppingCondition | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <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>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
Tags?: Tag[] | undefined;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export interface CreateCompilationJobResponse {
|
|
100
|
+
/**
|
|
101
|
+
* <p>If the action is successful, the service sends back an HTTP 200 response. Amazon SageMaker AI returns the following data in JSON format:</p> <ul> <li> <p> <code>CompilationJobArn</code>: The Amazon Resource Name (ARN) of the compiled job.</p> </li> </ul>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
CompilationJobArn: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export interface CreateComputeQuotaRequest {
|
|
110
|
+
/**
|
|
111
|
+
* <p>Name to the compute allocation definition.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
Name: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* <p>Description of the compute allocation definition.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
Description?: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>ARN of the cluster.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
ClusterArn: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* <p>Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
ComputeQuotaConfig: ComputeQuotaConfig | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>The target entity to allocate compute resources to.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
ComputeQuotaTarget: ComputeQuotaTarget | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The state of the compute allocation being described. Use to enable or disable compute allocation.</p> <p>Default is <code>Enabled</code>.</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
ActivationState?: ActivationState | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>Tags of the compute allocation definition.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
Tags?: Tag[] | undefined;
|
|
145
|
+
}
|
|
4
146
|
/**
|
|
5
147
|
* @public
|
|
6
148
|
*/
|
|
@@ -6843,126 +6985,3 @@ export interface EbsStorageSettings {
|
|
|
6843
6985
|
*/
|
|
6844
6986
|
EbsVolumeSizeInGb: number | undefined;
|
|
6845
6987
|
}
|
|
6846
|
-
/**
|
|
6847
|
-
* <p>The storage settings for a space.</p>
|
|
6848
|
-
* @public
|
|
6849
|
-
*/
|
|
6850
|
-
export interface SpaceStorageSettings {
|
|
6851
|
-
/**
|
|
6852
|
-
* <p>A collection of EBS storage settings for a space.</p>
|
|
6853
|
-
* @public
|
|
6854
|
-
*/
|
|
6855
|
-
EbsStorageSettings?: EbsStorageSettings | undefined;
|
|
6856
|
-
}
|
|
6857
|
-
/**
|
|
6858
|
-
* <p>A collection of space settings.</p>
|
|
6859
|
-
* @public
|
|
6860
|
-
*/
|
|
6861
|
-
export interface SpaceSettings {
|
|
6862
|
-
/**
|
|
6863
|
-
* <p>The JupyterServer app settings.</p>
|
|
6864
|
-
* @public
|
|
6865
|
-
*/
|
|
6866
|
-
JupyterServerAppSettings?: JupyterServerAppSettings | undefined;
|
|
6867
|
-
/**
|
|
6868
|
-
* <p>The KernelGateway app settings.</p>
|
|
6869
|
-
* @public
|
|
6870
|
-
*/
|
|
6871
|
-
KernelGatewayAppSettings?: KernelGatewayAppSettings | undefined;
|
|
6872
|
-
/**
|
|
6873
|
-
* <p>The Code Editor application settings.</p>
|
|
6874
|
-
* @public
|
|
6875
|
-
*/
|
|
6876
|
-
CodeEditorAppSettings?: SpaceCodeEditorAppSettings | undefined;
|
|
6877
|
-
/**
|
|
6878
|
-
* <p>The settings for the JupyterLab application.</p>
|
|
6879
|
-
* @public
|
|
6880
|
-
*/
|
|
6881
|
-
JupyterLabAppSettings?: SpaceJupyterLabAppSettings | undefined;
|
|
6882
|
-
/**
|
|
6883
|
-
* <p>The type of app created within the space.</p> <p>If using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateSpace.html"> UpdateSpace</a> API, you can't change the app type of your space by specifying a different value for this field.</p>
|
|
6884
|
-
* @public
|
|
6885
|
-
*/
|
|
6886
|
-
AppType?: AppType | undefined;
|
|
6887
|
-
/**
|
|
6888
|
-
* <p>The storage settings for a space.</p>
|
|
6889
|
-
* @public
|
|
6890
|
-
*/
|
|
6891
|
-
SpaceStorageSettings?: SpaceStorageSettings | undefined;
|
|
6892
|
-
/**
|
|
6893
|
-
* <p>If you enable this option, SageMaker AI creates the following resources on your behalf when you create the space:</p> <ul> <li> <p>The user profile that possesses the space.</p> </li> <li> <p>The app that the space contains.</p> </li> </ul>
|
|
6894
|
-
* @public
|
|
6895
|
-
*/
|
|
6896
|
-
SpaceManagedResources?: FeatureStatus | undefined;
|
|
6897
|
-
/**
|
|
6898
|
-
* <p>A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain. Permitted users can access this file system in Amazon SageMaker AI Studio.</p>
|
|
6899
|
-
* @public
|
|
6900
|
-
*/
|
|
6901
|
-
CustomFileSystems?: CustomFileSystem[] | undefined;
|
|
6902
|
-
/**
|
|
6903
|
-
* <p>A setting that enables or disables remote access for a SageMaker space. When enabled, this allows you to connect to the remote space from your local IDE.</p>
|
|
6904
|
-
* @public
|
|
6905
|
-
*/
|
|
6906
|
-
RemoteAccess?: FeatureStatus | undefined;
|
|
6907
|
-
}
|
|
6908
|
-
/**
|
|
6909
|
-
* <p>A collection of space sharing settings.</p>
|
|
6910
|
-
* @public
|
|
6911
|
-
*/
|
|
6912
|
-
export interface SpaceSharingSettings {
|
|
6913
|
-
/**
|
|
6914
|
-
* <p>Specifies the sharing type of the space.</p>
|
|
6915
|
-
* @public
|
|
6916
|
-
*/
|
|
6917
|
-
SharingType: SharingType | undefined;
|
|
6918
|
-
}
|
|
6919
|
-
/**
|
|
6920
|
-
* @public
|
|
6921
|
-
*/
|
|
6922
|
-
export interface CreateSpaceRequest {
|
|
6923
|
-
/**
|
|
6924
|
-
* <p>The ID of the associated domain.</p>
|
|
6925
|
-
* @public
|
|
6926
|
-
*/
|
|
6927
|
-
DomainId: string | undefined;
|
|
6928
|
-
/**
|
|
6929
|
-
* <p>The name of the space.</p>
|
|
6930
|
-
* @public
|
|
6931
|
-
*/
|
|
6932
|
-
SpaceName: string | undefined;
|
|
6933
|
-
/**
|
|
6934
|
-
* <p>Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the <code>Search</code> API.</p>
|
|
6935
|
-
* @public
|
|
6936
|
-
*/
|
|
6937
|
-
Tags?: Tag[] | undefined;
|
|
6938
|
-
/**
|
|
6939
|
-
* <p>A collection of space settings.</p>
|
|
6940
|
-
* @public
|
|
6941
|
-
*/
|
|
6942
|
-
SpaceSettings?: SpaceSettings | undefined;
|
|
6943
|
-
/**
|
|
6944
|
-
* <p>A collection of ownership settings.</p>
|
|
6945
|
-
* @public
|
|
6946
|
-
*/
|
|
6947
|
-
OwnershipSettings?: OwnershipSettings | undefined;
|
|
6948
|
-
/**
|
|
6949
|
-
* <p>A collection of space sharing settings.</p>
|
|
6950
|
-
* @public
|
|
6951
|
-
*/
|
|
6952
|
-
SpaceSharingSettings?: SpaceSharingSettings | undefined;
|
|
6953
|
-
/**
|
|
6954
|
-
* <p>The name of the space that appears in the SageMaker Studio UI.</p>
|
|
6955
|
-
* @public
|
|
6956
|
-
*/
|
|
6957
|
-
SpaceDisplayName?: string | undefined;
|
|
6958
|
-
}
|
|
6959
|
-
/**
|
|
6960
|
-
* @public
|
|
6961
|
-
*/
|
|
6962
|
-
export interface CreateSpaceResponse {
|
|
6963
|
-
/**
|
|
6964
|
-
* <p>The space's Amazon Resource Name (ARN).</p>
|
|
6965
|
-
* @public
|
|
6966
|
-
*/
|
|
6967
|
-
SpaceArn?: string | undefined;
|
|
6968
|
-
}
|