@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,7 +1,89 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.ModelCardVersionSortBy = exports.ModelCardSortOrder = exports.ModelCardSortBy = exports.ModelCardExportJobSortOrder = exports.ModelCardExportJobSortBy = exports.SortLineageGroupsBy = exports.ListLabelingJobsForWorkteamSortByOptions = exports.SortBy = exports.ListInferenceRecommendationsJobsSortBy = exports.SortInferenceExperimentsBy = exports.SortExperimentsBy = exports.OrderKey = exports.ListEdgePackagingJobsSortBy = exports.ListEdgeDeploymentPlansSortBy = exports.ListDeviceFleetsSortBy = exports.MonitoringJobDefinitionSortKey = exports.SortContextsBy = exports.ListCompilationJobsSortBy = exports.SortAssociationsBy = exports.SortArtifactsBy = exports.SortOrder = exports.SortActionsBy = exports.LineageType = exports.RecommendationStepType = exports.InferenceExperimentStopDesiredState = exports.InferenceComponentSortKey = exports.ImageVersionSortOrder = exports.ImageVersionSortBy = exports.ImageSortOrder = exports.ImageSortBy = exports.HyperParameterTuningJobSortByOptions = exports.HubSortBy = exports.HubContentSortBy = exports.ResourceType = exports.SagemakerServicecatalogStatus = exports.Operator = exports.FeatureGroupSortOrder = exports.FeatureGroupSortBy = exports.EndpointSortKey = exports.EndpointConfigSortKey = exports.ScalingPolicy = exports.MetricSpecification = exports.Direction = exports.DeviceDeploymentStatus = exports.WorkforceStatus = exports.UserProfileStatus = exports.TransformJobStatus = exports.WarmPoolResourceStatus = exports.SecondaryStatus = exports.ProfilingStatus = void 0;
|
|
4
|
+
exports.SortPipelineExecutionsBy = exports.NotebookInstanceSortOrder = exports.NotebookInstanceSortKey = exports.NotebookInstanceLifecycleConfigSortOrder = exports.NotebookInstanceLifecycleConfigSortKey = exports.MonitoringScheduleSortKey = exports.MonitoringExecutionSortKey = exports.MonitoringAlertStatus = exports.MonitoringAlertHistorySortKey = exports.ModelSortKey = exports.ModelPackageSortBy = exports.ModelPackageType = exports.ModelPackageGroupSortBy = exports.ModelMetadataFilterType = void 0;
|
|
5
|
+
exports.ProfilingStatus = {
|
|
6
|
+
DISABLED: "Disabled",
|
|
7
|
+
ENABLED: "Enabled",
|
|
8
|
+
};
|
|
9
|
+
exports.SecondaryStatus = {
|
|
10
|
+
COMPLETED: "Completed",
|
|
11
|
+
DOWNLOADING: "Downloading",
|
|
12
|
+
DOWNLOADING_TRAINING_IMAGE: "DownloadingTrainingImage",
|
|
13
|
+
FAILED: "Failed",
|
|
14
|
+
INTERRUPTED: "Interrupted",
|
|
15
|
+
LAUNCHING_ML_INSTANCES: "LaunchingMLInstances",
|
|
16
|
+
MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded",
|
|
17
|
+
MAX_WAIT_TIME_EXCEEDED: "MaxWaitTimeExceeded",
|
|
18
|
+
PREPARING_TRAINING_STACK: "PreparingTrainingStack",
|
|
19
|
+
RESTARTING: "Restarting",
|
|
20
|
+
STARTING: "Starting",
|
|
21
|
+
STOPPED: "Stopped",
|
|
22
|
+
STOPPING: "Stopping",
|
|
23
|
+
TRAINING: "Training",
|
|
24
|
+
UPDATING: "Updating",
|
|
25
|
+
UPLOADING: "Uploading",
|
|
26
|
+
};
|
|
27
|
+
exports.WarmPoolResourceStatus = {
|
|
28
|
+
AVAILABLE: "Available",
|
|
29
|
+
INUSE: "InUse",
|
|
30
|
+
REUSED: "Reused",
|
|
31
|
+
TERMINATED: "Terminated",
|
|
32
|
+
};
|
|
33
|
+
exports.TransformJobStatus = {
|
|
34
|
+
COMPLETED: "Completed",
|
|
35
|
+
FAILED: "Failed",
|
|
36
|
+
IN_PROGRESS: "InProgress",
|
|
37
|
+
STOPPED: "Stopped",
|
|
38
|
+
STOPPING: "Stopping",
|
|
39
|
+
};
|
|
40
|
+
exports.UserProfileStatus = {
|
|
41
|
+
Delete_Failed: "Delete_Failed",
|
|
42
|
+
Deleting: "Deleting",
|
|
43
|
+
Failed: "Failed",
|
|
44
|
+
InService: "InService",
|
|
45
|
+
Pending: "Pending",
|
|
46
|
+
Update_Failed: "Update_Failed",
|
|
47
|
+
Updating: "Updating",
|
|
48
|
+
};
|
|
49
|
+
exports.WorkforceStatus = {
|
|
50
|
+
ACTIVE: "Active",
|
|
51
|
+
DELETING: "Deleting",
|
|
52
|
+
FAILED: "Failed",
|
|
53
|
+
INITIALIZING: "Initializing",
|
|
54
|
+
UPDATING: "Updating",
|
|
55
|
+
};
|
|
56
|
+
exports.DeviceDeploymentStatus = {
|
|
57
|
+
Deployed: "DEPLOYED",
|
|
58
|
+
Failed: "FAILED",
|
|
59
|
+
InProgress: "INPROGRESS",
|
|
60
|
+
ReadyToDeploy: "READYTODEPLOY",
|
|
61
|
+
Stopped: "STOPPED",
|
|
62
|
+
Stopping: "STOPPING",
|
|
63
|
+
};
|
|
64
|
+
exports.Direction = {
|
|
65
|
+
ASCENDANTS: "Ascendants",
|
|
66
|
+
BOTH: "Both",
|
|
67
|
+
DESCENDANTS: "Descendants",
|
|
68
|
+
};
|
|
69
|
+
var MetricSpecification;
|
|
70
|
+
(function (MetricSpecification) {
|
|
71
|
+
MetricSpecification.visit = (value, visitor) => {
|
|
72
|
+
if (value.Predefined !== undefined)
|
|
73
|
+
return visitor.Predefined(value.Predefined);
|
|
74
|
+
if (value.Customized !== undefined)
|
|
75
|
+
return visitor.Customized(value.Customized);
|
|
76
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
77
|
+
};
|
|
78
|
+
})(MetricSpecification = exports.MetricSpecification || (exports.MetricSpecification = {}));
|
|
79
|
+
var ScalingPolicy;
|
|
80
|
+
(function (ScalingPolicy) {
|
|
81
|
+
ScalingPolicy.visit = (value, visitor) => {
|
|
82
|
+
if (value.TargetTracking !== undefined)
|
|
83
|
+
return visitor.TargetTracking(value.TargetTracking);
|
|
84
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
85
|
+
};
|
|
86
|
+
})(ScalingPolicy = exports.ScalingPolicy || (exports.ScalingPolicy = {}));
|
|
5
87
|
exports.EndpointConfigSortKey = {
|
|
6
88
|
CreationTime: "CreationTime",
|
|
7
89
|
Name: "Name",
|
|
@@ -88,6 +170,11 @@ exports.ImageVersionSortOrder = {
|
|
|
88
170
|
ASCENDING: "ASCENDING",
|
|
89
171
|
DESCENDING: "DESCENDING",
|
|
90
172
|
};
|
|
173
|
+
exports.InferenceComponentSortKey = {
|
|
174
|
+
CreationTime: "CreationTime",
|
|
175
|
+
Name: "Name",
|
|
176
|
+
Status: "Status",
|
|
177
|
+
};
|
|
91
178
|
exports.InferenceExperimentStopDesiredState = {
|
|
92
179
|
CANCELLED: "Cancelled",
|
|
93
180
|
COMPLETED: "Completed",
|
|
@@ -263,65 +350,3 @@ exports.SortPipelineExecutionsBy = {
|
|
|
263
350
|
CREATION_TIME: "CreationTime",
|
|
264
351
|
PIPELINE_EXECUTION_ARN: "PipelineExecutionArn",
|
|
265
352
|
};
|
|
266
|
-
exports.StepStatus = {
|
|
267
|
-
EXECUTING: "Executing",
|
|
268
|
-
FAILED: "Failed",
|
|
269
|
-
STARTING: "Starting",
|
|
270
|
-
STOPPED: "Stopped",
|
|
271
|
-
STOPPING: "Stopping",
|
|
272
|
-
SUCCEEDED: "Succeeded",
|
|
273
|
-
};
|
|
274
|
-
exports.SortPipelinesBy = {
|
|
275
|
-
CREATION_TIME: "CreationTime",
|
|
276
|
-
NAME: "Name",
|
|
277
|
-
};
|
|
278
|
-
exports.ProjectSortBy = {
|
|
279
|
-
CREATION_TIME: "CreationTime",
|
|
280
|
-
NAME: "Name",
|
|
281
|
-
};
|
|
282
|
-
exports.ProjectSortOrder = {
|
|
283
|
-
ASCENDING: "Ascending",
|
|
284
|
-
DESCENDING: "Descending",
|
|
285
|
-
};
|
|
286
|
-
exports.ResourceCatalogSortBy = {
|
|
287
|
-
CREATION_TIME: "CreationTime",
|
|
288
|
-
};
|
|
289
|
-
exports.ResourceCatalogSortOrder = {
|
|
290
|
-
ASCENDING: "Ascending",
|
|
291
|
-
DESCENDING: "Descending",
|
|
292
|
-
};
|
|
293
|
-
exports.SpaceSortKey = {
|
|
294
|
-
CreationTime: "CreationTime",
|
|
295
|
-
LastModifiedTime: "LastModifiedTime",
|
|
296
|
-
};
|
|
297
|
-
exports.StudioLifecycleConfigSortKey = {
|
|
298
|
-
CreationTime: "CreationTime",
|
|
299
|
-
LastModifiedTime: "LastModifiedTime",
|
|
300
|
-
Name: "Name",
|
|
301
|
-
};
|
|
302
|
-
exports.TrainingJobSortByOptions = {
|
|
303
|
-
CreationTime: "CreationTime",
|
|
304
|
-
FinalObjectiveMetricValue: "FinalObjectiveMetricValue",
|
|
305
|
-
Name: "Name",
|
|
306
|
-
Status: "Status",
|
|
307
|
-
};
|
|
308
|
-
exports.SortTrialComponentsBy = {
|
|
309
|
-
CREATION_TIME: "CreationTime",
|
|
310
|
-
NAME: "Name",
|
|
311
|
-
};
|
|
312
|
-
exports.SortTrialsBy = {
|
|
313
|
-
CREATION_TIME: "CreationTime",
|
|
314
|
-
NAME: "Name",
|
|
315
|
-
};
|
|
316
|
-
exports.UserProfileSortKey = {
|
|
317
|
-
CreationTime: "CreationTime",
|
|
318
|
-
LastModifiedTime: "LastModifiedTime",
|
|
319
|
-
};
|
|
320
|
-
exports.ListWorkforcesSortByOptions = {
|
|
321
|
-
CreateDate: "CreateDate",
|
|
322
|
-
Name: "Name",
|
|
323
|
-
};
|
|
324
|
-
exports.ListWorkteamsSortByOptions = {
|
|
325
|
-
CreateDate: "CreateDate",
|
|
326
|
-
Name: "Name",
|
|
327
|
-
};
|
|
@@ -1,8 +1,70 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateWorkforceRequestFilterSensitiveLog = exports.UpdateModelCardRequestFilterSensitiveLog = exports.SearchResponseFilterSensitiveLog = exports.SearchRecordFilterSensitiveLog = exports.ModelCardFilterSensitiveLog = exports.VariantPropertyType = exports.SearchSortOrder = exports.ModelVariantAction = void 0;
|
|
3
|
+
exports.UpdateWorkforceRequestFilterSensitiveLog = exports.UpdateModelCardRequestFilterSensitiveLog = exports.SearchResponseFilterSensitiveLog = exports.SearchRecordFilterSensitiveLog = exports.ModelCardFilterSensitiveLog = exports.VariantPropertyType = exports.SearchSortOrder = exports.ModelVariantAction = exports.ListWorkteamsSortByOptions = exports.ListWorkforcesSortByOptions = exports.UserProfileSortKey = exports.SortTrialsBy = exports.SortTrialComponentsBy = exports.TrainingJobSortByOptions = exports.StudioLifecycleConfigSortKey = exports.SpaceSortKey = exports.ResourceCatalogSortOrder = exports.ResourceCatalogSortBy = exports.ProjectSortOrder = exports.ProjectSortBy = exports.SortPipelinesBy = exports.StepStatus = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const
|
|
5
|
+
const models_2_1 = require("./models_2");
|
|
6
|
+
exports.StepStatus = {
|
|
7
|
+
EXECUTING: "Executing",
|
|
8
|
+
FAILED: "Failed",
|
|
9
|
+
STARTING: "Starting",
|
|
10
|
+
STOPPED: "Stopped",
|
|
11
|
+
STOPPING: "Stopping",
|
|
12
|
+
SUCCEEDED: "Succeeded",
|
|
13
|
+
};
|
|
14
|
+
exports.SortPipelinesBy = {
|
|
15
|
+
CREATION_TIME: "CreationTime",
|
|
16
|
+
NAME: "Name",
|
|
17
|
+
};
|
|
18
|
+
exports.ProjectSortBy = {
|
|
19
|
+
CREATION_TIME: "CreationTime",
|
|
20
|
+
NAME: "Name",
|
|
21
|
+
};
|
|
22
|
+
exports.ProjectSortOrder = {
|
|
23
|
+
ASCENDING: "Ascending",
|
|
24
|
+
DESCENDING: "Descending",
|
|
25
|
+
};
|
|
26
|
+
exports.ResourceCatalogSortBy = {
|
|
27
|
+
CREATION_TIME: "CreationTime",
|
|
28
|
+
};
|
|
29
|
+
exports.ResourceCatalogSortOrder = {
|
|
30
|
+
ASCENDING: "Ascending",
|
|
31
|
+
DESCENDING: "Descending",
|
|
32
|
+
};
|
|
33
|
+
exports.SpaceSortKey = {
|
|
34
|
+
CreationTime: "CreationTime",
|
|
35
|
+
LastModifiedTime: "LastModifiedTime",
|
|
36
|
+
};
|
|
37
|
+
exports.StudioLifecycleConfigSortKey = {
|
|
38
|
+
CreationTime: "CreationTime",
|
|
39
|
+
LastModifiedTime: "LastModifiedTime",
|
|
40
|
+
Name: "Name",
|
|
41
|
+
};
|
|
42
|
+
exports.TrainingJobSortByOptions = {
|
|
43
|
+
CreationTime: "CreationTime",
|
|
44
|
+
FinalObjectiveMetricValue: "FinalObjectiveMetricValue",
|
|
45
|
+
Name: "Name",
|
|
46
|
+
Status: "Status",
|
|
47
|
+
};
|
|
48
|
+
exports.SortTrialComponentsBy = {
|
|
49
|
+
CREATION_TIME: "CreationTime",
|
|
50
|
+
NAME: "Name",
|
|
51
|
+
};
|
|
52
|
+
exports.SortTrialsBy = {
|
|
53
|
+
CREATION_TIME: "CreationTime",
|
|
54
|
+
NAME: "Name",
|
|
55
|
+
};
|
|
56
|
+
exports.UserProfileSortKey = {
|
|
57
|
+
CreationTime: "CreationTime",
|
|
58
|
+
LastModifiedTime: "LastModifiedTime",
|
|
59
|
+
};
|
|
60
|
+
exports.ListWorkforcesSortByOptions = {
|
|
61
|
+
CreateDate: "CreateDate",
|
|
62
|
+
Name: "Name",
|
|
63
|
+
};
|
|
64
|
+
exports.ListWorkteamsSortByOptions = {
|
|
65
|
+
CreateDate: "CreateDate",
|
|
66
|
+
Name: "Name",
|
|
67
|
+
};
|
|
6
68
|
exports.ModelVariantAction = {
|
|
7
69
|
PROMOTE: "Promote",
|
|
8
70
|
REMOVE: "Remove",
|
|
@@ -41,6 +103,6 @@ const UpdateModelCardRequestFilterSensitiveLog = (obj) => ({
|
|
|
41
103
|
exports.UpdateModelCardRequestFilterSensitiveLog = UpdateModelCardRequestFilterSensitiveLog;
|
|
42
104
|
const UpdateWorkforceRequestFilterSensitiveLog = (obj) => ({
|
|
43
105
|
...obj,
|
|
44
|
-
...(obj.OidcConfig && { OidcConfig: (0,
|
|
106
|
+
...(obj.OidcConfig && { OidcConfig: (0, models_2_1.OidcConfigFilterSensitiveLog)(obj.OidcConfig) }),
|
|
45
107
|
});
|
|
46
108
|
exports.UpdateWorkforceRequestFilterSensitiveLog = UpdateWorkforceRequestFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListInferenceComponents = void 0;
|
|
4
|
+
const ListInferenceComponentsCommand_1 = require("../commands/ListInferenceComponentsCommand");
|
|
5
|
+
const SageMakerClient_1 = require("../SageMakerClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListInferenceComponentsCommand_1.ListInferenceComponentsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListInferenceComponents(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof SageMakerClient_1.SageMakerClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListInferenceComponents = paginateListInferenceComponents;
|
|
@@ -28,6 +28,7 @@ tslib_1.__exportStar(require("./ListHumanTaskUisPaginator"), exports);
|
|
|
28
28
|
tslib_1.__exportStar(require("./ListHyperParameterTuningJobsPaginator"), exports);
|
|
29
29
|
tslib_1.__exportStar(require("./ListImageVersionsPaginator"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./ListImagesPaginator"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListInferenceComponentsPaginator"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./ListInferenceExperimentsPaginator"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./ListInferenceRecommendationsJobStepsPaginator"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./ListInferenceRecommendationsJobsPaginator"), exports);
|