@aws-sdk/client-sagemaker 3.541.0 → 3.549.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 (27) hide show
  1. package/dist-cjs/index.js +9 -0
  2. package/dist-es/protocols/Aws_json1_1.js +9 -0
  3. package/dist-types/commands/CreateAppImageConfigCommand.d.ts +18 -0
  4. package/dist-types/commands/CreateDomainCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -1
  6. package/dist-types/commands/CreateUserProfileCommand.d.ts +7 -0
  7. package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +18 -0
  8. package/dist-types/commands/DescribeDomainCommand.d.ts +7 -0
  9. package/dist-types/commands/DescribeSpaceCommand.d.ts +2 -1
  10. package/dist-types/commands/DescribeUserProfileCommand.d.ts +7 -0
  11. package/dist-types/commands/ListAppImageConfigsCommand.d.ts +18 -0
  12. package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +18 -0
  13. package/dist-types/commands/UpdateDomainCommand.d.ts +7 -0
  14. package/dist-types/commands/UpdateUserProfileCommand.d.ts +7 -0
  15. package/dist-types/models/models_0.d.ts +57 -303
  16. package/dist-types/models/models_1.d.ts +304 -33
  17. package/dist-types/models/models_2.d.ts +17 -87
  18. package/dist-types/models/models_3.d.ts +87 -13
  19. package/dist-types/models/models_4.d.ts +18 -2
  20. package/dist-types/ts3.4/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -4
  21. package/dist-types/ts3.4/commands/DescribeSpaceCommand.d.ts +2 -4
  22. package/dist-types/ts3.4/models/models_0.d.ts +12 -11
  23. package/dist-types/ts3.4/models/models_1.d.ts +14 -10
  24. package/dist-types/ts3.4/models/models_2.d.ts +7 -20
  25. package/dist-types/ts3.4/models/models_3.d.ts +19 -3
  26. package/dist-types/ts3.4/models/models_4.d.ts +5 -1
  27. package/package.json +6 -6
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- DescribeSpaceRequest,
5
- DescribeSpaceResponse,
6
- } from "../models/models_2";
3
+ import { DescribeSpaceRequest } from "../models/models_2";
4
+ import { DescribeSpaceResponse } from "../models/models_3";
7
5
  import {
8
6
  SageMakerClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -865,6 +865,10 @@ export interface FileSystemConfig {
865
865
  DefaultUid?: number;
866
866
  DefaultGid?: number;
867
867
  }
868
+ export interface CodeEditorAppImageConfig {
869
+ FileSystemConfig?: FileSystemConfig;
870
+ ContainerConfig?: ContainerConfig;
871
+ }
868
872
  export interface JupyterLabAppImageConfig {
869
873
  FileSystemConfig?: FileSystemConfig;
870
874
  ContainerConfig?: ContainerConfig;
@@ -884,6 +888,7 @@ export interface AppImageConfigDetails {
884
888
  LastModifiedTime?: Date;
885
889
  KernelGatewayImageConfig?: KernelGatewayImageConfig;
886
890
  JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
891
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
887
892
  }
888
893
  export declare const AppImageConfigSortKey: {
889
894
  readonly CreationTime: "CreationTime";
@@ -2006,8 +2011,14 @@ export interface ClusterSummary {
2006
2011
  CreationTime: Date | undefined;
2007
2012
  ClusterStatus: ClusterStatus | undefined;
2008
2013
  }
2014
+ export interface CustomImage {
2015
+ ImageName: string | undefined;
2016
+ ImageVersionNumber?: number;
2017
+ AppImageConfigName: string | undefined;
2018
+ }
2009
2019
  export interface CodeEditorAppSettings {
2010
2020
  DefaultResourceSpec?: ResourceSpec;
2021
+ CustomImages?: CustomImage[];
2011
2022
  LifecycleConfigArns?: string[];
2012
2023
  }
2013
2024
  export interface CodeRepository {
@@ -2365,6 +2376,7 @@ export interface CreateAppImageConfigRequest {
2365
2376
  Tags?: Tag[];
2366
2377
  KernelGatewayImageConfig?: KernelGatewayImageConfig;
2367
2378
  JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
2379
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
2368
2380
  }
2369
2381
  export interface CreateAppImageConfigResponse {
2370
2382
  AppImageConfigArn?: string;
@@ -2454,14 +2466,3 @@ export interface TargetPlatform {
2454
2466
  Arch: TargetPlatformArch | undefined;
2455
2467
  Accelerator?: TargetPlatformAccelerator;
2456
2468
  }
2457
- export interface OutputConfig {
2458
- S3OutputLocation: string | undefined;
2459
- TargetDevice?: TargetDevice;
2460
- TargetPlatform?: TargetPlatform;
2461
- CompilerOptions?: string;
2462
- KmsKeyId?: string;
2463
- }
2464
- export interface NeoVpcConfig {
2465
- SecurityGroupIds: string[] | undefined;
2466
- Subnets: string[] | undefined;
2467
- }
@@ -35,6 +35,7 @@ import {
35
35
  ContextSource,
36
36
  ContinuousParameterRange,
37
37
  ConvergenceDetected,
38
+ CustomImage,
38
39
  FeatureStatus,
39
40
  HyperParameterScalingType,
40
41
  HyperParameterTuningJobObjective,
@@ -45,8 +46,6 @@ import {
45
46
  MetricsSource,
46
47
  ModelApprovalStatus,
47
48
  ModelDataSource,
48
- NeoVpcConfig,
49
- OutputConfig,
50
49
  OutputDataConfig,
51
50
  ProcessingS3DataDistributionType,
52
51
  ProcessingS3InputMode,
@@ -55,11 +54,24 @@ import {
55
54
  ResourceSpec,
56
55
  StoppingCondition,
57
56
  Tag,
57
+ TargetDevice,
58
+ TargetPlatform,
58
59
  TrainingInputMode,
59
60
  TrainingInstanceType,
60
61
  TransformJobDefinition,
61
62
  VpcConfig,
62
63
  } from "./models_0";
64
+ export interface OutputConfig {
65
+ S3OutputLocation: string | undefined;
66
+ TargetDevice?: TargetDevice;
67
+ TargetPlatform?: TargetPlatform;
68
+ CompilerOptions?: string;
69
+ KmsKeyId?: string;
70
+ }
71
+ export interface NeoVpcConfig {
72
+ SecurityGroupIds: string[] | undefined;
73
+ Subnets: string[] | undefined;
74
+ }
63
75
  export interface CreateCompilationJobRequest {
64
76
  CompilationJobName: string | undefined;
65
77
  RoleArn: string | undefined;
@@ -242,11 +254,6 @@ export interface JupyterServerAppSettings {
242
254
  LifecycleConfigArns?: string[];
243
255
  CodeRepositories?: CodeRepository[];
244
256
  }
245
- export interface CustomImage {
246
- ImageName: string | undefined;
247
- ImageVersionNumber?: number;
248
- AppImageConfigName: string | undefined;
249
- }
250
257
  export interface KernelGatewayAppSettings {
251
258
  DefaultResourceSpec?: ResourceSpec;
252
259
  CustomImages?: CustomImage[];
@@ -1963,9 +1970,6 @@ export interface CreateStudioLifecycleConfigRequest {
1963
1970
  StudioLifecycleConfigAppType: StudioLifecycleConfigAppType | undefined;
1964
1971
  Tags?: Tag[];
1965
1972
  }
1966
- export interface CreateStudioLifecycleConfigResponse {
1967
- StudioLifecycleConfigArn?: string;
1968
- }
1969
1973
  export declare const CreateModelCardRequestFilterSensitiveLog: (
1970
1974
  obj: CreateModelCardRequest
1971
1975
  ) => any;
@@ -39,6 +39,7 @@ import {
39
39
  ClusterInstanceGroupDetails,
40
40
  ClusterNodeDetails,
41
41
  ClusterStatus,
42
+ CodeEditorAppImageConfig,
42
43
  CognitoConfig,
43
44
  CognitoMemberDefinition,
44
45
  CollectionConfiguration,
@@ -55,9 +56,7 @@ import {
55
56
  ModelApprovalStatus,
56
57
  ModelDeployConfig,
57
58
  ModelPackageStatus,
58
- NeoVpcConfig,
59
59
  ObjectiveStatus,
60
- OutputConfig,
61
60
  OutputDataConfig,
62
61
  ProblemType,
63
62
  ProductionVariantInstanceType,
@@ -135,12 +134,13 @@ import {
135
134
  MonitoringScheduleConfig,
136
135
  MonitoringStoppingCondition,
137
136
  MonitoringType,
137
+ NeoVpcConfig,
138
138
  NetworkConfig,
139
139
  NotebookInstanceAcceleratorType,
140
140
  NotebookInstanceLifecycleHook,
141
141
  OfflineStoreConfig,
142
142
  OnlineStoreConfig,
143
- OwnershipSettings,
143
+ OutputConfig,
144
144
  ParallelismConfiguration,
145
145
  ProcessingInput,
146
146
  ProcessingInstanceType,
@@ -162,12 +162,13 @@ import {
162
162
  ShadowModeConfig,
163
163
  SkipModelValidation,
164
164
  SourceAlgorithmSpecification,
165
- SpaceSettings,
166
- SpaceSharingSettings,
167
165
  ThroughputMode,
168
166
  UserSettings,
169
167
  VendorGuidance,
170
168
  } from "./models_1";
169
+ export interface CreateStudioLifecycleConfigResponse {
170
+ StudioLifecycleConfigArn?: string;
171
+ }
171
172
  export interface DebugHookConfig {
172
173
  LocalPath?: string;
173
174
  S3OutputPath: string | undefined;
@@ -783,6 +784,7 @@ export interface DescribeAppImageConfigResponse {
783
784
  LastModifiedTime?: Date;
784
785
  KernelGatewayImageConfig?: KernelGatewayImageConfig;
785
786
  JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
787
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
786
788
  }
787
789
  export interface DescribeArtifactRequest {
788
790
  ArtifactArn: string | undefined;
@@ -2178,21 +2180,6 @@ export declare const SpaceStatus: {
2178
2180
  readonly Updating: "Updating";
2179
2181
  };
2180
2182
  export type SpaceStatus = (typeof SpaceStatus)[keyof typeof SpaceStatus];
2181
- export interface DescribeSpaceResponse {
2182
- DomainId?: string;
2183
- SpaceArn?: string;
2184
- SpaceName?: string;
2185
- HomeEfsFileSystemUid?: string;
2186
- Status?: SpaceStatus;
2187
- LastModifiedTime?: Date;
2188
- CreationTime?: Date;
2189
- FailureReason?: string;
2190
- SpaceSettings?: SpaceSettings;
2191
- OwnershipSettings?: OwnershipSettings;
2192
- SpaceSharingSettings?: SpaceSharingSettings;
2193
- SpaceDisplayName?: string;
2194
- Url?: string;
2195
- }
2196
2183
  export declare const OidcConfigFilterSensitiveLog: (obj: OidcConfig) => any;
2197
2184
  export declare const CreateWorkforceRequestFilterSensitiveLog: (
2198
2185
  obj: CreateWorkforceRequest
@@ -67,9 +67,12 @@ import {
67
67
  MonitoringType,
68
68
  OfflineStoreConfig,
69
69
  OnlineStoreConfig,
70
+ OwnershipSettings,
70
71
  RecommendationJobType,
71
72
  ResourceLimits,
72
73
  RetryStrategy,
74
+ SpaceSettings,
75
+ SpaceSharingSettings,
73
76
  StudioLifecycleConfigAppType,
74
77
  UserSettings,
75
78
  } from "./models_1";
@@ -128,6 +131,7 @@ import {
128
131
  RuleEvaluationStatus,
129
132
  ScheduleStatus,
130
133
  SourceIpConfig,
134
+ SpaceStatus,
131
135
  TensorBoardOutputConfig,
132
136
  TrainingJobStatus,
133
137
  TrainingJobStatusCounters,
@@ -135,6 +139,21 @@ import {
135
139
  TrialComponentParameterValue,
136
140
  TrialComponentStatus,
137
141
  } from "./models_2";
142
+ export interface DescribeSpaceResponse {
143
+ DomainId?: string;
144
+ SpaceArn?: string;
145
+ SpaceName?: string;
146
+ HomeEfsFileSystemUid?: string;
147
+ Status?: SpaceStatus;
148
+ LastModifiedTime?: Date;
149
+ CreationTime?: Date;
150
+ FailureReason?: string;
151
+ SpaceSettings?: SpaceSettings;
152
+ OwnershipSettings?: OwnershipSettings;
153
+ SpaceSharingSettings?: SpaceSharingSettings;
154
+ SpaceDisplayName?: string;
155
+ Url?: string;
156
+ }
138
157
  export interface DescribeStudioLifecycleConfigRequest {
139
158
  StudioLifecycleConfigName: string | undefined;
140
159
  }
@@ -2315,6 +2334,3 @@ export interface ListPipelineExecutionStepsRequest {
2315
2334
  MaxResults?: number;
2316
2335
  SortOrder?: SortOrder;
2317
2336
  }
2318
- export interface ModelStepMetadata {
2319
- Arn?: string;
2320
- }
@@ -17,6 +17,7 @@ import {
17
17
  CheckpointConfig,
18
18
  ClarifyCheckStepMetadata,
19
19
  ClusterInstanceGroupSpecification,
20
+ CodeEditorAppImageConfig,
20
21
  ConditionStepMetadata,
21
22
  ContainerDefinition,
22
23
  InferenceSpecification,
@@ -142,7 +143,6 @@ import {
142
143
  LambdaStepMetadata,
143
144
  LineageType,
144
145
  MetricData,
145
- ModelStepMetadata,
146
146
  MonitoringAlertSummary,
147
147
  ResourceType,
148
148
  SecondaryStatus,
@@ -160,6 +160,9 @@ import {
160
160
  Workforce,
161
161
  Workteam,
162
162
  } from "./models_3";
163
+ export interface ModelStepMetadata {
164
+ Arn?: string;
165
+ }
163
166
  export interface ProcessingJobStepMetadata {
164
167
  Arn?: string;
165
168
  }
@@ -1181,6 +1184,7 @@ export interface UpdateAppImageConfigRequest {
1181
1184
  AppImageConfigName: string | undefined;
1182
1185
  KernelGatewayImageConfig?: KernelGatewayImageConfig;
1183
1186
  JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
1187
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
1184
1188
  }
1185
1189
  export interface UpdateAppImageConfigResponse {
1186
1190
  AppImageConfigArn?: string;
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.541.0",
4
+ "version": "3.549.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.540.0",
24
- "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.540.0",
23
+ "@aws-sdk/client-sts": "3.549.0",
24
+ "@aws-sdk/core": "3.549.0",
25
+ "@aws-sdk/credential-provider-node": "3.549.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
@@ -33,13 +33,13 @@
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",
36
- "@smithy/core": "^1.4.0",
36
+ "@smithy/core": "^1.4.1",
37
37
  "@smithy/fetch-http-handler": "^2.5.0",
38
38
  "@smithy/hash-node": "^2.2.0",
39
39
  "@smithy/invalid-dependency": "^2.2.0",
40
40
  "@smithy/middleware-content-length": "^2.2.0",
41
41
  "@smithy/middleware-endpoint": "^2.5.0",
42
- "@smithy/middleware-retry": "^2.2.0",
42
+ "@smithy/middleware-retry": "^2.3.0",
43
43
  "@smithy/middleware-serde": "^2.3.0",
44
44
  "@smithy/middleware-stack": "^2.2.0",
45
45
  "@smithy/node-config-provider": "^2.3.0",