@aws-sdk/client-sagemaker 3.355.0 → 3.358.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 +15 -6
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/models/models_2.js +1 -12
- package/dist-cjs/models/models_3.js +13 -2
- package/dist-cjs/protocols/Aws_json1_1.js +53 -59
- package/dist-es/models/models_0.js +13 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/models/models_2.js +0 -11
- package/dist-es/models/models_3.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -7
- package/dist-types/SageMakerClient.d.ts +1 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +4 -3
- package/dist-types/commands/CreateAutoMLJobCommand.d.ts +6 -6
- package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +12 -8
- package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +10 -8
- package/dist-types/commands/CreateModelCommand.d.ts +14 -0
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +3 -2
- package/dist-types/commands/DeleteModelCardCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +4 -3
- package/dist-types/commands/DescribeAutoMLJobCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +2 -1
- package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +10 -8
- package/dist-types/commands/DescribeModelCommand.d.ts +14 -0
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +3 -2
- package/dist-types/commands/SearchCommand.d.ts +24 -8
- package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StopAutoMLJobCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +159 -164
- package/dist-types/models/models_1.d.ts +155 -48
- package/dist-types/models/models_2.d.ts +49 -204
- package/dist-types/models/models_3.d.ts +204 -73
- package/dist-types/models/models_4.d.ts +75 -3
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelCardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +29 -35
- package/dist-types/ts3.4/models/models_1.d.ts +40 -15
- package/dist-types/ts3.4/models/models_2.d.ts +17 -58
- package/dist-types/ts3.4/models/models_3.d.ts +63 -26
- package/dist-types/ts3.4/models/models_4.d.ts +23 -0
- package/package.json +29 -29
|
@@ -1155,6 +1155,18 @@ export interface Channel {
|
|
|
1155
1155
|
*/
|
|
1156
1156
|
ShuffleConfig?: ShuffleConfig;
|
|
1157
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* @public
|
|
1160
|
+
* @enum
|
|
1161
|
+
*/
|
|
1162
|
+
export declare const OutputCompressionType: {
|
|
1163
|
+
readonly GZIP: "GZIP";
|
|
1164
|
+
readonly NONE: "NONE";
|
|
1165
|
+
};
|
|
1166
|
+
/**
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
export type OutputCompressionType = (typeof OutputCompressionType)[keyof typeof OutputCompressionType];
|
|
1158
1170
|
/**
|
|
1159
1171
|
* @public
|
|
1160
1172
|
* <p>Provides information about how to store model training results (model
|
|
@@ -1214,6 +1226,10 @@ export interface OutputDataConfig {
|
|
|
1214
1226
|
* example, <code>s3://bucket-name/key-name-prefix</code>. </p>
|
|
1215
1227
|
*/
|
|
1216
1228
|
S3OutputPath: string | undefined;
|
|
1229
|
+
/**
|
|
1230
|
+
* <p>The model output compression type. Select <code>None</code> to output an uncompressed model, recommended for large model outputs. Defaults to gzip.</p>
|
|
1231
|
+
*/
|
|
1232
|
+
CompressionType?: OutputCompressionType | string;
|
|
1217
1233
|
}
|
|
1218
1234
|
/**
|
|
1219
1235
|
* @public
|
|
@@ -1267,6 +1283,7 @@ export declare const TrainingInstanceType: {
|
|
|
1267
1283
|
readonly ML_P3_2XLARGE: "ml.p3.2xlarge";
|
|
1268
1284
|
readonly ML_P3_8XLARGE: "ml.p3.8xlarge";
|
|
1269
1285
|
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
1286
|
+
readonly ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge";
|
|
1270
1287
|
readonly ML_TRN1_2XLARGE: "ml.trn1.2xlarge";
|
|
1271
1288
|
readonly ML_TRN1_32XLARGE: "ml.trn1.32xlarge";
|
|
1272
1289
|
};
|
|
@@ -5113,6 +5130,10 @@ export interface TabularJobConfig {
|
|
|
5113
5130
|
* <p>The type of supervised learning problem available for the model candidates of the AutoML
|
|
5114
5131
|
* job V2. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-problem-types">
|
|
5115
5132
|
* Amazon SageMaker Autopilot problem types</a>.</p>
|
|
5133
|
+
* <note>
|
|
5134
|
+
* <p>You must either specify the type of supervised learning problem in
|
|
5135
|
+
* <code>ProblemType</code> and provide the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJobV2.html#sagemaker-CreateAutoMLJobV2-request-AutoMLJobObjective">AutoMLJobObjective</a> metric, or none at all.</p>
|
|
5136
|
+
* </note>
|
|
5116
5137
|
*/
|
|
5117
5138
|
ProblemType?: ProblemType | string;
|
|
5118
5139
|
/**
|
|
@@ -6961,6 +6982,131 @@ export declare const ContainerMode: {
|
|
|
6961
6982
|
* @public
|
|
6962
6983
|
*/
|
|
6963
6984
|
export type ContainerMode = (typeof ContainerMode)[keyof typeof ContainerMode];
|
|
6985
|
+
/**
|
|
6986
|
+
* @public
|
|
6987
|
+
* @enum
|
|
6988
|
+
*/
|
|
6989
|
+
export declare const ModelCompressionType: {
|
|
6990
|
+
readonly Gzip: "Gzip";
|
|
6991
|
+
readonly None: "None";
|
|
6992
|
+
};
|
|
6993
|
+
/**
|
|
6994
|
+
* @public
|
|
6995
|
+
*/
|
|
6996
|
+
export type ModelCompressionType = (typeof ModelCompressionType)[keyof typeof ModelCompressionType];
|
|
6997
|
+
/**
|
|
6998
|
+
* @public
|
|
6999
|
+
* @enum
|
|
7000
|
+
*/
|
|
7001
|
+
export declare const S3ModelDataType: {
|
|
7002
|
+
readonly S3Object: "S3Object";
|
|
7003
|
+
readonly S3Prefix: "S3Prefix";
|
|
7004
|
+
};
|
|
7005
|
+
/**
|
|
7006
|
+
* @public
|
|
7007
|
+
*/
|
|
7008
|
+
export type S3ModelDataType = (typeof S3ModelDataType)[keyof typeof S3ModelDataType];
|
|
7009
|
+
/**
|
|
7010
|
+
* @public
|
|
7011
|
+
* <p>Specifies the S3 location of ML model data to deploy.</p>
|
|
7012
|
+
*/
|
|
7013
|
+
export interface S3ModelDataSource {
|
|
7014
|
+
/**
|
|
7015
|
+
* <p>Specifies the S3 path of ML model data to deploy.</p>
|
|
7016
|
+
*/
|
|
7017
|
+
S3Uri: string | undefined;
|
|
7018
|
+
/**
|
|
7019
|
+
* <p>Specifies the type of ML model data to deploy.</p>
|
|
7020
|
+
* <p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix.
|
|
7021
|
+
* SageMaker uses all objects that match the specified key name prefix as part of the ML model
|
|
7022
|
+
* data to deploy. A valid key name prefix identified by <code>S3Uri</code> always ends
|
|
7023
|
+
* with a forward slash (/).</p>
|
|
7024
|
+
* <p>If you choose S3Object, S3Uri identifies an object that is the ML model data to
|
|
7025
|
+
* deploy.</p>
|
|
7026
|
+
*/
|
|
7027
|
+
S3DataType: S3ModelDataType | string | undefined;
|
|
7028
|
+
/**
|
|
7029
|
+
* <p>Specifies how the ML model data is prepared.</p>
|
|
7030
|
+
* <p>If you choose <code>Gzip</code> and choose <code>S3Object</code> as the value of
|
|
7031
|
+
* <code>S3DataType</code>, <code>S3Uri</code> identifies an object that is a
|
|
7032
|
+
* gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object
|
|
7033
|
+
* during model deployment.</p>
|
|
7034
|
+
* <p>If you choose <code>None</code> and chooose <code>S3Object</code> as the value of
|
|
7035
|
+
* <code>S3DataType</code>, <code>S3Uri</code> identifies an object that represents an
|
|
7036
|
+
* uncompressed ML model to deploy.</p>
|
|
7037
|
+
* <p>If you choose None and choose <code>S3Prefix</code> as the value of
|
|
7038
|
+
* <code>S3DataType</code>, <code>S3Uri</code> identifies a key name prefix, under which
|
|
7039
|
+
* all objects represents the uncompressed ML model to deploy.</p>
|
|
7040
|
+
* <p>If you choose None, then SageMaker will follow rules below when creating model data files
|
|
7041
|
+
* under /opt/ml/model directory for use by your inference code:</p>
|
|
7042
|
+
* <ul>
|
|
7043
|
+
* <li>
|
|
7044
|
+
* <p>If you choose <code>S3Object</code> as the value of <code>S3DataType</code>,
|
|
7045
|
+
* then SageMaker will split the key of the S3 object referenced by <code>S3Uri</code> by
|
|
7046
|
+
* slash (/), and use the last part as the filename of the file holding the content
|
|
7047
|
+
* of the S3 object.</p>
|
|
7048
|
+
* </li>
|
|
7049
|
+
* <li>
|
|
7050
|
+
* <p>If you choose <code>S3Prefix</code> as the value of <code>S3DataType</code>,
|
|
7051
|
+
* then for each S3 object under the key name pefix referenced by <code>S3Uri</code>,
|
|
7052
|
+
* SageMaker will trim its key by the prefix, and use the remainder as the path
|
|
7053
|
+
* (relative to <code>/opt/ml/model</code>) of the file holding the content of the
|
|
7054
|
+
* S3 object. SageMaker will split the remainder by slash (/), using intermediate parts as
|
|
7055
|
+
* directory names and the last part as filename of the file holding the content of
|
|
7056
|
+
* the S3 object.</p>
|
|
7057
|
+
* </li>
|
|
7058
|
+
* <li>
|
|
7059
|
+
* <p>Do not use any of the following as file names or directory names:</p>
|
|
7060
|
+
* <ul>
|
|
7061
|
+
* <li>
|
|
7062
|
+
* <p>An empty or blank string</p>
|
|
7063
|
+
* </li>
|
|
7064
|
+
* <li>
|
|
7065
|
+
* <p>A string which contains null bytes</p>
|
|
7066
|
+
* </li>
|
|
7067
|
+
* <li>
|
|
7068
|
+
* <p>A string longer than 255 bytes</p>
|
|
7069
|
+
* </li>
|
|
7070
|
+
* <li>
|
|
7071
|
+
* <p>A single dot (<code>.</code>)</p>
|
|
7072
|
+
* </li>
|
|
7073
|
+
* <li>
|
|
7074
|
+
* <p>A double dot (<code>..</code>)</p>
|
|
7075
|
+
* </li>
|
|
7076
|
+
* </ul>
|
|
7077
|
+
* </li>
|
|
7078
|
+
* <li>
|
|
7079
|
+
* <p>Ambiguous file names will result in model deployment failure. For example,
|
|
7080
|
+
* if your uncompressed ML model consists of two S3 objects
|
|
7081
|
+
* <code>s3://mybucket/model/weights</code> and <code>s3://mybucket/model/weights/part1</code>
|
|
7082
|
+
* and you specify <code>s3://mybucket/model/</code> as the value of <code>S3Uri</code> and
|
|
7083
|
+
* <code>S3Prefix</code> as the value of S3DataType, then it will result in name clash between
|
|
7084
|
+
* <code>/opt/ml/model/weights</code> (a regular file) and <code>/opt/ml/model/weights/</code>
|
|
7085
|
+
* (a directory).</p>
|
|
7086
|
+
* </li>
|
|
7087
|
+
* <li>
|
|
7088
|
+
* <p>Do not organize the model artifacts in
|
|
7089
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html">S3 console using folders</a>.
|
|
7090
|
+
* When you create a folder in S3 console, S3 creates a 0-byte object with a key set to the
|
|
7091
|
+
* folder name you provide. They key of the 0-byte object ends with a slash (/) which violates
|
|
7092
|
+
* SageMaker restrictions on model artifact file names, leading to model deployment failure.
|
|
7093
|
+
* </p>
|
|
7094
|
+
* </li>
|
|
7095
|
+
* </ul>
|
|
7096
|
+
*/
|
|
7097
|
+
CompressionType: ModelCompressionType | string | undefined;
|
|
7098
|
+
}
|
|
7099
|
+
/**
|
|
7100
|
+
* @public
|
|
7101
|
+
* <p>Specifies the location of ML model data to deploy. If specified, you must specify
|
|
7102
|
+
* one and only one of the available data sources.</p>
|
|
7103
|
+
*/
|
|
7104
|
+
export interface ModelDataSource {
|
|
7105
|
+
/**
|
|
7106
|
+
* <p>Specifies the S3 location of ML model data to deploy.</p>
|
|
7107
|
+
*/
|
|
7108
|
+
S3DataSource: S3ModelDataSource | undefined;
|
|
7109
|
+
}
|
|
6964
7110
|
/**
|
|
6965
7111
|
* @public
|
|
6966
7112
|
* @enum
|
|
@@ -7082,6 +7228,15 @@ export interface ContainerDefinition {
|
|
|
7082
7228
|
* <p>Specifies additional configuration for multi-model endpoints.</p>
|
|
7083
7229
|
*/
|
|
7084
7230
|
MultiModelConfig?: MultiModelConfig;
|
|
7231
|
+
/**
|
|
7232
|
+
* <p>Specifies the location of ML model data to deploy.</p>
|
|
7233
|
+
* <note>
|
|
7234
|
+
* <p>Currently you cannot use <code>ModelDataSource</code> in conjuction with
|
|
7235
|
+
* SageMaker batch transform, SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker
|
|
7236
|
+
* Marketplace.</p>
|
|
7237
|
+
* </note>
|
|
7238
|
+
*/
|
|
7239
|
+
ModelDataSource?: ModelDataSource;
|
|
7085
7240
|
}
|
|
7086
7241
|
/**
|
|
7087
7242
|
* @public
|
|
@@ -7824,8 +7979,8 @@ export interface CreateAutoMLJobV2Request {
|
|
|
7824
7979
|
AutoMLJobName: string | undefined;
|
|
7825
7980
|
/**
|
|
7826
7981
|
* <p>An array of channel objects describing the input data and their location. Each channel
|
|
7827
|
-
* is a named input source. Similar to <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJob.html#sagemaker-CreateAutoMLJob-request-InputDataConfig">InputDataConfig</a>
|
|
7828
|
-
* formats depend on the problem type:</p>
|
|
7982
|
+
* is a named input source. Similar to the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateAutoMLJob.html#sagemaker-CreateAutoMLJob-request-InputDataConfig">InputDataConfig</a> attribute in the <code>CreateAutoMLJob</code> input parameters.
|
|
7983
|
+
* The supported formats depend on the problem type:</p>
|
|
7829
7984
|
* <ul>
|
|
7830
7985
|
* <li>
|
|
7831
7986
|
* <p>For Tabular problem types: <code>S3Prefix</code>,
|
|
@@ -7848,12 +8003,6 @@ export interface CreateAutoMLJobV2Request {
|
|
|
7848
8003
|
OutputDataConfig: AutoMLOutputDataConfig | undefined;
|
|
7849
8004
|
/**
|
|
7850
8005
|
* <p>Defines the configuration settings of one of the supported problem types.</p>
|
|
7851
|
-
* <note>
|
|
7852
|
-
* <p>For tabular problem types, you must either specify the type of supervised learning
|
|
7853
|
-
* problem in <code>AutoMLProblemTypeConfig</code>
|
|
7854
|
-
* (<code>TabularJobConfig.ProblemType</code>) and provide the
|
|
7855
|
-
* <code>AutoMLJobObjective</code>, or none at all.</p>
|
|
7856
|
-
* </note>
|
|
7857
8006
|
*/
|
|
7858
8007
|
AutoMLProblemTypeConfig: AutoMLProblemTypeConfig | undefined;
|
|
7859
8008
|
/**
|
|
@@ -7876,10 +8025,10 @@ export interface CreateAutoMLJobV2Request {
|
|
|
7876
8025
|
* the default objective metric depends on the problem type. For the list of default values
|
|
7877
8026
|
* per problem type, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html">AutoMLJobObjective</a>.</p>
|
|
7878
8027
|
* <note>
|
|
7879
|
-
* <p>For tabular problem types, you must either provide the
|
|
8028
|
+
* <p>For tabular problem types, you must either provide both the
|
|
7880
8029
|
* <code>AutoMLJobObjective</code> and indicate the type of supervised learning problem
|
|
7881
8030
|
* in <code>AutoMLProblemTypeConfig</code> (<code>TabularJobConfig.ProblemType</code>), or
|
|
7882
|
-
* none.</p>
|
|
8031
|
+
* none at all.</p>
|
|
7883
8032
|
* </note>
|
|
7884
8033
|
*/
|
|
7885
8034
|
AutoMLJobObjective?: AutoMLJobObjective;
|
|
@@ -9546,157 +9695,3 @@ export interface UserSettings {
|
|
|
9546
9695
|
*/
|
|
9547
9696
|
CanvasAppSettings?: CanvasAppSettings;
|
|
9548
9697
|
}
|
|
9549
|
-
/**
|
|
9550
|
-
* @public
|
|
9551
|
-
* @enum
|
|
9552
|
-
*/
|
|
9553
|
-
export declare const ExecutionRoleIdentityConfig: {
|
|
9554
|
-
readonly DISABLED: "DISABLED";
|
|
9555
|
-
readonly USER_PROFILE_NAME: "USER_PROFILE_NAME";
|
|
9556
|
-
};
|
|
9557
|
-
/**
|
|
9558
|
-
* @public
|
|
9559
|
-
*/
|
|
9560
|
-
export type ExecutionRoleIdentityConfig = (typeof ExecutionRoleIdentityConfig)[keyof typeof ExecutionRoleIdentityConfig];
|
|
9561
|
-
/**
|
|
9562
|
-
* @public
|
|
9563
|
-
* <p>A collection of settings that configure the <code>RStudioServerPro</code> Domain-level
|
|
9564
|
-
* app.</p>
|
|
9565
|
-
*/
|
|
9566
|
-
export interface RStudioServerProDomainSettings {
|
|
9567
|
-
/**
|
|
9568
|
-
* <p>The ARN of the execution role for the <code>RStudioServerPro</code> Domain-level
|
|
9569
|
-
* app.</p>
|
|
9570
|
-
*/
|
|
9571
|
-
DomainExecutionRoleArn: string | undefined;
|
|
9572
|
-
/**
|
|
9573
|
-
* <p>A URL pointing to an RStudio Connect server.</p>
|
|
9574
|
-
*/
|
|
9575
|
-
RStudioConnectUrl?: string;
|
|
9576
|
-
/**
|
|
9577
|
-
* <p>A URL pointing to an RStudio Package Manager server.</p>
|
|
9578
|
-
*/
|
|
9579
|
-
RStudioPackageManagerUrl?: string;
|
|
9580
|
-
/**
|
|
9581
|
-
* <p>Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that
|
|
9582
|
-
* the version runs on.</p>
|
|
9583
|
-
*/
|
|
9584
|
-
DefaultResourceSpec?: ResourceSpec;
|
|
9585
|
-
}
|
|
9586
|
-
/**
|
|
9587
|
-
* @public
|
|
9588
|
-
* <p>A collection of settings that apply to the <code>SageMaker Domain</code>. These
|
|
9589
|
-
* settings are specified through the <code>CreateDomain</code> API call.</p>
|
|
9590
|
-
*/
|
|
9591
|
-
export interface DomainSettings {
|
|
9592
|
-
/**
|
|
9593
|
-
* <p>The security groups for the Amazon Virtual Private Cloud that the <code>Domain</code> uses for
|
|
9594
|
-
* communication between Domain-level apps and user apps.</p>
|
|
9595
|
-
*/
|
|
9596
|
-
SecurityGroupIds?: string[];
|
|
9597
|
-
/**
|
|
9598
|
-
* <p>A collection of settings that configure the <code>RStudioServerPro</code> Domain-level
|
|
9599
|
-
* app.</p>
|
|
9600
|
-
*/
|
|
9601
|
-
RStudioServerProDomainSettings?: RStudioServerProDomainSettings;
|
|
9602
|
-
/**
|
|
9603
|
-
* <p>The configuration for attaching a SageMaker user profile name to the execution role as a
|
|
9604
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">sts:SourceIdentity key</a>.</p>
|
|
9605
|
-
*/
|
|
9606
|
-
ExecutionRoleIdentityConfig?: ExecutionRoleIdentityConfig | string;
|
|
9607
|
-
}
|
|
9608
|
-
/**
|
|
9609
|
-
* @public
|
|
9610
|
-
*/
|
|
9611
|
-
export interface CreateDomainRequest {
|
|
9612
|
-
/**
|
|
9613
|
-
* <p>A name for the domain.</p>
|
|
9614
|
-
*/
|
|
9615
|
-
DomainName: string | undefined;
|
|
9616
|
-
/**
|
|
9617
|
-
* <p>The mode of authentication that members use to access the domain.</p>
|
|
9618
|
-
*/
|
|
9619
|
-
AuthMode: AuthMode | string | undefined;
|
|
9620
|
-
/**
|
|
9621
|
-
* <p>The default settings to use to create a user profile when <code>UserSettings</code> isn't specified
|
|
9622
|
-
* in the call to the <code>CreateUserProfile</code> API.</p>
|
|
9623
|
-
* <p>
|
|
9624
|
-
* <code>SecurityGroups</code> is aggregated when specified in both calls. For all other
|
|
9625
|
-
* settings in <code>UserSettings</code>, the values specified in <code>CreateUserProfile</code>
|
|
9626
|
-
* take precedence over those specified in <code>CreateDomain</code>.</p>
|
|
9627
|
-
*/
|
|
9628
|
-
DefaultUserSettings: UserSettings | undefined;
|
|
9629
|
-
/**
|
|
9630
|
-
* <p>The VPC subnets that Studio uses for communication.</p>
|
|
9631
|
-
*/
|
|
9632
|
-
SubnetIds: string[] | undefined;
|
|
9633
|
-
/**
|
|
9634
|
-
* <p>The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.</p>
|
|
9635
|
-
*/
|
|
9636
|
-
VpcId: string | undefined;
|
|
9637
|
-
/**
|
|
9638
|
-
* <p>Tags to associated with the Domain. Each tag consists of a key and an optional value.
|
|
9639
|
-
* Tag keys must be unique per resource. Tags are searchable using the
|
|
9640
|
-
* <code>Search</code> API.</p>
|
|
9641
|
-
* <p>Tags that you specify for the Domain are also added to all Apps that the
|
|
9642
|
-
* Domain launches.</p>
|
|
9643
|
-
*/
|
|
9644
|
-
Tags?: Tag[];
|
|
9645
|
-
/**
|
|
9646
|
-
* <p>Specifies the VPC used for non-EFS traffic. The default value is
|
|
9647
|
-
* <code>PublicInternetOnly</code>.</p>
|
|
9648
|
-
* <ul>
|
|
9649
|
-
* <li>
|
|
9650
|
-
* <p>
|
|
9651
|
-
* <code>PublicInternetOnly</code> - Non-EFS traffic is through a VPC managed by
|
|
9652
|
-
* Amazon SageMaker, which allows direct internet access</p>
|
|
9653
|
-
* </li>
|
|
9654
|
-
* <li>
|
|
9655
|
-
* <p>
|
|
9656
|
-
* <code>VpcOnly</code> - All Studio traffic is through the specified VPC and subnets</p>
|
|
9657
|
-
* </li>
|
|
9658
|
-
* </ul>
|
|
9659
|
-
*/
|
|
9660
|
-
AppNetworkAccessType?: AppNetworkAccessType | string;
|
|
9661
|
-
/**
|
|
9662
|
-
* @deprecated
|
|
9663
|
-
*
|
|
9664
|
-
* <p>Use <code>KmsKeyId</code>.</p>
|
|
9665
|
-
*/
|
|
9666
|
-
HomeEfsFileSystemKmsKeyId?: string;
|
|
9667
|
-
/**
|
|
9668
|
-
* <p>SageMaker uses Amazon Web Services KMS to encrypt the EFS volume attached to the domain with an Amazon Web Services managed
|
|
9669
|
-
* key by default. For more control, specify a customer managed key.</p>
|
|
9670
|
-
*/
|
|
9671
|
-
KmsKeyId?: string;
|
|
9672
|
-
/**
|
|
9673
|
-
* <p>The entity that creates and manages the required security groups for inter-app
|
|
9674
|
-
* communication in <code>VPCOnly</code> mode. Required when
|
|
9675
|
-
* <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
|
|
9676
|
-
* <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
|
|
9677
|
-
* provided. If setting up the domain for use with RStudio, this value must be set to
|
|
9678
|
-
* <code>Service</code>.</p>
|
|
9679
|
-
*/
|
|
9680
|
-
AppSecurityGroupManagement?: AppSecurityGroupManagement | string;
|
|
9681
|
-
/**
|
|
9682
|
-
* <p>A collection of <code>Domain</code> settings.</p>
|
|
9683
|
-
*/
|
|
9684
|
-
DomainSettings?: DomainSettings;
|
|
9685
|
-
/**
|
|
9686
|
-
* <p>The default settings used to create a space.</p>
|
|
9687
|
-
*/
|
|
9688
|
-
DefaultSpaceSettings?: DefaultSpaceSettings;
|
|
9689
|
-
}
|
|
9690
|
-
/**
|
|
9691
|
-
* @public
|
|
9692
|
-
*/
|
|
9693
|
-
export interface CreateDomainResponse {
|
|
9694
|
-
/**
|
|
9695
|
-
* <p>The Amazon Resource Name (ARN) of the created domain.</p>
|
|
9696
|
-
*/
|
|
9697
|
-
DomainArn?: string;
|
|
9698
|
-
/**
|
|
9699
|
-
* <p>The URL to the created domain.</p>
|
|
9700
|
-
*/
|
|
9701
|
-
Url?: string;
|
|
9702
|
-
}
|
|
@@ -1,5 +1,159 @@
|
|
|
1
1
|
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AnnotationConsolidationConfig, AppSpecification, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CaptureContentTypeHeader, CaptureOption, CaptureStatus, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ContainerDefinition, ContentClassifier, ContinuousParameterRange, ConvergenceDetected, EdgeOutputConfig, EndpointInput, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, OutputDataConfig, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantInstanceType, ResourceConfig, StoppingCondition, Tag, TrainingInputMode, TrainingInstanceType, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserSettings, VpcConfig } from "./models_0";
|
|
2
|
+
import { AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CaptureContentTypeHeader, CaptureOption, CaptureStatus, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, ClarifyExplainerConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ContainerDefinition, ContentClassifier, ContinuousParameterRange, ConvergenceDetected, DefaultSpaceSettings, EdgeOutputConfig, EndpointInput, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterServerAppSettings, KernelGatewayAppSettings, 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, UserSettings, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const ExecutionRoleIdentityConfig: {
|
|
8
|
+
readonly DISABLED: "DISABLED";
|
|
9
|
+
readonly USER_PROFILE_NAME: "USER_PROFILE_NAME";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ExecutionRoleIdentityConfig = (typeof ExecutionRoleIdentityConfig)[keyof typeof ExecutionRoleIdentityConfig];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>A collection of settings that configure the <code>RStudioServerPro</code> Domain-level
|
|
18
|
+
* app.</p>
|
|
19
|
+
*/
|
|
20
|
+
export interface RStudioServerProDomainSettings {
|
|
21
|
+
/**
|
|
22
|
+
* <p>The ARN of the execution role for the <code>RStudioServerPro</code> Domain-level
|
|
23
|
+
* app.</p>
|
|
24
|
+
*/
|
|
25
|
+
DomainExecutionRoleArn: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>A URL pointing to an RStudio Connect server.</p>
|
|
28
|
+
*/
|
|
29
|
+
RStudioConnectUrl?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>A URL pointing to an RStudio Package Manager server.</p>
|
|
32
|
+
*/
|
|
33
|
+
RStudioPackageManagerUrl?: string;
|
|
34
|
+
/**
|
|
35
|
+
* <p>Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that
|
|
36
|
+
* the version runs on.</p>
|
|
37
|
+
*/
|
|
38
|
+
DefaultResourceSpec?: ResourceSpec;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* <p>A collection of settings that apply to the <code>SageMaker Domain</code>. These
|
|
43
|
+
* settings are specified through the <code>CreateDomain</code> API call.</p>
|
|
44
|
+
*/
|
|
45
|
+
export interface DomainSettings {
|
|
46
|
+
/**
|
|
47
|
+
* <p>The security groups for the Amazon Virtual Private Cloud that the <code>Domain</code> uses for
|
|
48
|
+
* communication between Domain-level apps and user apps.</p>
|
|
49
|
+
*/
|
|
50
|
+
SecurityGroupIds?: string[];
|
|
51
|
+
/**
|
|
52
|
+
* <p>A collection of settings that configure the <code>RStudioServerPro</code> Domain-level
|
|
53
|
+
* app.</p>
|
|
54
|
+
*/
|
|
55
|
+
RStudioServerProDomainSettings?: RStudioServerProDomainSettings;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The configuration for attaching a SageMaker user profile name to the execution role as a
|
|
58
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">sts:SourceIdentity key</a>.</p>
|
|
59
|
+
*/
|
|
60
|
+
ExecutionRoleIdentityConfig?: ExecutionRoleIdentityConfig | string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export interface CreateDomainRequest {
|
|
66
|
+
/**
|
|
67
|
+
* <p>A name for the domain.</p>
|
|
68
|
+
*/
|
|
69
|
+
DomainName: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The mode of authentication that members use to access the domain.</p>
|
|
72
|
+
*/
|
|
73
|
+
AuthMode: AuthMode | string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The default settings to use to create a user profile when <code>UserSettings</code> isn't specified
|
|
76
|
+
* in the call to the <code>CreateUserProfile</code> API.</p>
|
|
77
|
+
* <p>
|
|
78
|
+
* <code>SecurityGroups</code> is aggregated when specified in both calls. For all other
|
|
79
|
+
* settings in <code>UserSettings</code>, the values specified in <code>CreateUserProfile</code>
|
|
80
|
+
* take precedence over those specified in <code>CreateDomain</code>.</p>
|
|
81
|
+
*/
|
|
82
|
+
DefaultUserSettings: UserSettings | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The VPC subnets that Studio uses for communication.</p>
|
|
85
|
+
*/
|
|
86
|
+
SubnetIds: string[] | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.</p>
|
|
89
|
+
*/
|
|
90
|
+
VpcId: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>Tags to associated with the Domain. Each tag consists of a key and an optional value.
|
|
93
|
+
* Tag keys must be unique per resource. Tags are searchable using the
|
|
94
|
+
* <code>Search</code> API.</p>
|
|
95
|
+
* <p>Tags that you specify for the Domain are also added to all Apps that the
|
|
96
|
+
* Domain launches.</p>
|
|
97
|
+
*/
|
|
98
|
+
Tags?: Tag[];
|
|
99
|
+
/**
|
|
100
|
+
* <p>Specifies the VPC used for non-EFS traffic. The default value is
|
|
101
|
+
* <code>PublicInternetOnly</code>.</p>
|
|
102
|
+
* <ul>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>
|
|
105
|
+
* <code>PublicInternetOnly</code> - Non-EFS traffic is through a VPC managed by
|
|
106
|
+
* Amazon SageMaker, which allows direct internet access</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>
|
|
110
|
+
* <code>VpcOnly</code> - All Studio traffic is through the specified VPC and subnets</p>
|
|
111
|
+
* </li>
|
|
112
|
+
* </ul>
|
|
113
|
+
*/
|
|
114
|
+
AppNetworkAccessType?: AppNetworkAccessType | string;
|
|
115
|
+
/**
|
|
116
|
+
* @deprecated
|
|
117
|
+
*
|
|
118
|
+
* <p>Use <code>KmsKeyId</code>.</p>
|
|
119
|
+
*/
|
|
120
|
+
HomeEfsFileSystemKmsKeyId?: string;
|
|
121
|
+
/**
|
|
122
|
+
* <p>SageMaker uses Amazon Web Services KMS to encrypt the EFS volume attached to the domain with an Amazon Web Services managed
|
|
123
|
+
* key by default. For more control, specify a customer managed key.</p>
|
|
124
|
+
*/
|
|
125
|
+
KmsKeyId?: string;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The entity that creates and manages the required security groups for inter-app
|
|
128
|
+
* communication in <code>VPCOnly</code> mode. Required when
|
|
129
|
+
* <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and
|
|
130
|
+
* <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is
|
|
131
|
+
* provided. If setting up the domain for use with RStudio, this value must be set to
|
|
132
|
+
* <code>Service</code>.</p>
|
|
133
|
+
*/
|
|
134
|
+
AppSecurityGroupManagement?: AppSecurityGroupManagement | string;
|
|
135
|
+
/**
|
|
136
|
+
* <p>A collection of <code>Domain</code> settings.</p>
|
|
137
|
+
*/
|
|
138
|
+
DomainSettings?: DomainSettings;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The default settings used to create a space.</p>
|
|
141
|
+
*/
|
|
142
|
+
DefaultSpaceSettings?: DefaultSpaceSettings;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export interface CreateDomainResponse {
|
|
148
|
+
/**
|
|
149
|
+
* <p>The Amazon Resource Name (ARN) of the created domain.</p>
|
|
150
|
+
*/
|
|
151
|
+
DomainArn?: string;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The URL to the created domain.</p>
|
|
154
|
+
*/
|
|
155
|
+
Url?: string;
|
|
156
|
+
}
|
|
3
157
|
/**
|
|
4
158
|
* @public
|
|
5
159
|
* <p>Contains information about the configuration of a model in a deployment.</p>
|
|
@@ -9481,53 +9635,6 @@ export interface DeleteModelBiasJobDefinitionRequest {
|
|
|
9481
9635
|
*/
|
|
9482
9636
|
JobDefinitionName: string | undefined;
|
|
9483
9637
|
}
|
|
9484
|
-
/**
|
|
9485
|
-
* @public
|
|
9486
|
-
*/
|
|
9487
|
-
export interface DeleteModelCardRequest {
|
|
9488
|
-
/**
|
|
9489
|
-
* <p>The name of the model card to delete.</p>
|
|
9490
|
-
*/
|
|
9491
|
-
ModelCardName: string | undefined;
|
|
9492
|
-
}
|
|
9493
|
-
/**
|
|
9494
|
-
* @public
|
|
9495
|
-
*/
|
|
9496
|
-
export interface DeleteModelExplainabilityJobDefinitionRequest {
|
|
9497
|
-
/**
|
|
9498
|
-
* <p>The name of the model explainability job definition to delete.</p>
|
|
9499
|
-
*/
|
|
9500
|
-
JobDefinitionName: string | undefined;
|
|
9501
|
-
}
|
|
9502
|
-
/**
|
|
9503
|
-
* @public
|
|
9504
|
-
*/
|
|
9505
|
-
export interface DeleteModelPackageInput {
|
|
9506
|
-
/**
|
|
9507
|
-
* <p>The name or Amazon Resource Name (ARN) of the model package to delete.</p>
|
|
9508
|
-
* <p>When you specify a name, the name must have 1 to 63 characters. Valid
|
|
9509
|
-
* characters are a-z, A-Z, 0-9, and - (hyphen).</p>
|
|
9510
|
-
*/
|
|
9511
|
-
ModelPackageName: string | undefined;
|
|
9512
|
-
}
|
|
9513
|
-
/**
|
|
9514
|
-
* @public
|
|
9515
|
-
*/
|
|
9516
|
-
export interface DeleteModelPackageGroupInput {
|
|
9517
|
-
/**
|
|
9518
|
-
* <p>The name of the model group to delete.</p>
|
|
9519
|
-
*/
|
|
9520
|
-
ModelPackageGroupName: string | undefined;
|
|
9521
|
-
}
|
|
9522
|
-
/**
|
|
9523
|
-
* @public
|
|
9524
|
-
*/
|
|
9525
|
-
export interface DeleteModelPackageGroupPolicyInput {
|
|
9526
|
-
/**
|
|
9527
|
-
* <p>The name of the model group for which to delete the policy.</p>
|
|
9528
|
-
*/
|
|
9529
|
-
ModelPackageGroupName: string | undefined;
|
|
9530
|
-
}
|
|
9531
9638
|
/**
|
|
9532
9639
|
* @internal
|
|
9533
9640
|
*/
|