@aws-sdk/client-sagemaker 3.830.0 → 3.833.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 +65 -23
- package/dist-es/models/models_0.js +1 -26
- package/dist-es/models/models_1.js +26 -5
- package/dist-es/models/models_2.js +5 -5
- package/dist-es/models/models_3.js +5 -5
- package/dist-es/models/models_4.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +47 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateComputeQuotaCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +2 -1
- package/dist-types/commands/CreateModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateProjectCommand.d.ts +15 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -2
- package/dist-types/commands/DescribeProjectCommand.d.ts +20 -0
- package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +2 -2
- package/dist-types/commands/ListClusterSchedulerConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListComputeQuotasCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +20 -0
- package/dist-types/commands/StartInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/StartMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StopAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComputeQuotaCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +149 -88
- package/dist-types/models/models_1.d.ts +88 -167
- package/dist-types/models/models_2.d.ts +184 -233
- package/dist-types/models/models_3.d.ts +250 -256
- package/dist-types/models/models_4.d.ts +262 -124
- package/dist-types/models/models_5.d.ts +140 -4
- package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterSchedulerConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +36 -33
- package/dist-types/ts3.4/models/models_1.d.ts +34 -46
- package/dist-types/ts3.4/models/models_2.d.ts +49 -62
- package/dist-types/ts3.4/models/models_3.d.ts +66 -76
- package/dist-types/ts3.4/models/models_4.d.ts +75 -35
- package/dist-types/ts3.4/models/models_5.d.ts +41 -1
- package/package.json +1 -1
|
@@ -1,6 +1,93 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ActionSource, ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacityReservationPreference, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, CompleteOnConvergence, ComputeQuotaConfig, ComputeQuotaTarget,
|
|
2
|
+
import { ActionSource, ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacityReservationPreference, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, CompleteOnConvergence, ComputeQuotaConfig, ComputeQuotaTarget, ConditionOutcome, CustomImage, FeatureStatus, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig } from "./models_0";
|
|
3
3
|
import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Metadata for a Condition step.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ConditionStepMetadata {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The outcome of the Condition step evaluation.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
Outcome?: ConditionOutcome | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code> or <code>Artifact</code>.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const RepositoryAccessMode: {
|
|
33
|
+
readonly PLATFORM: "Platform";
|
|
34
|
+
readonly VPC: "Vpc";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type RepositoryAccessMode = (typeof RepositoryAccessMode)[keyof typeof RepositoryAccessMode];
|
|
40
|
+
/**
|
|
41
|
+
* <p>Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified <code>Vpc</code> as the value for the <code>RepositoryAccessMode</code> field of the <code>ImageConfig</code> object that you passed to a call to <code>CreateModel</code> and the private Docker registry where the model image is hosted requires authentication.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export interface RepositoryAuthConfig {
|
|
45
|
+
/**
|
|
46
|
+
* <p>The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. For information about how to create an Amazon Web Services Lambda function, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/getting-started-create-function.html">Create a Lambda function with the console</a> in the <i>Amazon Web Services Lambda Developer Guide</i>.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
RepositoryCredentialsProviderArn: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export interface ImageConfig {
|
|
56
|
+
/**
|
|
57
|
+
* <p>Set this to one of the following values:</p> <ul> <li> <p> <code>Platform</code> - The model image is hosted in Amazon ECR.</p> </li> <li> <p> <code>Vpc</code> - The model image is hosted in a private Docker registry in your VPC.</p> </li> </ul>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
RepositoryAccessMode: RepositoryAccessMode | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified <code>Vpc</code> as the value for the <code>RepositoryAccessMode</code> field, and the private Docker registry where the model image is hosted requires authentication.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
RepositoryAuthConfig?: RepositoryAuthConfig | undefined;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const ContainerMode: {
|
|
72
|
+
readonly MULTI_MODEL: "MultiModel";
|
|
73
|
+
readonly SINGLE_MODEL: "SingleModel";
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export type ContainerMode = (typeof ContainerMode)[keyof typeof ContainerMode];
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* @enum
|
|
82
|
+
*/
|
|
83
|
+
export declare const ModelCacheSetting: {
|
|
84
|
+
readonly DISABLED: "Disabled";
|
|
85
|
+
readonly ENABLED: "Enabled";
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export type ModelCacheSetting = (typeof ModelCacheSetting)[keyof typeof ModelCacheSetting];
|
|
4
91
|
/**
|
|
5
92
|
* <p>Specifies additional configuration for hosting multi-model endpoints.</p>
|
|
6
93
|
* @public
|
|
@@ -6747,172 +6834,6 @@ export interface CreateModelPackageGroupInput {
|
|
|
6747
6834
|
*/
|
|
6748
6835
|
Tags?: Tag[] | undefined;
|
|
6749
6836
|
}
|
|
6750
|
-
/**
|
|
6751
|
-
* @public
|
|
6752
|
-
*/
|
|
6753
|
-
export interface CreateModelPackageGroupOutput {
|
|
6754
|
-
/**
|
|
6755
|
-
* <p>The Amazon Resource Name (ARN) of the model group.</p>
|
|
6756
|
-
* @public
|
|
6757
|
-
*/
|
|
6758
|
-
ModelPackageGroupArn: string | undefined;
|
|
6759
|
-
}
|
|
6760
|
-
/**
|
|
6761
|
-
* @public
|
|
6762
|
-
* @enum
|
|
6763
|
-
*/
|
|
6764
|
-
export declare const MonitoringProblemType: {
|
|
6765
|
-
readonly BINARY_CLASSIFICATION: "BinaryClassification";
|
|
6766
|
-
readonly MULTICLASS_CLASSIFICATION: "MulticlassClassification";
|
|
6767
|
-
readonly REGRESSION: "Regression";
|
|
6768
|
-
};
|
|
6769
|
-
/**
|
|
6770
|
-
* @public
|
|
6771
|
-
*/
|
|
6772
|
-
export type MonitoringProblemType = (typeof MonitoringProblemType)[keyof typeof MonitoringProblemType];
|
|
6773
|
-
/**
|
|
6774
|
-
* <p>Container image configuration object for the monitoring job.</p>
|
|
6775
|
-
* @public
|
|
6776
|
-
*/
|
|
6777
|
-
export interface ModelQualityAppSpecification {
|
|
6778
|
-
/**
|
|
6779
|
-
* <p>The address of the container image that the monitoring job runs.</p>
|
|
6780
|
-
* @public
|
|
6781
|
-
*/
|
|
6782
|
-
ImageUri: string | undefined;
|
|
6783
|
-
/**
|
|
6784
|
-
* <p>Specifies the entrypoint for a container that the monitoring job runs.</p>
|
|
6785
|
-
* @public
|
|
6786
|
-
*/
|
|
6787
|
-
ContainerEntrypoint?: string[] | undefined;
|
|
6788
|
-
/**
|
|
6789
|
-
* <p>An array of arguments for the container used to run the monitoring job.</p>
|
|
6790
|
-
* @public
|
|
6791
|
-
*/
|
|
6792
|
-
ContainerArguments?: string[] | undefined;
|
|
6793
|
-
/**
|
|
6794
|
-
* <p>An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.</p>
|
|
6795
|
-
* @public
|
|
6796
|
-
*/
|
|
6797
|
-
RecordPreprocessorSourceUri?: string | undefined;
|
|
6798
|
-
/**
|
|
6799
|
-
* <p>An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.</p>
|
|
6800
|
-
* @public
|
|
6801
|
-
*/
|
|
6802
|
-
PostAnalyticsProcessorSourceUri?: string | undefined;
|
|
6803
|
-
/**
|
|
6804
|
-
* <p>The machine learning problem type of the model that the monitoring job monitors.</p>
|
|
6805
|
-
* @public
|
|
6806
|
-
*/
|
|
6807
|
-
ProblemType?: MonitoringProblemType | undefined;
|
|
6808
|
-
/**
|
|
6809
|
-
* <p>Sets the environment variables in the container that the monitoring job runs.</p>
|
|
6810
|
-
* @public
|
|
6811
|
-
*/
|
|
6812
|
-
Environment?: Record<string, string> | undefined;
|
|
6813
|
-
}
|
|
6814
|
-
/**
|
|
6815
|
-
* <p>Configuration for monitoring constraints and monitoring statistics. These baseline resources are compared against the results of the current job from the series of jobs scheduled to collect data periodically.</p>
|
|
6816
|
-
* @public
|
|
6817
|
-
*/
|
|
6818
|
-
export interface ModelQualityBaselineConfig {
|
|
6819
|
-
/**
|
|
6820
|
-
* <p>The name of the job that performs baselining for the monitoring job.</p>
|
|
6821
|
-
* @public
|
|
6822
|
-
*/
|
|
6823
|
-
BaseliningJobName?: string | undefined;
|
|
6824
|
-
/**
|
|
6825
|
-
* <p>The constraints resource for a monitoring job.</p>
|
|
6826
|
-
* @public
|
|
6827
|
-
*/
|
|
6828
|
-
ConstraintsResource?: MonitoringConstraintsResource | undefined;
|
|
6829
|
-
}
|
|
6830
|
-
/**
|
|
6831
|
-
* <p>The input for the model quality monitoring job. Currently endpoints are supported for input for model quality monitoring jobs.</p>
|
|
6832
|
-
* @public
|
|
6833
|
-
*/
|
|
6834
|
-
export interface ModelQualityJobInput {
|
|
6835
|
-
/**
|
|
6836
|
-
* <p>Input object for the endpoint</p>
|
|
6837
|
-
* @public
|
|
6838
|
-
*/
|
|
6839
|
-
EndpointInput?: EndpointInput | undefined;
|
|
6840
|
-
/**
|
|
6841
|
-
* <p>Input object for the batch transform job.</p>
|
|
6842
|
-
* @public
|
|
6843
|
-
*/
|
|
6844
|
-
BatchTransformInput?: BatchTransformInput | undefined;
|
|
6845
|
-
/**
|
|
6846
|
-
* <p>The ground truth label provided for the model.</p>
|
|
6847
|
-
* @public
|
|
6848
|
-
*/
|
|
6849
|
-
GroundTruthS3Input: MonitoringGroundTruthS3Input | undefined;
|
|
6850
|
-
}
|
|
6851
|
-
/**
|
|
6852
|
-
* @public
|
|
6853
|
-
*/
|
|
6854
|
-
export interface CreateModelQualityJobDefinitionRequest {
|
|
6855
|
-
/**
|
|
6856
|
-
* <p>The name of the monitoring job definition.</p>
|
|
6857
|
-
* @public
|
|
6858
|
-
*/
|
|
6859
|
-
JobDefinitionName: string | undefined;
|
|
6860
|
-
/**
|
|
6861
|
-
* <p>Specifies the constraints and baselines for the monitoring job.</p>
|
|
6862
|
-
* @public
|
|
6863
|
-
*/
|
|
6864
|
-
ModelQualityBaselineConfig?: ModelQualityBaselineConfig | undefined;
|
|
6865
|
-
/**
|
|
6866
|
-
* <p>The container that runs the monitoring job.</p>
|
|
6867
|
-
* @public
|
|
6868
|
-
*/
|
|
6869
|
-
ModelQualityAppSpecification: ModelQualityAppSpecification | undefined;
|
|
6870
|
-
/**
|
|
6871
|
-
* <p>A list of the inputs that are monitored. Currently endpoints are supported.</p>
|
|
6872
|
-
* @public
|
|
6873
|
-
*/
|
|
6874
|
-
ModelQualityJobInput: ModelQualityJobInput | undefined;
|
|
6875
|
-
/**
|
|
6876
|
-
* <p>The output configuration for monitoring jobs.</p>
|
|
6877
|
-
* @public
|
|
6878
|
-
*/
|
|
6879
|
-
ModelQualityJobOutputConfig: MonitoringOutputConfig | undefined;
|
|
6880
|
-
/**
|
|
6881
|
-
* <p>Identifies the resources to deploy for a monitoring job.</p>
|
|
6882
|
-
* @public
|
|
6883
|
-
*/
|
|
6884
|
-
JobResources: MonitoringResources | undefined;
|
|
6885
|
-
/**
|
|
6886
|
-
* <p>Specifies the network configuration for the monitoring job.</p>
|
|
6887
|
-
* @public
|
|
6888
|
-
*/
|
|
6889
|
-
NetworkConfig?: MonitoringNetworkConfig | undefined;
|
|
6890
|
-
/**
|
|
6891
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.</p>
|
|
6892
|
-
* @public
|
|
6893
|
-
*/
|
|
6894
|
-
RoleArn: string | undefined;
|
|
6895
|
-
/**
|
|
6896
|
-
* <p>A time limit for how long the monitoring job is allowed to run before stopping.</p>
|
|
6897
|
-
* @public
|
|
6898
|
-
*/
|
|
6899
|
-
StoppingCondition?: MonitoringStoppingCondition | undefined;
|
|
6900
|
-
/**
|
|
6901
|
-
* <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>
|
|
6902
|
-
* @public
|
|
6903
|
-
*/
|
|
6904
|
-
Tags?: Tag[] | undefined;
|
|
6905
|
-
}
|
|
6906
|
-
/**
|
|
6907
|
-
* @public
|
|
6908
|
-
*/
|
|
6909
|
-
export interface CreateModelQualityJobDefinitionResponse {
|
|
6910
|
-
/**
|
|
6911
|
-
* <p>The Amazon Resource Name (ARN) of the model quality monitoring job.</p>
|
|
6912
|
-
* @public
|
|
6913
|
-
*/
|
|
6914
|
-
JobDefinitionArn: string | undefined;
|
|
6915
|
-
}
|
|
6916
6837
|
/**
|
|
6917
6838
|
* @internal
|
|
6918
6839
|
*/
|