@aws-sdk/client-sagemaker 3.379.1 → 3.383.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 (59) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/SageMaker.js +2 -0
  3. package/dist-cjs/commands/GetScalingConfigurationRecommendationCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/ruleset.js +1 -1
  6. package/dist-cjs/models/models_1.js +13 -5
  7. package/dist-cjs/models/models_2.js +24 -5
  8. package/dist-cjs/models/models_3.js +6 -2
  9. package/dist-cjs/protocols/Aws_json1_1.js +92 -10
  10. package/dist-es/SageMaker.js +2 -0
  11. package/dist-es/commands/GetScalingConfigurationRecommendationCommand.js +42 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/endpoint/ruleset.js +1 -1
  14. package/dist-es/models/models_1.js +12 -4
  15. package/dist-es/models/models_2.js +22 -4
  16. package/dist-es/models/models_3.js +4 -0
  17. package/dist-es/protocols/Aws_json1_1.js +80 -0
  18. package/dist-types/SageMaker.d.ts +7 -0
  19. package/dist-types/SageMakerClient.d.ts +3 -2
  20. package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +7 -1
  21. package/dist-types/commands/DeleteFlowDefinitionCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteHubCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +7 -1
  24. package/dist-types/commands/GetDeviceFleetReportCommand.d.ts +1 -1
  25. package/dist-types/commands/GetLineageGroupPolicyCommand.d.ts +1 -1
  26. package/dist-types/commands/GetModelPackageGroupPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/GetSagemakerServicecatalogPortfolioStatusCommand.d.ts +1 -2
  28. package/dist-types/commands/GetScalingConfigurationRecommendationCommand.d.ts +118 -0
  29. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  30. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  31. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  32. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  33. package/dist-types/commands/index.d.ts +1 -0
  34. package/dist-types/models/models_0.d.ts +699 -1
  35. package/dist-types/models/models_1.d.ts +945 -40
  36. package/dist-types/models/models_2.d.ts +1402 -131
  37. package/dist-types/models/models_3.d.ts +1494 -310
  38. package/dist-types/models/models_4.d.ts +699 -3
  39. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  40. package/dist-types/ts3.4/SageMaker.d.ts +23 -0
  41. package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
  42. package/dist-types/ts3.4/commands/DeleteFlowDefinitionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DeleteHubCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetDeviceFleetReportCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/GetLineageGroupPolicyCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetModelPackageGroupPolicyCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetSagemakerServicecatalogPortfolioStatusCommand.d.ts +4 -2
  48. package/dist-types/ts3.4/commands/GetScalingConfigurationRecommendationCommand.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  54. package/dist-types/ts3.4/models/models_1.d.ts +27 -13
  55. package/dist-types/ts3.4/models/models_2.d.ts +73 -42
  56. package/dist-types/ts3.4/models/models_3.d.ts +71 -83
  57. package/dist-types/ts3.4/models/models_4.d.ts +81 -2
  58. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  59. package/package.json +5 -5
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  ActionSummary,
3
3
  AdditionalInferenceSpecificationDefinition,
4
+ AgentVersion,
4
5
  AlgorithmSortBy,
5
6
  AlgorithmSummary,
6
7
  AppDetails,
@@ -31,6 +32,7 @@ import {
31
32
  ConditionStepMetadata,
32
33
  ContainerDefinition,
33
34
  ContextSummary,
35
+ EdgeOutputConfig,
34
36
  InferenceSpecification,
35
37
  MetadataProperties,
36
38
  ModelApprovalStatus,
@@ -48,7 +50,6 @@ import {
48
50
  DataProcessing,
49
51
  DriftCheckBaselines,
50
52
  ExperimentConfig,
51
- HubContentType,
52
53
  HyperParameterTrainingJobDefinition,
53
54
  HyperParameterTuningJobConfig,
54
55
  HyperParameterTuningJobStrategyType,
@@ -72,23 +73,21 @@ import {
72
73
  ProcessingStoppingCondition,
73
74
  RecommendationJobType,
74
75
  ResourceLimits,
75
- ServiceCatalogProvisioningDetails,
76
76
  SourceAlgorithmSpecification,
77
77
  StudioLifecycleConfigAppType,
78
78
  TrialComponentStatus,
79
79
  TtlDuration,
80
- UiTemplate,
81
80
  } from "./models_1";
82
81
  import {
83
82
  DeploymentRecommendation,
84
- Device,
85
83
  DeviceDeploymentSummary,
86
84
  DeviceFleetSummary,
85
+ DeviceStats,
87
86
  DeviceSummary,
88
- Direction,
89
87
  DomainDetails,
90
- Edge,
88
+ DynamicScalingConfiguration,
91
89
  EdgeDeploymentPlanSummary,
90
+ EdgeModelStat,
92
91
  EdgePackagingJobStatus,
93
92
  EdgePackagingJobSummary,
94
93
  EMRStepMetadata,
@@ -106,8 +105,9 @@ import {
106
105
  FeatureGroupStatus,
107
106
  FeatureGroupSummary,
108
107
  Filter,
109
- FlowDefinitionSummary,
108
+ FlowDefinitionStatus,
110
109
  HubContentStatus,
110
+ HubContentType,
111
111
  HubStatus,
112
112
  HyperParameterTrainingJobSummary,
113
113
  HyperParameterTuningJobCompletionDetails,
@@ -135,10 +135,8 @@ import {
135
135
  ProjectStatus,
136
136
  RecommendationJobStatus,
137
137
  RecommendationMetrics,
138
- SagemakerServicecatalogStatus,
139
138
  ScheduleStatus,
140
139
  SelectiveExecutionConfig,
141
- ServiceCatalogProvisionedProductDetails,
142
140
  SpaceStatus,
143
141
  SubscribedWorkteam,
144
142
  TrainingJobStatus,
@@ -152,9 +150,73 @@ import {
152
150
  Workforce,
153
151
  Workteam,
154
152
  } from "./models_2";
153
+ export interface FlowDefinitionSummary {
154
+ FlowDefinitionName: string | undefined;
155
+ FlowDefinitionArn: string | undefined;
156
+ FlowDefinitionStatus: FlowDefinitionStatus | string | undefined;
157
+ CreationTime: Date | undefined;
158
+ FailureReason?: string;
159
+ }
160
+ export interface GetDeviceFleetReportRequest {
161
+ DeviceFleetName: string | undefined;
162
+ }
163
+ export interface GetDeviceFleetReportResponse {
164
+ DeviceFleetArn: string | undefined;
165
+ DeviceFleetName: string | undefined;
166
+ OutputConfig?: EdgeOutputConfig;
167
+ Description?: string;
168
+ ReportGenerated?: Date;
169
+ DeviceStats?: DeviceStats;
170
+ AgentVersions?: AgentVersion[];
171
+ ModelStats?: EdgeModelStat[];
172
+ }
173
+ export interface GetLineageGroupPolicyRequest {
174
+ LineageGroupName: string | undefined;
175
+ }
176
+ export interface GetLineageGroupPolicyResponse {
177
+ LineageGroupArn?: string;
178
+ ResourcePolicy?: string;
179
+ }
180
+ export interface GetModelPackageGroupPolicyInput {
181
+ ModelPackageGroupName: string | undefined;
182
+ }
183
+ export interface GetModelPackageGroupPolicyOutput {
184
+ ResourcePolicy: string | undefined;
185
+ }
186
+ export interface GetSagemakerServicecatalogPortfolioStatusInput {}
187
+ export declare const SagemakerServicecatalogStatus: {
188
+ readonly DISABLED: "Disabled";
189
+ readonly ENABLED: "Enabled";
190
+ };
191
+ export type SagemakerServicecatalogStatus =
192
+ (typeof SagemakerServicecatalogStatus)[keyof typeof SagemakerServicecatalogStatus];
155
193
  export interface GetSagemakerServicecatalogPortfolioStatusOutput {
156
194
  Status?: SagemakerServicecatalogStatus | string;
157
195
  }
196
+ export interface ScalingPolicyObjective {
197
+ MinInvocationsPerMinute?: number;
198
+ MaxInvocationsPerMinute?: number;
199
+ }
200
+ export interface GetScalingConfigurationRecommendationRequest {
201
+ InferenceRecommendationsJobName: string | undefined;
202
+ RecommendationId?: string;
203
+ EndpointName?: string;
204
+ TargetCpuUtilizationPerCore?: number;
205
+ ScalingPolicyObjective?: ScalingPolicyObjective;
206
+ }
207
+ export interface ScalingPolicyMetric {
208
+ InvocationsPerInstance?: number;
209
+ ModelLatency?: number;
210
+ }
211
+ export interface GetScalingConfigurationRecommendationResponse {
212
+ InferenceRecommendationsJobName?: string;
213
+ RecommendationId?: string;
214
+ EndpointName?: string;
215
+ TargetCpuUtilizationPerCore?: number;
216
+ ScalingPolicyObjective?: ScalingPolicyObjective;
217
+ Metric?: ScalingPolicyMetric;
218
+ DynamicScalingConfiguration?: DynamicScalingConfiguration;
219
+ }
158
220
  export declare const ResourceType: {
159
221
  readonly ENDPOINT: "Endpoint";
160
222
  readonly EXPERIMENT: "Experiment";
@@ -2242,78 +2304,4 @@ export interface ProfilerConfigForUpdate {
2242
2304
  ProfilingParameters?: Record<string, string>;
2243
2305
  DisableProfiler?: boolean;
2244
2306
  }
2245
- export interface Project {
2246
- ProjectArn?: string;
2247
- ProjectName?: string;
2248
- ProjectId?: string;
2249
- ProjectDescription?: string;
2250
- ServiceCatalogProvisioningDetails?: ServiceCatalogProvisioningDetails;
2251
- ServiceCatalogProvisionedProductDetails?: ServiceCatalogProvisionedProductDetails;
2252
- ProjectStatus?: ProjectStatus | string;
2253
- CreatedBy?: UserContext;
2254
- CreationTime?: Date;
2255
- Tags?: Tag[];
2256
- LastModifiedTime?: Date;
2257
- LastModifiedBy?: UserContext;
2258
- }
2259
- export interface PutModelPackageGroupPolicyInput {
2260
- ModelPackageGroupName: string | undefined;
2261
- ResourcePolicy: string | undefined;
2262
- }
2263
- export interface PutModelPackageGroupPolicyOutput {
2264
- ModelPackageGroupArn: string | undefined;
2265
- }
2266
- export interface QueryFilters {
2267
- Types?: string[];
2268
- LineageTypes?: (LineageType | string)[];
2269
- CreatedBefore?: Date;
2270
- CreatedAfter?: Date;
2271
- ModifiedBefore?: Date;
2272
- ModifiedAfter?: Date;
2273
- Properties?: Record<string, string>;
2274
- }
2275
- export interface QueryLineageRequest {
2276
- StartArns?: string[];
2277
- Direction?: Direction | string;
2278
- IncludeEdges?: boolean;
2279
- Filters?: QueryFilters;
2280
- MaxDepth?: number;
2281
- MaxResults?: number;
2282
- NextToken?: string;
2283
- }
2284
- export interface Vertex {
2285
- Arn?: string;
2286
- Type?: string;
2287
- LineageType?: LineageType | string;
2288
- }
2289
- export interface QueryLineageResponse {
2290
- Vertices?: Vertex[];
2291
- Edges?: Edge[];
2292
- NextToken?: string;
2293
- }
2294
- export interface RegisterDevicesRequest {
2295
- DeviceFleetName: string | undefined;
2296
- Devices: Device[] | undefined;
2297
- Tags?: Tag[];
2298
- }
2299
- export interface RenderableTask {
2300
- Input: string | undefined;
2301
- }
2302
- export interface RenderingError {
2303
- Code: string | undefined;
2304
- Message: string | undefined;
2305
- }
2306
- export interface RenderUiTemplateRequest {
2307
- UiTemplate?: UiTemplate;
2308
- Task: RenderableTask | undefined;
2309
- RoleArn: string | undefined;
2310
- HumanTaskUiArn?: string;
2311
- }
2312
- export interface RenderUiTemplateResponse {
2313
- RenderedContent: string | undefined;
2314
- Errors: RenderingError[] | undefined;
2315
- }
2316
- export interface ResourceConfigForUpdate {
2317
- KeepAlivePeriodInSeconds: number | undefined;
2318
- }
2319
2307
  export declare const ModelCardFilterSensitiveLog: (obj: ModelCard) => any;
@@ -48,6 +48,7 @@ import {
48
48
  ProvisioningParameter,
49
49
  RetryStrategy,
50
50
  RootAccess,
51
+ ServiceCatalogProvisioningDetails,
51
52
  ShadowModeConfig,
52
53
  SourceIpConfig,
53
54
  SpaceSettings,
@@ -55,6 +56,7 @@ import {
55
56
  TrialComponentArtifact,
56
57
  TrialComponentParameterValue,
57
58
  TrialComponentStatus,
59
+ UiTemplate,
58
60
  UserSettings,
59
61
  VendorGuidance,
60
62
  WorkforceVpcConfigRequest,
@@ -62,7 +64,9 @@ import {
62
64
  import {
63
65
  DesiredWeightAndCapacity,
64
66
  Device,
67
+ Direction,
65
68
  DomainSettingsForUpdate,
69
+ Edge,
66
70
  Endpoint,
67
71
  Experiment,
68
72
  FeatureGroup,
@@ -71,9 +75,11 @@ import {
71
75
  Filter,
72
76
  MetricData,
73
77
  ModelArtifacts,
78
+ ProjectStatus,
74
79
  SecondaryStatus,
75
80
  SecondaryStatusTransition,
76
81
  SelectiveExecutionConfig,
82
+ ServiceCatalogProvisionedProductDetails,
77
83
  TrainingJobStatus,
78
84
  TrialComponentMetricSummary,
79
85
  TrialComponentSource,
@@ -85,6 +91,7 @@ import {
85
91
  GitConfigForUpdate,
86
92
  HyperParameterTuningJobSearchEntity,
87
93
  InferenceExperimentStopDesiredState,
94
+ LineageType,
88
95
  ModelCard,
89
96
  ModelDashboardModel,
90
97
  ModelPackage,
@@ -98,11 +105,83 @@ import {
98
105
  PipelineExecution,
99
106
  ProcessingJob,
100
107
  ProfilerConfigForUpdate,
101
- Project,
102
- ResourceConfigForUpdate,
103
108
  ResourceType,
104
109
  TransformJob,
105
110
  } from "./models_3";
111
+ export interface Project {
112
+ ProjectArn?: string;
113
+ ProjectName?: string;
114
+ ProjectId?: string;
115
+ ProjectDescription?: string;
116
+ ServiceCatalogProvisioningDetails?: ServiceCatalogProvisioningDetails;
117
+ ServiceCatalogProvisionedProductDetails?: ServiceCatalogProvisionedProductDetails;
118
+ ProjectStatus?: ProjectStatus | string;
119
+ CreatedBy?: UserContext;
120
+ CreationTime?: Date;
121
+ Tags?: Tag[];
122
+ LastModifiedTime?: Date;
123
+ LastModifiedBy?: UserContext;
124
+ }
125
+ export interface PutModelPackageGroupPolicyInput {
126
+ ModelPackageGroupName: string | undefined;
127
+ ResourcePolicy: string | undefined;
128
+ }
129
+ export interface PutModelPackageGroupPolicyOutput {
130
+ ModelPackageGroupArn: string | undefined;
131
+ }
132
+ export interface QueryFilters {
133
+ Types?: string[];
134
+ LineageTypes?: (LineageType | string)[];
135
+ CreatedBefore?: Date;
136
+ CreatedAfter?: Date;
137
+ ModifiedBefore?: Date;
138
+ ModifiedAfter?: Date;
139
+ Properties?: Record<string, string>;
140
+ }
141
+ export interface QueryLineageRequest {
142
+ StartArns?: string[];
143
+ Direction?: Direction | string;
144
+ IncludeEdges?: boolean;
145
+ Filters?: QueryFilters;
146
+ MaxDepth?: number;
147
+ MaxResults?: number;
148
+ NextToken?: string;
149
+ }
150
+ export interface Vertex {
151
+ Arn?: string;
152
+ Type?: string;
153
+ LineageType?: LineageType | string;
154
+ }
155
+ export interface QueryLineageResponse {
156
+ Vertices?: Vertex[];
157
+ Edges?: Edge[];
158
+ NextToken?: string;
159
+ }
160
+ export interface RegisterDevicesRequest {
161
+ DeviceFleetName: string | undefined;
162
+ Devices: Device[] | undefined;
163
+ Tags?: Tag[];
164
+ }
165
+ export interface RenderableTask {
166
+ Input: string | undefined;
167
+ }
168
+ export interface RenderingError {
169
+ Code: string | undefined;
170
+ Message: string | undefined;
171
+ }
172
+ export interface RenderUiTemplateRequest {
173
+ UiTemplate?: UiTemplate;
174
+ Task: RenderableTask | undefined;
175
+ RoleArn: string | undefined;
176
+ HumanTaskUiArn?: string;
177
+ }
178
+ export interface RenderUiTemplateResponse {
179
+ RenderedContent: string | undefined;
180
+ Errors: RenderingError[] | undefined;
181
+ }
182
+ export interface ResourceConfigForUpdate {
183
+ KeepAlivePeriodInSeconds: number | undefined;
184
+ }
106
185
  export interface RetryPipelineExecutionRequest {
107
186
  PipelineExecutionArn: string | undefined;
108
187
  ClientRequestToken?: string;
@@ -679,6 +679,10 @@ import {
679
679
  GetSagemakerServicecatalogPortfolioStatusCommandInput,
680
680
  GetSagemakerServicecatalogPortfolioStatusCommandOutput,
681
681
  } from "../commands/GetSagemakerServicecatalogPortfolioStatusCommand";
682
+ import {
683
+ GetScalingConfigurationRecommendationCommandInput,
684
+ GetScalingConfigurationRecommendationCommandOutput,
685
+ } from "../commands/GetScalingConfigurationRecommendationCommand";
682
686
  import {
683
687
  GetSearchSuggestionsCommandInput,
684
688
  GetSearchSuggestionsCommandOutput,
@@ -1891,6 +1895,10 @@ export declare const se_GetSagemakerServicecatalogPortfolioStatusCommand: (
1891
1895
  input: GetSagemakerServicecatalogPortfolioStatusCommandInput,
1892
1896
  context: __SerdeContext
1893
1897
  ) => Promise<__HttpRequest>;
1898
+ export declare const se_GetScalingConfigurationRecommendationCommand: (
1899
+ input: GetScalingConfigurationRecommendationCommandInput,
1900
+ context: __SerdeContext
1901
+ ) => Promise<__HttpRequest>;
1894
1902
  export declare const se_GetSearchSuggestionsCommand: (
1895
1903
  input: GetSearchSuggestionsCommandInput,
1896
1904
  context: __SerdeContext
@@ -3103,6 +3111,10 @@ export declare const de_GetSagemakerServicecatalogPortfolioStatusCommand: (
3103
3111
  output: __HttpResponse,
3104
3112
  context: __SerdeContext
3105
3113
  ) => Promise<GetSagemakerServicecatalogPortfolioStatusCommandOutput>;
3114
+ export declare const de_GetScalingConfigurationRecommendationCommand: (
3115
+ output: __HttpResponse,
3116
+ context: __SerdeContext
3117
+ ) => Promise<GetScalingConfigurationRecommendationCommandOutput>;
3106
3118
  export declare const de_GetSearchSuggestionsCommand: (
3107
3119
  output: __HttpResponse,
3108
3120
  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.379.1",
4
+ "version": "3.383.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.379.1",
25
- "@aws-sdk/credential-provider-node": "3.379.1",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
26
  "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-signing": "3.379.1",
30
- "@aws-sdk/middleware-user-agent": "3.379.1",
30
+ "@aws-sdk/middleware-user-agent": "3.382.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.382.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",