@aws-sdk/client-sagemaker 3.922.0 → 3.926.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 (34) hide show
  1. package/dist-cjs/index.js +20 -0
  2. package/dist-es/models/models_0.js +16 -0
  3. package/dist-es/protocols/Aws_json1_1.js +3 -0
  4. package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  5. package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateAlgorithmCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateLabelingJobCommand.d.ts +1 -2
  8. package/dist-types/commands/CreateModelPackageCommand.d.ts +3 -3
  9. package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +2 -2
  11. package/dist-types/commands/DescribeClusterCommand.d.ts +23 -5
  12. package/dist-types/commands/DescribeModelPackageCommand.d.ts +3 -3
  13. package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
  14. package/dist-types/commands/ListTrialsCommand.d.ts +1 -2
  15. package/dist-types/commands/SearchCommand.d.ts +4 -4
  16. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
  17. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -0
  18. package/dist-types/commands/UpdateModelPackageCommand.d.ts +2 -2
  19. package/dist-types/models/models_0.d.ts +76 -48
  20. package/dist-types/models/models_1.d.ts +12 -56
  21. package/dist-types/models/models_2.d.ts +59 -79
  22. package/dist-types/models/models_3.d.ts +77 -18
  23. package/dist-types/models/models_4.d.ts +17 -46
  24. package/dist-types/models/models_5.d.ts +57 -2
  25. package/dist-types/ts3.4/commands/CreateLabelingJobCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -2
  28. package/dist-types/ts3.4/models/models_0.d.ts +30 -12
  29. package/dist-types/ts3.4/models/models_1.d.ts +4 -13
  30. package/dist-types/ts3.4/models/models_2.d.ts +19 -28
  31. package/dist-types/ts3.4/models/models_3.d.ts +26 -4
  32. package/dist-types/ts3.4/models/models_4.d.ts +4 -11
  33. package/dist-types/ts3.4/models/models_5.d.ts +14 -0
  34. package/package.json +8 -8
@@ -36,11 +36,6 @@ import {
36
36
  CfnCreateTemplateProvider,
37
37
  Channel,
38
38
  CheckpointConfig,
39
- ClusterAutoScalingConfigOutput,
40
- ClusterInstanceGroupDetails,
41
- ClusterNodeProvisioningMode,
42
- ClusterNodeRecovery,
43
- ClusterOrchestrator,
44
39
  CodeEditorAppImageConfig,
45
40
  FeatureStatus,
46
41
  InferenceSpecification,
@@ -67,9 +62,6 @@ import {
67
62
  } from "./models_0";
68
63
  import {
69
64
  _InstanceType,
70
- ClusterRestrictedInstanceGroupDetails,
71
- ClusterStatus,
72
- ClusterTieredStorageConfig,
73
65
  CodeRepository,
74
66
  CognitoConfig,
75
67
  CognitoMemberDefinition,
@@ -79,9 +71,14 @@ import {
79
71
  EdgeDeploymentConfig,
80
72
  EndpointInput,
81
73
  HubContentType,
74
+ HumanTaskConfig,
82
75
  IPAddressType,
83
76
  JupyterServerAppSettings,
84
77
  KernelGatewayAppSettings,
78
+ LabelingJobAlgorithmsConfig,
79
+ LabelingJobInputConfig,
80
+ LabelingJobOutputConfig,
81
+ LabelingJobStoppingConditions,
85
82
  MetadataProperties,
86
83
  ModelDeployConfig,
87
84
  MonitoringConstraintsResource,
@@ -96,6 +93,18 @@ import {
96
93
  TrainingSpecification,
97
94
  UserSettings,
98
95
  } from "./models_1";
96
+ export interface CreateLabelingJobRequest {
97
+ LabelingJobName: string | undefined;
98
+ LabelAttributeName: string | undefined;
99
+ InputConfig: LabelingJobInputConfig | undefined;
100
+ OutputConfig: LabelingJobOutputConfig | undefined;
101
+ RoleArn: string | undefined;
102
+ LabelCategoryConfigS3Uri?: string | undefined;
103
+ StoppingConditions?: LabelingJobStoppingConditions | undefined;
104
+ LabelingJobAlgorithmsConfig?: LabelingJobAlgorithmsConfig | undefined;
105
+ HumanTaskConfig: HumanTaskConfig | undefined;
106
+ Tags?: Tag[] | undefined;
107
+ }
99
108
  export interface CreateLabelingJobResponse {
100
109
  LabelingJobArn: string | undefined;
101
110
  }
@@ -1041,11 +1050,11 @@ export interface TensorBoardOutputConfig {
1041
1050
  export interface CreateTrainingJobRequest {
1042
1051
  TrainingJobName: string | undefined;
1043
1052
  HyperParameters?: Record<string, string> | undefined;
1044
- AlgorithmSpecification: AlgorithmSpecification | undefined;
1053
+ AlgorithmSpecification?: AlgorithmSpecification | undefined;
1045
1054
  RoleArn: string | undefined;
1046
1055
  InputDataConfig?: Channel[] | undefined;
1047
1056
  OutputDataConfig: OutputDataConfig | undefined;
1048
- ResourceConfig: ResourceConfig | undefined;
1057
+ ResourceConfig?: ResourceConfig | undefined;
1049
1058
  VpcConfig?: VpcConfig | undefined;
1050
1059
  StoppingCondition: StoppingCondition | undefined;
1051
1060
  Tags?: Tag[] | undefined;
@@ -1764,24 +1773,6 @@ export interface DescribeAutoMLJobV2Response {
1764
1773
  export interface DescribeClusterRequest {
1765
1774
  ClusterName: string | undefined;
1766
1775
  }
1767
- export interface DescribeClusterResponse {
1768
- ClusterArn: string | undefined;
1769
- ClusterName?: string | undefined;
1770
- ClusterStatus: ClusterStatus | undefined;
1771
- CreationTime?: Date | undefined;
1772
- FailureMessage?: string | undefined;
1773
- InstanceGroups: ClusterInstanceGroupDetails[] | undefined;
1774
- RestrictedInstanceGroups?:
1775
- | ClusterRestrictedInstanceGroupDetails[]
1776
- | undefined;
1777
- VpcConfig?: VpcConfig | undefined;
1778
- Orchestrator?: ClusterOrchestrator | undefined;
1779
- TieredStorageConfig?: ClusterTieredStorageConfig | undefined;
1780
- NodeRecovery?: ClusterNodeRecovery | undefined;
1781
- NodeProvisioningMode?: ClusterNodeProvisioningMode | undefined;
1782
- ClusterRole?: string | undefined;
1783
- AutoScaling?: ClusterAutoScalingConfigOutput | undefined;
1784
- }
1785
1776
  export declare const CreateModelCardRequestFilterSensitiveLog: (
1786
1777
  obj: CreateModelCardRequest
1787
1778
  ) => any;
@@ -18,8 +18,12 @@ import {
18
18
  CfnTemplateProviderDetail,
19
19
  Channel,
20
20
  CheckpointConfig,
21
+ ClusterAutoScalingConfigOutput,
21
22
  ClusterEventDetail,
23
+ ClusterInstanceGroupDetails,
22
24
  ClusterNodeDetails,
25
+ ClusterNodeProvisioningMode,
26
+ ClusterNodeRecovery,
23
27
  InferenceSpecification,
24
28
  ModelApprovalStatus,
25
29
  ModelPackageStatus,
@@ -39,6 +43,10 @@ import {
39
43
  } from "./models_0";
40
44
  import {
41
45
  _InstanceType,
46
+ ClusterOrchestrator,
47
+ ClusterRestrictedInstanceGroupDetails,
48
+ ClusterStatus,
49
+ ClusterTieredStorageConfig,
42
50
  CognitoConfig,
43
51
  CompilationJobStatus,
44
52
  ComputeQuotaConfig,
@@ -192,6 +200,24 @@ import {
192
200
  WorkerAccessConfiguration,
193
201
  WorkforceIpAddressType,
194
202
  } from "./models_2";
203
+ export interface DescribeClusterResponse {
204
+ ClusterArn: string | undefined;
205
+ ClusterName?: string | undefined;
206
+ ClusterStatus: ClusterStatus | undefined;
207
+ CreationTime?: Date | undefined;
208
+ FailureMessage?: string | undefined;
209
+ InstanceGroups: ClusterInstanceGroupDetails[] | undefined;
210
+ RestrictedInstanceGroups?:
211
+ | ClusterRestrictedInstanceGroupDetails[]
212
+ | undefined;
213
+ VpcConfig?: VpcConfig | undefined;
214
+ Orchestrator?: ClusterOrchestrator | undefined;
215
+ TieredStorageConfig?: ClusterTieredStorageConfig | undefined;
216
+ NodeRecovery?: ClusterNodeRecovery | undefined;
217
+ NodeProvisioningMode?: ClusterNodeProvisioningMode | undefined;
218
+ ClusterRole?: string | undefined;
219
+ AutoScaling?: ClusterAutoScalingConfigOutput | undefined;
220
+ }
195
221
  export interface DescribeClusterEventRequest {
196
222
  EventId: string | undefined;
197
223
  ClusterName: string | undefined;
@@ -2605,10 +2631,6 @@ export type SagemakerServicecatalogStatus =
2605
2631
  export interface GetSagemakerServicecatalogPortfolioStatusOutput {
2606
2632
  Status?: SagemakerServicecatalogStatus | undefined;
2607
2633
  }
2608
- export interface ScalingPolicyObjective {
2609
- MinInvocationsPerMinute?: number | undefined;
2610
- MaxInvocationsPerMinute?: number | undefined;
2611
- }
2612
2634
  export declare const DescribeModelCardResponseFilterSensitiveLog: (
2613
2635
  obj: DescribeModelCardResponse
2614
2636
  ) => any;
@@ -127,7 +127,6 @@ import {
127
127
  RecommendationMetrics,
128
128
  ReservedCapacitySummary,
129
129
  SageMakerResourceName,
130
- ScalingPolicyObjective,
131
130
  ScheduleStatus,
132
131
  SecondaryStatus,
133
132
  SpaceStatus,
@@ -141,6 +140,10 @@ import {
141
140
  WarmPoolResourceStatus,
142
141
  WarmPoolStatus,
143
142
  } from "./models_3";
143
+ export interface ScalingPolicyObjective {
144
+ MinInvocationsPerMinute?: number | undefined;
145
+ MaxInvocationsPerMinute?: number | undefined;
146
+ }
144
147
  export interface GetScalingConfigurationRecommendationRequest {
145
148
  InferenceRecommendationsJobName: string | undefined;
146
149
  RecommendationId?: string | undefined;
@@ -2265,13 +2268,3 @@ export declare const SortTrialsBy: {
2265
2268
  readonly NAME: "Name";
2266
2269
  };
2267
2270
  export type SortTrialsBy = (typeof SortTrialsBy)[keyof typeof SortTrialsBy];
2268
- export interface ListTrialsRequest {
2269
- ExperimentName?: string | undefined;
2270
- TrialComponentName?: string | undefined;
2271
- CreatedAfter?: Date | undefined;
2272
- CreatedBefore?: Date | undefined;
2273
- SortBy?: SortTrialsBy | undefined;
2274
- SortOrder?: SortOrder | undefined;
2275
- MaxResults?: number | undefined;
2276
- NextToken?: string | undefined;
2277
- }
@@ -15,6 +15,7 @@ import {
15
15
  CheckpointConfig,
16
16
  ClusterAutoScalingConfig,
17
17
  ClusterInstanceGroupSpecification,
18
+ ClusterNodeProvisioningMode,
18
19
  ClusterNodeRecovery,
19
20
  CodeEditorAppImageConfig,
20
21
  DeploymentConfiguration,
@@ -170,7 +171,18 @@ import {
170
171
  Parameter,
171
172
  ResourceType,
172
173
  SortOrder,
174
+ SortTrialsBy,
173
175
  } from "./models_4";
176
+ export interface ListTrialsRequest {
177
+ ExperimentName?: string | undefined;
178
+ TrialComponentName?: string | undefined;
179
+ CreatedAfter?: Date | undefined;
180
+ CreatedBefore?: Date | undefined;
181
+ SortBy?: SortTrialsBy | undefined;
182
+ SortOrder?: SortOrder | undefined;
183
+ MaxResults?: number | undefined;
184
+ NextToken?: string | undefined;
185
+ }
174
186
  export interface TrialSummary {
175
187
  TrialArn?: string | undefined;
176
188
  TrialName?: string | undefined;
@@ -921,6 +933,7 @@ export interface UpdateClusterRequest {
921
933
  TieredStorageConfig?: ClusterTieredStorageConfig | undefined;
922
934
  NodeRecovery?: ClusterNodeRecovery | undefined;
923
935
  InstanceGroupsToDelete?: string[] | undefined;
936
+ NodeProvisioningMode?: ClusterNodeProvisioningMode | undefined;
924
937
  ClusterRole?: string | undefined;
925
938
  AutoScaling?: ClusterAutoScalingConfig | undefined;
926
939
  }
@@ -999,6 +1012,7 @@ export interface UpdateDomainRequest {
999
1012
  SubnetIds?: string[] | undefined;
1000
1013
  AppNetworkAccessType?: AppNetworkAccessType | undefined;
1001
1014
  TagPropagation?: TagPropagation | undefined;
1015
+ VpcId?: string | undefined;
1002
1016
  }
1003
1017
  export interface UpdateDomainResponse {
1004
1018
  DomainArn?: 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.922.0",
4
+ "version": "3.926.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,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.922.0",
24
- "@aws-sdk/credential-provider-node": "3.922.0",
23
+ "@aws-sdk/core": "3.926.0",
24
+ "@aws-sdk/credential-provider-node": "3.926.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.922.0",
29
- "@aws-sdk/region-config-resolver": "3.922.0",
28
+ "@aws-sdk/middleware-user-agent": "3.926.0",
29
+ "@aws-sdk/region-config-resolver": "3.925.0",
30
30
  "@aws-sdk/types": "3.922.0",
31
31
  "@aws-sdk/util-endpoints": "3.922.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.922.0",
34
- "@smithy/config-resolver": "^4.4.1",
33
+ "@aws-sdk/util-user-agent-node": "3.926.0",
34
+ "@smithy/config-resolver": "^4.4.2",
35
35
  "@smithy/core": "^3.17.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.5",
37
37
  "@smithy/hash-node": "^4.2.4",
@@ -51,7 +51,7 @@
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
53
  "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.7",
54
+ "@smithy/util-defaults-mode-node": "^4.2.8",
55
55
  "@smithy/util-endpoints": "^3.2.4",
56
56
  "@smithy/util-middleware": "^4.2.4",
57
57
  "@smithy/util-retry": "^4.2.4",