@aws-sdk/client-sagemaker 3.646.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 (35) hide show
  1. package/dist-cjs/index.js +17322 -17292
  2. package/dist-es/models/models_0.js +9 -13
  3. package/dist-es/models/models_1.js +15 -1
  4. package/dist-es/models/models_2.js +0 -23
  5. package/dist-es/models/models_3.js +23 -4
  6. package/dist-es/models/models_4.js +4 -0
  7. package/dist-es/protocols/Aws_json1_1.js +23 -1
  8. package/dist-types/commands/CreateAppImageConfigCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateArtifactCommand.d.ts +1 -2
  10. package/dist-types/commands/CreateClusterCommand.d.ts +9 -0
  11. package/dist-types/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +2 -1
  12. package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeClusterCommand.d.ts +9 -0
  14. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
  16. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
  17. package/dist-types/commands/ListModelCardExportJobsCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateClusterCommand.d.ts +4 -0
  19. package/dist-types/models/models_0.d.ts +57 -93
  20. package/dist-types/models/models_1.d.ts +110 -83
  21. package/dist-types/models/models_2.d.ts +93 -135
  22. package/dist-types/models/models_3.d.ts +135 -128
  23. package/dist-types/models/models_4.d.ts +135 -4
  24. package/dist-types/ts3.4/commands/CreateAppImageConfigCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/CreateArtifactCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/ListModelCardExportJobsCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +21 -24
  31. package/dist-types/ts3.4/models/models_1.d.ts +37 -17
  32. package/dist-types/ts3.4/models/models_2.d.ts +20 -49
  33. package/dist-types/ts3.4/models/models_3.d.ts +49 -34
  34. package/dist-types/ts3.4/models/models_4.d.ts +37 -2
  35. package/package.json +1 -1
@@ -1,4 +1,7 @@
1
- import { LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
1
+ import {
2
+ ExceptionOptionType as __ExceptionOptionType,
3
+ LazyJsonString as __LazyJsonString,
4
+ } from "@smithy/smithy-client";
2
5
  import {
3
6
  AdditionalInferenceSpecificationDefinition,
4
7
  AmazonQSettings,
@@ -7,6 +10,7 @@ import {
7
10
  AppNetworkAccessType,
8
11
  AppSecurityGroupManagement,
9
12
  AppType,
13
+ ArtifactSource,
10
14
  AsyncInferenceConfig,
11
15
  AuthMode,
12
16
  AutoMLChannel,
@@ -37,6 +41,9 @@ import {
37
41
  CheckpointConfig,
38
42
  ClarifyExplainerConfig,
39
43
  ClusterInstanceGroupSpecification,
44
+ ClusterNodeRecovery,
45
+ ClusterOrchestrator,
46
+ CodeEditorAppImageConfig,
40
47
  CodeEditorAppSettings,
41
48
  CodeRepository,
42
49
  CollectionConfig,
@@ -52,6 +59,8 @@ import {
52
59
  HyperParameterScalingType,
53
60
  HyperParameterTuningJobObjective,
54
61
  InferenceSpecification,
62
+ JupyterLabAppImageConfig,
63
+ KernelGatewayImageConfig,
55
64
  MetadataProperties,
56
65
  MetricDefinition,
57
66
  MetricsSource,
@@ -75,6 +84,31 @@ import {
75
84
  TransformJobDefinition,
76
85
  VpcConfig,
77
86
  } from "./models_0";
87
+ import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
88
+ export declare class ResourceInUse extends __BaseException {
89
+ readonly name: "ResourceInUse";
90
+ readonly $fault: "client";
91
+ Message?: string;
92
+ constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
93
+ }
94
+ export interface CreateAppImageConfigRequest {
95
+ AppImageConfigName: string | undefined;
96
+ Tags?: Tag[];
97
+ KernelGatewayImageConfig?: KernelGatewayImageConfig;
98
+ JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
99
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
100
+ }
101
+ export interface CreateAppImageConfigResponse {
102
+ AppImageConfigArn?: string;
103
+ }
104
+ export interface CreateArtifactRequest {
105
+ ArtifactName?: string;
106
+ Source: ArtifactSource | undefined;
107
+ ArtifactType: string | undefined;
108
+ Properties?: Record<string, string>;
109
+ MetadataProperties?: MetadataProperties;
110
+ Tags?: Tag[];
111
+ }
78
112
  export interface CreateArtifactResponse {
79
113
  ArtifactArn?: string;
80
114
  }
@@ -118,6 +152,8 @@ export interface CreateClusterRequest {
118
152
  InstanceGroups: ClusterInstanceGroupSpecification[] | undefined;
119
153
  VpcConfig?: VpcConfig;
120
154
  Tags?: Tag[];
155
+ Orchestrator?: ClusterOrchestrator;
156
+ NodeRecovery?: ClusterNodeRecovery;
121
157
  }
122
158
  export interface CreateClusterResponse {
123
159
  ClusterArn: string | undefined;
@@ -2038,22 +2074,6 @@ export interface CreatePresignedMlflowTrackingServerUrlRequest {
2038
2074
  ExpiresInSeconds?: number;
2039
2075
  SessionExpirationDurationInSeconds?: number;
2040
2076
  }
2041
- export interface CreatePresignedMlflowTrackingServerUrlResponse {
2042
- AuthorizedUrl?: string;
2043
- }
2044
- export interface CreatePresignedNotebookInstanceUrlInput {
2045
- NotebookInstanceName: string | undefined;
2046
- SessionExpirationDurationInSeconds?: number;
2047
- }
2048
- export interface CreatePresignedNotebookInstanceUrlOutput {
2049
- AuthorizedUrl?: string;
2050
- }
2051
- export interface ExperimentConfig {
2052
- ExperimentName?: string;
2053
- TrialName?: string;
2054
- TrialComponentDisplayName?: string;
2055
- RunName?: string;
2056
- }
2057
2077
  export declare const CreateModelCardRequestFilterSensitiveLog: (
2058
2078
  obj: CreateModelCardRequest
2059
2079
  ) => any;
@@ -39,6 +39,8 @@ import {
39
39
  CheckpointConfig,
40
40
  ClusterInstanceGroupDetails,
41
41
  ClusterNodeDetails,
42
+ ClusterNodeRecovery,
43
+ ClusterOrchestrator,
42
44
  ClusterStatus,
43
45
  CodeEditorAppImageConfig,
44
46
  CodeRepository,
@@ -84,7 +86,6 @@ import {
84
86
  EdgeOutputConfig,
85
87
  EdgePresetDeploymentType,
86
88
  EndpointInfo,
87
- ExperimentConfig,
88
89
  ExplainerConfig,
89
90
  FeatureDefinition,
90
91
  FeatureType,
@@ -135,10 +136,25 @@ import {
135
136
  RetryStrategy,
136
137
  ShadowModeConfig,
137
138
  ThroughputMode,
138
- TrackingServerSize,
139
139
  UserSettings,
140
140
  VendorGuidance,
141
141
  } from "./models_1";
142
+ export interface CreatePresignedMlflowTrackingServerUrlResponse {
143
+ AuthorizedUrl?: string;
144
+ }
145
+ export interface CreatePresignedNotebookInstanceUrlInput {
146
+ NotebookInstanceName: string | undefined;
147
+ SessionExpirationDurationInSeconds?: number;
148
+ }
149
+ export interface CreatePresignedNotebookInstanceUrlOutput {
150
+ AuthorizedUrl?: string;
151
+ }
152
+ export interface ExperimentConfig {
153
+ ExperimentName?: string;
154
+ TrialName?: string;
155
+ TrialComponentDisplayName?: string;
156
+ RunName?: string;
157
+ }
142
158
  export declare const DataDistributionType: {
143
159
  readonly FULLYREPLICATED: "FullyReplicated";
144
160
  readonly SHARDEDBYS3KEY: "ShardedByS3Key";
@@ -1112,6 +1128,8 @@ export interface DescribeClusterResponse {
1112
1128
  FailureMessage?: string;
1113
1129
  InstanceGroups: ClusterInstanceGroupDetails[] | undefined;
1114
1130
  VpcConfig?: VpcConfig;
1131
+ Orchestrator?: ClusterOrchestrator;
1132
+ NodeRecovery?: ClusterNodeRecovery;
1115
1133
  }
1116
1134
  export interface DescribeClusterNodeRequest {
1117
1135
  ClusterName: string | undefined;
@@ -1992,53 +2010,6 @@ export interface DescribeLineageGroupResponse {
1992
2010
  LastModifiedTime?: Date;
1993
2011
  LastModifiedBy?: UserContext;
1994
2012
  }
1995
- export interface DescribeMlflowTrackingServerRequest {
1996
- TrackingServerName: string | undefined;
1997
- }
1998
- export declare const IsTrackingServerActive: {
1999
- readonly ACTIVE: "Active";
2000
- readonly INACTIVE: "Inactive";
2001
- };
2002
- export type IsTrackingServerActive =
2003
- (typeof IsTrackingServerActive)[keyof typeof IsTrackingServerActive];
2004
- export declare const TrackingServerStatus: {
2005
- readonly CREATED: "Created";
2006
- readonly CREATE_FAILED: "CreateFailed";
2007
- readonly CREATING: "Creating";
2008
- readonly DELETE_FAILED: "DeleteFailed";
2009
- readonly DELETING: "Deleting";
2010
- readonly MAINTENANCE_COMPLETE: "MaintenanceComplete";
2011
- readonly MAINTENANCE_FAILED: "MaintenanceFailed";
2012
- readonly MAINTENANCE_IN_PROGRESS: "MaintenanceInProgress";
2013
- readonly STARTED: "Started";
2014
- readonly STARTING: "Starting";
2015
- readonly START_FAILED: "StartFailed";
2016
- readonly STOPPED: "Stopped";
2017
- readonly STOPPING: "Stopping";
2018
- readonly STOP_FAILED: "StopFailed";
2019
- readonly UPDATED: "Updated";
2020
- readonly UPDATE_FAILED: "UpdateFailed";
2021
- readonly UPDATING: "Updating";
2022
- };
2023
- export type TrackingServerStatus =
2024
- (typeof TrackingServerStatus)[keyof typeof TrackingServerStatus];
2025
- export interface DescribeMlflowTrackingServerResponse {
2026
- TrackingServerArn?: string;
2027
- TrackingServerName?: string;
2028
- ArtifactStoreUri?: string;
2029
- TrackingServerSize?: TrackingServerSize;
2030
- MlflowVersion?: string;
2031
- RoleArn?: string;
2032
- TrackingServerStatus?: TrackingServerStatus;
2033
- IsActive?: IsTrackingServerActive;
2034
- TrackingServerUrl?: string;
2035
- WeeklyMaintenanceWindowStart?: string;
2036
- AutomaticModelRegistration?: boolean;
2037
- CreationTime?: Date;
2038
- CreatedBy?: UserContext;
2039
- LastModifiedTime?: Date;
2040
- LastModifiedBy?: UserContext;
2041
- }
2042
2013
  export declare const OidcConfigFilterSensitiveLog: (obj: OidcConfig) => any;
2043
2014
  export declare const CreateWorkforceRequestFilterSensitiveLog: (
2044
2015
  obj: CreateWorkforceRequest
@@ -59,7 +59,6 @@ import {
59
59
  DriftCheckBaselines,
60
60
  EdgeOutputConfig,
61
61
  ExecutionRoleIdentityConfig,
62
- ExperimentConfig,
63
62
  FeatureDefinition,
64
63
  FeatureType,
65
64
  HyperParameterTrainingJobDefinition,
@@ -110,6 +109,7 @@ import {
110
109
  RootAccess,
111
110
  SkipModelValidation,
112
111
  SourceAlgorithmSpecification,
112
+ TrackingServerSize,
113
113
  UserSettings,
114
114
  } from "./models_1";
115
115
  import {
@@ -124,6 +124,7 @@ import {
124
124
  EdgePackagingJobStatus,
125
125
  EndpointOutputConfiguration,
126
126
  EndpointStatus,
127
+ ExperimentConfig,
127
128
  ExperimentSource,
128
129
  FeatureGroupStatus,
129
130
  FeatureParameter,
@@ -142,7 +143,6 @@ import {
142
143
  InferenceExperimentStatus,
143
144
  InferenceMetrics,
144
145
  InfraCheckConfig,
145
- IsTrackingServerActive,
146
146
  LabelCounters,
147
147
  LabelingJobOutput,
148
148
  LabelingJobStatus,
@@ -173,7 +173,6 @@ import {
173
173
  SpaceSharingSettings,
174
174
  StudioLifecycleConfigAppType,
175
175
  TensorBoardOutputConfig,
176
- TrackingServerStatus,
177
176
  TrainingJobStatus,
178
177
  TrainingJobStatusCounters,
179
178
  TrialComponentArtifact,
@@ -181,6 +180,53 @@ import {
181
180
  TrialComponentStatus,
182
181
  WorkerAccessConfiguration,
183
182
  } from "./models_2";
183
+ export interface DescribeMlflowTrackingServerRequest {
184
+ TrackingServerName: string | undefined;
185
+ }
186
+ export declare const IsTrackingServerActive: {
187
+ readonly ACTIVE: "Active";
188
+ readonly INACTIVE: "Inactive";
189
+ };
190
+ export type IsTrackingServerActive =
191
+ (typeof IsTrackingServerActive)[keyof typeof IsTrackingServerActive];
192
+ export declare const TrackingServerStatus: {
193
+ readonly CREATED: "Created";
194
+ readonly CREATE_FAILED: "CreateFailed";
195
+ readonly CREATING: "Creating";
196
+ readonly DELETE_FAILED: "DeleteFailed";
197
+ readonly DELETING: "Deleting";
198
+ readonly MAINTENANCE_COMPLETE: "MaintenanceComplete";
199
+ readonly MAINTENANCE_FAILED: "MaintenanceFailed";
200
+ readonly MAINTENANCE_IN_PROGRESS: "MaintenanceInProgress";
201
+ readonly STARTED: "Started";
202
+ readonly STARTING: "Starting";
203
+ readonly START_FAILED: "StartFailed";
204
+ readonly STOPPED: "Stopped";
205
+ readonly STOPPING: "Stopping";
206
+ readonly STOP_FAILED: "StopFailed";
207
+ readonly UPDATED: "Updated";
208
+ readonly UPDATE_FAILED: "UpdateFailed";
209
+ readonly UPDATING: "Updating";
210
+ };
211
+ export type TrackingServerStatus =
212
+ (typeof TrackingServerStatus)[keyof typeof TrackingServerStatus];
213
+ export interface DescribeMlflowTrackingServerResponse {
214
+ TrackingServerArn?: string;
215
+ TrackingServerName?: string;
216
+ ArtifactStoreUri?: string;
217
+ TrackingServerSize?: TrackingServerSize;
218
+ MlflowVersion?: string;
219
+ RoleArn?: string;
220
+ TrackingServerStatus?: TrackingServerStatus;
221
+ IsActive?: IsTrackingServerActive;
222
+ TrackingServerUrl?: string;
223
+ WeeklyMaintenanceWindowStart?: string;
224
+ AutomaticModelRegistration?: boolean;
225
+ CreationTime?: Date;
226
+ CreatedBy?: UserContext;
227
+ LastModifiedTime?: Date;
228
+ LastModifiedBy?: UserContext;
229
+ }
184
230
  export interface DescribeModelInput {
185
231
  ModelName: string | undefined;
186
232
  }
@@ -2427,37 +2473,6 @@ export declare const ModelCardExportJobSortOrder: {
2427
2473
  };
2428
2474
  export type ModelCardExportJobSortOrder =
2429
2475
  (typeof ModelCardExportJobSortOrder)[keyof typeof ModelCardExportJobSortOrder];
2430
- export interface ListModelCardExportJobsRequest {
2431
- ModelCardName: string | undefined;
2432
- ModelCardVersion?: number;
2433
- CreationTimeAfter?: Date;
2434
- CreationTimeBefore?: Date;
2435
- ModelCardExportJobNameContains?: string;
2436
- StatusEquals?: ModelCardExportJobStatus;
2437
- SortBy?: ModelCardExportJobSortBy;
2438
- SortOrder?: ModelCardExportJobSortOrder;
2439
- NextToken?: string;
2440
- MaxResults?: number;
2441
- }
2442
- export interface ModelCardExportJobSummary {
2443
- ModelCardExportJobName: string | undefined;
2444
- ModelCardExportJobArn: string | undefined;
2445
- Status: ModelCardExportJobStatus | undefined;
2446
- ModelCardName: string | undefined;
2447
- ModelCardVersion: number | undefined;
2448
- CreatedAt: Date | undefined;
2449
- LastModifiedAt: Date | undefined;
2450
- }
2451
- export interface ListModelCardExportJobsResponse {
2452
- ModelCardExportJobSummaries: ModelCardExportJobSummary[] | undefined;
2453
- NextToken?: string;
2454
- }
2455
- export declare const ModelCardSortBy: {
2456
- readonly CREATION_TIME: "CreationTime";
2457
- readonly NAME: "Name";
2458
- };
2459
- export type ModelCardSortBy =
2460
- (typeof ModelCardSortBy)[keyof typeof ModelCardSortBy];
2461
2476
  export declare const DescribeModelCardResponseFilterSensitiveLog: (
2462
2477
  obj: DescribeModelCardResponse
2463
2478
  ) => any;
@@ -17,6 +17,7 @@ import {
17
17
  CheckpointConfig,
18
18
  ClarifyCheckStepMetadata,
19
19
  ClusterInstanceGroupSpecification,
20
+ ClusterNodeRecovery,
20
21
  CodeEditorAppImageConfig,
21
22
  ConditionStepMetadata,
22
23
  ContainerDefinition,
@@ -43,7 +44,6 @@ import {
43
44
  DeploymentConfig,
44
45
  DriftCheckBaselines,
45
46
  EdgeOutputConfig,
46
- ExperimentConfig,
47
47
  FeatureDefinition,
48
48
  InferenceComponentRuntimeConfig,
49
49
  InferenceComponentSpecification,
@@ -88,6 +88,7 @@ import {
88
88
  DebugRuleEvaluationStatus,
89
89
  DeploymentRecommendation,
90
90
  EndpointStatus,
91
+ ExperimentConfig,
91
92
  FeatureParameter,
92
93
  HyperParameterTrainingJobSummary,
93
94
  MemberDefinition,
@@ -139,7 +140,9 @@ import {
139
140
  LambdaStepMetadata,
140
141
  LineageType,
141
142
  MetricData,
142
- ModelCardSortBy,
143
+ ModelCardExportJobSortBy,
144
+ ModelCardExportJobSortOrder,
145
+ ModelCardExportJobStatus,
143
146
  ModelPackageGroupStatus,
144
147
  ModelPackageStatusDetails,
145
148
  MonitoringExecutionSummary,
@@ -173,6 +176,37 @@ import {
173
176
  Workforce,
174
177
  Workteam,
175
178
  } from "./models_3";
179
+ export interface ListModelCardExportJobsRequest {
180
+ ModelCardName: string | undefined;
181
+ ModelCardVersion?: number;
182
+ CreationTimeAfter?: Date;
183
+ CreationTimeBefore?: Date;
184
+ ModelCardExportJobNameContains?: string;
185
+ StatusEquals?: ModelCardExportJobStatus;
186
+ SortBy?: ModelCardExportJobSortBy;
187
+ SortOrder?: ModelCardExportJobSortOrder;
188
+ NextToken?: string;
189
+ MaxResults?: number;
190
+ }
191
+ export interface ModelCardExportJobSummary {
192
+ ModelCardExportJobName: string | undefined;
193
+ ModelCardExportJobArn: string | undefined;
194
+ Status: ModelCardExportJobStatus | undefined;
195
+ ModelCardName: string | undefined;
196
+ ModelCardVersion: number | undefined;
197
+ CreatedAt: Date | undefined;
198
+ LastModifiedAt: Date | undefined;
199
+ }
200
+ export interface ListModelCardExportJobsResponse {
201
+ ModelCardExportJobSummaries: ModelCardExportJobSummary[] | undefined;
202
+ NextToken?: string;
203
+ }
204
+ export declare const ModelCardSortBy: {
205
+ readonly CREATION_TIME: "CreationTime";
206
+ readonly NAME: "Name";
207
+ };
208
+ export type ModelCardSortBy =
209
+ (typeof ModelCardSortBy)[keyof typeof ModelCardSortBy];
176
210
  export declare const ModelCardSortOrder: {
177
211
  readonly ASCENDING: "Ascending";
178
212
  readonly DESCENDING: "Descending";
@@ -1702,6 +1736,7 @@ export interface UpdateArtifactResponse {
1702
1736
  export interface UpdateClusterRequest {
1703
1737
  ClusterName: string | undefined;
1704
1738
  InstanceGroups: ClusterInstanceGroupSpecification[] | undefined;
1739
+ NodeRecovery?: ClusterNodeRecovery;
1705
1740
  }
1706
1741
  export interface UpdateClusterResponse {
1707
1742
  ClusterArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
4
- "version": "3.646.0",
4
+ "version": "3.648.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker",