@aws-sdk/client-sagemaker 3.820.0 → 3.821.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/index.js +62 -23
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/models/models_2.js +0 -15
- package/dist-es/models/models_3.js +15 -5
- package/dist-es/models/models_4.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +36 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +1 -0
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +30 -0
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +8 -0
- package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
- package/dist-types/commands/ListCodeRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListCompilationJobsCommand.d.ts +1 -2
- package/dist-types/commands/SearchCommand.d.ts +30 -0
- package/dist-types/commands/StopCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/commands/StopEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +11 -11
- package/dist-types/models/models_1.d.ts +38 -53
- package/dist-types/models/models_2.d.ts +121 -98
- package/dist-types/models/models_3.d.ts +99 -136
- package/dist-types/models/models_4.d.ts +134 -46
- package/dist-types/models/models_5.d.ts +45 -0
- package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListCodeRepositoriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCompilationJobsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StopCompilationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -3
- package/dist-types/ts3.4/models/models_1.d.ts +13 -13
- package/dist-types/ts3.4/models/models_2.d.ts +32 -39
- package/dist-types/ts3.4/models/models_3.d.ts +37 -40
- package/dist-types/ts3.4/models/models_4.d.ts +38 -13
- package/dist-types/ts3.4/models/models_5.d.ts +13 -0
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -70,6 +70,7 @@ __export(index_exports, {
|
|
|
70
70
|
CandidateSortBy: () => CandidateSortBy,
|
|
71
71
|
CandidateStatus: () => CandidateStatus,
|
|
72
72
|
CandidateStepType: () => CandidateStepType,
|
|
73
|
+
CapacityReservationPreference: () => CapacityReservationPreference,
|
|
73
74
|
CapacitySizeType: () => CapacitySizeType,
|
|
74
75
|
CaptureMode: () => CaptureMode,
|
|
75
76
|
CaptureStatus: () => CaptureStatus,
|
|
@@ -2062,6 +2063,9 @@ var DataSourceName = {
|
|
|
2062
2063
|
SalesforceGenie: "SalesforceGenie",
|
|
2063
2064
|
Snowflake: "Snowflake"
|
|
2064
2065
|
};
|
|
2066
|
+
var CapacityReservationPreference = {
|
|
2067
|
+
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only"
|
|
2068
|
+
};
|
|
2065
2069
|
var NodeUnavailabilityType = {
|
|
2066
2070
|
CAPACITY_PERCENTAGE: "CAPACITY_PERCENTAGE",
|
|
2067
2071
|
INSTANCE_COUNT: "INSTANCE_COUNT"
|
|
@@ -3239,21 +3243,6 @@ var OfflineStoreStatusValue = {
|
|
|
3239
3243
|
BLOCKED: "Blocked",
|
|
3240
3244
|
DISABLED: "Disabled"
|
|
3241
3245
|
};
|
|
3242
|
-
var FlowDefinitionStatus = {
|
|
3243
|
-
ACTIVE: "Active",
|
|
3244
|
-
DELETING: "Deleting",
|
|
3245
|
-
FAILED: "Failed",
|
|
3246
|
-
INITIALIZING: "Initializing"
|
|
3247
|
-
};
|
|
3248
|
-
var HubStatus = {
|
|
3249
|
-
CREATE_FAILED: "CreateFailed",
|
|
3250
|
-
CREATING: "Creating",
|
|
3251
|
-
DELETE_FAILED: "DeleteFailed",
|
|
3252
|
-
DELETING: "Deleting",
|
|
3253
|
-
IN_SERVICE: "InService",
|
|
3254
|
-
UPDATE_FAILED: "UpdateFailed",
|
|
3255
|
-
UPDATING: "Updating"
|
|
3256
|
-
};
|
|
3257
3246
|
var OidcConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
3258
3247
|
...obj,
|
|
3259
3248
|
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -11179,6 +11168,7 @@ var se_MonitoringScheduleConfig = /* @__PURE__ */ __name((input, context) => {
|
|
|
11179
11168
|
var se_ProductionVariant = /* @__PURE__ */ __name((input, context) => {
|
|
11180
11169
|
return (0, import_smithy_client.take)(input, {
|
|
11181
11170
|
AcceleratorType: [],
|
|
11171
|
+
CapacityReservationConfig: import_smithy_client._json,
|
|
11182
11172
|
ContainerStartupHealthCheckTimeoutInSeconds: [],
|
|
11183
11173
|
CoreDumpConfig: import_smithy_client._json,
|
|
11184
11174
|
EnableSSMAccess: [],
|
|
@@ -14731,6 +14721,20 @@ var de_EbsStorageSettings = /* @__PURE__ */ __name((output, context) => {
|
|
|
14731
14721
|
EbsVolumeSizeInGb: import_smithy_client.expectInt32
|
|
14732
14722
|
});
|
|
14733
14723
|
}, "de_EbsStorageSettings");
|
|
14724
|
+
var de_Ec2CapacityReservation = /* @__PURE__ */ __name((output, context) => {
|
|
14725
|
+
return (0, import_smithy_client.take)(output, {
|
|
14726
|
+
AvailableInstanceCount: import_smithy_client.expectInt32,
|
|
14727
|
+
Ec2CapacityReservationId: import_smithy_client.expectString,
|
|
14728
|
+
TotalInstanceCount: import_smithy_client.expectInt32,
|
|
14729
|
+
UsedByCurrentEndpoint: import_smithy_client.expectInt32
|
|
14730
|
+
});
|
|
14731
|
+
}, "de_Ec2CapacityReservation");
|
|
14732
|
+
var de_Ec2CapacityReservationsList = /* @__PURE__ */ __name((output, context) => {
|
|
14733
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
14734
|
+
return de_Ec2CapacityReservation(entry, context);
|
|
14735
|
+
});
|
|
14736
|
+
return retVal;
|
|
14737
|
+
}, "de_Ec2CapacityReservationsList");
|
|
14734
14738
|
var de_Edge = /* @__PURE__ */ __name((output, context) => {
|
|
14735
14739
|
return (0, import_smithy_client.take)(output, {
|
|
14736
14740
|
AssociationType: import_smithy_client.expectString,
|
|
@@ -18390,6 +18394,7 @@ var de_ProcessingStoppingCondition = /* @__PURE__ */ __name((output, context) =>
|
|
|
18390
18394
|
var de_ProductionVariant = /* @__PURE__ */ __name((output, context) => {
|
|
18391
18395
|
return (0, import_smithy_client.take)(output, {
|
|
18392
18396
|
AcceleratorType: import_smithy_client.expectString,
|
|
18397
|
+
CapacityReservationConfig: /* @__PURE__ */ __name((_) => de_ProductionVariantCapacityReservationConfig(_, context), "CapacityReservationConfig"),
|
|
18393
18398
|
ContainerStartupHealthCheckTimeoutInSeconds: import_smithy_client.expectInt32,
|
|
18394
18399
|
CoreDumpConfig: /* @__PURE__ */ __name((_) => de_ProductionVariantCoreDumpConfig(_, context), "CoreDumpConfig"),
|
|
18395
18400
|
EnableSSMAccess: import_smithy_client.expectBoolean,
|
|
@@ -18406,6 +18411,22 @@ var de_ProductionVariant = /* @__PURE__ */ __name((output, context) => {
|
|
|
18406
18411
|
VolumeSizeInGB: import_smithy_client.expectInt32
|
|
18407
18412
|
});
|
|
18408
18413
|
}, "de_ProductionVariant");
|
|
18414
|
+
var de_ProductionVariantCapacityReservationConfig = /* @__PURE__ */ __name((output, context) => {
|
|
18415
|
+
return (0, import_smithy_client.take)(output, {
|
|
18416
|
+
CapacityReservationPreference: import_smithy_client.expectString,
|
|
18417
|
+
MlReservationArn: import_smithy_client.expectString
|
|
18418
|
+
});
|
|
18419
|
+
}, "de_ProductionVariantCapacityReservationConfig");
|
|
18420
|
+
var de_ProductionVariantCapacityReservationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
18421
|
+
return (0, import_smithy_client.take)(output, {
|
|
18422
|
+
AvailableInstanceCount: import_smithy_client.expectInt32,
|
|
18423
|
+
CapacityReservationPreference: import_smithy_client.expectString,
|
|
18424
|
+
Ec2CapacityReservations: /* @__PURE__ */ __name((_) => de_Ec2CapacityReservationsList(_, context), "Ec2CapacityReservations"),
|
|
18425
|
+
MlReservationArn: import_smithy_client.expectString,
|
|
18426
|
+
TotalInstanceCount: import_smithy_client.expectInt32,
|
|
18427
|
+
UsedByCurrentEndpoint: import_smithy_client.expectInt32
|
|
18428
|
+
});
|
|
18429
|
+
}, "de_ProductionVariantCapacityReservationSummary");
|
|
18409
18430
|
var de_ProductionVariantCoreDumpConfig = /* @__PURE__ */ __name((output, context) => {
|
|
18410
18431
|
return (0, import_smithy_client.take)(output, {
|
|
18411
18432
|
DestinationS3Uri: import_smithy_client.expectString,
|
|
@@ -18452,6 +18473,7 @@ var de_ProductionVariantStatusList = /* @__PURE__ */ __name((output, context) =>
|
|
|
18452
18473
|
}, "de_ProductionVariantStatusList");
|
|
18453
18474
|
var de_ProductionVariantSummary = /* @__PURE__ */ __name((output, context) => {
|
|
18454
18475
|
return (0, import_smithy_client.take)(output, {
|
|
18476
|
+
CapacityReservationConfig: /* @__PURE__ */ __name((_) => de_ProductionVariantCapacityReservationSummary(_, context), "CapacityReservationConfig"),
|
|
18455
18477
|
CurrentInstanceCount: import_smithy_client.expectInt32,
|
|
18456
18478
|
CurrentServerlessConfig: /* @__PURE__ */ __name((_) => de_ProductionVariantServerlessConfig(_, context), "CurrentServerlessConfig"),
|
|
18457
18479
|
CurrentWeight: import_smithy_client.limitedParseFloat32,
|
|
@@ -20028,6 +20050,7 @@ var de_UnifiedStudioSettings = /* @__PURE__ */ __name((output, context) => {
|
|
|
20028
20050
|
EnvironmentId: import_smithy_client.expectString,
|
|
20029
20051
|
ProjectId: import_smithy_client.expectString,
|
|
20030
20052
|
ProjectS3Path: import_smithy_client.expectString,
|
|
20053
|
+
SingleSignOnApplicationArn: import_smithy_client.expectString,
|
|
20031
20054
|
StudioWebPortalAccess: import_smithy_client.expectString
|
|
20032
20055
|
});
|
|
20033
20056
|
}, "de_UnifiedStudioSettings");
|
|
@@ -22918,6 +22941,21 @@ var DescribeModelBiasJobDefinitionCommand = class extends import_smithy_client.C
|
|
|
22918
22941
|
|
|
22919
22942
|
// src/models/models_3.ts
|
|
22920
22943
|
|
|
22944
|
+
var FlowDefinitionStatus = {
|
|
22945
|
+
ACTIVE: "Active",
|
|
22946
|
+
DELETING: "Deleting",
|
|
22947
|
+
FAILED: "Failed",
|
|
22948
|
+
INITIALIZING: "Initializing"
|
|
22949
|
+
};
|
|
22950
|
+
var HubStatus = {
|
|
22951
|
+
CREATE_FAILED: "CreateFailed",
|
|
22952
|
+
CREATING: "Creating",
|
|
22953
|
+
DELETE_FAILED: "DeleteFailed",
|
|
22954
|
+
DELETING: "Deleting",
|
|
22955
|
+
IN_SERVICE: "InService",
|
|
22956
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
22957
|
+
UPDATING: "Updating"
|
|
22958
|
+
};
|
|
22921
22959
|
var HubContentStatus = {
|
|
22922
22960
|
AVAILABLE: "Available",
|
|
22923
22961
|
DELETE_FAILED: "DeleteFailed",
|
|
@@ -23382,11 +23420,6 @@ var SortClusterSchedulerConfigBy = {
|
|
|
23382
23420
|
NAME: "Name",
|
|
23383
23421
|
STATUS: "Status"
|
|
23384
23422
|
};
|
|
23385
|
-
var ListCompilationJobsSortBy = {
|
|
23386
|
-
CREATION_TIME: "CreationTime",
|
|
23387
|
-
NAME: "Name",
|
|
23388
|
-
STATUS: "Status"
|
|
23389
|
-
};
|
|
23390
23423
|
var DescribeModelCardResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
23391
23424
|
...obj,
|
|
23392
23425
|
...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -25260,6 +25293,11 @@ var RetryPipelineExecutionCommand = class extends import_smithy_client.Command.c
|
|
|
25260
25293
|
|
|
25261
25294
|
// src/models/models_4.ts
|
|
25262
25295
|
|
|
25296
|
+
var ListCompilationJobsSortBy = {
|
|
25297
|
+
CREATION_TIME: "CreationTime",
|
|
25298
|
+
NAME: "Name",
|
|
25299
|
+
STATUS: "Status"
|
|
25300
|
+
};
|
|
25263
25301
|
var SortQuotaBy = {
|
|
25264
25302
|
CLUSTER_ARN: "ClusterArn",
|
|
25265
25303
|
CREATION_TIME: "CreationTime",
|
|
@@ -28360,6 +28398,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
28360
28398
|
BooleanOperator,
|
|
28361
28399
|
CandidateSortBy,
|
|
28362
28400
|
DataSourceName,
|
|
28401
|
+
CapacityReservationPreference,
|
|
28363
28402
|
NodeUnavailabilityType,
|
|
28364
28403
|
CaptureMode,
|
|
28365
28404
|
CaptureStatus,
|
|
@@ -28480,10 +28519,10 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
28480
28519
|
FeatureGroupStatus,
|
|
28481
28520
|
LastUpdateStatusValue,
|
|
28482
28521
|
OfflineStoreStatusValue,
|
|
28483
|
-
FlowDefinitionStatus,
|
|
28484
|
-
HubStatus,
|
|
28485
28522
|
OidcConfigFilterSensitiveLog,
|
|
28486
28523
|
CreateWorkforceRequestFilterSensitiveLog,
|
|
28524
|
+
FlowDefinitionStatus,
|
|
28525
|
+
HubStatus,
|
|
28487
28526
|
HubContentStatus,
|
|
28488
28527
|
HubContentSupportStatus,
|
|
28489
28528
|
HumanTaskUiStatus,
|
|
@@ -28551,9 +28590,9 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
28551
28590
|
SortArtifactsBy,
|
|
28552
28591
|
SortAssociationsBy,
|
|
28553
28592
|
SortClusterSchedulerConfigBy,
|
|
28554
|
-
ListCompilationJobsSortBy,
|
|
28555
28593
|
DescribeModelCardResponseFilterSensitiveLog,
|
|
28556
28594
|
DescribeModelPackageOutputFilterSensitiveLog,
|
|
28595
|
+
ListCompilationJobsSortBy,
|
|
28557
28596
|
SortQuotaBy,
|
|
28558
28597
|
SortContextsBy,
|
|
28559
28598
|
MonitoringJobDefinitionSortKey,
|
|
@@ -1056,6 +1056,9 @@ export const DataSourceName = {
|
|
|
1056
1056
|
SalesforceGenie: "SalesforceGenie",
|
|
1057
1057
|
Snowflake: "Snowflake",
|
|
1058
1058
|
};
|
|
1059
|
+
export const CapacityReservationPreference = {
|
|
1060
|
+
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
1061
|
+
};
|
|
1059
1062
|
export const NodeUnavailabilityType = {
|
|
1060
1063
|
CAPACITY_PERCENTAGE: "CAPACITY_PERCENTAGE",
|
|
1061
1064
|
INSTANCE_COUNT: "INSTANCE_COUNT",
|
|
@@ -250,21 +250,6 @@ export const OfflineStoreStatusValue = {
|
|
|
250
250
|
BLOCKED: "Blocked",
|
|
251
251
|
DISABLED: "Disabled",
|
|
252
252
|
};
|
|
253
|
-
export const FlowDefinitionStatus = {
|
|
254
|
-
ACTIVE: "Active",
|
|
255
|
-
DELETING: "Deleting",
|
|
256
|
-
FAILED: "Failed",
|
|
257
|
-
INITIALIZING: "Initializing",
|
|
258
|
-
};
|
|
259
|
-
export const HubStatus = {
|
|
260
|
-
CREATE_FAILED: "CreateFailed",
|
|
261
|
-
CREATING: "Creating",
|
|
262
|
-
DELETE_FAILED: "DeleteFailed",
|
|
263
|
-
DELETING: "Deleting",
|
|
264
|
-
IN_SERVICE: "InService",
|
|
265
|
-
UPDATE_FAILED: "UpdateFailed",
|
|
266
|
-
UPDATING: "Updating",
|
|
267
|
-
};
|
|
268
253
|
export const OidcConfigFilterSensitiveLog = (obj) => ({
|
|
269
254
|
...obj,
|
|
270
255
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const FlowDefinitionStatus = {
|
|
4
|
+
ACTIVE: "Active",
|
|
5
|
+
DELETING: "Deleting",
|
|
6
|
+
FAILED: "Failed",
|
|
7
|
+
INITIALIZING: "Initializing",
|
|
8
|
+
};
|
|
9
|
+
export const HubStatus = {
|
|
10
|
+
CREATE_FAILED: "CreateFailed",
|
|
11
|
+
CREATING: "Creating",
|
|
12
|
+
DELETE_FAILED: "DeleteFailed",
|
|
13
|
+
DELETING: "Deleting",
|
|
14
|
+
IN_SERVICE: "InService",
|
|
15
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
16
|
+
UPDATING: "Updating",
|
|
17
|
+
};
|
|
3
18
|
export const HubContentStatus = {
|
|
4
19
|
AVAILABLE: "Available",
|
|
5
20
|
DELETE_FAILED: "DeleteFailed",
|
|
@@ -467,11 +482,6 @@ export const SortClusterSchedulerConfigBy = {
|
|
|
467
482
|
NAME: "Name",
|
|
468
483
|
STATUS: "Status",
|
|
469
484
|
};
|
|
470
|
-
export const ListCompilationJobsSortBy = {
|
|
471
|
-
CREATION_TIME: "CreationTime",
|
|
472
|
-
NAME: "Name",
|
|
473
|
-
STATUS: "Status",
|
|
474
|
-
};
|
|
475
485
|
export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
476
486
|
...obj,
|
|
477
487
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const ListCompilationJobsSortBy = {
|
|
4
|
+
CREATION_TIME: "CreationTime",
|
|
5
|
+
NAME: "Name",
|
|
6
|
+
STATUS: "Status",
|
|
7
|
+
};
|
|
3
8
|
export const SortQuotaBy = {
|
|
4
9
|
CLUSTER_ARN: "ClusterArn",
|
|
5
10
|
CREATION_TIME: "CreationTime",
|
|
@@ -7925,6 +7925,7 @@ const se_MonitoringScheduleConfig = (input, context) => {
|
|
|
7925
7925
|
const se_ProductionVariant = (input, context) => {
|
|
7926
7926
|
return take(input, {
|
|
7927
7927
|
AcceleratorType: [],
|
|
7928
|
+
CapacityReservationConfig: _json,
|
|
7928
7929
|
ContainerStartupHealthCheckTimeoutInSeconds: [],
|
|
7929
7930
|
CoreDumpConfig: _json,
|
|
7930
7931
|
EnableSSMAccess: [],
|
|
@@ -11622,6 +11623,22 @@ const de_EbsStorageSettings = (output, context) => {
|
|
|
11622
11623
|
EbsVolumeSizeInGb: __expectInt32,
|
|
11623
11624
|
});
|
|
11624
11625
|
};
|
|
11626
|
+
const de_Ec2CapacityReservation = (output, context) => {
|
|
11627
|
+
return take(output, {
|
|
11628
|
+
AvailableInstanceCount: __expectInt32,
|
|
11629
|
+
Ec2CapacityReservationId: __expectString,
|
|
11630
|
+
TotalInstanceCount: __expectInt32,
|
|
11631
|
+
UsedByCurrentEndpoint: __expectInt32,
|
|
11632
|
+
});
|
|
11633
|
+
};
|
|
11634
|
+
const de_Ec2CapacityReservationsList = (output, context) => {
|
|
11635
|
+
const retVal = (output || [])
|
|
11636
|
+
.filter((e) => e != null)
|
|
11637
|
+
.map((entry) => {
|
|
11638
|
+
return de_Ec2CapacityReservation(entry, context);
|
|
11639
|
+
});
|
|
11640
|
+
return retVal;
|
|
11641
|
+
};
|
|
11625
11642
|
const de_Edge = (output, context) => {
|
|
11626
11643
|
return take(output, {
|
|
11627
11644
|
AssociationType: __expectString,
|
|
@@ -15503,6 +15520,7 @@ const de_ProcessingStoppingCondition = (output, context) => {
|
|
|
15503
15520
|
const de_ProductionVariant = (output, context) => {
|
|
15504
15521
|
return take(output, {
|
|
15505
15522
|
AcceleratorType: __expectString,
|
|
15523
|
+
CapacityReservationConfig: (_) => de_ProductionVariantCapacityReservationConfig(_, context),
|
|
15506
15524
|
ContainerStartupHealthCheckTimeoutInSeconds: __expectInt32,
|
|
15507
15525
|
CoreDumpConfig: (_) => de_ProductionVariantCoreDumpConfig(_, context),
|
|
15508
15526
|
EnableSSMAccess: __expectBoolean,
|
|
@@ -15519,6 +15537,22 @@ const de_ProductionVariant = (output, context) => {
|
|
|
15519
15537
|
VolumeSizeInGB: __expectInt32,
|
|
15520
15538
|
});
|
|
15521
15539
|
};
|
|
15540
|
+
const de_ProductionVariantCapacityReservationConfig = (output, context) => {
|
|
15541
|
+
return take(output, {
|
|
15542
|
+
CapacityReservationPreference: __expectString,
|
|
15543
|
+
MlReservationArn: __expectString,
|
|
15544
|
+
});
|
|
15545
|
+
};
|
|
15546
|
+
const de_ProductionVariantCapacityReservationSummary = (output, context) => {
|
|
15547
|
+
return take(output, {
|
|
15548
|
+
AvailableInstanceCount: __expectInt32,
|
|
15549
|
+
CapacityReservationPreference: __expectString,
|
|
15550
|
+
Ec2CapacityReservations: (_) => de_Ec2CapacityReservationsList(_, context),
|
|
15551
|
+
MlReservationArn: __expectString,
|
|
15552
|
+
TotalInstanceCount: __expectInt32,
|
|
15553
|
+
UsedByCurrentEndpoint: __expectInt32,
|
|
15554
|
+
});
|
|
15555
|
+
};
|
|
15522
15556
|
const de_ProductionVariantCoreDumpConfig = (output, context) => {
|
|
15523
15557
|
return take(output, {
|
|
15524
15558
|
DestinationS3Uri: __expectString,
|
|
@@ -15569,6 +15603,7 @@ const de_ProductionVariantStatusList = (output, context) => {
|
|
|
15569
15603
|
};
|
|
15570
15604
|
const de_ProductionVariantSummary = (output, context) => {
|
|
15571
15605
|
return take(output, {
|
|
15606
|
+
CapacityReservationConfig: (_) => de_ProductionVariantCapacityReservationSummary(_, context),
|
|
15572
15607
|
CurrentInstanceCount: __expectInt32,
|
|
15573
15608
|
CurrentServerlessConfig: (_) => de_ProductionVariantServerlessConfig(_, context),
|
|
15574
15609
|
CurrentWeight: __limitedParseFloat32,
|
|
@@ -17255,6 +17290,7 @@ const de_UnifiedStudioSettings = (output, context) => {
|
|
|
17255
17290
|
EnvironmentId: __expectString,
|
|
17256
17291
|
ProjectId: __expectString,
|
|
17257
17292
|
ProjectS3Path: __expectString,
|
|
17293
|
+
SingleSignOnApplicationArn: __expectString,
|
|
17258
17294
|
StudioWebPortalAccess: __expectString,
|
|
17259
17295
|
});
|
|
17260
17296
|
};
|
|
@@ -283,6 +283,7 @@ declare const CreateDomainCommand_base: {
|
|
|
283
283
|
* ProjectId: "STRING_VALUE",
|
|
284
284
|
* EnvironmentId: "STRING_VALUE",
|
|
285
285
|
* ProjectS3Path: "STRING_VALUE",
|
|
286
|
+
* SingleSignOnApplicationArn: "STRING_VALUE",
|
|
286
287
|
* },
|
|
287
288
|
* },
|
|
288
289
|
* SubnetIds: [ // Subnets // required
|
|
@@ -66,6 +66,10 @@ declare const CreateEndpointConfigCommand_base: {
|
|
|
66
66
|
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
67
67
|
* },
|
|
68
68
|
* InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
|
|
69
|
+
* CapacityReservationConfig: { // ProductionVariantCapacityReservationConfig
|
|
70
|
+
* CapacityReservationPreference: "capacity-reservations-only",
|
|
71
|
+
* MlReservationArn: "STRING_VALUE",
|
|
72
|
+
* },
|
|
69
73
|
* },
|
|
70
74
|
* ],
|
|
71
75
|
* DataCaptureConfig: { // DataCaptureConfig
|
|
@@ -179,6 +183,10 @@ declare const CreateEndpointConfigCommand_base: {
|
|
|
179
183
|
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
180
184
|
* },
|
|
181
185
|
* InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
|
|
186
|
+
* CapacityReservationConfig: {
|
|
187
|
+
* CapacityReservationPreference: "capacity-reservations-only",
|
|
188
|
+
* MlReservationArn: "STRING_VALUE",
|
|
189
|
+
* },
|
|
182
190
|
* },
|
|
183
191
|
* ],
|
|
184
192
|
* ExecutionRoleArn: "STRING_VALUE",
|
|
@@ -298,6 +298,7 @@ declare const DescribeDomainCommand_base: {
|
|
|
298
298
|
* // ProjectId: "STRING_VALUE",
|
|
299
299
|
* // EnvironmentId: "STRING_VALUE",
|
|
300
300
|
* // ProjectS3Path: "STRING_VALUE",
|
|
301
|
+
* // SingleSignOnApplicationArn: "STRING_VALUE",
|
|
301
302
|
* // },
|
|
302
303
|
* // },
|
|
303
304
|
* // AppNetworkAccessType: "PublicInternetOnly" || "VpcOnly",
|
|
@@ -82,6 +82,21 @@ declare const DescribeEndpointCommand_base: {
|
|
|
82
82
|
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
83
83
|
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
84
84
|
* // },
|
|
85
|
+
* // CapacityReservationConfig: { // ProductionVariantCapacityReservationSummary
|
|
86
|
+
* // MlReservationArn: "STRING_VALUE",
|
|
87
|
+
* // CapacityReservationPreference: "capacity-reservations-only",
|
|
88
|
+
* // TotalInstanceCount: Number("int"),
|
|
89
|
+
* // AvailableInstanceCount: Number("int"),
|
|
90
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
91
|
+
* // Ec2CapacityReservations: [ // Ec2CapacityReservationsList
|
|
92
|
+
* // { // Ec2CapacityReservation
|
|
93
|
+
* // Ec2CapacityReservationId: "STRING_VALUE",
|
|
94
|
+
* // TotalInstanceCount: Number("int"),
|
|
95
|
+
* // AvailableInstanceCount: Number("int"),
|
|
96
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
85
100
|
* // },
|
|
86
101
|
* // ],
|
|
87
102
|
* // DataCaptureConfig: { // DataCaptureConfigSummary
|
|
@@ -304,6 +319,21 @@ declare const DescribeEndpointCommand_base: {
|
|
|
304
319
|
* // RoutingConfig: {
|
|
305
320
|
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
306
321
|
* // },
|
|
322
|
+
* // CapacityReservationConfig: {
|
|
323
|
+
* // MlReservationArn: "STRING_VALUE",
|
|
324
|
+
* // CapacityReservationPreference: "capacity-reservations-only",
|
|
325
|
+
* // TotalInstanceCount: Number("int"),
|
|
326
|
+
* // AvailableInstanceCount: Number("int"),
|
|
327
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
328
|
+
* // Ec2CapacityReservations: [
|
|
329
|
+
* // {
|
|
330
|
+
* // Ec2CapacityReservationId: "STRING_VALUE",
|
|
331
|
+
* // TotalInstanceCount: Number("int"),
|
|
332
|
+
* // AvailableInstanceCount: Number("int"),
|
|
333
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
334
|
+
* // },
|
|
335
|
+
* // ],
|
|
336
|
+
* // },
|
|
307
337
|
* // },
|
|
308
338
|
* // ],
|
|
309
339
|
* // };
|
|
@@ -72,6 +72,10 @@ declare const DescribeEndpointConfigCommand_base: {
|
|
|
72
72
|
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
73
73
|
* // },
|
|
74
74
|
* // InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
|
|
75
|
+
* // CapacityReservationConfig: { // ProductionVariantCapacityReservationConfig
|
|
76
|
+
* // CapacityReservationPreference: "capacity-reservations-only",
|
|
77
|
+
* // MlReservationArn: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
75
79
|
* // },
|
|
76
80
|
* // ],
|
|
77
81
|
* // DataCaptureConfig: { // DataCaptureConfig
|
|
@@ -180,6 +184,10 @@ declare const DescribeEndpointConfigCommand_base: {
|
|
|
180
184
|
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
181
185
|
* // },
|
|
182
186
|
* // InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
|
|
187
|
+
* // CapacityReservationConfig: {
|
|
188
|
+
* // CapacityReservationPreference: "capacity-reservations-only",
|
|
189
|
+
* // MlReservationArn: "STRING_VALUE",
|
|
190
|
+
* // },
|
|
183
191
|
* // },
|
|
184
192
|
* // ],
|
|
185
193
|
* // ExecutionRoleArn: "STRING_VALUE",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeFlowDefinitionRequest
|
|
3
|
+
import { DescribeFlowDefinitionRequest } from "../models/models_2";
|
|
4
|
+
import { DescribeFlowDefinitionResponse } from "../models/models_3";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeHubRequest } from "../models/
|
|
4
|
-
import { DescribeHubResponse } from "../models/models_3";
|
|
3
|
+
import { DescribeHubRequest, DescribeHubResponse } from "../models/models_3";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListCodeRepositoriesInput, ListCodeRepositoriesOutput } from "../models/
|
|
3
|
+
import { ListCodeRepositoriesInput, ListCodeRepositoriesOutput } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListCompilationJobsRequest } from "../models/
|
|
4
|
-
import { ListCompilationJobsResponse } from "../models/models_4";
|
|
3
|
+
import { ListCompilationJobsRequest, ListCompilationJobsResponse } from "../models/models_4";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -897,6 +897,21 @@ declare const SearchCommand_base: {
|
|
|
897
897
|
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
898
898
|
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
899
899
|
* // },
|
|
900
|
+
* // CapacityReservationConfig: { // ProductionVariantCapacityReservationSummary
|
|
901
|
+
* // MlReservationArn: "STRING_VALUE",
|
|
902
|
+
* // CapacityReservationPreference: "capacity-reservations-only",
|
|
903
|
+
* // TotalInstanceCount: Number("int"),
|
|
904
|
+
* // AvailableInstanceCount: Number("int"),
|
|
905
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
906
|
+
* // Ec2CapacityReservations: [ // Ec2CapacityReservationsList
|
|
907
|
+
* // { // Ec2CapacityReservation
|
|
908
|
+
* // Ec2CapacityReservationId: "STRING_VALUE",
|
|
909
|
+
* // TotalInstanceCount: Number("int"),
|
|
910
|
+
* // AvailableInstanceCount: Number("int"),
|
|
911
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
912
|
+
* // },
|
|
913
|
+
* // ],
|
|
914
|
+
* // },
|
|
900
915
|
* // },
|
|
901
916
|
* // ],
|
|
902
917
|
* // DataCaptureConfig: { // DataCaptureConfigSummary
|
|
@@ -1077,6 +1092,21 @@ declare const SearchCommand_base: {
|
|
|
1077
1092
|
* // RoutingConfig: {
|
|
1078
1093
|
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
1079
1094
|
* // },
|
|
1095
|
+
* // CapacityReservationConfig: {
|
|
1096
|
+
* // MlReservationArn: "STRING_VALUE",
|
|
1097
|
+
* // CapacityReservationPreference: "capacity-reservations-only",
|
|
1098
|
+
* // TotalInstanceCount: Number("int"),
|
|
1099
|
+
* // AvailableInstanceCount: Number("int"),
|
|
1100
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
1101
|
+
* // Ec2CapacityReservations: [
|
|
1102
|
+
* // {
|
|
1103
|
+
* // Ec2CapacityReservationId: "STRING_VALUE",
|
|
1104
|
+
* // TotalInstanceCount: Number("int"),
|
|
1105
|
+
* // AvailableInstanceCount: Number("int"),
|
|
1106
|
+
* // UsedByCurrentEndpoint: Number("int"),
|
|
1107
|
+
* // },
|
|
1108
|
+
* // ],
|
|
1109
|
+
* // },
|
|
1080
1110
|
* // },
|
|
1081
1111
|
* // ],
|
|
1082
1112
|
* // },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopCompilationJobRequest } from "../models/
|
|
3
|
+
import { StopCompilationJobRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopEdgeDeploymentStageRequest } from "../models/
|
|
3
|
+
import { StopEdgeDeploymentStageRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopEdgePackagingJobRequest } from "../models/
|
|
3
|
+
import { StopEdgePackagingJobRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopHyperParameterTuningJobRequest } from "../models/
|
|
3
|
+
import { StopHyperParameterTuningJobRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -282,6 +282,7 @@ declare const UpdateDomainCommand_base: {
|
|
|
282
282
|
* ProjectId: "STRING_VALUE",
|
|
283
283
|
* EnvironmentId: "STRING_VALUE",
|
|
284
284
|
* ProjectS3Path: "STRING_VALUE",
|
|
285
|
+
* SingleSignOnApplicationArn: "STRING_VALUE",
|
|
285
286
|
* },
|
|
286
287
|
* },
|
|
287
288
|
* AppSecurityGroupManagement: "Service" || "Customer",
|
|
@@ -4884,6 +4884,17 @@ export interface CanvasAppSettings {
|
|
|
4884
4884
|
*/
|
|
4885
4885
|
EmrServerlessSettings?: EmrServerlessSettings | undefined;
|
|
4886
4886
|
}
|
|
4887
|
+
/**
|
|
4888
|
+
* @public
|
|
4889
|
+
* @enum
|
|
4890
|
+
*/
|
|
4891
|
+
export declare const CapacityReservationPreference: {
|
|
4892
|
+
readonly CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only";
|
|
4893
|
+
};
|
|
4894
|
+
/**
|
|
4895
|
+
* @public
|
|
4896
|
+
*/
|
|
4897
|
+
export type CapacityReservationPreference = (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
|
|
4887
4898
|
/**
|
|
4888
4899
|
* @public
|
|
4889
4900
|
* @enum
|
|
@@ -6748,14 +6759,3 @@ export declare const ModelCacheSetting: {
|
|
|
6748
6759
|
* @public
|
|
6749
6760
|
*/
|
|
6750
6761
|
export type ModelCacheSetting = (typeof ModelCacheSetting)[keyof typeof ModelCacheSetting];
|
|
6751
|
-
/**
|
|
6752
|
-
* <p>Specifies additional configuration for hosting multi-model endpoints.</p>
|
|
6753
|
-
* @public
|
|
6754
|
-
*/
|
|
6755
|
-
export interface MultiModelConfig {
|
|
6756
|
-
/**
|
|
6757
|
-
* <p>Whether to cache models for a multi-model endpoint. By default, multi-model endpoints cache models so that a model does not have to be loaded into memory each time it is invoked. Some use cases do not benefit from model caching. For example, if an endpoint hosts a large number of models that are each invoked infrequently, the endpoint might perform better if you disable model caching. To disable model caching, set the value of this parameter to <code>Disabled</code>.</p>
|
|
6758
|
-
* @public
|
|
6759
|
-
*/
|
|
6760
|
-
ModelCacheSetting?: ModelCacheSetting | undefined;
|
|
6761
|
-
}
|