@aws-sdk/client-sagemaker 3.423.0 → 3.425.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/models/models_0.js +10 -6
- package/dist-cjs/models/models_1.js +1 -5
- package/dist-cjs/models/models_2.js +5 -1
- package/dist-es/models/models_0.js +8 -4
- package/dist-es/models/models_1.js +0 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-types/SageMakerClient.d.ts +2 -0
- package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +6 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +11 -1
- package/dist-types/commands/CreateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +2 -2
- package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelPackageCommand.d.ts +12 -2
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +11 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +12 -2
- package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +14 -4
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateModelPackageCommand.d.ts +6 -1
- package/dist-types/models/models_0.d.ts +100 -149
- package/dist-types/models/models_1.d.ts +109 -30
- package/dist-types/models/models_2.d.ts +32 -146
- package/dist-types/models/models_3.d.ts +142 -220
- package/dist-types/models/models_4.d.ts +221 -4
- package/dist-types/ts3.4/commands/CreateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +19 -20
- package/dist-types/ts3.4/models/models_1.d.ts +15 -9
- package/dist-types/ts3.4/models/models_2.d.ts +10 -22
- package/dist-types/ts3.4/models/models_3.d.ts +20 -47
- package/dist-types/ts3.4/models/models_4.d.ts +50 -4
- package/package.json +32 -32
|
@@ -176,6 +176,54 @@ export declare class ResourceNotFound extends __BaseException {
|
|
|
176
176
|
*/
|
|
177
177
|
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
178
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
* @enum
|
|
182
|
+
*/
|
|
183
|
+
export declare const CompressionType: {
|
|
184
|
+
readonly GZIP: "Gzip";
|
|
185
|
+
readonly NONE: "None";
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType];
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
* @enum
|
|
194
|
+
*/
|
|
195
|
+
export declare const AdditionalS3DataSourceDataType: {
|
|
196
|
+
readonly S3OBJECT: "S3Object";
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export type AdditionalS3DataSourceDataType = (typeof AdditionalS3DataSourceDataType)[keyof typeof AdditionalS3DataSourceDataType];
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
* <p>A data source used for training or inference that is in addition to the input dataset
|
|
205
|
+
* or model data.</p>
|
|
206
|
+
*/
|
|
207
|
+
export interface AdditionalS3DataSource {
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* <p>The data type of the additional data source that you specify for use in inference or
|
|
211
|
+
* training. </p>
|
|
212
|
+
*/
|
|
213
|
+
S3DataType: AdditionalS3DataSourceDataType | string | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* <p>The uniform resource identifier (URI) used to identify an additional data source used
|
|
217
|
+
* in inference or training.</p>
|
|
218
|
+
*/
|
|
219
|
+
S3Uri: string | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* <p>The type of compression used for an additional data source used in inference or
|
|
223
|
+
* training. Specify <code>None</code> if your additional data source is not compressed.</p>
|
|
224
|
+
*/
|
|
225
|
+
CompressionType?: CompressionType | string;
|
|
226
|
+
}
|
|
179
227
|
/**
|
|
180
228
|
* @public
|
|
181
229
|
* <p>Input object for the model.</p>
|
|
@@ -258,6 +306,12 @@ export interface ModelPackageContainerDefinition {
|
|
|
258
306
|
* You can find a list of benchmarked models by calling <code>ListModelMetadata</code>.</p>
|
|
259
307
|
*/
|
|
260
308
|
NearestModelName?: string;
|
|
309
|
+
/**
|
|
310
|
+
* @public
|
|
311
|
+
* <p>The additional data source that is used during inference in the Docker container for
|
|
312
|
+
* your model package.</p>
|
|
313
|
+
*/
|
|
314
|
+
AdditionalS3DataSource?: AdditionalS3DataSource;
|
|
261
315
|
}
|
|
262
316
|
/**
|
|
263
317
|
* @public
|
|
@@ -379,6 +433,7 @@ export declare const ProductionVariantInstanceType: {
|
|
|
379
433
|
readonly ML_P3_8XLARGE: "ml.p3.8xlarge";
|
|
380
434
|
readonly ML_P4DE_24XLARGE: "ml.p4de.24xlarge";
|
|
381
435
|
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
436
|
+
readonly ML_P5_48XLARGE: "ml.p5.48xlarge";
|
|
382
437
|
readonly ML_R5D_12XLARGE: "ml.r5d.12xlarge";
|
|
383
438
|
readonly ML_R5D_24XLARGE: "ml.r5d.24xlarge";
|
|
384
439
|
readonly ML_R5D_2XLARGE: "ml.r5d.2xlarge";
|
|
@@ -928,18 +983,6 @@ export interface AlgorithmSummary {
|
|
|
928
983
|
*/
|
|
929
984
|
AlgorithmStatus: AlgorithmStatus | string | undefined;
|
|
930
985
|
}
|
|
931
|
-
/**
|
|
932
|
-
* @public
|
|
933
|
-
* @enum
|
|
934
|
-
*/
|
|
935
|
-
export declare const CompressionType: {
|
|
936
|
-
readonly GZIP: "Gzip";
|
|
937
|
-
readonly NONE: "None";
|
|
938
|
-
};
|
|
939
|
-
/**
|
|
940
|
-
* @public
|
|
941
|
-
*/
|
|
942
|
-
export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType];
|
|
943
986
|
/**
|
|
944
987
|
* @public
|
|
945
988
|
* @enum
|
|
@@ -1328,7 +1371,8 @@ export interface OutputDataConfig {
|
|
|
1328
1371
|
S3OutputPath: string | undefined;
|
|
1329
1372
|
/**
|
|
1330
1373
|
* @public
|
|
1331
|
-
* <p>The model output compression type. Select <code>None</code> to output an uncompressed
|
|
1374
|
+
* <p>The model output compression type. Select <code>None</code> to output an uncompressed
|
|
1375
|
+
* model, recommended for large model outputs. Defaults to gzip.</p>
|
|
1332
1376
|
*/
|
|
1333
1377
|
CompressionType?: OutputCompressionType | string;
|
|
1334
1378
|
}
|
|
@@ -6431,10 +6475,12 @@ export declare const CapacitySizeType: {
|
|
|
6431
6475
|
export type CapacitySizeType = (typeof CapacitySizeType)[keyof typeof CapacitySizeType];
|
|
6432
6476
|
/**
|
|
6433
6477
|
* @public
|
|
6434
|
-
* <p>Specifies the type and size of the endpoint capacity to activate for a blue/green
|
|
6435
|
-
*
|
|
6436
|
-
*
|
|
6437
|
-
*
|
|
6478
|
+
* <p>Specifies the type and size of the endpoint capacity to activate for a blue/green
|
|
6479
|
+
* deployment, a rolling deployment, or a rollback strategy. You can specify your batches
|
|
6480
|
+
* as either instance count or the overall percentage or your fleet.</p>
|
|
6481
|
+
* <p>For a rollback strategy, if you don't specify the fields in this object, or if you set
|
|
6482
|
+
* the <code>Value</code> to 100%, then SageMaker uses a blue/green rollback strategy and rolls
|
|
6483
|
+
* all traffic back to the blue fleet.</p>
|
|
6438
6484
|
*/
|
|
6439
6485
|
export interface CapacitySize {
|
|
6440
6486
|
/**
|
|
@@ -7901,32 +7947,32 @@ export interface S3ModelDataSource {
|
|
|
7901
7947
|
* @public
|
|
7902
7948
|
* <p>Specifies how the ML model data is prepared.</p>
|
|
7903
7949
|
* <p>If you choose <code>Gzip</code> and choose <code>S3Object</code> as the value of
|
|
7904
|
-
*
|
|
7905
|
-
* gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object
|
|
7906
|
-
*
|
|
7950
|
+
* <code>S3DataType</code>, <code>S3Uri</code> identifies an object that is a
|
|
7951
|
+
* gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object during
|
|
7952
|
+
* model deployment.</p>
|
|
7907
7953
|
* <p>If you choose <code>None</code> and chooose <code>S3Object</code> as the value of
|
|
7908
|
-
*
|
|
7954
|
+
* <code>S3DataType</code>, <code>S3Uri</code> identifies an object that represents an
|
|
7909
7955
|
* uncompressed ML model to deploy.</p>
|
|
7910
7956
|
* <p>If you choose None and choose <code>S3Prefix</code> as the value of
|
|
7911
|
-
*
|
|
7912
|
-
* all objects represents the uncompressed ML model to deploy.</p>
|
|
7957
|
+
* <code>S3DataType</code>, <code>S3Uri</code> identifies a key name prefix, under
|
|
7958
|
+
* which all objects represents the uncompressed ML model to deploy.</p>
|
|
7913
7959
|
* <p>If you choose None, then SageMaker will follow rules below when creating model data files
|
|
7914
7960
|
* under /opt/ml/model directory for use by your inference code:</p>
|
|
7915
7961
|
* <ul>
|
|
7916
7962
|
* <li>
|
|
7917
7963
|
* <p>If you choose <code>S3Object</code> as the value of <code>S3DataType</code>,
|
|
7918
|
-
* then SageMaker will split the key of the S3 object referenced by <code>S3Uri</code>
|
|
7919
|
-
* slash (/), and use the last part as the filename of the file holding the
|
|
7920
|
-
* of the S3 object.</p>
|
|
7964
|
+
* then SageMaker will split the key of the S3 object referenced by <code>S3Uri</code>
|
|
7965
|
+
* by slash (/), and use the last part as the filename of the file holding the
|
|
7966
|
+
* content of the S3 object.</p>
|
|
7921
7967
|
* </li>
|
|
7922
7968
|
* <li>
|
|
7923
7969
|
* <p>If you choose <code>S3Prefix</code> as the value of <code>S3DataType</code>,
|
|
7924
|
-
* then for each S3 object under the key name pefix referenced by
|
|
7925
|
-
*
|
|
7926
|
-
* (relative to <code>/opt/ml/model</code>) of the file
|
|
7927
|
-
* S3 object. SageMaker will split the remainder by slash
|
|
7928
|
-
* directory names and the last part as filename
|
|
7929
|
-
* the S3 object.</p>
|
|
7970
|
+
* then for each S3 object under the key name pefix referenced by
|
|
7971
|
+
* <code>S3Uri</code>, SageMaker will trim its key by the prefix, and use the
|
|
7972
|
+
* remainder as the path (relative to <code>/opt/ml/model</code>) of the file
|
|
7973
|
+
* holding the content of the S3 object. SageMaker will split the remainder by slash
|
|
7974
|
+
* (/), using intermediate parts as directory names and the last part as filename
|
|
7975
|
+
* of the file holding the content of the S3 object.</p>
|
|
7930
7976
|
* </li>
|
|
7931
7977
|
* <li>
|
|
7932
7978
|
* <p>Do not use any of the following as file names or directory names:</p>
|
|
@@ -7949,21 +7995,21 @@ export interface S3ModelDataSource {
|
|
|
7949
7995
|
* </ul>
|
|
7950
7996
|
* </li>
|
|
7951
7997
|
* <li>
|
|
7952
|
-
* <p>Ambiguous file names will result in model deployment failure. For example,
|
|
7953
|
-
*
|
|
7954
|
-
*
|
|
7955
|
-
*
|
|
7956
|
-
*
|
|
7957
|
-
*
|
|
7958
|
-
* <code>/opt/ml/model/weights
|
|
7998
|
+
* <p>Ambiguous file names will result in model deployment failure. For example, if
|
|
7999
|
+
* your uncompressed ML model consists of two S3 objects
|
|
8000
|
+
* <code>s3://mybucket/model/weights</code> and
|
|
8001
|
+
* <code>s3://mybucket/model/weights/part1</code> and you specify
|
|
8002
|
+
* <code>s3://mybucket/model/</code> as the value of <code>S3Uri</code> and
|
|
8003
|
+
* <code>S3Prefix</code> as the value of <code>S3DataType</code>, then it will
|
|
8004
|
+
* result in name clash between <code>/opt/ml/model/weights</code> (a regular file)
|
|
8005
|
+
* and <code>/opt/ml/model/weights/</code> (a directory).</p>
|
|
7959
8006
|
* </li>
|
|
7960
8007
|
* <li>
|
|
7961
|
-
* <p>Do not organize the model artifacts in
|
|
7962
|
-
*
|
|
7963
|
-
*
|
|
7964
|
-
*
|
|
7965
|
-
*
|
|
7966
|
-
* </p>
|
|
8008
|
+
* <p>Do not organize the model artifacts in <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html">S3 console using
|
|
8009
|
+
* folders</a>. When you create a folder in S3 console, S3 creates a 0-byte
|
|
8010
|
+
* object with a key set to the folder name you provide. They key of the 0-byte
|
|
8011
|
+
* object ends with a slash (/) which violates SageMaker restrictions on model artifact
|
|
8012
|
+
* file names, leading to model deployment failure. </p>
|
|
7967
8013
|
* </li>
|
|
7968
8014
|
* </ul>
|
|
7969
8015
|
*/
|
|
@@ -7971,8 +8017,8 @@ export interface S3ModelDataSource {
|
|
|
7971
8017
|
}
|
|
7972
8018
|
/**
|
|
7973
8019
|
* @public
|
|
7974
|
-
* <p>Specifies the location of ML model data to deploy. If specified, you must specify
|
|
7975
|
-
*
|
|
8020
|
+
* <p>Specifies the location of ML model data to deploy. If specified, you must specify one
|
|
8021
|
+
* and only one of the available data sources.</p>
|
|
7976
8022
|
*/
|
|
7977
8023
|
export interface ModelDataSource {
|
|
7978
8024
|
/**
|
|
@@ -8116,8 +8162,8 @@ export interface ContainerDefinition {
|
|
|
8116
8162
|
* @public
|
|
8117
8163
|
* <p>Specifies the location of ML model data to deploy.</p>
|
|
8118
8164
|
* <note>
|
|
8119
|
-
* <p>Currently you cannot use <code>ModelDataSource</code> in conjunction with
|
|
8120
|
-
*
|
|
8165
|
+
* <p>Currently you cannot use <code>ModelDataSource</code> in conjunction with SageMaker
|
|
8166
|
+
* batch transform, SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker
|
|
8121
8167
|
* Marketplace.</p>
|
|
8122
8168
|
* </note>
|
|
8123
8169
|
*/
|
|
@@ -8562,6 +8608,11 @@ export interface TrainingSpecification {
|
|
|
8562
8608
|
* metric in a hyperparameter tuning job.</p>
|
|
8563
8609
|
*/
|
|
8564
8610
|
SupportedTuningJobObjectiveMetrics?: HyperParameterTuningJobObjective[];
|
|
8611
|
+
/**
|
|
8612
|
+
* @public
|
|
8613
|
+
* <p>The additional data source used during the training job.</p>
|
|
8614
|
+
*/
|
|
8615
|
+
AdditionalS3DataSource?: AdditionalS3DataSource;
|
|
8565
8616
|
}
|
|
8566
8617
|
/**
|
|
8567
8618
|
* @public
|
|
@@ -10458,103 +10509,3 @@ export declare const EdgePresetDeploymentType: {
|
|
|
10458
10509
|
* @public
|
|
10459
10510
|
*/
|
|
10460
10511
|
export type EdgePresetDeploymentType = (typeof EdgePresetDeploymentType)[keyof typeof EdgePresetDeploymentType];
|
|
10461
|
-
/**
|
|
10462
|
-
* @public
|
|
10463
|
-
* <p>The output configuration.</p>
|
|
10464
|
-
*/
|
|
10465
|
-
export interface EdgeOutputConfig {
|
|
10466
|
-
/**
|
|
10467
|
-
* @public
|
|
10468
|
-
* <p>The Amazon Simple Storage (S3) bucker URI.</p>
|
|
10469
|
-
*/
|
|
10470
|
-
S3OutputLocation: string | undefined;
|
|
10471
|
-
/**
|
|
10472
|
-
* @public
|
|
10473
|
-
* <p>The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job.
|
|
10474
|
-
* If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.</p>
|
|
10475
|
-
*/
|
|
10476
|
-
KmsKeyId?: string;
|
|
10477
|
-
/**
|
|
10478
|
-
* @public
|
|
10479
|
-
* <p>The deployment type SageMaker Edge Manager will create.
|
|
10480
|
-
* Currently only supports Amazon Web Services IoT Greengrass Version 2 components.</p>
|
|
10481
|
-
*/
|
|
10482
|
-
PresetDeploymentType?: EdgePresetDeploymentType | string;
|
|
10483
|
-
/**
|
|
10484
|
-
* @public
|
|
10485
|
-
* <p>The configuration used to create deployment artifacts.
|
|
10486
|
-
* Specify configuration options with a JSON string. The available configuration options for each type are:</p>
|
|
10487
|
-
* <ul>
|
|
10488
|
-
* <li>
|
|
10489
|
-
* <p>
|
|
10490
|
-
* <code>ComponentName</code> (optional) - Name of the GreenGrass V2 component. If not specified,
|
|
10491
|
-
* the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager
|
|
10492
|
-
* packaging job.</p>
|
|
10493
|
-
* </li>
|
|
10494
|
-
* <li>
|
|
10495
|
-
* <p>
|
|
10496
|
-
* <code>ComponentDescription</code> (optional) - Description of the component.</p>
|
|
10497
|
-
* </li>
|
|
10498
|
-
* <li>
|
|
10499
|
-
* <p>
|
|
10500
|
-
* <code>ComponentVersion</code> (optional) - The version of the component.</p>
|
|
10501
|
-
* <note>
|
|
10502
|
-
* <p>Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a<i>
|
|
10503
|
-
* major.minor.patch</i> number system. For example, version 1.0.0 represents the first
|
|
10504
|
-
* major release for a component. For more information, see the <a href="https://semver.org/">semantic version specification</a>.</p>
|
|
10505
|
-
* </note>
|
|
10506
|
-
* </li>
|
|
10507
|
-
* <li>
|
|
10508
|
-
* <p>
|
|
10509
|
-
* <code>PlatformOS</code> (optional) - The name of the operating system for the platform.
|
|
10510
|
-
* Supported platforms include Windows and Linux.</p>
|
|
10511
|
-
* </li>
|
|
10512
|
-
* <li>
|
|
10513
|
-
* <p>
|
|
10514
|
-
* <code>PlatformArchitecture</code> (optional) - The processor architecture for the platform. </p>
|
|
10515
|
-
* <p>Supported architectures Windows include: Windows32_x86, Windows64_x64.</p>
|
|
10516
|
-
* <p>Supported architectures for Linux include: Linux x86_64, Linux ARMV8.</p>
|
|
10517
|
-
* </li>
|
|
10518
|
-
* </ul>
|
|
10519
|
-
*/
|
|
10520
|
-
PresetDeploymentConfig?: string;
|
|
10521
|
-
}
|
|
10522
|
-
/**
|
|
10523
|
-
* @public
|
|
10524
|
-
*/
|
|
10525
|
-
export interface CreateDeviceFleetRequest {
|
|
10526
|
-
/**
|
|
10527
|
-
* @public
|
|
10528
|
-
* <p>The name of the fleet that the device belongs to.</p>
|
|
10529
|
-
*/
|
|
10530
|
-
DeviceFleetName: string | undefined;
|
|
10531
|
-
/**
|
|
10532
|
-
* @public
|
|
10533
|
-
* <p>The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).</p>
|
|
10534
|
-
*/
|
|
10535
|
-
RoleArn?: string;
|
|
10536
|
-
/**
|
|
10537
|
-
* @public
|
|
10538
|
-
* <p>A description of the fleet.</p>
|
|
10539
|
-
*/
|
|
10540
|
-
Description?: string;
|
|
10541
|
-
/**
|
|
10542
|
-
* @public
|
|
10543
|
-
* <p>The output configuration for storing sample data collected by the fleet.</p>
|
|
10544
|
-
*/
|
|
10545
|
-
OutputConfig: EdgeOutputConfig | undefined;
|
|
10546
|
-
/**
|
|
10547
|
-
* @public
|
|
10548
|
-
* <p>Creates tags for the specified fleet.</p>
|
|
10549
|
-
*/
|
|
10550
|
-
Tags?: Tag[];
|
|
10551
|
-
/**
|
|
10552
|
-
* @public
|
|
10553
|
-
* <p>Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
|
|
10554
|
-
* The name of the role alias generated will match this pattern:
|
|
10555
|
-
* "SageMakerEdge-\{DeviceFleetName\}".</p>
|
|
10556
|
-
* <p>For example, if your device fleet is called "demo-fleet", the name of
|
|
10557
|
-
* the role alias will be "SageMakerEdge-demo-fleet".</p>
|
|
10558
|
-
*/
|
|
10559
|
-
EnableIotRoleAlias?: boolean;
|
|
10560
|
-
}
|
|
@@ -1,5 +1,105 @@
|
|
|
1
1
|
import { LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
|
|
2
|
-
import { AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CaptureStatus, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfig, CollectionConfiguration, CollectionType, ContainerDefinition, ContentClassifier, ContinuousParameterRange, ConvergenceDetected,
|
|
2
|
+
import { AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CaptureStatus, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfig, CollectionConfiguration, CollectionType, ContainerDefinition, ContentClassifier, ContinuousParameterRange, ConvergenceDetected, EdgePresetDeploymentType, EndpointInput, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, OutputDataConfig, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TrainingInputMode, TrainingInstanceType, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* <p>The output configuration.</p>
|
|
6
|
+
*/
|
|
7
|
+
export interface EdgeOutputConfig {
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
* <p>The Amazon Simple Storage (S3) bucker URI.</p>
|
|
11
|
+
*/
|
|
12
|
+
S3OutputLocation: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* <p>The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job.
|
|
16
|
+
* If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.</p>
|
|
17
|
+
*/
|
|
18
|
+
KmsKeyId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
* <p>The deployment type SageMaker Edge Manager will create.
|
|
22
|
+
* Currently only supports Amazon Web Services IoT Greengrass Version 2 components.</p>
|
|
23
|
+
*/
|
|
24
|
+
PresetDeploymentType?: EdgePresetDeploymentType | string;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* <p>The configuration used to create deployment artifacts.
|
|
28
|
+
* Specify configuration options with a JSON string. The available configuration options for each type are:</p>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>
|
|
32
|
+
* <code>ComponentName</code> (optional) - Name of the GreenGrass V2 component. If not specified,
|
|
33
|
+
* the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager
|
|
34
|
+
* packaging job.</p>
|
|
35
|
+
* </li>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>
|
|
38
|
+
* <code>ComponentDescription</code> (optional) - Description of the component.</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>
|
|
42
|
+
* <code>ComponentVersion</code> (optional) - The version of the component.</p>
|
|
43
|
+
* <note>
|
|
44
|
+
* <p>Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a<i>
|
|
45
|
+
* major.minor.patch</i> number system. For example, version 1.0.0 represents the first
|
|
46
|
+
* major release for a component. For more information, see the <a href="https://semver.org/">semantic version specification</a>.</p>
|
|
47
|
+
* </note>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>
|
|
51
|
+
* <code>PlatformOS</code> (optional) - The name of the operating system for the platform.
|
|
52
|
+
* Supported platforms include Windows and Linux.</p>
|
|
53
|
+
* </li>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>
|
|
56
|
+
* <code>PlatformArchitecture</code> (optional) - The processor architecture for the platform. </p>
|
|
57
|
+
* <p>Supported architectures Windows include: Windows32_x86, Windows64_x64.</p>
|
|
58
|
+
* <p>Supported architectures for Linux include: Linux x86_64, Linux ARMV8.</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* </ul>
|
|
61
|
+
*/
|
|
62
|
+
PresetDeploymentConfig?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface CreateDeviceFleetRequest {
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
* <p>The name of the fleet that the device belongs to.</p>
|
|
71
|
+
*/
|
|
72
|
+
DeviceFleetName: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* <p>The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).</p>
|
|
76
|
+
*/
|
|
77
|
+
RoleArn?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* <p>A description of the fleet.</p>
|
|
81
|
+
*/
|
|
82
|
+
Description?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* <p>The output configuration for storing sample data collected by the fleet.</p>
|
|
86
|
+
*/
|
|
87
|
+
OutputConfig: EdgeOutputConfig | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* <p>Creates tags for the specified fleet.</p>
|
|
91
|
+
*/
|
|
92
|
+
Tags?: Tag[];
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* <p>Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
|
|
96
|
+
* The name of the role alias generated will match this pattern:
|
|
97
|
+
* "SageMakerEdge-\{DeviceFleetName\}".</p>
|
|
98
|
+
* <p>For example, if your device fleet is called "demo-fleet", the name of
|
|
99
|
+
* the role alias will be "SageMakerEdge-demo-fleet".</p>
|
|
100
|
+
*/
|
|
101
|
+
EnableIotRoleAlias?: boolean;
|
|
102
|
+
}
|
|
3
103
|
/**
|
|
4
104
|
* @public
|
|
5
105
|
* <p>The JupyterServer app settings.</p>
|
|
@@ -668,7 +768,8 @@ export interface RollingUpdatePolicy {
|
|
|
668
768
|
MaximumBatchSize: CapacitySize | undefined;
|
|
669
769
|
/**
|
|
670
770
|
* @public
|
|
671
|
-
* <p>The length of the baking period, during which SageMaker monitors alarms for each batch on
|
|
771
|
+
* <p>The length of the baking period, during which SageMaker monitors alarms for each batch on
|
|
772
|
+
* the new fleet.</p>
|
|
672
773
|
*/
|
|
673
774
|
WaitIntervalInSeconds: number | undefined;
|
|
674
775
|
/**
|
|
@@ -679,9 +780,10 @@ export interface RollingUpdatePolicy {
|
|
|
679
780
|
/**
|
|
680
781
|
* @public
|
|
681
782
|
* <p>Batch size for rollback to the old endpoint fleet. Each rolling step to provision
|
|
682
|
-
* capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the
|
|
683
|
-
* endpoint fleet. If this field is absent, the default value will be set to 100% of
|
|
684
|
-
* capacity which means to bring up the whole capacity of the old fleet at once
|
|
783
|
+
* capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the
|
|
784
|
+
* new endpoint fleet. If this field is absent, the default value will be set to 100% of
|
|
785
|
+
* total capacity which means to bring up the whole capacity of the old fleet at once
|
|
786
|
+
* during rollback.</p>
|
|
685
787
|
*/
|
|
686
788
|
RollbackMaximumBatchSize?: CapacitySize;
|
|
687
789
|
}
|
|
@@ -2974,7 +3076,8 @@ export interface HyperParameterTuningInstanceConfig {
|
|
|
2974
3076
|
* @public
|
|
2975
3077
|
* <p>The number of instances of the type specified by <code>InstanceType</code>. Choose an
|
|
2976
3078
|
* instance count larger than 1 for distributed training algorithms. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/data-parallel-use-api.html">Step 2:
|
|
2977
|
-
* Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK</a> for more
|
|
3079
|
+
* Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK</a> for more
|
|
3080
|
+
* information.</p>
|
|
2978
3081
|
*/
|
|
2979
3082
|
InstanceCount: number | undefined;
|
|
2980
3083
|
/**
|
|
@@ -10811,30 +10914,6 @@ export interface DeleteDeviceFleetRequest {
|
|
|
10811
10914
|
*/
|
|
10812
10915
|
DeviceFleetName: string | undefined;
|
|
10813
10916
|
}
|
|
10814
|
-
/**
|
|
10815
|
-
* @public
|
|
10816
|
-
* @enum
|
|
10817
|
-
*/
|
|
10818
|
-
export declare const RetentionType: {
|
|
10819
|
-
readonly Delete: "Delete";
|
|
10820
|
-
readonly Retain: "Retain";
|
|
10821
|
-
};
|
|
10822
|
-
/**
|
|
10823
|
-
* @public
|
|
10824
|
-
*/
|
|
10825
|
-
export type RetentionType = (typeof RetentionType)[keyof typeof RetentionType];
|
|
10826
|
-
/**
|
|
10827
|
-
* @public
|
|
10828
|
-
* <p>The retention policy for data stored on an Amazon Elastic File System (EFS) volume.</p>
|
|
10829
|
-
*/
|
|
10830
|
-
export interface RetentionPolicy {
|
|
10831
|
-
/**
|
|
10832
|
-
* @public
|
|
10833
|
-
* <p>The default is <code>Retain</code>, which specifies to keep the data stored on the EFS volume.</p>
|
|
10834
|
-
* <p>Specify <code>Delete</code> to delete the data stored on the EFS volume.</p>
|
|
10835
|
-
*/
|
|
10836
|
-
HomeEfsFileSystem?: RetentionType | string;
|
|
10837
|
-
}
|
|
10838
10917
|
/**
|
|
10839
10918
|
* @internal
|
|
10840
10919
|
*/
|