@aws-sdk/client-sagemaker 3.860.0 → 3.862.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 (91) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +492 -124
  3. package/dist-es/SageMaker.js +6 -0
  4. package/dist-es/commands/BatchAddClusterNodesCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCardCommand.js +1 -1
  6. package/dist-es/commands/DescribeClusterEventCommand.js +22 -0
  7. package/dist-es/commands/ListClusterEventsCommand.js +22 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +38 -93
  10. package/dist-es/models/models_1.js +86 -15
  11. package/dist-es/models/models_2.js +14 -40
  12. package/dist-es/models/models_3.js +43 -40
  13. package/dist-es/models/models_4.js +40 -10
  14. package/dist-es/models/models_5.js +10 -2
  15. package/dist-es/pagination/ListClusterEventsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +281 -0
  18. package/dist-types/SageMaker.d.ts +21 -0
  19. package/dist-types/SageMakerClient.d.ts +5 -2
  20. package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +99 -0
  21. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +13 -0
  22. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  23. package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateModelCardCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeClusterEventCommand.d.ts +129 -0
  29. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +5 -1
  30. package/dist-types/commands/DescribeContextCommand.d.ts +2 -1
  31. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
  38. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
  39. package/dist-types/commands/ListActionsCommand.d.ts +1 -2
  40. package/dist-types/commands/ListClusterEventsCommand.d.ts +96 -0
  41. package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -1
  42. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  43. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  44. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  45. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
  47. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -0
  48. package/dist-types/commands/index.d.ts +3 -0
  49. package/dist-types/models/models_0.d.ts +635 -539
  50. package/dist-types/models/models_1.d.ts +3626 -3557
  51. package/dist-types/models/models_2.d.ts +3079 -3394
  52. package/dist-types/models/models_3.d.ts +4419 -4366
  53. package/dist-types/models/models_4.d.ts +3813 -3877
  54. package/dist-types/models/models_5.d.ts +836 -5
  55. package/dist-types/pagination/ListClusterEventsPaginator.d.ts +7 -0
  56. package/dist-types/pagination/index.d.ts +1 -0
  57. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  58. package/dist-types/ts3.4/SageMaker.d.ts +51 -0
  59. package/dist-types/ts3.4/SageMakerClient.d.ts +18 -0
  60. package/dist-types/ts3.4/commands/BatchAddClusterNodesCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/DescribeClusterEventCommand.d.ts +51 -0
  66. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
  74. package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -2
  76. package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +186 -188
  83. package/dist-types/ts3.4/models/models_1.d.ts +177 -117
  84. package/dist-types/ts3.4/models/models_2.d.ts +123 -214
  85. package/dist-types/ts3.4/models/models_3.d.ts +219 -195
  86. package/dist-types/ts3.4/models/models_4.d.ts +225 -244
  87. package/dist-types/ts3.4/models/models_5.d.ts +220 -17
  88. package/dist-types/ts3.4/pagination/ListClusterEventsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  90. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  91. package/package.json +34 -34
@@ -51,22 +51,17 @@ import {
51
51
  ClarifyExplainerConfig,
52
52
  ClusterInstanceGroupSpecification,
53
53
  ClusterInstanceType,
54
+ ClusterNodeProvisioningMode,
54
55
  ClusterNodeRecovery,
55
56
  ClusterOrchestrator,
56
57
  ClusterRestrictedInstanceGroupSpecification,
58
+ ClusterStatus,
57
59
  CodeEditorAppImageConfig,
58
- CodeEditorAppSettings,
59
- CodeRepository,
60
- CollectionConfig,
61
- CollectionType,
62
- CustomImage,
63
60
  FeatureStatus,
64
- GitConfig,
65
61
  InferenceSpecification,
66
62
  JupyterLabAppImageConfig,
67
63
  KernelGatewayImageConfig,
68
64
  MetricDefinition,
69
- MetricsSource,
70
65
  ModelDataSource,
71
66
  OutputDataConfig,
72
67
  ProblemType,
@@ -78,15 +73,185 @@ import {
78
73
  SchedulerResourceStatus,
79
74
  StoppingCondition,
80
75
  Tag,
81
- TargetDevice,
82
- TargetPlatformAccelerator,
83
- TargetPlatformArch,
84
- TargetPlatformOs,
85
76
  TrainingInputMode,
86
77
  TrainingInstanceType,
87
78
  VpcConfig,
88
79
  } from "./models_0";
89
80
  import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
81
+ export interface ClusterSummary {
82
+ ClusterArn: string | undefined;
83
+ ClusterName: string | undefined;
84
+ CreationTime: Date | undefined;
85
+ ClusterStatus: ClusterStatus | undefined;
86
+ TrainingPlanArns?: string[] | undefined;
87
+ }
88
+ export interface CustomImage {
89
+ ImageName: string | undefined;
90
+ ImageVersionNumber?: number | undefined;
91
+ AppImageConfigName: string | undefined;
92
+ }
93
+ export interface CodeEditorAppSettings {
94
+ DefaultResourceSpec?: ResourceSpec | undefined;
95
+ CustomImages?: CustomImage[] | undefined;
96
+ LifecycleConfigArns?: string[] | undefined;
97
+ AppLifecycleManagement?: AppLifecycleManagement | undefined;
98
+ BuiltInLifecycleConfigArn?: string | undefined;
99
+ }
100
+ export interface CodeRepository {
101
+ RepositoryUrl: string | undefined;
102
+ }
103
+ export declare const CodeRepositorySortBy: {
104
+ readonly CREATION_TIME: "CreationTime";
105
+ readonly LAST_MODIFIED_TIME: "LastModifiedTime";
106
+ readonly NAME: "Name";
107
+ };
108
+ export type CodeRepositorySortBy =
109
+ (typeof CodeRepositorySortBy)[keyof typeof CodeRepositorySortBy];
110
+ export declare const CodeRepositorySortOrder: {
111
+ readonly ASCENDING: "Ascending";
112
+ readonly DESCENDING: "Descending";
113
+ };
114
+ export type CodeRepositorySortOrder =
115
+ (typeof CodeRepositorySortOrder)[keyof typeof CodeRepositorySortOrder];
116
+ export interface GitConfig {
117
+ RepositoryUrl: string | undefined;
118
+ Branch?: string | undefined;
119
+ SecretArn?: string | undefined;
120
+ }
121
+ export interface CodeRepositorySummary {
122
+ CodeRepositoryName: string | undefined;
123
+ CodeRepositoryArn: string | undefined;
124
+ CreationTime: Date | undefined;
125
+ LastModifiedTime: Date | undefined;
126
+ GitConfig?: GitConfig | undefined;
127
+ }
128
+ export interface CognitoConfig {
129
+ UserPool: string | undefined;
130
+ ClientId: string | undefined;
131
+ }
132
+ export interface CognitoMemberDefinition {
133
+ UserPool: string | undefined;
134
+ UserGroup: string | undefined;
135
+ ClientId: string | undefined;
136
+ }
137
+ export interface VectorConfig {
138
+ Dimension: number | undefined;
139
+ }
140
+ export type CollectionConfig =
141
+ | CollectionConfig.VectorConfigMember
142
+ | CollectionConfig.$UnknownMember;
143
+ export declare namespace CollectionConfig {
144
+ interface VectorConfigMember {
145
+ VectorConfig: VectorConfig;
146
+ $unknown?: never;
147
+ }
148
+ interface $UnknownMember {
149
+ VectorConfig?: never;
150
+ $unknown: [string, any];
151
+ }
152
+ interface Visitor<T> {
153
+ VectorConfig: (value: VectorConfig) => T;
154
+ _: (name: string, value: any) => T;
155
+ }
156
+ const visit: <T>(value: CollectionConfig, visitor: Visitor<T>) => T;
157
+ }
158
+ export interface CollectionConfiguration {
159
+ CollectionName?: string | undefined;
160
+ CollectionParameters?: Record<string, string> | undefined;
161
+ }
162
+ export declare const CollectionType: {
163
+ readonly LIST: "List";
164
+ readonly SET: "Set";
165
+ readonly VECTOR: "Vector";
166
+ };
167
+ export type CollectionType =
168
+ (typeof CollectionType)[keyof typeof CollectionType];
169
+ export declare const CompilationJobStatus: {
170
+ readonly COMPLETED: "COMPLETED";
171
+ readonly FAILED: "FAILED";
172
+ readonly INPROGRESS: "INPROGRESS";
173
+ readonly STARTING: "STARTING";
174
+ readonly STOPPED: "STOPPED";
175
+ readonly STOPPING: "STOPPING";
176
+ };
177
+ export type CompilationJobStatus =
178
+ (typeof CompilationJobStatus)[keyof typeof CompilationJobStatus];
179
+ export declare const TargetDevice: {
180
+ readonly AISAGE: "aisage";
181
+ readonly AMBA_CV2: "amba_cv2";
182
+ readonly AMBA_CV22: "amba_cv22";
183
+ readonly AMBA_CV25: "amba_cv25";
184
+ readonly COREML: "coreml";
185
+ readonly DEEPLENS: "deeplens";
186
+ readonly IMX8MPLUS: "imx8mplus";
187
+ readonly IMX8QM: "imx8qm";
188
+ readonly JACINTO_TDA4VM: "jacinto_tda4vm";
189
+ readonly JETSON_NANO: "jetson_nano";
190
+ readonly JETSON_TX1: "jetson_tx1";
191
+ readonly JETSON_TX2: "jetson_tx2";
192
+ readonly JETSON_XAVIER: "jetson_xavier";
193
+ readonly LAMBDA: "lambda";
194
+ readonly ML_C4: "ml_c4";
195
+ readonly ML_C5: "ml_c5";
196
+ readonly ML_C6G: "ml_c6g";
197
+ readonly ML_EIA2: "ml_eia2";
198
+ readonly ML_G4DN: "ml_g4dn";
199
+ readonly ML_INF1: "ml_inf1";
200
+ readonly ML_INF2: "ml_inf2";
201
+ readonly ML_M4: "ml_m4";
202
+ readonly ML_M5: "ml_m5";
203
+ readonly ML_M6G: "ml_m6g";
204
+ readonly ML_P2: "ml_p2";
205
+ readonly ML_P3: "ml_p3";
206
+ readonly ML_TRN1: "ml_trn1";
207
+ readonly QCS603: "qcs603";
208
+ readonly QCS605: "qcs605";
209
+ readonly RASP3B: "rasp3b";
210
+ readonly RASP4B: "rasp4b";
211
+ readonly RK3288: "rk3288";
212
+ readonly RK3399: "rk3399";
213
+ readonly SBE_C: "sbe_c";
214
+ readonly SITARA_AM57X: "sitara_am57x";
215
+ readonly X86_WIN32: "x86_win32";
216
+ readonly X86_WIN64: "x86_win64";
217
+ };
218
+ export type TargetDevice = (typeof TargetDevice)[keyof typeof TargetDevice];
219
+ export declare const TargetPlatformAccelerator: {
220
+ readonly INTEL_GRAPHICS: "INTEL_GRAPHICS";
221
+ readonly MALI: "MALI";
222
+ readonly NNA: "NNA";
223
+ readonly NVIDIA: "NVIDIA";
224
+ };
225
+ export type TargetPlatformAccelerator =
226
+ (typeof TargetPlatformAccelerator)[keyof typeof TargetPlatformAccelerator];
227
+ export declare const TargetPlatformArch: {
228
+ readonly ARM64: "ARM64";
229
+ readonly ARM_EABI: "ARM_EABI";
230
+ readonly ARM_EABIHF: "ARM_EABIHF";
231
+ readonly X86: "X86";
232
+ readonly X86_64: "X86_64";
233
+ };
234
+ export type TargetPlatformArch =
235
+ (typeof TargetPlatformArch)[keyof typeof TargetPlatformArch];
236
+ export declare const TargetPlatformOs: {
237
+ readonly ANDROID: "ANDROID";
238
+ readonly LINUX: "LINUX";
239
+ };
240
+ export type TargetPlatformOs =
241
+ (typeof TargetPlatformOs)[keyof typeof TargetPlatformOs];
242
+ export interface CompilationJobSummary {
243
+ CompilationJobName: string | undefined;
244
+ CompilationJobArn: string | undefined;
245
+ CreationTime: Date | undefined;
246
+ CompilationStartTime?: Date | undefined;
247
+ CompilationEndTime?: Date | undefined;
248
+ CompilationTargetDevice?: TargetDevice | undefined;
249
+ CompilationTargetPlatformOs?: TargetPlatformOs | undefined;
250
+ CompilationTargetPlatformArch?: TargetPlatformArch | undefined;
251
+ CompilationTargetPlatformAccelerator?: TargetPlatformAccelerator | undefined;
252
+ LastModifiedTime?: Date | undefined;
253
+ CompilationJobStatus: CompilationJobStatus | undefined;
254
+ }
90
255
  export declare const CompleteOnConvergence: {
91
256
  readonly DISABLED: "Disabled";
92
257
  readonly ENABLED: "Enabled";
@@ -401,6 +566,7 @@ export interface CreateClusterRequest {
401
566
  Tags?: Tag[] | undefined;
402
567
  Orchestrator?: ClusterOrchestrator | undefined;
403
568
  NodeRecovery?: ClusterNodeRecovery | undefined;
569
+ NodeProvisioningMode?: ClusterNodeProvisioningMode | undefined;
404
570
  }
405
571
  export interface CreateClusterResponse {
406
572
  ClusterArn: string | undefined;
@@ -2066,109 +2232,3 @@ export interface CreateModelBiasJobDefinitionRequest {
2066
2232
  StoppingCondition?: MonitoringStoppingCondition | undefined;
2067
2233
  Tags?: Tag[] | undefined;
2068
2234
  }
2069
- export interface CreateModelBiasJobDefinitionResponse {
2070
- JobDefinitionArn: string | undefined;
2071
- }
2072
- export declare const ModelCardStatus: {
2073
- readonly APPROVED: "Approved";
2074
- readonly ARCHIVED: "Archived";
2075
- readonly DRAFT: "Draft";
2076
- readonly PENDINGREVIEW: "PendingReview";
2077
- };
2078
- export type ModelCardStatus =
2079
- (typeof ModelCardStatus)[keyof typeof ModelCardStatus];
2080
- export interface ModelCardSecurityConfig {
2081
- KmsKeyId?: string | undefined;
2082
- }
2083
- export interface CreateModelCardRequest {
2084
- ModelCardName: string | undefined;
2085
- SecurityConfig?: ModelCardSecurityConfig | undefined;
2086
- Content: string | undefined;
2087
- ModelCardStatus: ModelCardStatus | undefined;
2088
- Tags?: Tag[] | undefined;
2089
- }
2090
- export interface CreateModelCardResponse {
2091
- ModelCardArn: string | undefined;
2092
- }
2093
- export interface ModelCardExportOutputConfig {
2094
- S3OutputPath: string | undefined;
2095
- }
2096
- export interface CreateModelCardExportJobRequest {
2097
- ModelCardName: string | undefined;
2098
- ModelCardVersion?: number | undefined;
2099
- ModelCardExportJobName: string | undefined;
2100
- OutputConfig: ModelCardExportOutputConfig | undefined;
2101
- }
2102
- export interface CreateModelCardExportJobResponse {
2103
- ModelCardExportJobArn: string | undefined;
2104
- }
2105
- export interface ModelExplainabilityAppSpecification {
2106
- ImageUri: string | undefined;
2107
- ConfigUri: string | undefined;
2108
- Environment?: Record<string, string> | undefined;
2109
- }
2110
- export interface ModelExplainabilityBaselineConfig {
2111
- BaseliningJobName?: string | undefined;
2112
- ConstraintsResource?: MonitoringConstraintsResource | undefined;
2113
- }
2114
- export interface ModelExplainabilityJobInput {
2115
- EndpointInput?: EndpointInput | undefined;
2116
- BatchTransformInput?: BatchTransformInput | undefined;
2117
- }
2118
- export interface CreateModelExplainabilityJobDefinitionRequest {
2119
- JobDefinitionName: string | undefined;
2120
- ModelExplainabilityBaselineConfig?:
2121
- | ModelExplainabilityBaselineConfig
2122
- | undefined;
2123
- ModelExplainabilityAppSpecification:
2124
- | ModelExplainabilityAppSpecification
2125
- | undefined;
2126
- ModelExplainabilityJobInput: ModelExplainabilityJobInput | undefined;
2127
- ModelExplainabilityJobOutputConfig: MonitoringOutputConfig | undefined;
2128
- JobResources: MonitoringResources | undefined;
2129
- NetworkConfig?: MonitoringNetworkConfig | undefined;
2130
- RoleArn: string | undefined;
2131
- StoppingCondition?: MonitoringStoppingCondition | undefined;
2132
- Tags?: Tag[] | undefined;
2133
- }
2134
- export interface CreateModelExplainabilityJobDefinitionResponse {
2135
- JobDefinitionArn: string | undefined;
2136
- }
2137
- export interface FileSource {
2138
- ContentType?: string | undefined;
2139
- ContentDigest?: string | undefined;
2140
- S3Uri: string | undefined;
2141
- }
2142
- export interface DriftCheckBias {
2143
- ConfigFile?: FileSource | undefined;
2144
- PreTrainingConstraints?: MetricsSource | undefined;
2145
- PostTrainingConstraints?: MetricsSource | undefined;
2146
- }
2147
- export interface DriftCheckExplainability {
2148
- Constraints?: MetricsSource | undefined;
2149
- ConfigFile?: FileSource | undefined;
2150
- }
2151
- export interface DriftCheckModelDataQuality {
2152
- Statistics?: MetricsSource | undefined;
2153
- Constraints?: MetricsSource | undefined;
2154
- }
2155
- export interface DriftCheckModelQuality {
2156
- Statistics?: MetricsSource | undefined;
2157
- Constraints?: MetricsSource | undefined;
2158
- }
2159
- export interface DriftCheckBaselines {
2160
- Bias?: DriftCheckBias | undefined;
2161
- Explainability?: DriftCheckExplainability | undefined;
2162
- ModelQuality?: DriftCheckModelQuality | undefined;
2163
- ModelDataQuality?: DriftCheckModelDataQuality | undefined;
2164
- }
2165
- export interface ModelPackageModelCard {
2166
- ModelCardContent?: string | undefined;
2167
- ModelCardStatus?: ModelCardStatus | undefined;
2168
- }
2169
- export declare const CreateModelCardRequestFilterSensitiveLog: (
2170
- obj: CreateModelCardRequest
2171
- ) => any;
2172
- export declare const ModelPackageModelCardFilterSensitiveLog: (
2173
- obj: ModelPackageModelCard
2174
- ) => any;