@aws-sdk/client-sagemaker 3.363.0 → 3.365.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.
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/models/models_2.js +1 -0
- package/dist-cjs/models/models_3.js +1 -7
- package/dist-cjs/models/models_4.js +8 -2
- package/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/models/models_2.js +1 -0
- package/dist-es/models/models_3.js +0 -5
- package/dist-es/models/models_4.js +6 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +12 -0
- package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +7 -1
- package/dist-types/commands/DeleteHumanTaskUiCommand.d.ts +2 -1
- package/dist-types/commands/DeleteImageCommand.d.ts +1 -2
- package/dist-types/commands/DescribeEndpointCommand.d.ts +13 -1
- package/dist-types/commands/DescribeInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +15 -3
- package/dist-types/commands/ListEndpointsCommand.d.ts +2 -2
- package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +8 -2
- package/dist-types/commands/SearchCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEndpointCommand.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +9 -1
- package/dist-types/models/models_1.d.ts +62 -17
- package/dist-types/models/models_2.d.ts +29 -25
- package/dist-types/models/models_3.d.ts +25 -169
- package/dist-types/models/models_4.d.ts +170 -3
- package/dist-types/ts3.4/commands/DeleteHumanTaskUiCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_1.d.ts +18 -6
- package/dist-types/ts3.4/models/models_2.d.ts +9 -8
- package/dist-types/ts3.4/models/models_3.d.ts +6 -49
- package/dist-types/ts3.4/models/models_4.d.ts +61 -1
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
Bias,
|
|
23
23
|
BlueGreenUpdatePolicy,
|
|
24
24
|
CanvasAppSettings,
|
|
25
|
+
CapacitySize,
|
|
25
26
|
CaptureContentTypeHeader,
|
|
26
27
|
CaptureOption,
|
|
27
28
|
CaptureStatus,
|
|
@@ -195,9 +196,16 @@ export interface CreateEdgePackagingJobRequest {
|
|
|
195
196
|
ResourceKey?: string;
|
|
196
197
|
Tags?: Tag[];
|
|
197
198
|
}
|
|
199
|
+
export interface RollingUpdatePolicy {
|
|
200
|
+
MaximumBatchSize: CapacitySize | undefined;
|
|
201
|
+
WaitIntervalInSeconds: number | undefined;
|
|
202
|
+
MaximumExecutionTimeoutInSeconds?: number;
|
|
203
|
+
RollbackMaximumBatchSize?: CapacitySize;
|
|
204
|
+
}
|
|
198
205
|
export interface DeploymentConfig {
|
|
199
|
-
BlueGreenUpdatePolicy
|
|
206
|
+
BlueGreenUpdatePolicy?: BlueGreenUpdatePolicy;
|
|
200
207
|
AutoRollbackConfiguration?: AutoRollbackConfig;
|
|
208
|
+
RollingUpdatePolicy?: RollingUpdatePolicy;
|
|
201
209
|
}
|
|
202
210
|
export interface CreateEndpointInput {
|
|
203
211
|
EndpointName: string | undefined;
|
|
@@ -722,6 +730,12 @@ export interface RecommendationJobPayloadConfig {
|
|
|
722
730
|
SamplePayloadUrl?: string;
|
|
723
731
|
SupportedContentTypes?: string[];
|
|
724
732
|
}
|
|
733
|
+
export declare const RecommendationJobSupportedEndpointType: {
|
|
734
|
+
readonly REALTIME: "RealTime";
|
|
735
|
+
readonly SERVERLESS: "Serverless";
|
|
736
|
+
};
|
|
737
|
+
export type RecommendationJobSupportedEndpointType =
|
|
738
|
+
(typeof RecommendationJobSupportedEndpointType)[keyof typeof RecommendationJobSupportedEndpointType];
|
|
725
739
|
export interface RecommendationJobContainerConfig {
|
|
726
740
|
Domain?: string;
|
|
727
741
|
Task?: string;
|
|
@@ -731,14 +745,16 @@ export interface RecommendationJobContainerConfig {
|
|
|
731
745
|
NearestModelName?: string;
|
|
732
746
|
SupportedInstanceTypes?: string[];
|
|
733
747
|
DataInputConfig?: string;
|
|
748
|
+
SupportedEndpointType?: RecommendationJobSupportedEndpointType | string;
|
|
734
749
|
}
|
|
735
750
|
export interface EnvironmentParameterRanges {
|
|
736
751
|
CategoricalParameterRanges?: CategoricalParameter[];
|
|
737
752
|
}
|
|
738
753
|
export interface EndpointInputConfiguration {
|
|
739
|
-
InstanceType
|
|
754
|
+
InstanceType?: ProductionVariantInstanceType | string;
|
|
740
755
|
InferenceSpecificationName?: string;
|
|
741
756
|
EnvironmentParameterRanges?: EnvironmentParameterRanges;
|
|
757
|
+
ServerlessConfig?: ProductionVariantServerlessConfig;
|
|
742
758
|
}
|
|
743
759
|
export interface EndpointInfo {
|
|
744
760
|
EndpointName: string | undefined;
|
|
@@ -1809,10 +1825,6 @@ export interface DeleteHubContentRequest {
|
|
|
1809
1825
|
export interface DeleteHumanTaskUiRequest {
|
|
1810
1826
|
HumanTaskUiName: string | undefined;
|
|
1811
1827
|
}
|
|
1812
|
-
export interface DeleteHumanTaskUiResponse {}
|
|
1813
|
-
export interface DeleteImageRequest {
|
|
1814
|
-
ImageName: string | undefined;
|
|
1815
|
-
}
|
|
1816
1828
|
export declare const CreateModelCardRequestFilterSensitiveLog: (
|
|
1817
1829
|
obj: CreateModelCardRequest
|
|
1818
1830
|
) => any;
|
|
@@ -173,6 +173,10 @@ import {
|
|
|
173
173
|
UserSettings,
|
|
174
174
|
VendorGuidance,
|
|
175
175
|
} from "./models_1";
|
|
176
|
+
export interface DeleteHumanTaskUiResponse {}
|
|
177
|
+
export interface DeleteImageRequest {
|
|
178
|
+
ImageName: string | undefined;
|
|
179
|
+
}
|
|
176
180
|
export interface DeleteImageResponse {}
|
|
177
181
|
export interface DeleteImageVersionRequest {
|
|
178
182
|
ImageName: string | undefined;
|
|
@@ -674,6 +678,7 @@ export declare const EndpointStatus: {
|
|
|
674
678
|
readonly OUT_OF_SERVICE: "OutOfService";
|
|
675
679
|
readonly ROLLING_BACK: "RollingBack";
|
|
676
680
|
readonly SYSTEM_UPDATING: "SystemUpdating";
|
|
681
|
+
readonly UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed";
|
|
677
682
|
readonly UPDATING: "Updating";
|
|
678
683
|
};
|
|
679
684
|
export type EndpointStatus =
|
|
@@ -1152,8 +1157,9 @@ export interface EndpointPerformance {
|
|
|
1152
1157
|
export interface EndpointOutputConfiguration {
|
|
1153
1158
|
EndpointName: string | undefined;
|
|
1154
1159
|
VariantName: string | undefined;
|
|
1155
|
-
InstanceType
|
|
1156
|
-
InitialInstanceCount
|
|
1160
|
+
InstanceType?: ProductionVariantInstanceType | string;
|
|
1161
|
+
InitialInstanceCount?: number;
|
|
1162
|
+
ServerlessConfig?: ProductionVariantServerlessConfig;
|
|
1157
1163
|
}
|
|
1158
1164
|
export interface RecommendationMetrics {
|
|
1159
1165
|
CostPerHour: number | undefined;
|
|
@@ -1162,6 +1168,7 @@ export interface RecommendationMetrics {
|
|
|
1162
1168
|
ModelLatency: number | undefined;
|
|
1163
1169
|
CpuUtilization?: number;
|
|
1164
1170
|
MemoryUtilization?: number;
|
|
1171
|
+
ModelSetupTime?: number;
|
|
1165
1172
|
}
|
|
1166
1173
|
export interface EnvironmentParameter {
|
|
1167
1174
|
Key: string | undefined;
|
|
@@ -2358,12 +2365,6 @@ export declare const ResourceType: {
|
|
|
2358
2365
|
readonly TRAINING_JOB: "TrainingJob";
|
|
2359
2366
|
};
|
|
2360
2367
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
2361
|
-
export interface PropertyNameQuery {
|
|
2362
|
-
PropertyNameHint: string | undefined;
|
|
2363
|
-
}
|
|
2364
|
-
export interface SuggestionQuery {
|
|
2365
|
-
PropertyNameQuery?: PropertyNameQuery;
|
|
2366
|
-
}
|
|
2367
2368
|
export declare const DescribeModelCardResponseFilterSensitiveLog: (
|
|
2368
2369
|
obj: DescribeModelCardResponse
|
|
2369
2370
|
) => any;
|
|
@@ -86,8 +86,6 @@ import {
|
|
|
86
86
|
SourceAlgorithmSpecification,
|
|
87
87
|
StudioLifecycleConfigAppType,
|
|
88
88
|
TensorBoardOutputConfig,
|
|
89
|
-
TrialComponentArtifact,
|
|
90
|
-
TrialComponentParameterValue,
|
|
91
89
|
TrialComponentStatus,
|
|
92
90
|
TtlDuration,
|
|
93
91
|
UiTemplate,
|
|
@@ -105,7 +103,6 @@ import {
|
|
|
105
103
|
EdgePackagingJobStatus,
|
|
106
104
|
EdgePackagingJobSummary,
|
|
107
105
|
EMRStepMetadata,
|
|
108
|
-
Endpoint,
|
|
109
106
|
EndpointConfigSortKey,
|
|
110
107
|
EndpointConfigSummary,
|
|
111
108
|
EndpointOutputConfiguration,
|
|
@@ -113,15 +110,12 @@ import {
|
|
|
113
110
|
EndpointStatus,
|
|
114
111
|
EndpointSummary,
|
|
115
112
|
ExecutionStatus,
|
|
116
|
-
Experiment,
|
|
117
113
|
ExperimentSummary,
|
|
118
114
|
FailStepMetadata,
|
|
119
|
-
FeatureGroup,
|
|
120
115
|
FeatureGroupSortBy,
|
|
121
116
|
FeatureGroupSortOrder,
|
|
122
117
|
FeatureGroupStatus,
|
|
123
118
|
FeatureGroupSummary,
|
|
124
|
-
FeatureMetadata,
|
|
125
119
|
Filter,
|
|
126
120
|
FlowDefinitionSummary,
|
|
127
121
|
HubContentStatus,
|
|
@@ -162,11 +156,9 @@ import {
|
|
|
162
156
|
ServiceCatalogProvisionedProductDetails,
|
|
163
157
|
SpaceStatus,
|
|
164
158
|
SubscribedWorkteam,
|
|
165
|
-
SuggestionQuery,
|
|
166
159
|
TrainingJobStatus,
|
|
167
160
|
TrainingJobStatusCounters,
|
|
168
161
|
TransformJobStatus,
|
|
169
|
-
TrialComponentMetricSummary,
|
|
170
162
|
TrialComponentSource,
|
|
171
163
|
TrialSource,
|
|
172
164
|
UserProfileStatus,
|
|
@@ -175,6 +167,12 @@ import {
|
|
|
175
167
|
Workforce,
|
|
176
168
|
Workteam,
|
|
177
169
|
} from "./models_2";
|
|
170
|
+
export interface PropertyNameQuery {
|
|
171
|
+
PropertyNameHint: string | undefined;
|
|
172
|
+
}
|
|
173
|
+
export interface SuggestionQuery {
|
|
174
|
+
PropertyNameQuery?: PropertyNameQuery;
|
|
175
|
+
}
|
|
178
176
|
export interface GetSearchSuggestionsRequest {
|
|
179
177
|
Resource: ResourceType | string | undefined;
|
|
180
178
|
SuggestionQuery?: SuggestionQuery;
|
|
@@ -2362,45 +2360,4 @@ export interface TrialComponentSourceDetail {
|
|
|
2362
2360
|
ProcessingJob?: ProcessingJob;
|
|
2363
2361
|
TransformJob?: TransformJob;
|
|
2364
2362
|
}
|
|
2365
|
-
export interface TrialComponent {
|
|
2366
|
-
TrialComponentName?: string;
|
|
2367
|
-
DisplayName?: string;
|
|
2368
|
-
TrialComponentArn?: string;
|
|
2369
|
-
Source?: TrialComponentSource;
|
|
2370
|
-
Status?: TrialComponentStatus;
|
|
2371
|
-
StartTime?: Date;
|
|
2372
|
-
EndTime?: Date;
|
|
2373
|
-
CreationTime?: Date;
|
|
2374
|
-
CreatedBy?: UserContext;
|
|
2375
|
-
LastModifiedTime?: Date;
|
|
2376
|
-
LastModifiedBy?: UserContext;
|
|
2377
|
-
Parameters?: Record<string, TrialComponentParameterValue>;
|
|
2378
|
-
InputArtifacts?: Record<string, TrialComponentArtifact>;
|
|
2379
|
-
OutputArtifacts?: Record<string, TrialComponentArtifact>;
|
|
2380
|
-
Metrics?: TrialComponentMetricSummary[];
|
|
2381
|
-
MetadataProperties?: MetadataProperties;
|
|
2382
|
-
SourceDetail?: TrialComponentSourceDetail;
|
|
2383
|
-
LineageGroupArn?: string;
|
|
2384
|
-
Tags?: Tag[];
|
|
2385
|
-
Parents?: Parent[];
|
|
2386
|
-
RunName?: string;
|
|
2387
|
-
}
|
|
2388
|
-
export interface SearchRecord {
|
|
2389
|
-
TrainingJob?: TrainingJob;
|
|
2390
|
-
Experiment?: Experiment;
|
|
2391
|
-
Trial?: Trial;
|
|
2392
|
-
TrialComponent?: TrialComponent;
|
|
2393
|
-
Endpoint?: Endpoint;
|
|
2394
|
-
ModelPackage?: ModelPackage;
|
|
2395
|
-
ModelPackageGroup?: ModelPackageGroup;
|
|
2396
|
-
Pipeline?: Pipeline;
|
|
2397
|
-
PipelineExecution?: PipelineExecution;
|
|
2398
|
-
FeatureGroup?: FeatureGroup;
|
|
2399
|
-
Project?: Project;
|
|
2400
|
-
FeatureMetadata?: FeatureMetadata;
|
|
2401
|
-
HyperParameterTuningJob?: HyperParameterTuningJobSearchEntity;
|
|
2402
|
-
Model?: ModelDashboardModel;
|
|
2403
|
-
ModelCard?: ModelCard;
|
|
2404
|
-
}
|
|
2405
2363
|
export declare const ModelCardFilterSensitiveLog: (obj: ModelCard) => any;
|
|
2406
|
-
export declare const SearchRecordFilterSensitiveLog: (obj: SearchRecord) => any;
|
|
@@ -6,9 +6,11 @@ import {
|
|
|
6
6
|
DefaultSpaceSettings,
|
|
7
7
|
EdgeOutputConfig,
|
|
8
8
|
KernelGatewayImageConfig,
|
|
9
|
+
MetadataProperties,
|
|
9
10
|
ModelApprovalStatus,
|
|
10
11
|
OutputParameter,
|
|
11
12
|
Tag,
|
|
13
|
+
UserContext,
|
|
12
14
|
} from "./models_0";
|
|
13
15
|
import {
|
|
14
16
|
_InstanceType,
|
|
@@ -46,25 +48,82 @@ import {
|
|
|
46
48
|
DesiredWeightAndCapacity,
|
|
47
49
|
Device,
|
|
48
50
|
DomainSettingsForUpdate,
|
|
51
|
+
Endpoint,
|
|
52
|
+
Experiment,
|
|
53
|
+
FeatureGroup,
|
|
54
|
+
FeatureMetadata,
|
|
49
55
|
FeatureParameter,
|
|
50
56
|
Filter,
|
|
51
57
|
ResourceType,
|
|
52
58
|
SelectiveExecutionConfig,
|
|
59
|
+
TrialComponentMetricSummary,
|
|
60
|
+
TrialComponentSource,
|
|
53
61
|
Workforce,
|
|
54
62
|
Workteam,
|
|
55
63
|
} from "./models_2";
|
|
56
64
|
import {
|
|
57
65
|
GitConfigForUpdate,
|
|
66
|
+
HyperParameterTuningJobSearchEntity,
|
|
58
67
|
InferenceExperimentStopDesiredState,
|
|
68
|
+
ModelCard,
|
|
69
|
+
ModelDashboardModel,
|
|
70
|
+
ModelPackage,
|
|
71
|
+
ModelPackageGroup,
|
|
59
72
|
ModelVariantAction,
|
|
60
73
|
NestedFilters,
|
|
61
74
|
OnlineStoreConfigUpdate,
|
|
62
75
|
Parameter,
|
|
76
|
+
Parent,
|
|
77
|
+
Pipeline,
|
|
78
|
+
PipelineExecution,
|
|
63
79
|
ProfilerConfigForUpdate,
|
|
80
|
+
Project,
|
|
64
81
|
ResourceConfigForUpdate,
|
|
65
|
-
SearchRecord,
|
|
66
82
|
SearchSortOrder,
|
|
83
|
+
TrainingJob,
|
|
84
|
+
Trial,
|
|
85
|
+
TrialComponentSourceDetail,
|
|
67
86
|
} from "./models_3";
|
|
87
|
+
export interface TrialComponent {
|
|
88
|
+
TrialComponentName?: string;
|
|
89
|
+
DisplayName?: string;
|
|
90
|
+
TrialComponentArn?: string;
|
|
91
|
+
Source?: TrialComponentSource;
|
|
92
|
+
Status?: TrialComponentStatus;
|
|
93
|
+
StartTime?: Date;
|
|
94
|
+
EndTime?: Date;
|
|
95
|
+
CreationTime?: Date;
|
|
96
|
+
CreatedBy?: UserContext;
|
|
97
|
+
LastModifiedTime?: Date;
|
|
98
|
+
LastModifiedBy?: UserContext;
|
|
99
|
+
Parameters?: Record<string, TrialComponentParameterValue>;
|
|
100
|
+
InputArtifacts?: Record<string, TrialComponentArtifact>;
|
|
101
|
+
OutputArtifacts?: Record<string, TrialComponentArtifact>;
|
|
102
|
+
Metrics?: TrialComponentMetricSummary[];
|
|
103
|
+
MetadataProperties?: MetadataProperties;
|
|
104
|
+
SourceDetail?: TrialComponentSourceDetail;
|
|
105
|
+
LineageGroupArn?: string;
|
|
106
|
+
Tags?: Tag[];
|
|
107
|
+
Parents?: Parent[];
|
|
108
|
+
RunName?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface SearchRecord {
|
|
111
|
+
TrainingJob?: TrainingJob;
|
|
112
|
+
Experiment?: Experiment;
|
|
113
|
+
Trial?: Trial;
|
|
114
|
+
TrialComponent?: TrialComponent;
|
|
115
|
+
Endpoint?: Endpoint;
|
|
116
|
+
ModelPackage?: ModelPackage;
|
|
117
|
+
ModelPackageGroup?: ModelPackageGroup;
|
|
118
|
+
Pipeline?: Pipeline;
|
|
119
|
+
PipelineExecution?: PipelineExecution;
|
|
120
|
+
FeatureGroup?: FeatureGroup;
|
|
121
|
+
Project?: Project;
|
|
122
|
+
FeatureMetadata?: FeatureMetadata;
|
|
123
|
+
HyperParameterTuningJob?: HyperParameterTuningJobSearchEntity;
|
|
124
|
+
Model?: ModelDashboardModel;
|
|
125
|
+
ModelCard?: ModelCard;
|
|
126
|
+
}
|
|
68
127
|
export interface SearchResponse {
|
|
69
128
|
Results?: SearchRecord[];
|
|
70
129
|
NextToken?: string;
|
|
@@ -501,6 +560,7 @@ export interface SearchRequest {
|
|
|
501
560
|
NextToken?: string;
|
|
502
561
|
MaxResults?: number;
|
|
503
562
|
}
|
|
563
|
+
export declare const SearchRecordFilterSensitiveLog: (obj: SearchRecord) => any;
|
|
504
564
|
export declare const SearchResponseFilterSensitiveLog: (
|
|
505
565
|
obj: SearchResponse
|
|
506
566
|
) => any;
|
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.
|
|
4
|
+
"version": "3.365.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",
|