@aws-sdk/client-sagemaker 3.329.0 → 3.330.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/protocols/Aws_json1_1.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +5 -0
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +2 -0
- package/dist-types/commands/SearchCommand.d.ts +4 -0
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -2
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +5 -0
- package/dist-types/models/models_2.d.ts +20 -19
- package/dist-types/models/models_3.d.ts +20 -27
- package/dist-types/models/models_4.d.ts +27 -2
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/dist-types/ts3.4/models/models_2.d.ts +5 -5
- package/dist-types/ts3.4/models/models_3.d.ts +5 -9
- package/dist-types/ts3.4/models/models_4.d.ts +8 -0
- package/package.json +1 -1
|
@@ -11888,6 +11888,7 @@ const se_DesiredWeightAndCapacity = (input, context) => {
|
|
|
11888
11888
|
return (0, smithy_client_1.take)(input, {
|
|
11889
11889
|
DesiredInstanceCount: [],
|
|
11890
11890
|
DesiredWeight: smithy_client_1.serializeFloat,
|
|
11891
|
+
ServerlessUpdateConfig: smithy_client_1._json,
|
|
11891
11892
|
VariantName: [],
|
|
11892
11893
|
});
|
|
11893
11894
|
};
|
|
@@ -11269,6 +11269,7 @@ const se_DesiredWeightAndCapacity = (input, context) => {
|
|
|
11269
11269
|
return take(input, {
|
|
11270
11270
|
DesiredInstanceCount: [],
|
|
11271
11271
|
DesiredWeight: __serializeFloat,
|
|
11272
|
+
ServerlessUpdateConfig: _json,
|
|
11272
11273
|
VariantName: [],
|
|
11273
11274
|
});
|
|
11274
11275
|
};
|
|
@@ -71,6 +71,7 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
71
71
|
* ServerlessConfig: { // ProductionVariantServerlessConfig
|
|
72
72
|
* MemorySizeInMB: Number("int"), // required
|
|
73
73
|
* MaxConcurrency: Number("int"), // required
|
|
74
|
+
* ProvisionedConcurrency: Number("int"),
|
|
74
75
|
* },
|
|
75
76
|
* VolumeSizeInGB: Number("int"),
|
|
76
77
|
* ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
@@ -174,6 +175,7 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
174
175
|
* ServerlessConfig: {
|
|
175
176
|
* MemorySizeInMB: Number("int"), // required
|
|
176
177
|
* MaxConcurrency: Number("int"), // required
|
|
178
|
+
* ProvisionedConcurrency: Number("int"),
|
|
177
179
|
* },
|
|
178
180
|
* VolumeSizeInGB: Number("int"),
|
|
179
181
|
* ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
@@ -59,10 +59,12 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointOutput, _
|
|
|
59
59
|
* // CurrentServerlessConfig: { // ProductionVariantServerlessConfig
|
|
60
60
|
* // MemorySizeInMB: Number("int"), // required
|
|
61
61
|
* // MaxConcurrency: Number("int"), // required
|
|
62
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
62
63
|
* // },
|
|
63
64
|
* // DesiredServerlessConfig: {
|
|
64
65
|
* // MemorySizeInMB: Number("int"), // required
|
|
65
66
|
* // MaxConcurrency: Number("int"), // required
|
|
67
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
66
68
|
* // },
|
|
67
69
|
* // },
|
|
68
70
|
* // ],
|
|
@@ -147,10 +149,12 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointOutput, _
|
|
|
147
149
|
* // CurrentServerlessConfig: {
|
|
148
150
|
* // MemorySizeInMB: Number("int"), // required
|
|
149
151
|
* // MaxConcurrency: Number("int"), // required
|
|
152
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
150
153
|
* // },
|
|
151
154
|
* // DesiredServerlessConfig: {
|
|
152
155
|
* // MemorySizeInMB: Number("int"), // required
|
|
153
156
|
* // MaxConcurrency: Number("int"), // required
|
|
157
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
154
158
|
* // },
|
|
155
159
|
* // },
|
|
156
160
|
* // ],
|
|
@@ -181,6 +185,7 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointOutput, _
|
|
|
181
185
|
* // CurrentServerlessConfig: {
|
|
182
186
|
* // MemorySizeInMB: Number("int"), // required
|
|
183
187
|
* // MaxConcurrency: Number("int"), // required
|
|
188
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
184
189
|
* // },
|
|
185
190
|
* // DesiredServerlessConfig: "<ProductionVariantServerlessConfig>",
|
|
186
191
|
* // },
|
|
@@ -50,6 +50,7 @@ export interface DescribeEndpointConfigCommandOutput extends DescribeEndpointCon
|
|
|
50
50
|
* // ServerlessConfig: { // ProductionVariantServerlessConfig
|
|
51
51
|
* // MemorySizeInMB: Number("int"), // required
|
|
52
52
|
* // MaxConcurrency: Number("int"), // required
|
|
53
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
53
54
|
* // },
|
|
54
55
|
* // VolumeSizeInGB: Number("int"),
|
|
55
56
|
* // ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
@@ -148,6 +149,7 @@ export interface DescribeEndpointConfigCommandOutput extends DescribeEndpointCon
|
|
|
148
149
|
* // ServerlessConfig: {
|
|
149
150
|
* // MemorySizeInMB: Number("int"), // required
|
|
150
151
|
* // MaxConcurrency: Number("int"), // required
|
|
152
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
151
153
|
* // },
|
|
152
154
|
* // VolumeSizeInGB: Number("int"),
|
|
153
155
|
* // ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
@@ -836,10 +836,12 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {
|
|
|
836
836
|
* // CurrentServerlessConfig: { // ProductionVariantServerlessConfig
|
|
837
837
|
* // MemorySizeInMB: Number("int"), // required
|
|
838
838
|
* // MaxConcurrency: Number("int"), // required
|
|
839
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
839
840
|
* // },
|
|
840
841
|
* // DesiredServerlessConfig: {
|
|
841
842
|
* // MemorySizeInMB: Number("int"), // required
|
|
842
843
|
* // MaxConcurrency: Number("int"), // required
|
|
844
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
843
845
|
* // },
|
|
844
846
|
* // },
|
|
845
847
|
* // ],
|
|
@@ -1002,10 +1004,12 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {
|
|
|
1002
1004
|
* // CurrentServerlessConfig: {
|
|
1003
1005
|
* // MemorySizeInMB: Number("int"), // required
|
|
1004
1006
|
* // MaxConcurrency: Number("int"), // required
|
|
1007
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
1005
1008
|
* // },
|
|
1006
1009
|
* // DesiredServerlessConfig: {
|
|
1007
1010
|
* // MemorySizeInMB: Number("int"), // required
|
|
1008
1011
|
* // MaxConcurrency: Number("int"), // required
|
|
1012
|
+
* // ProvisionedConcurrency: Number("int"),
|
|
1009
1013
|
* // },
|
|
1010
1014
|
* // },
|
|
1011
1015
|
* // ],
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { UpdateActionRequest } from "../models/
|
|
5
|
-
import { UpdateActionResponse } from "../models/models_4";
|
|
4
|
+
import { UpdateActionRequest, UpdateActionResponse } from "../models/models_4";
|
|
6
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
@@ -37,6 +37,10 @@ export interface UpdateEndpointWeightsAndCapacitiesCommandOutput extends UpdateE
|
|
|
37
37
|
* VariantName: "STRING_VALUE", // required
|
|
38
38
|
* DesiredWeight: Number("float"),
|
|
39
39
|
* DesiredInstanceCount: Number("int"),
|
|
40
|
+
* ServerlessUpdateConfig: { // ProductionVariantServerlessUpdateConfig
|
|
41
|
+
* MaxConcurrency: Number("int"),
|
|
42
|
+
* ProvisionedConcurrency: Number("int"),
|
|
43
|
+
* },
|
|
40
44
|
* },
|
|
41
45
|
* ],
|
|
42
46
|
* };
|
|
@@ -9362,7 +9362,7 @@ export interface CreateDomainRequest {
|
|
|
9362
9362
|
* communication in <code>VPCOnly</code> mode. Required when
|
|
9363
9363
|
* <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
|
|
9364
9364
|
* <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
|
|
9365
|
-
* provided
|
|
9365
|
+
* provided. If setting up the domain for use with RStudio, this value must be set to <code>Service</code>.</p>
|
|
9366
9366
|
*/
|
|
9367
9367
|
AppSecurityGroupManagement?: AppSecurityGroupManagement | string;
|
|
9368
9368
|
/**
|
|
@@ -245,6 +245,11 @@ export interface ProductionVariantServerlessConfig {
|
|
|
245
245
|
* <p>The maximum number of concurrent invocations your serverless endpoint can process.</p>
|
|
246
246
|
*/
|
|
247
247
|
MaxConcurrency: number | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* <p>The amount of provisioned concurrency to allocate for the serverless endpoint.
|
|
250
|
+
* Should be less than or equal to <code>MaxConcurrency</code>.</p>
|
|
251
|
+
*/
|
|
252
|
+
ProvisionedConcurrency?: number;
|
|
248
253
|
}
|
|
249
254
|
/**
|
|
250
255
|
* @public
|
|
@@ -6846,6 +6846,21 @@ export interface DescribeWorkteamResponse {
|
|
|
6846
6846
|
*/
|
|
6847
6847
|
Workteam: Workteam | undefined;
|
|
6848
6848
|
}
|
|
6849
|
+
/**
|
|
6850
|
+
* @public
|
|
6851
|
+
* <p>Specifies the serverless update concurrency configuration for an endpoint variant.</p>
|
|
6852
|
+
*/
|
|
6853
|
+
export interface ProductionVariantServerlessUpdateConfig {
|
|
6854
|
+
/**
|
|
6855
|
+
* <p>The updated maximum number of concurrent invocations your serverless endpoint can process.</p>
|
|
6856
|
+
*/
|
|
6857
|
+
MaxConcurrency?: number;
|
|
6858
|
+
/**
|
|
6859
|
+
* <p>The updated amount of provisioned concurrency to allocate for the serverless endpoint.
|
|
6860
|
+
* Should be less than or equal to <code>MaxConcurrency</code>.</p>
|
|
6861
|
+
*/
|
|
6862
|
+
ProvisionedConcurrency?: number;
|
|
6863
|
+
}
|
|
6849
6864
|
/**
|
|
6850
6865
|
* @public
|
|
6851
6866
|
* <p>Specifies weight and capacity values for a production variant.</p>
|
|
@@ -6863,6 +6878,10 @@ export interface DesiredWeightAndCapacity {
|
|
|
6863
6878
|
* <p>The variant's capacity.</p>
|
|
6864
6879
|
*/
|
|
6865
6880
|
DesiredInstanceCount?: number;
|
|
6881
|
+
/**
|
|
6882
|
+
* <p>Specifies the serverless update concurrency configuration for an endpoint variant.</p>
|
|
6883
|
+
*/
|
|
6884
|
+
ServerlessUpdateConfig?: ProductionVariantServerlessUpdateConfig;
|
|
6866
6885
|
}
|
|
6867
6886
|
/**
|
|
6868
6887
|
* @public
|
|
@@ -7154,7 +7173,7 @@ export interface RStudioServerProDomainSettingsForUpdate {
|
|
|
7154
7173
|
export interface DomainSettingsForUpdate {
|
|
7155
7174
|
/**
|
|
7156
7175
|
* <p>A collection of <code>RStudioServerPro</code> Domain-level app settings to
|
|
7157
|
-
* update.</p>
|
|
7176
|
+
* update. A single <code>RStudioServerPro</code> application is created for a domain.</p>
|
|
7158
7177
|
*/
|
|
7159
7178
|
RStudioServerProDomainSettingsForUpdate?: RStudioServerProDomainSettingsForUpdate;
|
|
7160
7179
|
/**
|
|
@@ -8976,24 +8995,6 @@ export interface InferenceRecommendationsJobStep {
|
|
|
8976
8995
|
*/
|
|
8977
8996
|
InferenceBenchmark?: RecommendationJobInferenceBenchmark;
|
|
8978
8997
|
}
|
|
8979
|
-
/**
|
|
8980
|
-
* @public
|
|
8981
|
-
* <p>Provides counts for human-labeled tasks in the labeling job.</p>
|
|
8982
|
-
*/
|
|
8983
|
-
export interface LabelCountersForWorkteam {
|
|
8984
|
-
/**
|
|
8985
|
-
* <p>The total number of data objects labeled by a human worker.</p>
|
|
8986
|
-
*/
|
|
8987
|
-
HumanLabeled?: number;
|
|
8988
|
-
/**
|
|
8989
|
-
* <p>The total number of data objects that need to be labeled by a human worker.</p>
|
|
8990
|
-
*/
|
|
8991
|
-
PendingHuman?: number;
|
|
8992
|
-
/**
|
|
8993
|
-
* <p>The total number of tasks in the labeling job.</p>
|
|
8994
|
-
*/
|
|
8995
|
-
Total?: number;
|
|
8996
|
-
}
|
|
8997
8998
|
/**
|
|
8998
8999
|
* @internal
|
|
8999
9000
|
*/
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionSummary, AdditionalInferenceSpecificationDefinition, AlgorithmSortBy, AlgorithmSpecification, AlgorithmSummary, AppDetails, AppImageConfigDetails, AppImageConfigSortKey, AppSortKey, AppSpecification, ArtifactSummary, AssociationEdgeType, AssociationSummary, AutoMLCandidate, AutoMLJobStatus, AutoMLJobStepMetadata, AutoMLJobSummary, AutoMLSortBy, AutoMLSortOrder, BatchStrategy, CacheHitResult, CallbackStepMetadata, CandidateSortBy, CandidateStatus, Channel, CheckpointConfig, ClarifyCheckStepMetadata, CodeRepositorySortBy, CodeRepositorySortOrder, CodeRepositorySummary, CompilationJobStatus, CompilationJobSummary, ConditionStepMetadata, ContainerDefinition, ContextSummary, InferenceSpecification, MetadataProperties, ModelApprovalStatus, ModelPackageStatus, OutputDataConfig, OutputParameter, ResourceConfig, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
|
|
2
2
|
import { _InstanceType, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DriftCheckBaselines, ExperimentConfig, HubContentType, InferenceExecutionConfig, InferenceExperimentType, LabelingJobInputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelClientConfig, ModelMetrics, ModelPackageValidationSpecification, ModelVariantConfig, MonitoringScheduleConfig, MonitoringType, NetworkConfig, ParallelismConfiguration, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, RetryStrategy, ServiceCatalogProvisioningDetails, SourceAlgorithmSpecification, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, UiTemplate } from "./models_1";
|
|
3
|
-
import { Device, DeviceDeploymentSummary, DeviceFleetSummary, DeviceSummary, Direction, DomainDetails, Edge, EdgeDeploymentPlanSummary, EdgePackagingJobStatus, EdgePackagingJobSummary, EMRStepMetadata, Endpoint, EndpointConfigSortKey, EndpointConfigSummary, EndpointSortKey, EndpointStatus, EndpointSummary, ExecutionStatus, Experiment, ExperimentSummary, FailStepMetadata, FeatureGroup, FeatureGroupSortBy, FeatureGroupSortOrder, FeatureGroupStatus, FeatureGroupSummary, FeatureMetadata, Filter, FlowDefinitionSummary, HubContentInfo, HubContentSortBy, HubInfo, HubSortBy, HumanTaskUiSummary, HyperParameterTrainingJobSummary, HyperParameterTuningJobSearchEntity, HyperParameterTuningJobSortByOptions, HyperParameterTuningJobStatus, HyperParameterTuningJobSummary, Image, ImageSortBy, ImageSortOrder, ImageVersion, ImageVersionSortBy, ImageVersionSortOrder, InferenceExperimentStatus, InferenceExperimentStopDesiredState, InferenceExperimentSummary, InferenceRecommendationsJob, InferenceRecommendationsJobStep, LabelCounters,
|
|
3
|
+
import { Device, DeviceDeploymentSummary, DeviceFleetSummary, DeviceSummary, Direction, DomainDetails, Edge, EdgeDeploymentPlanSummary, EdgePackagingJobStatus, EdgePackagingJobSummary, EMRStepMetadata, Endpoint, EndpointConfigSortKey, EndpointConfigSummary, EndpointSortKey, EndpointStatus, EndpointSummary, ExecutionStatus, Experiment, ExperimentSummary, FailStepMetadata, FeatureGroup, FeatureGroupSortBy, FeatureGroupSortOrder, FeatureGroupStatus, FeatureGroupSummary, FeatureMetadata, Filter, FlowDefinitionSummary, HubContentInfo, HubContentSortBy, HubInfo, HubSortBy, HumanTaskUiSummary, HyperParameterTrainingJobSummary, HyperParameterTuningJobSearchEntity, HyperParameterTuningJobSortByOptions, HyperParameterTuningJobStatus, HyperParameterTuningJobSummary, Image, ImageSortBy, ImageSortOrder, ImageVersion, ImageVersionSortBy, ImageVersionSortOrder, InferenceExperimentStatus, InferenceExperimentStopDesiredState, InferenceExperimentSummary, InferenceRecommendationsJob, InferenceRecommendationsJobStep, LabelCounters, LabelingJobOutput, LabelingJobStatus, MetricData, ModelArtifacts, ModelCardExportJobStatus, ModelPackageGroupStatus, ModelPackageStatusDetails, MonitoringExecutionSummary, NotebookInstanceStatus, OfflineStoreStatusValue, PipelineExecutionStatus, PipelineExperimentConfig, PipelineStatus, ProcessingJobStatus, ProjectStatus, RecommendationJobStatus, RecommendationStepType, ScheduleStatus, SecondaryStatus, SecondaryStatusTransition, ServiceCatalogProvisionedProductDetails, SpaceStatus, SubscribedWorkteam, TrainingJobStatus, TransformJobStatus, TrialComponentMetricSummary, TrialComponentSource, TrialSource, UserProfileStatus, WarmPoolResourceStatus, WarmPoolStatus, Workforce, Workteam } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>Provides counts for human-labeled tasks in the labeling job.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface LabelCountersForWorkteam {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The total number of data objects labeled by a human worker.</p>
|
|
11
|
+
*/
|
|
12
|
+
HumanLabeled?: number;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The total number of data objects that need to be labeled by a human worker.</p>
|
|
15
|
+
*/
|
|
16
|
+
PendingHuman?: number;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The total number of tasks in the labeling job.</p>
|
|
19
|
+
*/
|
|
20
|
+
Total?: number;
|
|
21
|
+
}
|
|
4
22
|
/**
|
|
5
23
|
* @public
|
|
6
24
|
* <p>Provides summary information for a work team.</p>
|
|
@@ -8101,31 +8119,6 @@ export interface StopTransformJobRequest {
|
|
|
8101
8119
|
*/
|
|
8102
8120
|
TransformJobName: string | undefined;
|
|
8103
8121
|
}
|
|
8104
|
-
/**
|
|
8105
|
-
* @public
|
|
8106
|
-
*/
|
|
8107
|
-
export interface UpdateActionRequest {
|
|
8108
|
-
/**
|
|
8109
|
-
* <p>The name of the action to update.</p>
|
|
8110
|
-
*/
|
|
8111
|
-
ActionName: string | undefined;
|
|
8112
|
-
/**
|
|
8113
|
-
* <p>The new description for the action.</p>
|
|
8114
|
-
*/
|
|
8115
|
-
Description?: string;
|
|
8116
|
-
/**
|
|
8117
|
-
* <p>The new status for the action.</p>
|
|
8118
|
-
*/
|
|
8119
|
-
Status?: ActionStatus | string;
|
|
8120
|
-
/**
|
|
8121
|
-
* <p>The new list of properties. Overwrites the current property list.</p>
|
|
8122
|
-
*/
|
|
8123
|
-
Properties?: Record<string, string>;
|
|
8124
|
-
/**
|
|
8125
|
-
* <p>A list of properties to remove.</p>
|
|
8126
|
-
*/
|
|
8127
|
-
PropertiesToRemove?: string[];
|
|
8128
|
-
}
|
|
8129
8122
|
/**
|
|
8130
8123
|
* @internal
|
|
8131
8124
|
*/
|
|
@@ -1,7 +1,32 @@
|
|
|
1
|
-
import { AdditionalInferenceSpecificationDefinition, AppSecurityGroupManagement, BooleanOperator, DefaultSpaceSettings, EdgeOutputConfig, KernelGatewayImageConfig, ModelApprovalStatus, Tag, UserSettings } from "./models_0";
|
|
1
|
+
import { ActionStatus, AdditionalInferenceSpecificationDefinition, AppSecurityGroupManagement, BooleanOperator, DefaultSpaceSettings, EdgeOutputConfig, KernelGatewayImageConfig, ModelApprovalStatus, Tag, UserSettings } from "./models_0";
|
|
2
2
|
import { _InstanceType, DeploymentConfig, FeatureDefinition, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InstanceMetadataServiceConfiguration, JobType, MemberDefinition, ModelCardStatus, ModelVariantConfig, MonitoringScheduleConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, OidcConfig, ParallelismConfiguration, PipelineDefinitionS3Location, Processor, ProfilerRuleConfiguration, ProvisioningParameter, RootAccess, ShadowModeConfig, SourceIpConfig, SpaceSettings, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, VendorGuidance, WorkforceVpcConfigRequest } from "./models_1";
|
|
3
3
|
import { DesiredWeightAndCapacity, Device, DomainSettingsForUpdate, FeatureParameter, Filter, GitConfigForUpdate, ResourceType, Workforce, Workteam } from "./models_2";
|
|
4
4
|
import { NestedFilters, ProfilerConfigForUpdate, ResourceConfigForUpdate, SearchSortOrder } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface UpdateActionRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of the action to update.</p>
|
|
11
|
+
*/
|
|
12
|
+
ActionName: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The new description for the action.</p>
|
|
15
|
+
*/
|
|
16
|
+
Description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The new status for the action.</p>
|
|
19
|
+
*/
|
|
20
|
+
Status?: ActionStatus | string;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The new list of properties. Overwrites the current property list.</p>
|
|
23
|
+
*/
|
|
24
|
+
Properties?: Record<string, string>;
|
|
25
|
+
/**
|
|
26
|
+
* <p>A list of properties to remove.</p>
|
|
27
|
+
*/
|
|
28
|
+
PropertiesToRemove?: string[];
|
|
29
|
+
}
|
|
5
30
|
/**
|
|
6
31
|
* @public
|
|
7
32
|
*/
|
|
@@ -189,7 +214,7 @@ export interface UpdateDomainRequest {
|
|
|
189
214
|
* communication in <code>VPCOnly</code> mode. Required when
|
|
190
215
|
* <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
|
|
191
216
|
* <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
|
|
192
|
-
* provided
|
|
217
|
+
* provided. If setting up the domain for use with RStudio, this value must be set to <code>Service</code>.</p>
|
|
193
218
|
*/
|
|
194
219
|
AppSecurityGroupManagement?: AppSecurityGroupManagement | string;
|
|
195
220
|
}
|
|
@@ -6,8 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
-
import { UpdateActionRequest } from "../models/
|
|
10
|
-
import { UpdateActionResponse } from "../models/models_4";
|
|
9
|
+
import { UpdateActionRequest, UpdateActionResponse } from "../models/models_4";
|
|
11
10
|
import {
|
|
12
11
|
SageMakerClientResolvedConfig,
|
|
13
12
|
ServiceInputTypes,
|
|
@@ -117,6 +117,7 @@ export interface ProductionVariantCoreDumpConfig {
|
|
|
117
117
|
export interface ProductionVariantServerlessConfig {
|
|
118
118
|
MemorySizeInMB: number | undefined;
|
|
119
119
|
MaxConcurrency: number | undefined;
|
|
120
|
+
ProvisionedConcurrency?: number;
|
|
120
121
|
}
|
|
121
122
|
export interface ProductionVariant {
|
|
122
123
|
VariantName: string | undefined;
|
|
@@ -1919,10 +1919,15 @@ export interface Workteam {
|
|
|
1919
1919
|
export interface DescribeWorkteamResponse {
|
|
1920
1920
|
Workteam: Workteam | undefined;
|
|
1921
1921
|
}
|
|
1922
|
+
export interface ProductionVariantServerlessUpdateConfig {
|
|
1923
|
+
MaxConcurrency?: number;
|
|
1924
|
+
ProvisionedConcurrency?: number;
|
|
1925
|
+
}
|
|
1922
1926
|
export interface DesiredWeightAndCapacity {
|
|
1923
1927
|
VariantName: string | undefined;
|
|
1924
1928
|
DesiredWeight?: number;
|
|
1925
1929
|
DesiredInstanceCount?: number;
|
|
1930
|
+
ServerlessUpdateConfig?: ProductionVariantServerlessUpdateConfig;
|
|
1926
1931
|
}
|
|
1927
1932
|
export interface Device {
|
|
1928
1933
|
DeviceName: string | undefined;
|
|
@@ -2468,11 +2473,6 @@ export interface InferenceRecommendationsJobStep {
|
|
|
2468
2473
|
Status: RecommendationJobStatus | string | undefined;
|
|
2469
2474
|
InferenceBenchmark?: RecommendationJobInferenceBenchmark;
|
|
2470
2475
|
}
|
|
2471
|
-
export interface LabelCountersForWorkteam {
|
|
2472
|
-
HumanLabeled?: number;
|
|
2473
|
-
PendingHuman?: number;
|
|
2474
|
-
Total?: number;
|
|
2475
|
-
}
|
|
2476
2476
|
export declare const DescribeModelCardResponseFilterSensitiveLog: (
|
|
2477
2477
|
obj: DescribeModelCardResponse
|
|
2478
2478
|
) => any;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ActionStatus,
|
|
3
2
|
ActionSummary,
|
|
4
3
|
AdditionalInferenceSpecificationDefinition,
|
|
5
4
|
AlgorithmSortBy,
|
|
@@ -138,7 +137,6 @@ import {
|
|
|
138
137
|
InferenceRecommendationsJob,
|
|
139
138
|
InferenceRecommendationsJobStep,
|
|
140
139
|
LabelCounters,
|
|
141
|
-
LabelCountersForWorkteam,
|
|
142
140
|
LabelingJobOutput,
|
|
143
141
|
LabelingJobStatus,
|
|
144
142
|
MetricData,
|
|
@@ -173,6 +171,11 @@ import {
|
|
|
173
171
|
Workforce,
|
|
174
172
|
Workteam,
|
|
175
173
|
} from "./models_2";
|
|
174
|
+
export interface LabelCountersForWorkteam {
|
|
175
|
+
HumanLabeled?: number;
|
|
176
|
+
PendingHuman?: number;
|
|
177
|
+
Total?: number;
|
|
178
|
+
}
|
|
176
179
|
export interface LabelingJobForWorkteamSummary {
|
|
177
180
|
LabelingJobName?: string;
|
|
178
181
|
JobReferenceCode: string | undefined;
|
|
@@ -2274,13 +2277,6 @@ export interface StopTrainingJobRequest {
|
|
|
2274
2277
|
export interface StopTransformJobRequest {
|
|
2275
2278
|
TransformJobName: string | undefined;
|
|
2276
2279
|
}
|
|
2277
|
-
export interface UpdateActionRequest {
|
|
2278
|
-
ActionName: string | undefined;
|
|
2279
|
-
Description?: string;
|
|
2280
|
-
Status?: ActionStatus | string;
|
|
2281
|
-
Properties?: Record<string, string>;
|
|
2282
|
-
PropertiesToRemove?: string[];
|
|
2283
|
-
}
|
|
2284
2280
|
export declare const ModelCardFilterSensitiveLog: (obj: ModelCard) => any;
|
|
2285
2281
|
export declare const SearchRecordFilterSensitiveLog: (obj: SearchRecord) => any;
|
|
2286
2282
|
export declare const SearchResponseFilterSensitiveLog: (
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ActionStatus,
|
|
2
3
|
AdditionalInferenceSpecificationDefinition,
|
|
3
4
|
AppSecurityGroupManagement,
|
|
4
5
|
BooleanOperator,
|
|
@@ -57,6 +58,13 @@ import {
|
|
|
57
58
|
ResourceConfigForUpdate,
|
|
58
59
|
SearchSortOrder,
|
|
59
60
|
} from "./models_3";
|
|
61
|
+
export interface UpdateActionRequest {
|
|
62
|
+
ActionName: string | undefined;
|
|
63
|
+
Description?: string;
|
|
64
|
+
Status?: ActionStatus | string;
|
|
65
|
+
Properties?: Record<string, string>;
|
|
66
|
+
PropertiesToRemove?: string[];
|
|
67
|
+
}
|
|
60
68
|
export interface UpdateActionResponse {
|
|
61
69
|
ActionArn?: string;
|
|
62
70
|
}
|
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.330.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",
|