@aws-sdk/client-sagemaker 3.461.0 → 3.464.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/README.md +104 -0
- package/dist-cjs/SageMaker.js +26 -0
- package/dist-cjs/commands/CreateClusterCommand.js +51 -0
- package/dist-cjs/commands/CreateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/CreateWorkforceCommand.js +2 -2
- package/dist-cjs/commands/DeleteClusterCommand.js +51 -0
- package/dist-cjs/commands/DeleteInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterNodeCommand.js +51 -0
- package/dist-cjs/commands/DescribeInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/ListClusterNodesCommand.js +51 -0
- package/dist-cjs/commands/ListClustersCommand.js +51 -0
- package/dist-cjs/commands/ListInferenceComponentsCommand.js +51 -0
- package/dist-cjs/commands/UpdateClusterCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentRuntimeConfigCommand.js +51 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +77 -64
- package/dist-cjs/models/models_1.js +85 -51
- package/dist-cjs/models/models_2.js +58 -83
- package/dist-cjs/models/models_3.js +89 -64
- package/dist-cjs/models/models_4.js +65 -3
- package/dist-cjs/pagination/ListInferenceComponentsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1046 -36
- package/dist-es/SageMaker.js +26 -0
- package/dist-es/commands/CreateClusterCommand.js +47 -0
- package/dist-es/commands/CreateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/CreateWorkforceCommand.js +1 -1
- package/dist-es/commands/DeleteClusterCommand.js +47 -0
- package/dist-es/commands/DeleteInferenceComponentCommand.js +47 -0
- package/dist-es/commands/DescribeClusterCommand.js +47 -0
- package/dist-es/commands/DescribeClusterNodeCommand.js +47 -0
- package/dist-es/commands/DescribeInferenceComponentCommand.js +47 -0
- package/dist-es/commands/ListClusterNodesCommand.js +47 -0
- package/dist-es/commands/ListClustersCommand.js +47 -0
- package/dist-es/commands/ListInferenceComponentsCommand.js +47 -0
- package/dist-es/commands/UpdateClusterCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentRuntimeConfigCommand.js +47 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +74 -62
- package/dist-es/models/models_1.js +84 -48
- package/dist-es/models/models_2.js +55 -82
- package/dist-es/models/models_3.js +87 -62
- package/dist-es/models/models_4.js +63 -1
- package/dist-es/pagination/ListInferenceComponentsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1006 -22
- package/dist-types/SageMaker.d.ts +91 -0
- package/dist-types/SageMakerClient.d.ts +15 -2
- package/dist-types/commands/AddTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppCommand.d.ts +3 -2
- package/dist-types/commands/CreateAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +109 -0
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateContextCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +64 -17
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/CreateInferenceComponentCommand.d.ts +115 -0
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +3 -2
- package/dist-types/commands/CreateSpaceCommand.d.ts +45 -0
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -2
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +4 -1
- package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +56 -2
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +80 -0
- package/dist-types/commands/DeleteInferenceComponentCommand.d.ts +71 -0
- package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAppCommand.d.ts +3 -2
- package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +102 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +92 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +56 -9
- package/dist-types/commands/DescribeEndpointCommand.d.ts +32 -0
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +109 -0
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpaceCommand.d.ts +46 -0
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +5 -1
- package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +55 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/ListAppImageConfigsCommand.d.ts +13 -0
- package/dist-types/commands/ListAppsCommand.d.ts +8 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +96 -0
- package/dist-types/commands/ListClustersCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceComponentsCommand.d.ts +96 -0
- package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +2 -1
- package/dist-types/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelinesCommand.d.ts +1 -1
- package/dist-types/commands/ListProcessingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/commands/ListSpacesCommand.d.ts +16 -1
- package/dist-types/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +4 -4
- package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +97 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +58 -7
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +100 -0
- package/dist-types/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +80 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +39 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +54 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +616 -544
- package/dist-types/models/models_1.d.ts +7904 -8160
- package/dist-types/models/models_2.d.ts +4780 -5344
- package/dist-types/models/models_3.d.ts +5386 -4662
- package/dist-types/models/models_4.d.ts +2031 -4
- package/dist-types/pagination/ListInferenceComponentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +117 -0
- package/dist-types/ts3.4/SageMaker.d.ts +227 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCompilationJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateContextCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteInferenceComponentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTrainingJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListInferenceComponentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPipelineExecutionStepsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProcessingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +191 -175
- package/dist-types/ts3.4/models/models_1.d.ts +302 -309
- package/dist-types/ts3.4/models/models_2.d.ts +388 -490
- package/dist-types/ts3.4/models/models_3.d.ts +574 -472
- package/dist-types/ts3.4/models/models_4.d.ts +534 -29
- package/dist-types/ts3.4/pagination/ListInferenceComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +156 -0
- package/package.json +2 -2
|
@@ -1,4 +1,44 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const JoinSource = {
|
|
3
|
+
INPUT: "Input",
|
|
4
|
+
NONE: "None",
|
|
5
|
+
};
|
|
6
|
+
export var TrialComponentParameterValue;
|
|
7
|
+
(function (TrialComponentParameterValue) {
|
|
8
|
+
TrialComponentParameterValue.visit = (value, visitor) => {
|
|
9
|
+
if (value.StringValue !== undefined)
|
|
10
|
+
return visitor.StringValue(value.StringValue);
|
|
11
|
+
if (value.NumberValue !== undefined)
|
|
12
|
+
return visitor.NumberValue(value.NumberValue);
|
|
13
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
14
|
+
};
|
|
15
|
+
})(TrialComponentParameterValue || (TrialComponentParameterValue = {}));
|
|
16
|
+
export const TrialComponentPrimaryStatus = {
|
|
17
|
+
COMPLETED: "Completed",
|
|
18
|
+
FAILED: "Failed",
|
|
19
|
+
IN_PROGRESS: "InProgress",
|
|
20
|
+
STOPPED: "Stopped",
|
|
21
|
+
STOPPING: "Stopping",
|
|
22
|
+
};
|
|
23
|
+
export const CrossAccountFilterOption = {
|
|
24
|
+
CROSS_ACCOUNT: "CrossAccount",
|
|
25
|
+
SAME_ACCOUNT: "SameAccount",
|
|
26
|
+
};
|
|
27
|
+
export const Statistic = {
|
|
28
|
+
AVERAGE: "Average",
|
|
29
|
+
MAXIMUM: "Maximum",
|
|
30
|
+
MINIMUM: "Minimum",
|
|
31
|
+
SAMPLE_COUNT: "SampleCount",
|
|
32
|
+
SUM: "Sum",
|
|
33
|
+
};
|
|
34
|
+
export const RuleEvaluationStatus = {
|
|
35
|
+
ERROR: "Error",
|
|
36
|
+
IN_PROGRESS: "InProgress",
|
|
37
|
+
ISSUES_FOUND: "IssuesFound",
|
|
38
|
+
NO_ISSUES_FOUND: "NoIssuesFound",
|
|
39
|
+
STOPPED: "Stopped",
|
|
40
|
+
STOPPING: "Stopping",
|
|
41
|
+
};
|
|
2
42
|
export const RetentionType = {
|
|
3
43
|
Delete: "Delete",
|
|
4
44
|
Retain: "Retain",
|
|
@@ -135,6 +175,13 @@ export const ImageVersionStatus = {
|
|
|
135
175
|
DELETE_FAILED: "DELETE_FAILED",
|
|
136
176
|
DELETING: "DELETING",
|
|
137
177
|
};
|
|
178
|
+
export const InferenceComponentStatus = {
|
|
179
|
+
CREATING: "Creating",
|
|
180
|
+
DELETING: "Deleting",
|
|
181
|
+
FAILED: "Failed",
|
|
182
|
+
IN_SERVICE: "InService",
|
|
183
|
+
UPDATING: "Updating",
|
|
184
|
+
};
|
|
138
185
|
export const ModelVariantStatus = {
|
|
139
186
|
CREATING: "Creating",
|
|
140
187
|
DELETED: "Deleted",
|
|
@@ -257,88 +304,14 @@ export const SpaceStatus = {
|
|
|
257
304
|
Update_Failed: "Update_Failed",
|
|
258
305
|
Updating: "Updating",
|
|
259
306
|
};
|
|
260
|
-
export const
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
};
|
|
264
|
-
export const
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
FAILED: "Failed",
|
|
269
|
-
INTERRUPTED: "Interrupted",
|
|
270
|
-
LAUNCHING_ML_INSTANCES: "LaunchingMLInstances",
|
|
271
|
-
MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded",
|
|
272
|
-
MAX_WAIT_TIME_EXCEEDED: "MaxWaitTimeExceeded",
|
|
273
|
-
PREPARING_TRAINING_STACK: "PreparingTrainingStack",
|
|
274
|
-
RESTARTING: "Restarting",
|
|
275
|
-
STARTING: "Starting",
|
|
276
|
-
STOPPED: "Stopped",
|
|
277
|
-
STOPPING: "Stopping",
|
|
278
|
-
TRAINING: "Training",
|
|
279
|
-
UPDATING: "Updating",
|
|
280
|
-
UPLOADING: "Uploading",
|
|
281
|
-
};
|
|
282
|
-
export const WarmPoolResourceStatus = {
|
|
283
|
-
AVAILABLE: "Available",
|
|
284
|
-
INUSE: "InUse",
|
|
285
|
-
REUSED: "Reused",
|
|
286
|
-
TERMINATED: "Terminated",
|
|
287
|
-
};
|
|
288
|
-
export const TransformJobStatus = {
|
|
289
|
-
COMPLETED: "Completed",
|
|
290
|
-
FAILED: "Failed",
|
|
291
|
-
IN_PROGRESS: "InProgress",
|
|
292
|
-
STOPPED: "Stopped",
|
|
293
|
-
STOPPING: "Stopping",
|
|
294
|
-
};
|
|
295
|
-
export const UserProfileStatus = {
|
|
296
|
-
Delete_Failed: "Delete_Failed",
|
|
297
|
-
Deleting: "Deleting",
|
|
298
|
-
Failed: "Failed",
|
|
299
|
-
InService: "InService",
|
|
300
|
-
Pending: "Pending",
|
|
301
|
-
Update_Failed: "Update_Failed",
|
|
302
|
-
Updating: "Updating",
|
|
303
|
-
};
|
|
304
|
-
export const WorkforceStatus = {
|
|
305
|
-
ACTIVE: "Active",
|
|
306
|
-
DELETING: "Deleting",
|
|
307
|
-
FAILED: "Failed",
|
|
308
|
-
INITIALIZING: "Initializing",
|
|
309
|
-
UPDATING: "Updating",
|
|
310
|
-
};
|
|
311
|
-
export const DeviceDeploymentStatus = {
|
|
312
|
-
Deployed: "DEPLOYED",
|
|
313
|
-
Failed: "FAILED",
|
|
314
|
-
InProgress: "INPROGRESS",
|
|
315
|
-
ReadyToDeploy: "READYTODEPLOY",
|
|
316
|
-
Stopped: "STOPPED",
|
|
317
|
-
Stopping: "STOPPING",
|
|
318
|
-
};
|
|
319
|
-
export const Direction = {
|
|
320
|
-
ASCENDANTS: "Ascendants",
|
|
321
|
-
BOTH: "Both",
|
|
322
|
-
DESCENDANTS: "Descendants",
|
|
323
|
-
};
|
|
324
|
-
export var MetricSpecification;
|
|
325
|
-
(function (MetricSpecification) {
|
|
326
|
-
MetricSpecification.visit = (value, visitor) => {
|
|
327
|
-
if (value.Predefined !== undefined)
|
|
328
|
-
return visitor.Predefined(value.Predefined);
|
|
329
|
-
if (value.Customized !== undefined)
|
|
330
|
-
return visitor.Customized(value.Customized);
|
|
331
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
332
|
-
};
|
|
333
|
-
})(MetricSpecification || (MetricSpecification = {}));
|
|
334
|
-
export var ScalingPolicy;
|
|
335
|
-
(function (ScalingPolicy) {
|
|
336
|
-
ScalingPolicy.visit = (value, visitor) => {
|
|
337
|
-
if (value.TargetTracking !== undefined)
|
|
338
|
-
return visitor.TargetTracking(value.TargetTracking);
|
|
339
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
340
|
-
};
|
|
341
|
-
})(ScalingPolicy || (ScalingPolicy = {}));
|
|
307
|
+
export const OidcConfigFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
310
|
+
});
|
|
311
|
+
export const CreateWorkforceRequestFilterSensitiveLog = (obj) => ({
|
|
312
|
+
...obj,
|
|
313
|
+
...(obj.OidcConfig && { OidcConfig: OidcConfigFilterSensitiveLog(obj.OidcConfig) }),
|
|
314
|
+
});
|
|
342
315
|
export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
343
316
|
...obj,
|
|
344
317
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -1,3 +1,85 @@
|
|
|
1
|
+
export const ProfilingStatus = {
|
|
2
|
+
DISABLED: "Disabled",
|
|
3
|
+
ENABLED: "Enabled",
|
|
4
|
+
};
|
|
5
|
+
export const SecondaryStatus = {
|
|
6
|
+
COMPLETED: "Completed",
|
|
7
|
+
DOWNLOADING: "Downloading",
|
|
8
|
+
DOWNLOADING_TRAINING_IMAGE: "DownloadingTrainingImage",
|
|
9
|
+
FAILED: "Failed",
|
|
10
|
+
INTERRUPTED: "Interrupted",
|
|
11
|
+
LAUNCHING_ML_INSTANCES: "LaunchingMLInstances",
|
|
12
|
+
MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded",
|
|
13
|
+
MAX_WAIT_TIME_EXCEEDED: "MaxWaitTimeExceeded",
|
|
14
|
+
PREPARING_TRAINING_STACK: "PreparingTrainingStack",
|
|
15
|
+
RESTARTING: "Restarting",
|
|
16
|
+
STARTING: "Starting",
|
|
17
|
+
STOPPED: "Stopped",
|
|
18
|
+
STOPPING: "Stopping",
|
|
19
|
+
TRAINING: "Training",
|
|
20
|
+
UPDATING: "Updating",
|
|
21
|
+
UPLOADING: "Uploading",
|
|
22
|
+
};
|
|
23
|
+
export const WarmPoolResourceStatus = {
|
|
24
|
+
AVAILABLE: "Available",
|
|
25
|
+
INUSE: "InUse",
|
|
26
|
+
REUSED: "Reused",
|
|
27
|
+
TERMINATED: "Terminated",
|
|
28
|
+
};
|
|
29
|
+
export const TransformJobStatus = {
|
|
30
|
+
COMPLETED: "Completed",
|
|
31
|
+
FAILED: "Failed",
|
|
32
|
+
IN_PROGRESS: "InProgress",
|
|
33
|
+
STOPPED: "Stopped",
|
|
34
|
+
STOPPING: "Stopping",
|
|
35
|
+
};
|
|
36
|
+
export const UserProfileStatus = {
|
|
37
|
+
Delete_Failed: "Delete_Failed",
|
|
38
|
+
Deleting: "Deleting",
|
|
39
|
+
Failed: "Failed",
|
|
40
|
+
InService: "InService",
|
|
41
|
+
Pending: "Pending",
|
|
42
|
+
Update_Failed: "Update_Failed",
|
|
43
|
+
Updating: "Updating",
|
|
44
|
+
};
|
|
45
|
+
export const WorkforceStatus = {
|
|
46
|
+
ACTIVE: "Active",
|
|
47
|
+
DELETING: "Deleting",
|
|
48
|
+
FAILED: "Failed",
|
|
49
|
+
INITIALIZING: "Initializing",
|
|
50
|
+
UPDATING: "Updating",
|
|
51
|
+
};
|
|
52
|
+
export const DeviceDeploymentStatus = {
|
|
53
|
+
Deployed: "DEPLOYED",
|
|
54
|
+
Failed: "FAILED",
|
|
55
|
+
InProgress: "INPROGRESS",
|
|
56
|
+
ReadyToDeploy: "READYTODEPLOY",
|
|
57
|
+
Stopped: "STOPPED",
|
|
58
|
+
Stopping: "STOPPING",
|
|
59
|
+
};
|
|
60
|
+
export const Direction = {
|
|
61
|
+
ASCENDANTS: "Ascendants",
|
|
62
|
+
BOTH: "Both",
|
|
63
|
+
DESCENDANTS: "Descendants",
|
|
64
|
+
};
|
|
65
|
+
export var MetricSpecification;
|
|
66
|
+
(function (MetricSpecification) {
|
|
67
|
+
MetricSpecification.visit = (value, visitor) => {
|
|
68
|
+
if (value.Predefined !== undefined)
|
|
69
|
+
return visitor.Predefined(value.Predefined);
|
|
70
|
+
if (value.Customized !== undefined)
|
|
71
|
+
return visitor.Customized(value.Customized);
|
|
72
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
73
|
+
};
|
|
74
|
+
})(MetricSpecification || (MetricSpecification = {}));
|
|
75
|
+
export var ScalingPolicy;
|
|
76
|
+
(function (ScalingPolicy) {
|
|
77
|
+
ScalingPolicy.visit = (value, visitor) => {
|
|
78
|
+
if (value.TargetTracking !== undefined)
|
|
79
|
+
return visitor.TargetTracking(value.TargetTracking);
|
|
80
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
81
|
+
};
|
|
82
|
+
})(ScalingPolicy || (ScalingPolicy = {}));
|
|
1
83
|
export const EndpointConfigSortKey = {
|
|
2
84
|
CreationTime: "CreationTime",
|
|
3
85
|
Name: "Name",
|
|
@@ -84,6 +166,11 @@ export const ImageVersionSortOrder = {
|
|
|
84
166
|
ASCENDING: "ASCENDING",
|
|
85
167
|
DESCENDING: "DESCENDING",
|
|
86
168
|
};
|
|
169
|
+
export const InferenceComponentSortKey = {
|
|
170
|
+
CreationTime: "CreationTime",
|
|
171
|
+
Name: "Name",
|
|
172
|
+
Status: "Status",
|
|
173
|
+
};
|
|
87
174
|
export const InferenceExperimentStopDesiredState = {
|
|
88
175
|
CANCELLED: "Cancelled",
|
|
89
176
|
COMPLETED: "Completed",
|
|
@@ -259,65 +346,3 @@ export const SortPipelineExecutionsBy = {
|
|
|
259
346
|
CREATION_TIME: "CreationTime",
|
|
260
347
|
PIPELINE_EXECUTION_ARN: "PipelineExecutionArn",
|
|
261
348
|
};
|
|
262
|
-
export const StepStatus = {
|
|
263
|
-
EXECUTING: "Executing",
|
|
264
|
-
FAILED: "Failed",
|
|
265
|
-
STARTING: "Starting",
|
|
266
|
-
STOPPED: "Stopped",
|
|
267
|
-
STOPPING: "Stopping",
|
|
268
|
-
SUCCEEDED: "Succeeded",
|
|
269
|
-
};
|
|
270
|
-
export const SortPipelinesBy = {
|
|
271
|
-
CREATION_TIME: "CreationTime",
|
|
272
|
-
NAME: "Name",
|
|
273
|
-
};
|
|
274
|
-
export const ProjectSortBy = {
|
|
275
|
-
CREATION_TIME: "CreationTime",
|
|
276
|
-
NAME: "Name",
|
|
277
|
-
};
|
|
278
|
-
export const ProjectSortOrder = {
|
|
279
|
-
ASCENDING: "Ascending",
|
|
280
|
-
DESCENDING: "Descending",
|
|
281
|
-
};
|
|
282
|
-
export const ResourceCatalogSortBy = {
|
|
283
|
-
CREATION_TIME: "CreationTime",
|
|
284
|
-
};
|
|
285
|
-
export const ResourceCatalogSortOrder = {
|
|
286
|
-
ASCENDING: "Ascending",
|
|
287
|
-
DESCENDING: "Descending",
|
|
288
|
-
};
|
|
289
|
-
export const SpaceSortKey = {
|
|
290
|
-
CreationTime: "CreationTime",
|
|
291
|
-
LastModifiedTime: "LastModifiedTime",
|
|
292
|
-
};
|
|
293
|
-
export const StudioLifecycleConfigSortKey = {
|
|
294
|
-
CreationTime: "CreationTime",
|
|
295
|
-
LastModifiedTime: "LastModifiedTime",
|
|
296
|
-
Name: "Name",
|
|
297
|
-
};
|
|
298
|
-
export const TrainingJobSortByOptions = {
|
|
299
|
-
CreationTime: "CreationTime",
|
|
300
|
-
FinalObjectiveMetricValue: "FinalObjectiveMetricValue",
|
|
301
|
-
Name: "Name",
|
|
302
|
-
Status: "Status",
|
|
303
|
-
};
|
|
304
|
-
export const SortTrialComponentsBy = {
|
|
305
|
-
CREATION_TIME: "CreationTime",
|
|
306
|
-
NAME: "Name",
|
|
307
|
-
};
|
|
308
|
-
export const SortTrialsBy = {
|
|
309
|
-
CREATION_TIME: "CreationTime",
|
|
310
|
-
NAME: "Name",
|
|
311
|
-
};
|
|
312
|
-
export const UserProfileSortKey = {
|
|
313
|
-
CreationTime: "CreationTime",
|
|
314
|
-
LastModifiedTime: "LastModifiedTime",
|
|
315
|
-
};
|
|
316
|
-
export const ListWorkforcesSortByOptions = {
|
|
317
|
-
CreateDate: "CreateDate",
|
|
318
|
-
Name: "Name",
|
|
319
|
-
};
|
|
320
|
-
export const ListWorkteamsSortByOptions = {
|
|
321
|
-
CreateDate: "CreateDate",
|
|
322
|
-
Name: "Name",
|
|
323
|
-
};
|
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
-
import { OidcConfigFilterSensitiveLog, } from "./
|
|
2
|
+
import { OidcConfigFilterSensitiveLog, } from "./models_2";
|
|
3
|
+
export const StepStatus = {
|
|
4
|
+
EXECUTING: "Executing",
|
|
5
|
+
FAILED: "Failed",
|
|
6
|
+
STARTING: "Starting",
|
|
7
|
+
STOPPED: "Stopped",
|
|
8
|
+
STOPPING: "Stopping",
|
|
9
|
+
SUCCEEDED: "Succeeded",
|
|
10
|
+
};
|
|
11
|
+
export const SortPipelinesBy = {
|
|
12
|
+
CREATION_TIME: "CreationTime",
|
|
13
|
+
NAME: "Name",
|
|
14
|
+
};
|
|
15
|
+
export const ProjectSortBy = {
|
|
16
|
+
CREATION_TIME: "CreationTime",
|
|
17
|
+
NAME: "Name",
|
|
18
|
+
};
|
|
19
|
+
export const ProjectSortOrder = {
|
|
20
|
+
ASCENDING: "Ascending",
|
|
21
|
+
DESCENDING: "Descending",
|
|
22
|
+
};
|
|
23
|
+
export const ResourceCatalogSortBy = {
|
|
24
|
+
CREATION_TIME: "CreationTime",
|
|
25
|
+
};
|
|
26
|
+
export const ResourceCatalogSortOrder = {
|
|
27
|
+
ASCENDING: "Ascending",
|
|
28
|
+
DESCENDING: "Descending",
|
|
29
|
+
};
|
|
30
|
+
export const SpaceSortKey = {
|
|
31
|
+
CreationTime: "CreationTime",
|
|
32
|
+
LastModifiedTime: "LastModifiedTime",
|
|
33
|
+
};
|
|
34
|
+
export const StudioLifecycleConfigSortKey = {
|
|
35
|
+
CreationTime: "CreationTime",
|
|
36
|
+
LastModifiedTime: "LastModifiedTime",
|
|
37
|
+
Name: "Name",
|
|
38
|
+
};
|
|
39
|
+
export const TrainingJobSortByOptions = {
|
|
40
|
+
CreationTime: "CreationTime",
|
|
41
|
+
FinalObjectiveMetricValue: "FinalObjectiveMetricValue",
|
|
42
|
+
Name: "Name",
|
|
43
|
+
Status: "Status",
|
|
44
|
+
};
|
|
45
|
+
export const SortTrialComponentsBy = {
|
|
46
|
+
CREATION_TIME: "CreationTime",
|
|
47
|
+
NAME: "Name",
|
|
48
|
+
};
|
|
49
|
+
export const SortTrialsBy = {
|
|
50
|
+
CREATION_TIME: "CreationTime",
|
|
51
|
+
NAME: "Name",
|
|
52
|
+
};
|
|
53
|
+
export const UserProfileSortKey = {
|
|
54
|
+
CreationTime: "CreationTime",
|
|
55
|
+
LastModifiedTime: "LastModifiedTime",
|
|
56
|
+
};
|
|
57
|
+
export const ListWorkforcesSortByOptions = {
|
|
58
|
+
CreateDate: "CreateDate",
|
|
59
|
+
Name: "Name",
|
|
60
|
+
};
|
|
61
|
+
export const ListWorkteamsSortByOptions = {
|
|
62
|
+
CreateDate: "CreateDate",
|
|
63
|
+
Name: "Name",
|
|
64
|
+
};
|
|
3
65
|
export const ModelVariantAction = {
|
|
4
66
|
PROMOTE: "Promote",
|
|
5
67
|
REMOVE: "Remove",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListInferenceComponentsCommand, } from "../commands/ListInferenceComponentsCommand";
|
|
2
|
+
import { SageMakerClient } from "../SageMakerClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListInferenceComponentsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListInferenceComponents(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -25,6 +25,7 @@ export * from "./ListHumanTaskUisPaginator";
|
|
|
25
25
|
export * from "./ListHyperParameterTuningJobsPaginator";
|
|
26
26
|
export * from "./ListImageVersionsPaginator";
|
|
27
27
|
export * from "./ListImagesPaginator";
|
|
28
|
+
export * from "./ListInferenceComponentsPaginator";
|
|
28
29
|
export * from "./ListInferenceExperimentsPaginator";
|
|
29
30
|
export * from "./ListInferenceRecommendationsJobStepsPaginator";
|
|
30
31
|
export * from "./ListInferenceRecommendationsJobsPaginator";
|