@aws-sdk/client-sagemaker 3.645.0 → 3.648.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.
Files changed (55) hide show
  1. package/dist-cjs/index.js +17317 -17254
  2. package/dist-es/commands/DescribeModelCardCommand.js +1 -1
  3. package/dist-es/models/models_0.js +13 -13
  4. package/dist-es/models/models_1.js +15 -16
  5. package/dist-es/models/models_2.js +15 -23
  6. package/dist-es/models/models_3.js +23 -11
  7. package/dist-es/models/models_4.js +11 -0
  8. package/dist-es/protocols/Aws_json1_1.js +50 -1
  9. package/dist-types/commands/CreateAppImageConfigCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateArtifactCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateAutoMLJobCommand.d.ts +1 -2
  12. package/dist-types/commands/CreateClusterCommand.d.ts +9 -0
  13. package/dist-types/commands/CreateDomainCommand.d.ts +24 -0
  14. package/dist-types/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +2 -1
  15. package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateSpaceCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateUserProfileCommand.d.ts +16 -0
  18. package/dist-types/commands/DescribeClusterCommand.d.ts +9 -0
  19. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeDomainCommand.d.ts +24 -0
  21. package/dist-types/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeModelCardCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeSpaceCommand.d.ts +10 -0
  26. package/dist-types/commands/DescribeUserProfileCommand.d.ts +16 -0
  27. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListModelCardExportJobsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListModelCardsCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateClusterCommand.d.ts +4 -0
  31. package/dist-types/commands/UpdateDomainCommand.d.ts +24 -0
  32. package/dist-types/commands/UpdateSpaceCommand.d.ts +10 -0
  33. package/dist-types/commands/UpdateUserProfileCommand.d.ts +16 -0
  34. package/dist-types/models/models_0.d.ts +111 -199
  35. package/dist-types/models/models_1.d.ts +222 -122
  36. package/dist-types/models/models_2.d.ts +164 -294
  37. package/dist-types/models/models_3.d.ts +295 -265
  38. package/dist-types/models/models_4.d.ts +271 -4
  39. package/dist-types/ts3.4/commands/CreateAppImageConfigCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/CreateArtifactCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/CreateAutoMLJobCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeModelCardCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListModelCardExportJobsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListModelCardsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +37 -43
  51. package/dist-types/ts3.4/models/models_1.d.ts +61 -38
  52. package/dist-types/ts3.4/models/models_2.d.ts +49 -93
  53. package/dist-types/ts3.4/models/models_3.d.ts +90 -66
  54. package/dist-types/ts3.4/models/models_4.d.ts +69 -3
  55. package/package.json +1 -1
@@ -1,5 +1,205 @@
1
- import { LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
2
- import { AdditionalInferenceSpecificationDefinition, AmazonQSettings, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AsyncInferenceConfig, AuthMode, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange, ConvergenceDetected, CustomImage, FeatureStatus, GitConfig, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, ModelDeployConfig, OutputDataConfig, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig } from "./models_0";
1
+ import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
2
+ import { AdditionalInferenceSpecificationDefinition, AmazonQSettings, AnnotationConsolidationConfig, 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, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange, ConvergenceDetected, CustomImage, FeatureStatus, GitConfig, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetadataProperties, 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
+ import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
4
+ /**
5
+ * <p>Resource being accessed is in use.</p>
6
+ * @public
7
+ */
8
+ export declare class ResourceInUse extends __BaseException {
9
+ readonly name: "ResourceInUse";
10
+ readonly $fault: "client";
11
+ Message?: string;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
16
+ }
17
+ /**
18
+ * @public
19
+ */
20
+ export interface CreateAppImageConfigRequest {
21
+ /**
22
+ * <p>The name of the AppImageConfig. Must be unique to your account.</p>
23
+ * @public
24
+ */
25
+ AppImageConfigName: string | undefined;
26
+ /**
27
+ * <p>A list of tags to apply to the AppImageConfig.</p>
28
+ * @public
29
+ */
30
+ Tags?: Tag[];
31
+ /**
32
+ * <p>The KernelGatewayImageConfig. You can only specify one image kernel in the
33
+ * AppImageConfig API. This kernel will be shown to users before the
34
+ * image starts. Once the image runs, all kernels are visible in JupyterLab.</p>
35
+ * @public
36
+ */
37
+ KernelGatewayImageConfig?: KernelGatewayImageConfig;
38
+ /**
39
+ * <p>The <code>JupyterLabAppImageConfig</code>. You can only specify one image kernel in the <code>AppImageConfig</code> API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.</p>
40
+ * @public
41
+ */
42
+ JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
43
+ /**
44
+ * <p>The <code>CodeEditorAppImageConfig</code>. You can only specify one image kernel
45
+ * in the AppImageConfig API. This kernel is shown to users before the image starts.
46
+ * After the image runs, all kernels are visible in Code Editor.</p>
47
+ * @public
48
+ */
49
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
50
+ }
51
+ /**
52
+ * @public
53
+ */
54
+ export interface CreateAppImageConfigResponse {
55
+ /**
56
+ * <p>The ARN of the AppImageConfig.</p>
57
+ * @public
58
+ */
59
+ AppImageConfigArn?: string;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface CreateArtifactRequest {
65
+ /**
66
+ * <p>The name of the artifact. Must be unique to your account in an Amazon Web Services Region.</p>
67
+ * @public
68
+ */
69
+ ArtifactName?: string;
70
+ /**
71
+ * <p>The ID, ID type, and URI of the source.</p>
72
+ * @public
73
+ */
74
+ Source: ArtifactSource | undefined;
75
+ /**
76
+ * <p>The artifact type.</p>
77
+ * @public
78
+ */
79
+ ArtifactType: string | undefined;
80
+ /**
81
+ * <p>A list of properties to add to the artifact.</p>
82
+ * @public
83
+ */
84
+ Properties?: Record<string, string>;
85
+ /**
86
+ * <p>Metadata properties of the tracking entity, trial, or trial component.</p>
87
+ * @public
88
+ */
89
+ MetadataProperties?: MetadataProperties;
90
+ /**
91
+ * <p>A list of tags to apply to the artifact.</p>
92
+ * @public
93
+ */
94
+ Tags?: Tag[];
95
+ }
96
+ /**
97
+ * @public
98
+ */
99
+ export interface CreateArtifactResponse {
100
+ /**
101
+ * <p>The Amazon Resource Name (ARN) of the artifact.</p>
102
+ * @public
103
+ */
104
+ ArtifactArn?: string;
105
+ }
106
+ /**
107
+ * <p>Specifies how to generate the endpoint name for an automatic one-click Autopilot model
108
+ * deployment.</p>
109
+ * @public
110
+ */
111
+ export interface ModelDeployConfig {
112
+ /**
113
+ * <p>Set to <code>True</code> to automatically generate an endpoint name for a one-click
114
+ * Autopilot model deployment; set to <code>False</code> otherwise. The default value is
115
+ * <code>False</code>.</p>
116
+ * <note>
117
+ * <p>If you set <code>AutoGenerateEndpointName</code> to <code>True</code>, do not specify
118
+ * the <code>EndpointName</code>; otherwise a 400 error is thrown.</p>
119
+ * </note>
120
+ * @public
121
+ */
122
+ AutoGenerateEndpointName?: boolean;
123
+ /**
124
+ * <p>Specifies the endpoint name to use for a one-click Autopilot model deployment if the
125
+ * endpoint name is not generated automatically.</p>
126
+ * <note>
127
+ * <p>Specify the <code>EndpointName</code> if and only if you set
128
+ * <code>AutoGenerateEndpointName</code> to <code>False</code>; otherwise a 400 error is
129
+ * thrown.</p>
130
+ * </note>
131
+ * @public
132
+ */
133
+ EndpointName?: string;
134
+ }
135
+ /**
136
+ * @public
137
+ */
138
+ export interface CreateAutoMLJobRequest {
139
+ /**
140
+ * <p>Identifies an Autopilot job. The name must be unique to your account and is case
141
+ * insensitive.</p>
142
+ * @public
143
+ */
144
+ AutoMLJobName: string | undefined;
145
+ /**
146
+ * <p>An array of channel objects that describes the input data and its location. Each channel
147
+ * is a named input source. Similar to <code>InputDataConfig</code> supported by <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html">HyperParameterTrainingJobDefinition</a>. Format(s) supported: CSV, Parquet. A
148
+ * minimum of 500 rows is required for the training dataset. There is not a minimum number of
149
+ * rows required for the validation dataset.</p>
150
+ * @public
151
+ */
152
+ InputDataConfig: AutoMLChannel[] | undefined;
153
+ /**
154
+ * <p>Provides information about encryption and the Amazon S3 output path needed to
155
+ * store artifacts from an AutoML job. Format(s) supported: CSV.</p>
156
+ * @public
157
+ */
158
+ OutputDataConfig: AutoMLOutputDataConfig | undefined;
159
+ /**
160
+ * <p>Defines the type of supervised learning problem available for the candidates. For more
161
+ * information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-problem-types">
162
+ * SageMaker Autopilot problem types</a>.</p>
163
+ * @public
164
+ */
165
+ ProblemType?: ProblemType;
166
+ /**
167
+ * <p>Specifies a metric to minimize or maximize as the objective of a job. If not specified,
168
+ * the default objective metric depends on the problem type. See <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html">AutoMLJobObjective</a> for the default values.</p>
169
+ * @public
170
+ */
171
+ AutoMLJobObjective?: AutoMLJobObjective;
172
+ /**
173
+ * <p>A collection of settings used to configure an AutoML job.</p>
174
+ * @public
175
+ */
176
+ AutoMLJobConfig?: AutoMLJobConfig;
177
+ /**
178
+ * <p>The ARN of the role that is used to access the data.</p>
179
+ * @public
180
+ */
181
+ RoleArn: string | undefined;
182
+ /**
183
+ * <p>Generates possible candidates without training the models. A candidate is a combination
184
+ * of data preprocessors, algorithms, and algorithm parameter settings.</p>
185
+ * @public
186
+ */
187
+ GenerateCandidateDefinitionsOnly?: boolean;
188
+ /**
189
+ * <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services
190
+ * resources in different ways, for example, by purpose, owner, or environment. For more
191
+ * information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web ServicesResources</a>. Tag keys must be unique per
192
+ * resource.</p>
193
+ * @public
194
+ */
195
+ Tags?: Tag[];
196
+ /**
197
+ * <p>Specifies how to generate the endpoint name for an automatic one-click Autopilot model
198
+ * deployment.</p>
199
+ * @public
200
+ */
201
+ ModelDeployConfig?: ModelDeployConfig;
202
+ }
3
203
  /**
4
204
  * @public
5
205
  */
@@ -168,6 +368,21 @@ export interface CreateClusterRequest {
168
368
  * @public
169
369
  */
170
370
  Tags?: Tag[];
371
+ /**
372
+ * <p>The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, the only supported
373
+ * value is <code>"eks"</code>, which is to use an Amazon Elastic Kubernetes Service (EKS)
374
+ * cluster as the orchestrator.</p>
375
+ * @public
376
+ */
377
+ Orchestrator?: ClusterOrchestrator;
378
+ /**
379
+ * <p>The node recovery mode for the SageMaker HyperPod cluster. When set to <code>Automatic</code>,
380
+ * SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set
381
+ * to <code>None</code>, cluster administrators will need to manually manage any faulty
382
+ * cluster instances.</p>
383
+ * @public
384
+ */
385
+ NodeRecovery?: ClusterNodeRecovery;
171
386
  }
172
387
  /**
173
388
  * @public
@@ -1819,6 +2034,11 @@ export interface JupyterLabAppSettings {
1819
2034
  * @public
1820
2035
  */
1821
2036
  CodeRepositories?: CodeRepository[];
2037
+ /**
2038
+ * <p>Indicates whether idle shutdown is activated for JupyterLab applications.</p>
2039
+ * @public
2040
+ */
2041
+ AppLifecycleManagement?: AppLifecycleManagement;
1822
2042
  /**
1823
2043
  * <p>The configuration parameters that specify the IAM roles assumed by the execution role of
1824
2044
  * SageMaker (assumable roles) and the cluster instances or job execution environments
@@ -11644,126 +11864,6 @@ export interface CreatePresignedMlflowTrackingServerUrlRequest {
11644
11864
  */
11645
11865
  SessionExpirationDurationInSeconds?: number;
11646
11866
  }
11647
- /**
11648
- * @public
11649
- */
11650
- export interface CreatePresignedMlflowTrackingServerUrlResponse {
11651
- /**
11652
- * <p>A presigned URL with an authorization token.</p>
11653
- * @public
11654
- */
11655
- AuthorizedUrl?: string;
11656
- }
11657
- /**
11658
- * @public
11659
- */
11660
- export interface CreatePresignedNotebookInstanceUrlInput {
11661
- /**
11662
- * <p>The name of the notebook instance.</p>
11663
- * @public
11664
- */
11665
- NotebookInstanceName: string | undefined;
11666
- /**
11667
- * <p>The duration of the session, in seconds. The default is 12 hours.</p>
11668
- * @public
11669
- */
11670
- SessionExpirationDurationInSeconds?: number;
11671
- }
11672
- /**
11673
- * @public
11674
- */
11675
- export interface CreatePresignedNotebookInstanceUrlOutput {
11676
- /**
11677
- * <p>A JSON object that contains the URL string. </p>
11678
- * @public
11679
- */
11680
- AuthorizedUrl?: string;
11681
- }
11682
- /**
11683
- * <p>Associates a SageMaker job as a trial component with an experiment and trial. Specified when
11684
- * you call the following APIs:</p>
11685
- * <ul>
11686
- * <li>
11687
- * <p>
11688
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateProcessingJob.html">CreateProcessingJob</a>
11689
- * </p>
11690
- * </li>
11691
- * <li>
11692
- * <p>
11693
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html">CreateTrainingJob</a>
11694
- * </p>
11695
- * </li>
11696
- * <li>
11697
- * <p>
11698
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTransformJob.html">CreateTransformJob</a>
11699
- * </p>
11700
- * </li>
11701
- * </ul>
11702
- * @public
11703
- */
11704
- export interface ExperimentConfig {
11705
- /**
11706
- * <p>The name of an existing experiment to associate with the trial component.</p>
11707
- * @public
11708
- */
11709
- ExperimentName?: string;
11710
- /**
11711
- * <p>The name of an existing trial to associate the trial component with. If not specified, a
11712
- * new trial is created.</p>
11713
- * @public
11714
- */
11715
- TrialName?: string;
11716
- /**
11717
- * <p>The display name for the trial component. If this key isn't specified, the display name is
11718
- * the trial component name.</p>
11719
- * @public
11720
- */
11721
- TrialComponentDisplayName?: string;
11722
- /**
11723
- * <p>The name of the experiment run to associate with the trial component.</p>
11724
- * @public
11725
- */
11726
- RunName?: string;
11727
- }
11728
- /**
11729
- * @public
11730
- * @enum
11731
- */
11732
- export declare const DataDistributionType: {
11733
- readonly FULLYREPLICATED: "FullyReplicated";
11734
- readonly SHARDEDBYS3KEY: "ShardedByS3Key";
11735
- };
11736
- /**
11737
- * @public
11738
- */
11739
- export type DataDistributionType = (typeof DataDistributionType)[keyof typeof DataDistributionType];
11740
- /**
11741
- * @public
11742
- * @enum
11743
- */
11744
- export declare const InputMode: {
11745
- readonly FILE: "File";
11746
- readonly PIPE: "Pipe";
11747
- };
11748
- /**
11749
- * @public
11750
- */
11751
- export type InputMode = (typeof InputMode)[keyof typeof InputMode];
11752
- /**
11753
- * @public
11754
- * @enum
11755
- */
11756
- export declare const RedshiftResultCompressionType: {
11757
- readonly BZIP2: "BZIP2";
11758
- readonly GZIP: "GZIP";
11759
- readonly NONE: "None";
11760
- readonly SNAPPY: "SNAPPY";
11761
- readonly ZSTD: "ZSTD";
11762
- };
11763
- /**
11764
- * @public
11765
- */
11766
- export type RedshiftResultCompressionType = (typeof RedshiftResultCompressionType)[keyof typeof RedshiftResultCompressionType];
11767
11867
  /**
11768
11868
  * @internal
11769
11869
  */