@aws-sdk/client-sagemaker 3.600.0 → 3.602.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 (64) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +121 -23
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/CreateHubContentReferenceCommand.js +24 -0
  5. package/dist-es/commands/DeleteHubContentReferenceCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_2.js +5 -15
  8. package/dist-es/models/models_3.js +15 -4
  9. package/dist-es/models/models_4.js +4 -0
  10. package/dist-es/protocols/Aws_json1_1.js +53 -0
  11. package/dist-types/SageMaker.d.ts +14 -0
  12. package/dist-types/SageMakerClient.d.ts +4 -2
  13. package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +3 -0
  14. package/dist-types/commands/CreateAlgorithmCommand.d.ts +3 -0
  15. package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +2 -1
  16. package/dist-types/commands/CreateHubCommand.d.ts +0 -3
  17. package/dist-types/commands/CreateHubContentReferenceCommand.d.ts +80 -0
  18. package/dist-types/commands/CreateModelCommand.d.ts +6 -0
  19. package/dist-types/commands/CreateModelPackageCommand.d.ts +9 -0
  20. package/dist-types/commands/DeleteHubCommand.d.ts +0 -3
  21. package/dist-types/commands/DeleteHubContentCommand.d.ts +1 -4
  22. package/dist-types/commands/DeleteHubContentReferenceCommand.d.ts +63 -0
  23. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeHubCommand.d.ts +1 -4
  25. package/dist-types/commands/DescribeHubContentCommand.d.ts +5 -5
  26. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +4 -4
  27. package/dist-types/commands/DescribeModelCommand.d.ts +6 -0
  28. package/dist-types/commands/DescribeModelPackageCommand.d.ts +9 -0
  29. package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  31. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -4
  32. package/dist-types/commands/ListHubContentVersionsCommand.d.ts +5 -5
  33. package/dist-types/commands/ListHubContentsCommand.d.ts +5 -5
  34. package/dist-types/commands/ListHubsCommand.d.ts +0 -3
  35. package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +4 -4
  36. package/dist-types/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
  37. package/dist-types/commands/ListMonitoringAlertsCommand.d.ts +1 -2
  38. package/dist-types/commands/SearchCommand.d.ts +9 -0
  39. package/dist-types/commands/UpdateHubCommand.d.ts +0 -3
  40. package/dist-types/commands/UpdateModelPackageCommand.d.ts +6 -0
  41. package/dist-types/commands/index.d.ts +2 -0
  42. package/dist-types/models/models_0.d.ts +16 -10
  43. package/dist-types/models/models_1.d.ts +55 -36
  44. package/dist-types/models/models_2.d.ts +90 -272
  45. package/dist-types/models/models_3.d.ts +283 -133
  46. package/dist-types/models/models_4.d.ts +133 -2
  47. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  48. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  49. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  50. package/dist-types/ts3.4/commands/CreateCodeRepositoryCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/CreateHubContentReferenceCommand.d.ts +40 -0
  52. package/dist-types/ts3.4/commands/DeleteHubContentReferenceCommand.d.ts +36 -0
  53. package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListMonitoringAlertsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +4 -3
  59. package/dist-types/ts3.4/models/models_1.d.ts +14 -9
  60. package/dist-types/ts3.4/models/models_2.d.ts +29 -72
  61. package/dist-types/ts3.4/models/models_3.d.ts +68 -34
  62. package/dist-types/ts3.4/models/models_4.d.ts +35 -3
  63. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  64. package/package.json +1 -1
@@ -49,6 +49,8 @@ import {
49
49
  VpcConfig,
50
50
  } from "./models_0";
51
51
  import {
52
+ _InstanceType,
53
+ DirectInternetAccess,
52
54
  DockerSettings,
53
55
  EdgeOutputConfig,
54
56
  ExecutionRoleIdentityConfig,
@@ -61,15 +63,16 @@ import {
61
63
  HyperParameterTuningJobWarmStartConfig,
62
64
  InferenceExperimentSchedule,
63
65
  InferenceExperimentType,
66
+ InstanceMetadataServiceConfiguration,
64
67
  LabelingJobInputConfig,
65
68
  ModelCardStatus,
66
69
  MonitoringScheduleConfig,
67
70
  MonitoringType,
68
71
  NetworkConfig,
72
+ NotebookInstanceAcceleratorType,
69
73
  NotebookInstanceLifecycleHook,
70
74
  OfflineStoreConfig,
71
75
  OnlineStoreConfig,
72
- OwnershipSettings,
73
76
  ParallelismConfiguration,
74
77
  ProcessingInput,
75
78
  ProcessingOutputConfig,
@@ -78,6 +81,7 @@ import {
78
81
  RecommendationJobType,
79
82
  ResourceLimits,
80
83
  RetryStrategy,
84
+ RootAccess,
81
85
  ServiceCatalogProvisioningDetails,
82
86
  UserSettings,
83
87
  } from "./models_1";
@@ -98,6 +102,7 @@ import {
98
102
  FeatureParameter,
99
103
  FlowDefinitionStatus,
100
104
  HubContentStatus,
105
+ HubContentSupportStatus,
101
106
  HubContentType,
102
107
  HubStatus,
103
108
  HyperParameterTrainingJobSummary,
@@ -126,6 +131,7 @@ import {
126
131
  ObjectiveStatusCounters,
127
132
  OfflineStoreStatus,
128
133
  OfflineStoreStatusValue,
134
+ OwnershipSettings,
129
135
  ProductionVariantSummary,
130
136
  ProfilerConfig,
131
137
  ProfilerRuleConfiguration,
@@ -133,7 +139,6 @@ import {
133
139
  RecommendationMetrics,
134
140
  RemoteDebugConfig,
135
141
  RuleEvaluationStatus,
136
- ScheduleStatus,
137
142
  SourceIpConfig,
138
143
  SpaceSettings,
139
144
  SpaceSharingSettings,
@@ -147,6 +152,64 @@ import {
147
152
  TrialComponentStatus,
148
153
  WorkerAccessConfiguration,
149
154
  } from "./models_2";
155
+ export declare const ScheduleStatus: {
156
+ readonly FAILED: "Failed";
157
+ readonly PENDING: "Pending";
158
+ readonly SCHEDULED: "Scheduled";
159
+ readonly STOPPED: "Stopped";
160
+ };
161
+ export type ScheduleStatus =
162
+ (typeof ScheduleStatus)[keyof typeof ScheduleStatus];
163
+ export interface DescribeMonitoringScheduleResponse {
164
+ MonitoringScheduleArn: string | undefined;
165
+ MonitoringScheduleName: string | undefined;
166
+ MonitoringScheduleStatus: ScheduleStatus | undefined;
167
+ MonitoringType?: MonitoringType;
168
+ FailureReason?: string;
169
+ CreationTime: Date | undefined;
170
+ LastModifiedTime: Date | undefined;
171
+ MonitoringScheduleConfig: MonitoringScheduleConfig | undefined;
172
+ EndpointName?: string;
173
+ LastMonitoringExecutionSummary?: MonitoringExecutionSummary;
174
+ }
175
+ export interface DescribeNotebookInstanceInput {
176
+ NotebookInstanceName: string | undefined;
177
+ }
178
+ export declare const NotebookInstanceStatus: {
179
+ readonly Deleting: "Deleting";
180
+ readonly Failed: "Failed";
181
+ readonly InService: "InService";
182
+ readonly Pending: "Pending";
183
+ readonly Stopped: "Stopped";
184
+ readonly Stopping: "Stopping";
185
+ readonly Updating: "Updating";
186
+ };
187
+ export type NotebookInstanceStatus =
188
+ (typeof NotebookInstanceStatus)[keyof typeof NotebookInstanceStatus];
189
+ export interface DescribeNotebookInstanceOutput {
190
+ NotebookInstanceArn?: string;
191
+ NotebookInstanceName?: string;
192
+ NotebookInstanceStatus?: NotebookInstanceStatus;
193
+ FailureReason?: string;
194
+ Url?: string;
195
+ InstanceType?: _InstanceType;
196
+ SubnetId?: string;
197
+ SecurityGroups?: string[];
198
+ RoleArn?: string;
199
+ KmsKeyId?: string;
200
+ NetworkInterfaceId?: string;
201
+ LastModifiedTime?: Date;
202
+ CreationTime?: Date;
203
+ NotebookInstanceLifecycleConfigName?: string;
204
+ DirectInternetAccess?: DirectInternetAccess;
205
+ VolumeSizeInGB?: number;
206
+ AcceleratorTypes?: NotebookInstanceAcceleratorType[];
207
+ DefaultCodeRepository?: string;
208
+ AdditionalCodeRepositories?: string[];
209
+ RootAccess?: RootAccess;
210
+ PlatformIdentifier?: string;
211
+ InstanceMetadataServiceConfiguration?: InstanceMetadataServiceConfiguration;
212
+ }
150
213
  export interface DescribeNotebookInstanceLifecycleConfigInput {
151
214
  NotebookInstanceLifecycleConfigName: string | undefined;
152
215
  }
@@ -1091,14 +1154,17 @@ export interface GitConfigForUpdate {
1091
1154
  export interface HubContentInfo {
1092
1155
  HubContentName: string | undefined;
1093
1156
  HubContentArn: string | undefined;
1157
+ SageMakerPublicHubContentArn?: string;
1094
1158
  HubContentVersion: string | undefined;
1095
1159
  HubContentType: HubContentType | undefined;
1096
1160
  DocumentSchemaVersion: string | undefined;
1097
1161
  HubContentDisplayName?: string;
1098
1162
  HubContentDescription?: string;
1163
+ SupportStatus?: HubContentSupportStatus;
1099
1164
  HubContentSearchKeywords?: string[];
1100
1165
  HubContentStatus: HubContentStatus | undefined;
1101
1166
  CreationTime: Date | undefined;
1167
+ OriginalCreationTime?: Date;
1102
1168
  }
1103
1169
  export declare const HubContentSortBy: {
1104
1170
  readonly CREATION_TIME: "CreationTime";
@@ -2314,35 +2380,3 @@ export declare const MonitoringAlertHistorySortKey: {
2314
2380
  };
2315
2381
  export type MonitoringAlertHistorySortKey =
2316
2382
  (typeof MonitoringAlertHistorySortKey)[keyof typeof MonitoringAlertHistorySortKey];
2317
- export declare const MonitoringAlertStatus: {
2318
- readonly IN_ALERT: "InAlert";
2319
- readonly OK: "OK";
2320
- };
2321
- export type MonitoringAlertStatus =
2322
- (typeof MonitoringAlertStatus)[keyof typeof MonitoringAlertStatus];
2323
- export interface ListMonitoringAlertHistoryRequest {
2324
- MonitoringScheduleName?: string;
2325
- MonitoringAlertName?: string;
2326
- SortBy?: MonitoringAlertHistorySortKey;
2327
- SortOrder?: SortOrder;
2328
- NextToken?: string;
2329
- MaxResults?: number;
2330
- CreationTimeBefore?: Date;
2331
- CreationTimeAfter?: Date;
2332
- StatusEquals?: MonitoringAlertStatus;
2333
- }
2334
- export interface MonitoringAlertHistorySummary {
2335
- MonitoringScheduleName: string | undefined;
2336
- MonitoringAlertName: string | undefined;
2337
- CreationTime: Date | undefined;
2338
- AlertStatus: MonitoringAlertStatus | undefined;
2339
- }
2340
- export interface ListMonitoringAlertHistoryResponse {
2341
- MonitoringAlertHistory?: MonitoringAlertHistorySummary[];
2342
- NextToken?: string;
2343
- }
2344
- export interface ListMonitoringAlertsRequest {
2345
- MonitoringScheduleName: string | undefined;
2346
- NextToken?: string;
2347
- MaxResults?: number;
2348
- }
@@ -102,12 +102,10 @@ import {
102
102
  ModelPackageGroupStatus,
103
103
  ModelPackageStatusDetails,
104
104
  MonitoringExecutionSummary,
105
- NotebookInstanceStatus,
106
105
  NotificationConfiguration,
107
106
  OidcConfig,
108
107
  ProfilerConfig,
109
108
  ProfilerRuleConfiguration,
110
- ScheduleStatus,
111
109
  SharingType,
112
110
  SourceIpConfig,
113
111
  SpaceSettings,
@@ -141,13 +139,15 @@ import {
141
139
  LambdaStepMetadata,
142
140
  LineageType,
143
141
  MetricData,
144
- MonitoringAlertStatus,
142
+ MonitoringAlertHistorySortKey,
143
+ NotebookInstanceStatus,
145
144
  PipelineExecutionStatus,
146
145
  PipelineExperimentConfig,
147
146
  PipelineStatus,
148
147
  ProcessingJobStatus,
149
148
  ProjectStatus,
150
149
  ResourceType,
150
+ ScheduleStatus,
151
151
  SecondaryStatus,
152
152
  SecondaryStatusTransition,
153
153
  SelectiveExecutionConfig,
@@ -166,6 +166,38 @@ import {
166
166
  Workforce,
167
167
  Workteam,
168
168
  } from "./models_3";
169
+ export declare const MonitoringAlertStatus: {
170
+ readonly IN_ALERT: "InAlert";
171
+ readonly OK: "OK";
172
+ };
173
+ export type MonitoringAlertStatus =
174
+ (typeof MonitoringAlertStatus)[keyof typeof MonitoringAlertStatus];
175
+ export interface ListMonitoringAlertHistoryRequest {
176
+ MonitoringScheduleName?: string;
177
+ MonitoringAlertName?: string;
178
+ SortBy?: MonitoringAlertHistorySortKey;
179
+ SortOrder?: SortOrder;
180
+ NextToken?: string;
181
+ MaxResults?: number;
182
+ CreationTimeBefore?: Date;
183
+ CreationTimeAfter?: Date;
184
+ StatusEquals?: MonitoringAlertStatus;
185
+ }
186
+ export interface MonitoringAlertHistorySummary {
187
+ MonitoringScheduleName: string | undefined;
188
+ MonitoringAlertName: string | undefined;
189
+ CreationTime: Date | undefined;
190
+ AlertStatus: MonitoringAlertStatus | undefined;
191
+ }
192
+ export interface ListMonitoringAlertHistoryResponse {
193
+ MonitoringAlertHistory?: MonitoringAlertHistorySummary[];
194
+ NextToken?: string;
195
+ }
196
+ export interface ListMonitoringAlertsRequest {
197
+ MonitoringScheduleName: string | undefined;
198
+ NextToken?: string;
199
+ MaxResults?: number;
200
+ }
169
201
  export interface ModelDashboardIndicatorAction {
170
202
  Enabled?: boolean;
171
203
  }
@@ -111,6 +111,10 @@ import {
111
111
  CreateHubCommandInput,
112
112
  CreateHubCommandOutput,
113
113
  } from "../commands/CreateHubCommand";
114
+ import {
115
+ CreateHubContentReferenceCommandInput,
116
+ CreateHubContentReferenceCommandOutput,
117
+ } from "../commands/CreateHubContentReferenceCommand";
114
118
  import {
115
119
  CreateHumanTaskUiCommandInput,
116
120
  CreateHumanTaskUiCommandOutput,
@@ -339,6 +343,10 @@ import {
339
343
  DeleteHubContentCommandInput,
340
344
  DeleteHubContentCommandOutput,
341
345
  } from "../commands/DeleteHubContentCommand";
346
+ import {
347
+ DeleteHubContentReferenceCommandInput,
348
+ DeleteHubContentReferenceCommandOutput,
349
+ } from "../commands/DeleteHubContentReferenceCommand";
342
350
  import {
343
351
  DeleteHumanTaskUiCommandInput,
344
352
  DeleteHumanTaskUiCommandOutput,
@@ -1423,6 +1431,10 @@ export declare const se_CreateHubCommand: (
1423
1431
  input: CreateHubCommandInput,
1424
1432
  context: __SerdeContext
1425
1433
  ) => Promise<__HttpRequest>;
1434
+ export declare const se_CreateHubContentReferenceCommand: (
1435
+ input: CreateHubContentReferenceCommandInput,
1436
+ context: __SerdeContext
1437
+ ) => Promise<__HttpRequest>;
1426
1438
  export declare const se_CreateHumanTaskUiCommand: (
1427
1439
  input: CreateHumanTaskUiCommandInput,
1428
1440
  context: __SerdeContext
@@ -1651,6 +1663,10 @@ export declare const se_DeleteHubContentCommand: (
1651
1663
  input: DeleteHubContentCommandInput,
1652
1664
  context: __SerdeContext
1653
1665
  ) => Promise<__HttpRequest>;
1666
+ export declare const se_DeleteHubContentReferenceCommand: (
1667
+ input: DeleteHubContentReferenceCommandInput,
1668
+ context: __SerdeContext
1669
+ ) => Promise<__HttpRequest>;
1654
1670
  export declare const se_DeleteHumanTaskUiCommand: (
1655
1671
  input: DeleteHumanTaskUiCommandInput,
1656
1672
  context: __SerdeContext
@@ -2735,6 +2751,10 @@ export declare const de_CreateHubCommand: (
2735
2751
  output: __HttpResponse,
2736
2752
  context: __SerdeContext
2737
2753
  ) => Promise<CreateHubCommandOutput>;
2754
+ export declare const de_CreateHubContentReferenceCommand: (
2755
+ output: __HttpResponse,
2756
+ context: __SerdeContext
2757
+ ) => Promise<CreateHubContentReferenceCommandOutput>;
2738
2758
  export declare const de_CreateHumanTaskUiCommand: (
2739
2759
  output: __HttpResponse,
2740
2760
  context: __SerdeContext
@@ -2963,6 +2983,10 @@ export declare const de_DeleteHubContentCommand: (
2963
2983
  output: __HttpResponse,
2964
2984
  context: __SerdeContext
2965
2985
  ) => Promise<DeleteHubContentCommandOutput>;
2986
+ export declare const de_DeleteHubContentReferenceCommand: (
2987
+ output: __HttpResponse,
2988
+ context: __SerdeContext
2989
+ ) => Promise<DeleteHubContentReferenceCommandOutput>;
2966
2990
  export declare const de_DeleteHumanTaskUiCommand: (
2967
2991
  output: __HttpResponse,
2968
2992
  context: __SerdeContext
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.600.0",
4
+ "version": "3.602.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",