@aws-sdk/client-sagemaker 3.1105.0 → 3.1107.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 +15 -3
- package/dist-es/index.js +1 -1
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +10 -2
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +10 -2
- package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +1 -2
- package/dist-types/commands/DescribeEndpointCommand.d.ts +20 -4
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +10 -2
- package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ListHyperParameterTuningJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListNotebookInstancesCommand.d.ts +2 -2
- package/dist-types/commands/SearchCommand.d.ts +10 -2
- package/dist-types/commands/UpdateMlflowTrackingServerCommand.d.ts +1 -2
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +3 -0
- package/dist-types/models/models_1.d.ts +23 -92
- package/dist-types/models/models_2.d.ts +92 -23
- package/dist-types/models/models_3.d.ts +23 -17
- package/dist-types/models/models_4.d.ts +17 -42
- package/dist-types/models/models_5.d.ts +41 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateNotebookInstanceCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListHyperParameterTuningJobsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateMlflowTrackingServerCommand.d.ts +4 -2
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +3 -0
- package/dist-types/ts3.4/models/models_1.d.ts +5 -23
- package/dist-types/ts3.4/models/models_2.d.ts +25 -6
- package/dist-types/ts3.4/models/models_3.d.ts +6 -5
- package/dist-types/ts3.4/models/models_4.d.ts +5 -10
- package/dist-types/ts3.4/models/models_5.d.ts +10 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1106.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -998,6 +998,7 @@ const _CTo = "CompressionType";
|
|
|
998
998
|
const _CTol = "CollectionType";
|
|
999
999
|
const _CTom = "CompletionTime";
|
|
1000
1000
|
const _CTon = "ContentType";
|
|
1001
|
+
const _CTonc = "ConcurrencyThreshold";
|
|
1001
1002
|
const _CTont = "ContentTemplate";
|
|
1002
1003
|
const _CTonte = "ContextType";
|
|
1003
1004
|
const _CTr = "CreateTrial";
|
|
@@ -2881,6 +2882,7 @@ const _PAC = "PartnerAppConfig";
|
|
|
2881
2882
|
const _PAI = "ProvisioningArtifactId";
|
|
2882
2883
|
const _PAMC = "PartnerAppMaintenanceConfig";
|
|
2883
2884
|
const _PAPSU = "PostAnalyticsProcessorSourceUri";
|
|
2885
|
+
const _PARC = "PrefixAwareRoutingConfig";
|
|
2884
2886
|
const _PAS = "PartnerAppSummary";
|
|
2885
2887
|
const _PASa = "PartnerAppSummaries";
|
|
2886
2888
|
const _PAa = "ParameterAdditions";
|
|
@@ -2948,6 +2950,7 @@ const _PJSro = "ProcessingJobSummary";
|
|
|
2948
2950
|
const _PL = "ProgrammingLang";
|
|
2949
2951
|
const _PLI = "ProductListingIds";
|
|
2950
2952
|
const _PLa = "ParameterList";
|
|
2953
|
+
const _PLr = "PrefixLength";
|
|
2951
2954
|
const _PMPGP = "PutModelPackageGroupPolicy";
|
|
2952
2955
|
const _PMPGPI = "PutModelPackageGroupPolicyInput";
|
|
2953
2956
|
const _PMPGPO = "PutModelPackageGroupPolicyOutput";
|
|
@@ -9860,6 +9863,11 @@ var PredefinedMetricSpecification$ = [3, n0, _PMS,
|
|
|
9860
9863
|
[_PMT],
|
|
9861
9864
|
[0]
|
|
9862
9865
|
];
|
|
9866
|
+
var PrefixAwareRoutingConfig$ = [3, n0, _PARC,
|
|
9867
|
+
0,
|
|
9868
|
+
[_PLr, _CTonc],
|
|
9869
|
+
[1, 1]
|
|
9870
|
+
];
|
|
9863
9871
|
var PresignedUrlAccessConfig$ = [3, n0, _PUAC,
|
|
9864
9872
|
0,
|
|
9865
9873
|
[_AEc, _ESU],
|
|
@@ -9962,8 +9970,8 @@ var ProductionVariantManagedInstanceScalingScaleInPolicy$ = [3, n0, _PVMISSIP,
|
|
|
9962
9970
|
];
|
|
9963
9971
|
var ProductionVariantRoutingConfig$ = [3, n0, _PVRC,
|
|
9964
9972
|
0,
|
|
9965
|
-
[_RSo],
|
|
9966
|
-
[0], 1
|
|
9973
|
+
[_RSo, _PARC],
|
|
9974
|
+
[0, () => PrefixAwareRoutingConfig$], 1
|
|
9967
9975
|
];
|
|
9968
9976
|
var ProductionVariantServerlessConfig$ = [3, n0, _PVSC,
|
|
9969
9977
|
0,
|
|
@@ -18325,6 +18333,7 @@ const ManagedInstanceScalingStatus = {
|
|
|
18325
18333
|
};
|
|
18326
18334
|
const RoutingStrategy = {
|
|
18327
18335
|
LEAST_OUTSTANDING_REQUESTS: "LEAST_OUTSTANDING_REQUESTS",
|
|
18336
|
+
PREFIX_AWARE: "PREFIX_AWARE",
|
|
18328
18337
|
RANDOM: "RANDOM",
|
|
18329
18338
|
};
|
|
18330
18339
|
const FeatureType = {
|
|
@@ -19137,8 +19146,10 @@ const ScheduleStatus = {
|
|
|
19137
19146
|
const NotebookInstanceStatus = {
|
|
19138
19147
|
Deleting: "Deleting",
|
|
19139
19148
|
Failed: "Failed",
|
|
19149
|
+
InMaintenance: "InMaintenance",
|
|
19140
19150
|
InService: "InService",
|
|
19141
19151
|
Pending: "Pending",
|
|
19152
|
+
PendingMaintenance: "PendingMaintenance",
|
|
19142
19153
|
Stopped: "Stopped",
|
|
19143
19154
|
Stopping: "Stopping",
|
|
19144
19155
|
Updating: "Updating",
|
|
@@ -21799,6 +21810,7 @@ exports.PipelineVersionSummary$ = PipelineVersionSummary$;
|
|
|
21799
21810
|
exports.PlacementSpecification$ = PlacementSpecification$;
|
|
21800
21811
|
exports.PredefinedMetricSpecification$ = PredefinedMetricSpecification$;
|
|
21801
21812
|
exports.PreemptTeamTasks = PreemptTeamTasks;
|
|
21813
|
+
exports.PrefixAwareRoutingConfig$ = PrefixAwareRoutingConfig$;
|
|
21802
21814
|
exports.PresignedUrlAccessConfig$ = PresignedUrlAccessConfig$;
|
|
21803
21815
|
exports.PriorityClass$ = PriorityClass$;
|
|
21804
21816
|
exports.ProblemType = ProblemType;
|
package/dist-es/index.js
CHANGED
|
@@ -2,9 +2,9 @@ export * from "./SageMakerClient";
|
|
|
2
2
|
export * from "./SageMaker";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export { Command as $Command } from "@smithy/core/client";
|
|
5
|
-
export * from "./schemas/schemas_0";
|
|
6
5
|
export * from "./pagination";
|
|
7
6
|
export * from "./waiters";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
8
|
export * from "./models/enums";
|
|
9
9
|
export * from "./models/errors";
|
|
10
10
|
export * from "./models/models_0";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -2080,6 +2080,7 @@ export const ManagedInstanceScalingStatus = {
|
|
|
2080
2080
|
};
|
|
2081
2081
|
export const RoutingStrategy = {
|
|
2082
2082
|
LEAST_OUTSTANDING_REQUESTS: "LEAST_OUTSTANDING_REQUESTS",
|
|
2083
|
+
PREFIX_AWARE: "PREFIX_AWARE",
|
|
2083
2084
|
RANDOM: "RANDOM",
|
|
2084
2085
|
};
|
|
2085
2086
|
export const FeatureType = {
|
|
@@ -2892,8 +2893,10 @@ export const ScheduleStatus = {
|
|
|
2892
2893
|
export const NotebookInstanceStatus = {
|
|
2893
2894
|
Deleting: "Deleting",
|
|
2894
2895
|
Failed: "Failed",
|
|
2896
|
+
InMaintenance: "InMaintenance",
|
|
2895
2897
|
InService: "InService",
|
|
2896
2898
|
Pending: "Pending",
|
|
2899
|
+
PendingMaintenance: "PendingMaintenance",
|
|
2897
2900
|
Stopped: "Stopped",
|
|
2898
2901
|
Stopping: "Stopping",
|
|
2899
2902
|
Updating: "Updating",
|
|
@@ -796,6 +796,7 @@ const _CTo = "CompressionType";
|
|
|
796
796
|
const _CTol = "CollectionType";
|
|
797
797
|
const _CTom = "CompletionTime";
|
|
798
798
|
const _CTon = "ContentType";
|
|
799
|
+
const _CTonc = "ConcurrencyThreshold";
|
|
799
800
|
const _CTont = "ContentTemplate";
|
|
800
801
|
const _CTonte = "ContextType";
|
|
801
802
|
const _CTr = "CreateTrial";
|
|
@@ -2679,6 +2680,7 @@ const _PAC = "PartnerAppConfig";
|
|
|
2679
2680
|
const _PAI = "ProvisioningArtifactId";
|
|
2680
2681
|
const _PAMC = "PartnerAppMaintenanceConfig";
|
|
2681
2682
|
const _PAPSU = "PostAnalyticsProcessorSourceUri";
|
|
2683
|
+
const _PARC = "PrefixAwareRoutingConfig";
|
|
2682
2684
|
const _PAS = "PartnerAppSummary";
|
|
2683
2685
|
const _PASa = "PartnerAppSummaries";
|
|
2684
2686
|
const _PAa = "ParameterAdditions";
|
|
@@ -2746,6 +2748,7 @@ const _PJSro = "ProcessingJobSummary";
|
|
|
2746
2748
|
const _PL = "ProgrammingLang";
|
|
2747
2749
|
const _PLI = "ProductListingIds";
|
|
2748
2750
|
const _PLa = "ParameterList";
|
|
2751
|
+
const _PLr = "PrefixLength";
|
|
2749
2752
|
const _PMPGP = "PutModelPackageGroupPolicy";
|
|
2750
2753
|
const _PMPGPI = "PutModelPackageGroupPolicyInput";
|
|
2751
2754
|
const _PMPGPO = "PutModelPackageGroupPolicyOutput";
|
|
@@ -9661,6 +9664,11 @@ export var PredefinedMetricSpecification$ = [3, n0, _PMS,
|
|
|
9661
9664
|
[_PMT],
|
|
9662
9665
|
[0]
|
|
9663
9666
|
];
|
|
9667
|
+
export var PrefixAwareRoutingConfig$ = [3, n0, _PARC,
|
|
9668
|
+
0,
|
|
9669
|
+
[_PLr, _CTonc],
|
|
9670
|
+
[1, 1]
|
|
9671
|
+
];
|
|
9664
9672
|
export var PresignedUrlAccessConfig$ = [3, n0, _PUAC,
|
|
9665
9673
|
0,
|
|
9666
9674
|
[_AEc, _ESU],
|
|
@@ -9763,8 +9771,8 @@ export var ProductionVariantManagedInstanceScalingScaleInPolicy$ = [3, n0, _PVMI
|
|
|
9763
9771
|
];
|
|
9764
9772
|
export var ProductionVariantRoutingConfig$ = [3, n0, _PVRC,
|
|
9765
9773
|
0,
|
|
9766
|
-
[_RSo],
|
|
9767
|
-
[0], 1
|
|
9774
|
+
[_RSo, _PARC],
|
|
9775
|
+
[0, () => PrefixAwareRoutingConfig$], 1
|
|
9768
9776
|
];
|
|
9769
9777
|
export var ProductionVariantServerlessConfig$ = [3, n0, _PVSC,
|
|
9770
9778
|
0,
|
|
@@ -75,7 +75,11 @@ declare const CreateEndpointConfigCommand_base: {
|
|
|
75
75
|
* },
|
|
76
76
|
* },
|
|
77
77
|
* RoutingConfig: { // ProductionVariantRoutingConfig
|
|
78
|
-
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
78
|
+
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
79
|
+
* PrefixAwareRoutingConfig: { // PrefixAwareRoutingConfig
|
|
80
|
+
* PrefixLength: Number("int"),
|
|
81
|
+
* ConcurrencyThreshold: Number("int"),
|
|
82
|
+
* },
|
|
79
83
|
* },
|
|
80
84
|
* 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" || "al2023-ami-sagemaker-inference-gpu-4-1",
|
|
81
85
|
* CapacityReservationConfig: { // ProductionVariantCapacityReservationConfig
|
|
@@ -205,7 +209,11 @@ declare const CreateEndpointConfigCommand_base: {
|
|
|
205
209
|
* },
|
|
206
210
|
* },
|
|
207
211
|
* RoutingConfig: {
|
|
208
|
-
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
212
|
+
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
213
|
+
* PrefixAwareRoutingConfig: {
|
|
214
|
+
* PrefixLength: Number("int"),
|
|
215
|
+
* ConcurrencyThreshold: Number("int"),
|
|
216
|
+
* },
|
|
209
217
|
* },
|
|
210
218
|
* 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" || "al2023-ami-sagemaker-inference-gpu-4-1",
|
|
211
219
|
* CapacityReservationConfig: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { CreateNotebookInstanceInput } from "../models/
|
|
3
|
-
import type { CreateNotebookInstanceOutput } from "../models/models_2";
|
|
2
|
+
import type { CreateNotebookInstanceInput, CreateNotebookInstanceOutput } from "../models/models_2";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -90,7 +90,11 @@ declare const DescribeEndpointCommand_base: {
|
|
|
90
90
|
* // },
|
|
91
91
|
* // },
|
|
92
92
|
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
93
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
93
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
94
|
+
* // PrefixAwareRoutingConfig: { // PrefixAwareRoutingConfig
|
|
95
|
+
* // PrefixLength: Number("int"),
|
|
96
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
97
|
+
* // },
|
|
94
98
|
* // },
|
|
95
99
|
* // CapacityReservationConfig: { // ProductionVariantCapacityReservationSummary
|
|
96
100
|
* // MlReservationArn: "STRING_VALUE",
|
|
@@ -226,7 +230,11 @@ declare const DescribeEndpointCommand_base: {
|
|
|
226
230
|
* // },
|
|
227
231
|
* // },
|
|
228
232
|
* // RoutingConfig: {
|
|
229
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
233
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
234
|
+
* // PrefixAwareRoutingConfig: {
|
|
235
|
+
* // PrefixLength: Number("int"),
|
|
236
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
237
|
+
* // },
|
|
230
238
|
* // },
|
|
231
239
|
* // },
|
|
232
240
|
* // ],
|
|
@@ -277,7 +285,11 @@ declare const DescribeEndpointCommand_base: {
|
|
|
277
285
|
* // },
|
|
278
286
|
* // },
|
|
279
287
|
* // RoutingConfig: {
|
|
280
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
288
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
289
|
+
* // PrefixAwareRoutingConfig: {
|
|
290
|
+
* // PrefixLength: Number("int"),
|
|
291
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
292
|
+
* // },
|
|
281
293
|
* // },
|
|
282
294
|
* // },
|
|
283
295
|
* // ],
|
|
@@ -360,7 +372,11 @@ declare const DescribeEndpointCommand_base: {
|
|
|
360
372
|
* // },
|
|
361
373
|
* // },
|
|
362
374
|
* // RoutingConfig: {
|
|
363
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
375
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
376
|
+
* // PrefixAwareRoutingConfig: {
|
|
377
|
+
* // PrefixLength: Number("int"),
|
|
378
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
379
|
+
* // },
|
|
364
380
|
* // },
|
|
365
381
|
* // CapacityReservationConfig: {
|
|
366
382
|
* // MlReservationArn: "STRING_VALUE",
|
|
@@ -81,7 +81,11 @@ declare const DescribeEndpointConfigCommand_base: {
|
|
|
81
81
|
* // },
|
|
82
82
|
* // },
|
|
83
83
|
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
84
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
84
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
85
|
+
* // PrefixAwareRoutingConfig: { // PrefixAwareRoutingConfig
|
|
86
|
+
* // PrefixLength: Number("int"),
|
|
87
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
88
|
+
* // },
|
|
85
89
|
* // },
|
|
86
90
|
* // 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" || "al2023-ami-sagemaker-inference-gpu-4-1",
|
|
87
91
|
* // CapacityReservationConfig: { // ProductionVariantCapacityReservationConfig
|
|
@@ -206,7 +210,11 @@ declare const DescribeEndpointConfigCommand_base: {
|
|
|
206
210
|
* // },
|
|
207
211
|
* // },
|
|
208
212
|
* // RoutingConfig: {
|
|
209
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
213
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
214
|
+
* // PrefixAwareRoutingConfig: {
|
|
215
|
+
* // PrefixLength: Number("int"),
|
|
216
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
217
|
+
* // },
|
|
210
218
|
* // },
|
|
211
219
|
* // 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" || "al2023-ami-sagemaker-inference-gpu-4-1",
|
|
212
220
|
* // CapacityReservationConfig: {
|
|
@@ -41,7 +41,7 @@ declare const DescribeNotebookInstanceCommand_base: {
|
|
|
41
41
|
* // { // DescribeNotebookInstanceOutput
|
|
42
42
|
* // NotebookInstanceArn: "STRING_VALUE",
|
|
43
43
|
* // NotebookInstanceName: "STRING_VALUE",
|
|
44
|
-
* // NotebookInstanceStatus: "Pending" || "InService" || "Stopping" || "Stopped" || "Failed" || "Deleting" || "Updating",
|
|
44
|
+
* // NotebookInstanceStatus: "Pending" || "InService" || "Stopping" || "Stopped" || "Failed" || "Deleting" || "Updating" || "PendingMaintenance" || "InMaintenance",
|
|
45
45
|
* // FailureReason: "STRING_VALUE",
|
|
46
46
|
* // Url: "STRING_VALUE",
|
|
47
47
|
* // InstanceType: "ml.t2.medium" || "ml.t2.large" || "ml.t2.xlarge" || "ml.t2.2xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c4.xlarge" || "ml.c4.2xlarge" || "ml.c4.4xlarge" || "ml.c4.8xlarge" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5d.xlarge" || "ml.c5d.2xlarge" || "ml.c5d.4xlarge" || "ml.c5d.9xlarge" || "ml.c5d.18xlarge" || "ml.p2.xlarge" || "ml.p2.8xlarge" || "ml.p2.16xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.inf1.xlarge" || "ml.inf1.2xlarge" || "ml.inf1.6xlarge" || "ml.inf1.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.p6-b200.48xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.c7i.large" || "ml.c7i.xlarge" || "ml.c7i.2xlarge" || "ml.c7i.4xlarge" || "ml.c7i.8xlarge" || "ml.c7i.12xlarge" || "ml.c7i.16xlarge" || "ml.c7i.24xlarge" || "ml.c7i.48xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge" || "ml.m6id.large" || "ml.m6id.xlarge" || "ml.m6id.2xlarge" || "ml.m6id.4xlarge" || "ml.m6id.8xlarge" || "ml.m6id.12xlarge" || "ml.m6id.16xlarge" || "ml.m6id.24xlarge" || "ml.m6id.32xlarge" || "ml.c6id.large" || "ml.c6id.xlarge" || "ml.c6id.2xlarge" || "ml.c6id.4xlarge" || "ml.c6id.8xlarge" || "ml.c6id.12xlarge" || "ml.c6id.16xlarge" || "ml.c6id.24xlarge" || "ml.c6id.32xlarge" || "ml.r6id.large" || "ml.r6id.xlarge" || "ml.r6id.2xlarge" || "ml.r6id.4xlarge" || "ml.r6id.8xlarge" || "ml.r6id.12xlarge" || "ml.r6id.16xlarge" || "ml.r6id.24xlarge" || "ml.r6id.32xlarge" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.12xlarge" || "ml.g6.16xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.g7e.2xlarge" || "ml.g7e.4xlarge" || "ml.g7e.8xlarge" || "ml.g7e.12xlarge" || "ml.g7e.24xlarge" || "ml.g7e.48xlarge" || "ml.p5.4xlarge" || "ml.p5en.48xlarge" || "ml.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.12xlarge" || "ml.g6e.16xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListHyperParameterTuningJobsRequest
|
|
2
|
+
import type { ListHyperParameterTuningJobsRequest } from "../models/models_3";
|
|
3
|
+
import type { ListHyperParameterTuningJobsResponse } from "../models/models_4";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -43,7 +43,7 @@ declare const ListNotebookInstancesCommand_base: {
|
|
|
43
43
|
* CreationTimeAfter: new Date("TIMESTAMP"),
|
|
44
44
|
* LastModifiedTimeBefore: new Date("TIMESTAMP"),
|
|
45
45
|
* LastModifiedTimeAfter: new Date("TIMESTAMP"),
|
|
46
|
-
* StatusEquals: "Pending" || "InService" || "Stopping" || "Stopped" || "Failed" || "Deleting" || "Updating",
|
|
46
|
+
* StatusEquals: "Pending" || "InService" || "Stopping" || "Stopped" || "Failed" || "Deleting" || "Updating" || "PendingMaintenance" || "InMaintenance",
|
|
47
47
|
* NotebookInstanceLifecycleConfigNameContains: "STRING_VALUE",
|
|
48
48
|
* DefaultCodeRepositoryContains: "STRING_VALUE",
|
|
49
49
|
* AdditionalCodeRepositoryEquals: "STRING_VALUE",
|
|
@@ -56,7 +56,7 @@ declare const ListNotebookInstancesCommand_base: {
|
|
|
56
56
|
* // { // NotebookInstanceSummary
|
|
57
57
|
* // NotebookInstanceName: "STRING_VALUE", // required
|
|
58
58
|
* // NotebookInstanceArn: "STRING_VALUE", // required
|
|
59
|
-
* // NotebookInstanceStatus: "Pending" || "InService" || "Stopping" || "Stopped" || "Failed" || "Deleting" || "Updating",
|
|
59
|
+
* // NotebookInstanceStatus: "Pending" || "InService" || "Stopping" || "Stopped" || "Failed" || "Deleting" || "Updating" || "PendingMaintenance" || "InMaintenance",
|
|
60
60
|
* // Url: "STRING_VALUE",
|
|
61
61
|
* // InstanceType: "ml.t2.medium" || "ml.t2.large" || "ml.t2.xlarge" || "ml.t2.2xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c4.xlarge" || "ml.c4.2xlarge" || "ml.c4.4xlarge" || "ml.c4.8xlarge" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5d.xlarge" || "ml.c5d.2xlarge" || "ml.c5d.4xlarge" || "ml.c5d.9xlarge" || "ml.c5d.18xlarge" || "ml.p2.xlarge" || "ml.p2.8xlarge" || "ml.p2.16xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.inf1.xlarge" || "ml.inf1.2xlarge" || "ml.inf1.6xlarge" || "ml.inf1.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.p6-b200.48xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.c7i.large" || "ml.c7i.xlarge" || "ml.c7i.2xlarge" || "ml.c7i.4xlarge" || "ml.c7i.8xlarge" || "ml.c7i.12xlarge" || "ml.c7i.16xlarge" || "ml.c7i.24xlarge" || "ml.c7i.48xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge" || "ml.m6id.large" || "ml.m6id.xlarge" || "ml.m6id.2xlarge" || "ml.m6id.4xlarge" || "ml.m6id.8xlarge" || "ml.m6id.12xlarge" || "ml.m6id.16xlarge" || "ml.m6id.24xlarge" || "ml.m6id.32xlarge" || "ml.c6id.large" || "ml.c6id.xlarge" || "ml.c6id.2xlarge" || "ml.c6id.4xlarge" || "ml.c6id.8xlarge" || "ml.c6id.12xlarge" || "ml.c6id.16xlarge" || "ml.c6id.24xlarge" || "ml.c6id.32xlarge" || "ml.r6id.large" || "ml.r6id.xlarge" || "ml.r6id.2xlarge" || "ml.r6id.4xlarge" || "ml.r6id.8xlarge" || "ml.r6id.12xlarge" || "ml.r6id.16xlarge" || "ml.r6id.24xlarge" || "ml.r6id.32xlarge" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.12xlarge" || "ml.g6.16xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.g7e.2xlarge" || "ml.g7e.4xlarge" || "ml.g7e.8xlarge" || "ml.g7e.12xlarge" || "ml.g7e.24xlarge" || "ml.g7e.48xlarge" || "ml.p5.4xlarge" || "ml.p5en.48xlarge" || "ml.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.12xlarge" || "ml.g6e.16xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge",
|
|
62
62
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
@@ -949,7 +949,11 @@ declare const SearchCommand_base: {
|
|
|
949
949
|
* // },
|
|
950
950
|
* // },
|
|
951
951
|
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
952
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
952
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
953
|
+
* // PrefixAwareRoutingConfig: { // PrefixAwareRoutingConfig
|
|
954
|
+
* // PrefixLength: Number("int"),
|
|
955
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
956
|
+
* // },
|
|
953
957
|
* // },
|
|
954
958
|
* // CapacityReservationConfig: { // ProductionVariantCapacityReservationSummary
|
|
955
959
|
* // MlReservationArn: "STRING_VALUE",
|
|
@@ -1155,7 +1159,11 @@ declare const SearchCommand_base: {
|
|
|
1155
1159
|
* // },
|
|
1156
1160
|
* // },
|
|
1157
1161
|
* // RoutingConfig: {
|
|
1158
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
1162
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
1163
|
+
* // PrefixAwareRoutingConfig: {
|
|
1164
|
+
* // PrefixLength: Number("int"),
|
|
1165
|
+
* // ConcurrencyThreshold: Number("int"),
|
|
1166
|
+
* // },
|
|
1159
1167
|
* // },
|
|
1160
1168
|
* // CapacityReservationConfig: {
|
|
1161
1169
|
* // MlReservationArn: "STRING_VALUE",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateMlflowTrackingServerRequest } from "../models/
|
|
3
|
-
import type { UpdateMlflowTrackingServerResponse } from "../models/models_5";
|
|
2
|
+
import type { UpdateMlflowTrackingServerRequest, UpdateMlflowTrackingServerResponse } from "../models/models_5";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { SageMakerExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export { Command as $Command } from "@smithy/core/client";
|
|
13
|
-
export * from "./schemas/schemas_0";
|
|
14
13
|
export * from "./pagination";
|
|
15
14
|
export * from "./waiters";
|
|
15
|
+
export * from "./schemas/schemas_0";
|
|
16
16
|
export * from "./models/enums";
|
|
17
17
|
export * from "./models/errors";
|
|
18
18
|
export * from "./models/models_0";
|
|
@@ -3371,6 +3371,7 @@ export type ManagedInstanceScalingStatus = (typeof ManagedInstanceScalingStatus)
|
|
|
3371
3371
|
*/
|
|
3372
3372
|
export declare const RoutingStrategy: {
|
|
3373
3373
|
readonly LEAST_OUTSTANDING_REQUESTS: "LEAST_OUTSTANDING_REQUESTS";
|
|
3374
|
+
readonly PREFIX_AWARE: "PREFIX_AWARE";
|
|
3374
3375
|
readonly RANDOM: "RANDOM";
|
|
3375
3376
|
};
|
|
3376
3377
|
/**
|
|
@@ -4975,8 +4976,10 @@ export type ScheduleStatus = (typeof ScheduleStatus)[keyof typeof ScheduleStatus
|
|
|
4975
4976
|
export declare const NotebookInstanceStatus: {
|
|
4976
4977
|
readonly Deleting: "Deleting";
|
|
4977
4978
|
readonly Failed: "Failed";
|
|
4979
|
+
readonly InMaintenance: "InMaintenance";
|
|
4978
4980
|
readonly InService: "InService";
|
|
4979
4981
|
readonly Pending: "Pending";
|
|
4982
|
+
readonly PendingMaintenance: "PendingMaintenance";
|
|
4980
4983
|
readonly Stopped: "Stopped";
|
|
4981
4984
|
readonly Stopping: "Stopping";
|
|
4982
4985
|
readonly Updating: "Updating";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
|
|
2
|
-
import type {
|
|
2
|
+
import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterNodeProvisioningMode, ClusterNodeRecovery, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, MonitoringType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
|
|
3
3
|
import type { ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, ClusterRestrictedInstanceGroupSpecification, ClusterTieredStorageConfig, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, ComputeQuotaResourceConfig, CustomImage, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformJobDefinition, VpcConfig } from "./models_0";
|
|
4
4
|
/**
|
|
5
5
|
* <p>Use this parameter to configure your Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html"> Amazon Cognito user pool</a>.</p>
|
|
@@ -3260,16 +3260,37 @@ export interface ProductionVariantManagedInstanceScaling {
|
|
|
3260
3260
|
*/
|
|
3261
3261
|
ScaleInPolicy?: ProductionVariantManagedInstanceScalingScaleInPolicy | undefined;
|
|
3262
3262
|
}
|
|
3263
|
+
/**
|
|
3264
|
+
* <p>The configuration for prefix-aware routing on a SageMaker real-time inference endpoint. Specify <code>PrefixLength</code> and <code>ConcurrencyThreshold</code> to control routing behavior.</p>
|
|
3265
|
+
* @public
|
|
3266
|
+
*/
|
|
3267
|
+
export interface PrefixAwareRoutingConfig {
|
|
3268
|
+
/**
|
|
3269
|
+
* <p>The maximum length of the prefix used for routing decisions. Required when <code>RoutingStrategy</code> is <code>PREFIX_AWARE</code>.</p> <ul> <li> <p>For the SageMaker Runtime <code>InvokeEndpoint</code> and <code>InvokeEndpointWithResponseStream</code> APIs, this value specifies the number of bytes from the beginning of the request body.</p> </li> <li> <p>For OpenAI-compatible API, this value specifies the number of characters from the text content of the messages array.</p> </li> </ul> <p>The endpoint routes requests that share the same prefix to the same instance. Set this value to cover shared content (such as system prompts) plus enough unique content to distribute workloads across instances.</p>
|
|
3270
|
+
* @public
|
|
3271
|
+
*/
|
|
3272
|
+
PrefixLength?: number | undefined;
|
|
3273
|
+
/**
|
|
3274
|
+
* <p>The maximum number of in-flight requests on the target instance before the endpoint routes to another instance. Required when <code>RoutingStrategy</code> is <code>PREFIX_AWARE</code>. When in-flight requests on the prefix-selected instance reach this threshold, the endpoint routes the request to an instance with more available capacity.</p>
|
|
3275
|
+
* @public
|
|
3276
|
+
*/
|
|
3277
|
+
ConcurrencyThreshold?: number | undefined;
|
|
3278
|
+
}
|
|
3263
3279
|
/**
|
|
3264
3280
|
* <p>Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.</p>
|
|
3265
3281
|
* @public
|
|
3266
3282
|
*/
|
|
3267
3283
|
export interface ProductionVariantRoutingConfig {
|
|
3268
3284
|
/**
|
|
3269
|
-
* <p>Sets how the endpoint routes incoming traffic:</p> <ul> <li> <p> <code>LEAST_OUTSTANDING_REQUESTS</code>: The endpoint routes requests to the specific instances that have more capacity to process them.</p> </li> <li> <p> <code>RANDOM</code>: The endpoint routes each request to a randomly chosen instance.</p> </li> </ul>
|
|
3285
|
+
* <p>Sets how the endpoint routes incoming traffic:</p> <ul> <li> <p> <code>LEAST_OUTSTANDING_REQUESTS</code>: The endpoint routes requests to the specific instances that have more capacity to process them.</p> </li> <li> <p> <code>RANDOM</code>: The endpoint routes each request to a randomly chosen instance.</p> </li> <li> <p> <code>PREFIX_AWARE</code>: The endpoint routes requests that share the same prompt prefix to the same instance. When the number of in-flight requests on the selected instance reaches the configured threshold, the endpoint routes the request to an instance with more available capacity.</p> </li> </ul>
|
|
3270
3286
|
* @public
|
|
3271
3287
|
*/
|
|
3272
3288
|
RoutingStrategy: RoutingStrategy | undefined;
|
|
3289
|
+
/**
|
|
3290
|
+
* <p>The configuration for prefix-aware routing. Specify this parameter only when you set <code>RoutingStrategy</code> to <code>PREFIX_AWARE</code>.</p>
|
|
3291
|
+
* @public
|
|
3292
|
+
*/
|
|
3293
|
+
PrefixAwareRoutingConfig?: PrefixAwareRoutingConfig | undefined;
|
|
3273
3294
|
}
|
|
3274
3295
|
/**
|
|
3275
3296
|
* <p>Specifies the serverless configuration for an endpoint variant.</p>
|
|
@@ -7195,93 +7216,3 @@ export interface InstanceMetadataServiceConfiguration {
|
|
|
7195
7216
|
*/
|
|
7196
7217
|
MinimumInstanceMetadataServiceVersion: string | undefined;
|
|
7197
7218
|
}
|
|
7198
|
-
/**
|
|
7199
|
-
* @public
|
|
7200
|
-
*/
|
|
7201
|
-
export interface CreateNotebookInstanceInput {
|
|
7202
|
-
/**
|
|
7203
|
-
* <p>The name of the new notebook instance.</p>
|
|
7204
|
-
* @public
|
|
7205
|
-
*/
|
|
7206
|
-
NotebookInstanceName: string | undefined;
|
|
7207
|
-
/**
|
|
7208
|
-
* <p>The type of ML compute instance to launch for the notebook instance.</p>
|
|
7209
|
-
* @public
|
|
7210
|
-
*/
|
|
7211
|
-
InstanceType: _InstanceType | undefined;
|
|
7212
|
-
/**
|
|
7213
|
-
* <p>The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance. </p>
|
|
7214
|
-
* @public
|
|
7215
|
-
*/
|
|
7216
|
-
SubnetId?: string | undefined;
|
|
7217
|
-
/**
|
|
7218
|
-
* <p>The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet. </p>
|
|
7219
|
-
* @public
|
|
7220
|
-
*/
|
|
7221
|
-
SecurityGroupIds?: string[] | undefined;
|
|
7222
|
-
/**
|
|
7223
|
-
* <p>The IP address type for the notebook instance. Specify <code>ipv4</code> for IPv4-only connectivity or <code>dualstack</code> for both IPv4 and IPv6 connectivity. When you specify <code>dualstack</code>, the subnet must support IPv6 CIDR blocks. If not specified, defaults to <code>ipv4</code>.</p>
|
|
7224
|
-
* @public
|
|
7225
|
-
*/
|
|
7226
|
-
IpAddressType?: IPAddressType | undefined;
|
|
7227
|
-
/**
|
|
7228
|
-
* <p> When you send any requests to Amazon Web Services resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker AI Roles</a>. </p> <note> <p>To be able to pass this role to SageMaker AI, the caller of this API must have the <code>iam:PassRole</code> permission.</p> </note>
|
|
7229
|
-
* @public
|
|
7230
|
-
*/
|
|
7231
|
-
RoleArn: string | undefined;
|
|
7232
|
-
/**
|
|
7233
|
-
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker AI uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html">Enabling and Disabling Keys</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p>
|
|
7234
|
-
* @public
|
|
7235
|
-
*/
|
|
7236
|
-
KmsKeyId?: string | undefined;
|
|
7237
|
-
/**
|
|
7238
|
-
* <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
|
|
7239
|
-
* @public
|
|
7240
|
-
*/
|
|
7241
|
-
Tags?: Tag[] | undefined;
|
|
7242
|
-
/**
|
|
7243
|
-
* <p>The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional) Customize a Notebook Instance</a>.</p>
|
|
7244
|
-
* @public
|
|
7245
|
-
*/
|
|
7246
|
-
LifecycleConfigName?: string | undefined;
|
|
7247
|
-
/**
|
|
7248
|
-
* <p>Sets whether SageMaker AI provides internet access to the notebook instance. If you set this to <code>Disabled</code> this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker AI training and endpoint services unless you configure a NAT Gateway in your VPC.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access">Notebook Instances Are Internet-Enabled by Default</a>. You can set the value of this parameter to <code>Disabled</code> only if you set a value for the <code>SubnetId</code> parameter.</p>
|
|
7249
|
-
* @public
|
|
7250
|
-
*/
|
|
7251
|
-
DirectInternetAccess?: DirectInternetAccess | undefined;
|
|
7252
|
-
/**
|
|
7253
|
-
* <p>The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.</p>
|
|
7254
|
-
* @public
|
|
7255
|
-
*/
|
|
7256
|
-
VolumeSizeInGB?: number | undefined;
|
|
7257
|
-
/**
|
|
7258
|
-
* <p>This parameter is no longer supported. Elastic Inference (EI) is no longer available.</p> <p>This parameter was used to specify a list of EI instance types to associate with this notebook instance.</p>
|
|
7259
|
-
* @public
|
|
7260
|
-
*/
|
|
7261
|
-
AcceleratorTypes?: NotebookInstanceAcceleratorType[] | undefined;
|
|
7262
|
-
/**
|
|
7263
|
-
* <p>A Git repository to associate with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a> or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with SageMaker AI Notebook Instances</a>.</p>
|
|
7264
|
-
* @public
|
|
7265
|
-
*/
|
|
7266
|
-
DefaultCodeRepository?: string | undefined;
|
|
7267
|
-
/**
|
|
7268
|
-
* <p>An array of up to three Git repositories to associate with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">Amazon Web Services CodeCommit</a> or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with SageMaker AI Notebook Instances</a>.</p>
|
|
7269
|
-
* @public
|
|
7270
|
-
*/
|
|
7271
|
-
AdditionalCodeRepositories?: string[] | undefined;
|
|
7272
|
-
/**
|
|
7273
|
-
* <p>Whether root access is enabled or disabled for users of the notebook instance. The default value is <code>Enabled</code>.</p> <note> <p>Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.</p> </note>
|
|
7274
|
-
* @public
|
|
7275
|
-
*/
|
|
7276
|
-
RootAccess?: RootAccess | undefined;
|
|
7277
|
-
/**
|
|
7278
|
-
* <p>The platform identifier of the notebook instance runtime environment. The default value is <code>notebook-al2023-v1</code>.</p>
|
|
7279
|
-
* @public
|
|
7280
|
-
*/
|
|
7281
|
-
PlatformIdentifier?: string | undefined;
|
|
7282
|
-
/**
|
|
7283
|
-
* <p>Information on the IMDS configuration of the notebook instance</p>
|
|
7284
|
-
* @public
|
|
7285
|
-
*/
|
|
7286
|
-
InstanceMetadataServiceConfiguration?: InstanceMetadataServiceConfiguration | undefined;
|
|
7287
|
-
}
|