@aws-sdk/client-sagemaker 3.95.0 → 3.101.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/CHANGELOG.md +30 -0
- package/dist-cjs/commands/CreateImageCommand.js +2 -1
- package/dist-cjs/commands/ListSubscribedWorkteamsCommand.js +2 -1
- package/dist-cjs/commands/ListTagsCommand.js +1 -2
- package/dist-cjs/models/models_0.js +19 -11
- package/dist-cjs/models/models_1.js +18 -18
- package/dist-cjs/models/models_2.js +18 -18
- package/dist-cjs/models/models_3.js +15 -3
- package/dist-cjs/protocols/Aws_json1_1.js +42 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/commands/CreateImageCommand.js +2 -1
- package/dist-es/commands/ListSubscribedWorkteamsCommand.js +2 -1
- package/dist-es/commands/ListTagsCommand.js +1 -2
- package/dist-es/models/models_0.js +12 -4
- package/dist-es/models/models_1.js +8 -8
- package/dist-es/models/models_2.js +8 -8
- package/dist-es/models/models_3.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +40 -5
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/SageMaker.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +2 -1
- package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +118 -48
- package/dist-types/models/models_1.d.ts +44 -60
- package/dist-types/models/models_2.d.ts +57 -42
- package/dist-types/models/models_3.d.ts +46 -2
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListSubscribedWorkteamsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +19 -8
- package/dist-types/ts3.4/models/models_1.d.ts +19 -28
- package/dist-types/ts3.4/models/models_2.d.ts +31 -23
- package/dist-types/ts3.4/models/models_3.d.ts +26 -2
- package/package.json +6 -6
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { __assign, __read } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var CreateImageResponse;
|
|
4
|
+
(function (CreateImageResponse) {
|
|
5
|
+
CreateImageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(CreateImageResponse || (CreateImageResponse = {}));
|
|
3
7
|
export var CreateImageVersionRequest;
|
|
4
8
|
(function (CreateImageVersionRequest) {
|
|
5
9
|
CreateImageVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -333,6 +337,10 @@ export var DirectInternetAccess;
|
|
|
333
337
|
DirectInternetAccess["DISABLED"] = "Disabled";
|
|
334
338
|
DirectInternetAccess["ENABLED"] = "Enabled";
|
|
335
339
|
})(DirectInternetAccess || (DirectInternetAccess = {}));
|
|
340
|
+
export var InstanceMetadataServiceConfiguration;
|
|
341
|
+
(function (InstanceMetadataServiceConfiguration) {
|
|
342
|
+
InstanceMetadataServiceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
343
|
+
})(InstanceMetadataServiceConfiguration || (InstanceMetadataServiceConfiguration = {}));
|
|
336
344
|
export var _InstanceType;
|
|
337
345
|
(function (_InstanceType) {
|
|
338
346
|
_InstanceType["ML_C4_2XLARGE"] = "ml.c4.2xlarge";
|
|
@@ -1372,11 +1380,3 @@ export var DescribeLabelingJobRequest;
|
|
|
1372
1380
|
(function (DescribeLabelingJobRequest) {
|
|
1373
1381
|
DescribeLabelingJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1374
1382
|
})(DescribeLabelingJobRequest || (DescribeLabelingJobRequest = {}));
|
|
1375
|
-
export var LabelCounters;
|
|
1376
|
-
(function (LabelCounters) {
|
|
1377
|
-
LabelCounters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1378
|
-
})(LabelCounters || (LabelCounters = {}));
|
|
1379
|
-
export var LabelingJobOutput;
|
|
1380
|
-
(function (LabelingJobOutput) {
|
|
1381
|
-
LabelingJobOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1382
|
-
})(LabelingJobOutput || (LabelingJobOutput = {}));
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { __assign, __read } from "tslib";
|
|
2
2
|
import { TrialComponentParameterValue, } from "./models_1";
|
|
3
|
+
export var LabelCounters;
|
|
4
|
+
(function (LabelCounters) {
|
|
5
|
+
LabelCounters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(LabelCounters || (LabelCounters = {}));
|
|
7
|
+
export var LabelingJobOutput;
|
|
8
|
+
(function (LabelingJobOutput) {
|
|
9
|
+
LabelingJobOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
+
})(LabelingJobOutput || (LabelingJobOutput = {}));
|
|
3
11
|
export var LabelingJobStatus;
|
|
4
12
|
(function (LabelingJobStatus) {
|
|
5
13
|
LabelingJobStatus["COMPLETED"] = "Completed";
|
|
@@ -1361,11 +1369,3 @@ export var ListSubscribedWorkteamsRequest;
|
|
|
1361
1369
|
(function (ListSubscribedWorkteamsRequest) {
|
|
1362
1370
|
ListSubscribedWorkteamsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1363
1371
|
})(ListSubscribedWorkteamsRequest || (ListSubscribedWorkteamsRequest = {}));
|
|
1364
|
-
export var ListSubscribedWorkteamsResponse;
|
|
1365
|
-
(function (ListSubscribedWorkteamsResponse) {
|
|
1366
|
-
ListSubscribedWorkteamsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1367
|
-
})(ListSubscribedWorkteamsResponse || (ListSubscribedWorkteamsResponse = {}));
|
|
1368
|
-
export var ListTagsInput;
|
|
1369
|
-
(function (ListTagsInput) {
|
|
1370
|
-
ListTagsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1371
|
-
})(ListTagsInput || (ListTagsInput = {}));
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { __assign, __read } from "tslib";
|
|
2
2
|
import { OidcConfig, TrialComponentParameterValue, } from "./models_1";
|
|
3
|
+
export var ListSubscribedWorkteamsResponse;
|
|
4
|
+
(function (ListSubscribedWorkteamsResponse) {
|
|
5
|
+
ListSubscribedWorkteamsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(ListSubscribedWorkteamsResponse || (ListSubscribedWorkteamsResponse = {}));
|
|
7
|
+
export var ListTagsInput;
|
|
8
|
+
(function (ListTagsInput) {
|
|
9
|
+
ListTagsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
+
})(ListTagsInput || (ListTagsInput = {}));
|
|
3
11
|
export var ListTagsOutput;
|
|
4
12
|
(function (ListTagsOutput) {
|
|
5
13
|
ListTagsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -15310,6 +15310,10 @@ var serializeAws_json1_1AttributeNames = function (input, context) {
|
|
|
15310
15310
|
return entry;
|
|
15311
15311
|
});
|
|
15312
15312
|
};
|
|
15313
|
+
var serializeAws_json1_1AutoMLCandidateGenerationConfig = function (input, context) {
|
|
15314
|
+
return __assign({}, (input.FeatureSpecificationS3Uri !== undefined &&
|
|
15315
|
+
input.FeatureSpecificationS3Uri !== null && { FeatureSpecificationS3Uri: input.FeatureSpecificationS3Uri }));
|
|
15316
|
+
};
|
|
15313
15317
|
var serializeAws_json1_1AutoMLChannel = function (input, context) {
|
|
15314
15318
|
return __assign(__assign(__assign(__assign(__assign({}, (input.ChannelType !== undefined && input.ChannelType !== null && { ChannelType: input.ChannelType })), (input.CompressionType !== undefined &&
|
|
15315
15319
|
input.CompressionType !== null && { CompressionType: input.CompressionType })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.DataSource !== undefined &&
|
|
@@ -15346,7 +15350,10 @@ var serializeAws_json1_1AutoMLJobCompletionCriteria = function (input, context)
|
|
|
15346
15350
|
}));
|
|
15347
15351
|
};
|
|
15348
15352
|
var serializeAws_json1_1AutoMLJobConfig = function (input, context) {
|
|
15349
|
-
return __assign(__assign(__assign({}, (input.
|
|
15353
|
+
return __assign(__assign(__assign(__assign({}, (input.CandidateGenerationConfig !== undefined &&
|
|
15354
|
+
input.CandidateGenerationConfig !== null && {
|
|
15355
|
+
CandidateGenerationConfig: serializeAws_json1_1AutoMLCandidateGenerationConfig(input.CandidateGenerationConfig, context),
|
|
15356
|
+
})), (input.CompletionCriteria !== undefined &&
|
|
15350
15357
|
input.CompletionCriteria !== null && {
|
|
15351
15358
|
CompletionCriteria: serializeAws_json1_1AutoMLJobCompletionCriteria(input.CompletionCriteria, context),
|
|
15352
15359
|
})), (input.DataSplitConfig !== undefined &&
|
|
@@ -16036,7 +16043,7 @@ var serializeAws_json1_1CreateMonitoringScheduleRequest = function (input, conte
|
|
|
16036
16043
|
input.MonitoringScheduleName !== null && { MonitoringScheduleName: input.MonitoringScheduleName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16037
16044
|
};
|
|
16038
16045
|
var serializeAws_json1_1CreateNotebookInstanceInput = function (input, context) {
|
|
16039
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorTypes !== undefined &&
|
|
16046
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorTypes !== undefined &&
|
|
16040
16047
|
input.AcceleratorTypes !== null && {
|
|
16041
16048
|
AcceleratorTypes: serializeAws_json1_1NotebookInstanceAcceleratorTypes(input.AcceleratorTypes, context),
|
|
16042
16049
|
})), (input.AdditionalCodeRepositories !== undefined &&
|
|
@@ -16044,7 +16051,10 @@ var serializeAws_json1_1CreateNotebookInstanceInput = function (input, context)
|
|
|
16044
16051
|
AdditionalCodeRepositories: serializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls(input.AdditionalCodeRepositories, context),
|
|
16045
16052
|
})), (input.DefaultCodeRepository !== undefined &&
|
|
16046
16053
|
input.DefaultCodeRepository !== null && { DefaultCodeRepository: input.DefaultCodeRepository })), (input.DirectInternetAccess !== undefined &&
|
|
16047
|
-
input.DirectInternetAccess !== null && { DirectInternetAccess: input.DirectInternetAccess })), (input.
|
|
16054
|
+
input.DirectInternetAccess !== null && { DirectInternetAccess: input.DirectInternetAccess })), (input.InstanceMetadataServiceConfiguration !== undefined &&
|
|
16055
|
+
input.InstanceMetadataServiceConfiguration !== null && {
|
|
16056
|
+
InstanceMetadataServiceConfiguration: serializeAws_json1_1InstanceMetadataServiceConfiguration(input.InstanceMetadataServiceConfiguration, context),
|
|
16057
|
+
})), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.LifecycleConfigName !== undefined &&
|
|
16048
16058
|
input.LifecycleConfigName !== null && { LifecycleConfigName: input.LifecycleConfigName })), (input.NotebookInstanceName !== undefined &&
|
|
16049
16059
|
input.NotebookInstanceName !== null && { NotebookInstanceName: input.NotebookInstanceName })), (input.PlatformIdentifier !== undefined &&
|
|
16050
16060
|
input.PlatformIdentifier !== null && { PlatformIdentifier: input.PlatformIdentifier })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.RootAccess !== undefined && input.RootAccess !== null && { RootAccess: input.RootAccess })), (input.SecurityGroupIds !== undefined &&
|
|
@@ -17253,6 +17263,12 @@ var serializeAws_json1_1InputModes = function (input, context) {
|
|
|
17253
17263
|
return entry;
|
|
17254
17264
|
});
|
|
17255
17265
|
};
|
|
17266
|
+
var serializeAws_json1_1InstanceMetadataServiceConfiguration = function (input, context) {
|
|
17267
|
+
return __assign({}, (input.MinimumInstanceMetadataServiceVersion !== undefined &&
|
|
17268
|
+
input.MinimumInstanceMetadataServiceVersion !== null && {
|
|
17269
|
+
MinimumInstanceMetadataServiceVersion: input.MinimumInstanceMetadataServiceVersion,
|
|
17270
|
+
}));
|
|
17271
|
+
};
|
|
17256
17272
|
var serializeAws_json1_1IntegerParameterRange = function (input, context) {
|
|
17257
17273
|
return __assign(__assign(__assign(__assign({}, (input.MaxValue !== undefined && input.MaxValue !== null && { MaxValue: input.MaxValue })), (input.MinValue !== undefined && input.MinValue !== null && { MinValue: input.MinValue })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ScalingType !== undefined && input.ScalingType !== null && { ScalingType: input.ScalingType }));
|
|
17258
17274
|
};
|
|
@@ -19419,7 +19435,7 @@ var serializeAws_json1_1UpdateMonitoringScheduleRequest = function (input, conte
|
|
|
19419
19435
|
input.MonitoringScheduleName !== null && { MonitoringScheduleName: input.MonitoringScheduleName }));
|
|
19420
19436
|
};
|
|
19421
19437
|
var serializeAws_json1_1UpdateNotebookInstanceInput = function (input, context) {
|
|
19422
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorTypes !== undefined &&
|
|
19438
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorTypes !== undefined &&
|
|
19423
19439
|
input.AcceleratorTypes !== null && {
|
|
19424
19440
|
AcceleratorTypes: serializeAws_json1_1NotebookInstanceAcceleratorTypes(input.AcceleratorTypes, context),
|
|
19425
19441
|
})), (input.AdditionalCodeRepositories !== undefined &&
|
|
@@ -19436,7 +19452,10 @@ var serializeAws_json1_1UpdateNotebookInstanceInput = function (input, context)
|
|
|
19436
19452
|
input.DisassociateDefaultCodeRepository !== null && {
|
|
19437
19453
|
DisassociateDefaultCodeRepository: input.DisassociateDefaultCodeRepository,
|
|
19438
19454
|
})), (input.DisassociateLifecycleConfig !== undefined &&
|
|
19439
|
-
input.DisassociateLifecycleConfig !== null && { DisassociateLifecycleConfig: input.DisassociateLifecycleConfig })), (input.
|
|
19455
|
+
input.DisassociateLifecycleConfig !== null && { DisassociateLifecycleConfig: input.DisassociateLifecycleConfig })), (input.InstanceMetadataServiceConfiguration !== undefined &&
|
|
19456
|
+
input.InstanceMetadataServiceConfiguration !== null && {
|
|
19457
|
+
InstanceMetadataServiceConfiguration: serializeAws_json1_1InstanceMetadataServiceConfiguration(input.InstanceMetadataServiceConfiguration, context),
|
|
19458
|
+
})), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.LifecycleConfigName !== undefined &&
|
|
19440
19459
|
input.LifecycleConfigName !== null && { LifecycleConfigName: input.LifecycleConfigName })), (input.NotebookInstanceName !== undefined &&
|
|
19441
19460
|
input.NotebookInstanceName !== null && { NotebookInstanceName: input.NotebookInstanceName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.RootAccess !== undefined && input.RootAccess !== null && { RootAccess: input.RootAccess })), (input.VolumeSizeInGB !== undefined &&
|
|
19442
19461
|
input.VolumeSizeInGB !== null && { VolumeSizeInGB: input.VolumeSizeInGB }));
|
|
@@ -20052,6 +20071,11 @@ var deserializeAws_json1_1AutoMLCandidate = function (output, context) {
|
|
|
20052
20071
|
ObjectiveStatus: __expectString(output.ObjectiveStatus),
|
|
20053
20072
|
};
|
|
20054
20073
|
};
|
|
20074
|
+
var deserializeAws_json1_1AutoMLCandidateGenerationConfig = function (output, context) {
|
|
20075
|
+
return {
|
|
20076
|
+
FeatureSpecificationS3Uri: __expectString(output.FeatureSpecificationS3Uri),
|
|
20077
|
+
};
|
|
20078
|
+
};
|
|
20055
20079
|
var deserializeAws_json1_1AutoMLCandidates = function (output, context) {
|
|
20056
20080
|
var retVal = (output || [])
|
|
20057
20081
|
.filter(function (e) { return e != null; })
|
|
@@ -20139,6 +20163,9 @@ var deserializeAws_json1_1AutoMLJobCompletionCriteria = function (output, contex
|
|
|
20139
20163
|
};
|
|
20140
20164
|
var deserializeAws_json1_1AutoMLJobConfig = function (output, context) {
|
|
20141
20165
|
return {
|
|
20166
|
+
CandidateGenerationConfig: output.CandidateGenerationConfig !== undefined && output.CandidateGenerationConfig !== null
|
|
20167
|
+
? deserializeAws_json1_1AutoMLCandidateGenerationConfig(output.CandidateGenerationConfig, context)
|
|
20168
|
+
: undefined,
|
|
20142
20169
|
CompletionCriteria: output.CompletionCriteria !== undefined && output.CompletionCriteria !== null
|
|
20143
20170
|
? deserializeAws_json1_1AutoMLJobCompletionCriteria(output.CompletionCriteria, context)
|
|
20144
20171
|
: undefined,
|
|
@@ -22188,6 +22215,9 @@ var deserializeAws_json1_1DescribeNotebookInstanceOutput = function (output, con
|
|
|
22188
22215
|
DefaultCodeRepository: __expectString(output.DefaultCodeRepository),
|
|
22189
22216
|
DirectInternetAccess: __expectString(output.DirectInternetAccess),
|
|
22190
22217
|
FailureReason: __expectString(output.FailureReason),
|
|
22218
|
+
InstanceMetadataServiceConfiguration: output.InstanceMetadataServiceConfiguration !== undefined && output.InstanceMetadataServiceConfiguration !== null
|
|
22219
|
+
? deserializeAws_json1_1InstanceMetadataServiceConfiguration(output.InstanceMetadataServiceConfiguration, context)
|
|
22220
|
+
: undefined,
|
|
22191
22221
|
InstanceType: __expectString(output.InstanceType),
|
|
22192
22222
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
22193
22223
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
@@ -23847,6 +23877,11 @@ var deserializeAws_json1_1InputModes = function (output, context) {
|
|
|
23847
23877
|
});
|
|
23848
23878
|
return retVal;
|
|
23849
23879
|
};
|
|
23880
|
+
var deserializeAws_json1_1InstanceMetadataServiceConfiguration = function (output, context) {
|
|
23881
|
+
return {
|
|
23882
|
+
MinimumInstanceMetadataServiceVersion: __expectString(output.MinimumInstanceMetadataServiceVersion),
|
|
23883
|
+
};
|
|
23884
|
+
};
|
|
23850
23885
|
var deserializeAws_json1_1IntegerParameterRange = function (output, context) {
|
|
23851
23886
|
return {
|
|
23852
23887
|
MaxValue: __expectString(output.MaxValue),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
21
|
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
22
|
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
21
23
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
@@ -1060,7 +1060,7 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
1060
1060
|
* <p>
|
|
1061
1061
|
* <code>ModelName</code> - Identifies the model to use. <code>ModelName</code>
|
|
1062
1062
|
* must be the name of an existing Amazon SageMaker model in the same Amazon Web Services Region and Amazon Web Services
|
|
1063
|
-
*
|
|
1063
|
+
* account. For information on creating a model, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html">CreateModel</a>.</p>
|
|
1064
1064
|
* </li>
|
|
1065
1065
|
* <li>
|
|
1066
1066
|
* <p>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { CreateImageRequest
|
|
3
|
+
import { CreateImageRequest } from "../models/models_0";
|
|
4
|
+
import { CreateImageResponse } from "../models/models_1";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
export interface CreateImageCommandInput extends CreateImageRequest {
|
|
6
7
|
}
|
|
@@ -22,7 +22,7 @@ export interface CreateTransformJobCommandOutput extends CreateTransformJobRespo
|
|
|
22
22
|
* <p>
|
|
23
23
|
* <code>ModelName</code> - Identifies the model to use. <code>ModelName</code>
|
|
24
24
|
* must be the name of an existing Amazon SageMaker model in the same Amazon Web Services Region and Amazon Web Services
|
|
25
|
-
*
|
|
25
|
+
* account. For information on creating a model, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html">CreateModel</a>.</p>
|
|
26
26
|
* </li>
|
|
27
27
|
* <li>
|
|
28
28
|
* <p>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { ListSubscribedWorkteamsRequest
|
|
3
|
+
import { ListSubscribedWorkteamsRequest } from "../models/models_2";
|
|
4
|
+
import { ListSubscribedWorkteamsResponse } from "../models/models_3";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
export interface ListSubscribedWorkteamsCommandInput extends ListSubscribedWorkteamsRequest {
|
|
6
7
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { ListTagsInput } from "../models/
|
|
4
|
-
import { ListTagsOutput } from "../models/models_3";
|
|
3
|
+
import { ListTagsInput, ListTagsOutput } from "../models/models_3";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
export interface ListTagsCommandInput extends ListTagsInput {
|
|
7
6
|
}
|
|
@@ -532,17 +532,31 @@ export interface AlgorithmSpecification {
|
|
|
532
532
|
/**
|
|
533
533
|
* <p>The registry path of the Docker image
|
|
534
534
|
* that contains the training algorithm.
|
|
535
|
-
* For information about docker registry paths for built-in algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html">
|
|
536
|
-
*
|
|
537
|
-
*
|
|
538
|
-
*
|
|
539
|
-
*
|
|
535
|
+
* For information about docker registry paths for SageMaker built-in algorithms, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html">Docker Registry Paths and Example Code</a> in the <i>Amazon SageMaker developer guide</i>.
|
|
536
|
+
* SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code>
|
|
537
|
+
* image path formats. For more information about using your custom training container, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon SageMaker</a>.</p>
|
|
538
|
+
* <note>
|
|
539
|
+
* <p>You must specify either the algorithm name to the <code>AlgorithmName</code> parameter
|
|
540
|
+
* or the image URI of the algorithm container
|
|
541
|
+
* to the <code>TrainingImage</code> parameter.</p>
|
|
542
|
+
* <p>For more information, see the note in the <code>AlgorithmName</code> parameter description.</p>
|
|
543
|
+
* </note>
|
|
540
544
|
*/
|
|
541
545
|
TrainingImage?: string;
|
|
542
546
|
/**
|
|
543
547
|
* <p>The name of the algorithm resource to use for the training job. This must be an
|
|
544
|
-
* algorithm resource that you created or subscribe to on Amazon Web Services Marketplace
|
|
545
|
-
*
|
|
548
|
+
* algorithm resource that you created or subscribe to on Amazon Web Services Marketplace.</p>
|
|
549
|
+
* <note>
|
|
550
|
+
* <p>You must specify either the algorithm name to the <code>AlgorithmName</code> parameter
|
|
551
|
+
* or the image URI of the algorithm container
|
|
552
|
+
* to the <code>TrainingImage</code> parameter.</p>
|
|
553
|
+
* <p>Note that the <code>AlgorithmName</code> parameter is mutually exclusive
|
|
554
|
+
* with the <code>TrainingImage</code> parameter.
|
|
555
|
+
* If you specify a value for the <code>AlgorithmName</code> parameter,
|
|
556
|
+
* you can't specify a value for <code>TrainingImage</code>, and vice versa.</p>
|
|
557
|
+
* <p>If you specify values for both parameters, the training job might break; if you don't specify
|
|
558
|
+
* any value for both parameters, the training job might raise a <code>null</code> error.</p>
|
|
559
|
+
* </note>
|
|
546
560
|
*/
|
|
547
561
|
AlgorithmName?: string;
|
|
548
562
|
/**
|
|
@@ -1547,7 +1561,8 @@ export interface TransformOutput {
|
|
|
1547
1561
|
* Developer Guide.</i>
|
|
1548
1562
|
* </p>
|
|
1549
1563
|
* <p>The KMS key policy must grant permission to the IAM role that you specify in your
|
|
1550
|
-
*
|
|
1564
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html">CreateModel</a>
|
|
1565
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html">Using
|
|
1551
1566
|
* Key Policies in Amazon Web Services KMS</a> in the <i>Amazon Web Services Key Management Service Developer
|
|
1552
1567
|
* Guide</i>.</p>
|
|
1553
1568
|
*/
|
|
@@ -3393,6 +3408,14 @@ export declare enum AppInstanceType {
|
|
|
3393
3408
|
ML_G4DN_4XLARGE = "ml.g4dn.4xlarge",
|
|
3394
3409
|
ML_G4DN_8XLARGE = "ml.g4dn.8xlarge",
|
|
3395
3410
|
ML_G4DN_XLARGE = "ml.g4dn.xlarge",
|
|
3411
|
+
ML_G5_12XLARGE = "ml.g5.12xlarge",
|
|
3412
|
+
ML_G5_16XLARGE = "ml.g5.16xlarge",
|
|
3413
|
+
ML_G5_24XLARGE = "ml.g5.24xlarge",
|
|
3414
|
+
ML_G5_2XLARGE = "ml.g5.2xlarge",
|
|
3415
|
+
ML_G5_48XLARGE = "ml.g5.48xlarge",
|
|
3416
|
+
ML_G5_4XLARGE = "ml.g5.4xlarge",
|
|
3417
|
+
ML_G5_8XLARGE = "ml.g5.8xlarge",
|
|
3418
|
+
ML_G5_XLARGE = "ml.g5.xlarge",
|
|
3396
3419
|
ML_M5D_12XLARGE = "ml.m5d.12xlarge",
|
|
3397
3420
|
ML_M5D_16XLARGE = "ml.m5d.16xlarge",
|
|
3398
3421
|
ML_M5D_24XLARGE = "ml.m5d.24xlarge",
|
|
@@ -3857,7 +3880,12 @@ export interface MetricDatum {
|
|
|
3857
3880
|
*/
|
|
3858
3881
|
Set?: MetricSetSource | string;
|
|
3859
3882
|
/**
|
|
3860
|
-
* <p>The name of the standard metric
|
|
3883
|
+
* <p>The name of the standard metric. </p>
|
|
3884
|
+
* <note>
|
|
3885
|
+
* <p>For definitions of the standard metrics, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-metrics">
|
|
3886
|
+
* <code>Autopilot candidate metrics</code>
|
|
3887
|
+
* </a>.</p>
|
|
3888
|
+
* </note>
|
|
3861
3889
|
*/
|
|
3862
3890
|
StandardMetricName?: AutoMLMetricExtendedEnum | string;
|
|
3863
3891
|
}
|
|
@@ -4037,6 +4065,28 @@ export declare namespace AutoMLCandidate {
|
|
|
4037
4065
|
*/
|
|
4038
4066
|
const filterSensitiveLog: (obj: AutoMLCandidate) => any;
|
|
4039
4067
|
}
|
|
4068
|
+
/**
|
|
4069
|
+
* <p>Stores the config information for how a candidate is generated (optional).</p>
|
|
4070
|
+
*/
|
|
4071
|
+
export interface AutoMLCandidateGenerationConfig {
|
|
4072
|
+
/**
|
|
4073
|
+
* <p>A URL to the Amazon S3 data source containing selected features from the input data source to
|
|
4074
|
+
* run an Autopilot job (optional). This file should be in json format as shown below: </p>
|
|
4075
|
+
* <p>
|
|
4076
|
+
* <code>{ "FeatureAttributeNames":["col1", "col2", ...] }</code>.</p>
|
|
4077
|
+
* <p>The key name <code>FeatureAttributeNames</code> is fixed. The values listed in
|
|
4078
|
+
* <code>["col1", "col2", ...]</code> is case sensitive and should be a list of strings
|
|
4079
|
+
* containing unique values that are a subset of the column names in the input data. The list
|
|
4080
|
+
* of columns provided must not include the target column.</p>
|
|
4081
|
+
*/
|
|
4082
|
+
FeatureSpecificationS3Uri?: string;
|
|
4083
|
+
}
|
|
4084
|
+
export declare namespace AutoMLCandidateGenerationConfig {
|
|
4085
|
+
/**
|
|
4086
|
+
* @internal
|
|
4087
|
+
*/
|
|
4088
|
+
const filterSensitiveLog: (obj: AutoMLCandidateGenerationConfig) => any;
|
|
4089
|
+
}
|
|
4040
4090
|
export declare enum AutoMLChannelType {
|
|
4041
4091
|
TRAINING = "training",
|
|
4042
4092
|
VALIDATION = "validation"
|
|
@@ -4083,9 +4133,9 @@ export declare namespace AutoMLDataSource {
|
|
|
4083
4133
|
const filterSensitiveLog: (obj: AutoMLDataSource) => any;
|
|
4084
4134
|
}
|
|
4085
4135
|
/**
|
|
4086
|
-
* <p>A channel is a named input source that training algorithms can consume. The
|
|
4087
|
-
*
|
|
4088
|
-
*
|
|
4136
|
+
* <p>A channel is a named input source that training algorithms can consume. The validation
|
|
4137
|
+
* dataset size is limited to less than 2 GB. The training dataset size must be less than 100
|
|
4138
|
+
* GB. For more information, see .</p>
|
|
4089
4139
|
* <note>
|
|
4090
4140
|
* <p>A validation dataset must contain the same headers as the training dataset.</p>
|
|
4091
4141
|
* </note>
|
|
@@ -4113,9 +4163,12 @@ export interface AutoMLChannel {
|
|
|
4113
4163
|
*/
|
|
4114
4164
|
ContentType?: string;
|
|
4115
4165
|
/**
|
|
4116
|
-
* <p>The channel type (optional) is an enum string. The default value is
|
|
4166
|
+
* <p>The channel type (optional) is an <code>enum</code> string. The default value is
|
|
4117
4167
|
* <code>training</code>. Channels for training and validation must share the same
|
|
4118
|
-
* <code>ContentType</code> and <code>TargetAttributeName</code
|
|
4168
|
+
* <code>ContentType</code> and <code>TargetAttributeName</code>. For information on
|
|
4169
|
+
* specifying training and validation channel types, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-data-sources-training-or-validation">
|
|
4170
|
+
* <code>How to specify training and validation datasets</code>
|
|
4171
|
+
* </a>.</p>
|
|
4119
4172
|
*/
|
|
4120
4173
|
ChannelType?: AutoMLChannelType | string;
|
|
4121
4174
|
}
|
|
@@ -4133,8 +4186,8 @@ export declare namespace AutoMLChannel {
|
|
|
4133
4186
|
export interface AutoMLDataSplitConfig {
|
|
4134
4187
|
/**
|
|
4135
4188
|
* <p>The validation fraction (optional) is a float that specifies the portion of the training
|
|
4136
|
-
* dataset to be used for validation. The default value is 0.2, and values
|
|
4137
|
-
* 1. We recommend setting this value to be less than 0.5.</p>
|
|
4189
|
+
* dataset to be used for validation. The default value is 0.2, and values must be greater
|
|
4190
|
+
* than 0 and less than 1. We recommend setting this value to be less than 0.5.</p>
|
|
4138
4191
|
*/
|
|
4139
4192
|
ValidationFraction?: number;
|
|
4140
4193
|
}
|
|
@@ -4258,6 +4311,10 @@ export interface AutoMLJobConfig {
|
|
|
4258
4311
|
* <p>Type: AutoMLDataSplitConfig</p>
|
|
4259
4312
|
*/
|
|
4260
4313
|
DataSplitConfig?: AutoMLDataSplitConfig;
|
|
4314
|
+
/**
|
|
4315
|
+
* <p>The configuration for generating a candidate for an AutoML job (optional). </p>
|
|
4316
|
+
*/
|
|
4317
|
+
CandidateGenerationConfig?: AutoMLCandidateGenerationConfig;
|
|
4261
4318
|
}
|
|
4262
4319
|
export declare namespace AutoMLJobConfig {
|
|
4263
4320
|
/**
|
|
@@ -4875,15 +4932,16 @@ export declare enum CandidateSortBy {
|
|
|
4875
4932
|
Status = "Status"
|
|
4876
4933
|
}
|
|
4877
4934
|
/**
|
|
4878
|
-
* <p
|
|
4935
|
+
* <p>Configuration specifying how to treat different headers. If no headers are specified SageMaker
|
|
4936
|
+
* will by default base64 encode when capturing the data.</p>
|
|
4879
4937
|
*/
|
|
4880
4938
|
export interface CaptureContentTypeHeader {
|
|
4881
4939
|
/**
|
|
4882
|
-
* <p
|
|
4940
|
+
* <p>The list of all content type headers that SageMaker will treat as CSV and capture accordingly.</p>
|
|
4883
4941
|
*/
|
|
4884
4942
|
CsvContentTypes?: string[];
|
|
4885
4943
|
/**
|
|
4886
|
-
* <p
|
|
4944
|
+
* <p>The list of all content type headers that SageMaker will treat as JSON and capture accordingly.</p>
|
|
4887
4945
|
*/
|
|
4888
4946
|
JsonContentTypes?: string[];
|
|
4889
4947
|
}
|
|
@@ -4898,11 +4956,11 @@ export declare enum CaptureMode {
|
|
|
4898
4956
|
OUTPUT = "Output"
|
|
4899
4957
|
}
|
|
4900
4958
|
/**
|
|
4901
|
-
* <p
|
|
4959
|
+
* <p>Specifies data Model Monitor will capture.</p>
|
|
4902
4960
|
*/
|
|
4903
4961
|
export interface CaptureOption {
|
|
4904
4962
|
/**
|
|
4905
|
-
* <p
|
|
4963
|
+
* <p>Specify the boundary of data to capture.</p>
|
|
4906
4964
|
*/
|
|
4907
4965
|
CaptureMode: CaptureMode | string | undefined;
|
|
4908
4966
|
}
|
|
@@ -6274,8 +6332,9 @@ export interface CreateAutoMLJobRequest {
|
|
|
6274
6332
|
AutoMLJobName: string | undefined;
|
|
6275
6333
|
/**
|
|
6276
6334
|
* <p>An array of channel objects that describes the input data and its location. Each channel
|
|
6277
|
-
* is a named input source. Similar to <code>InputDataConfig</code> supported by . Format(s) supported: CSV.
|
|
6278
|
-
* of 500 rows
|
|
6335
|
+
* is a named input source. Similar to <code>InputDataConfig</code> supported by . Format(s) supported: CSV, Parquet.
|
|
6336
|
+
* A minimum of 500 rows is required for the training dataset. There is not a minimum number
|
|
6337
|
+
* of rows required for the validation dataset.</p>
|
|
6279
6338
|
*/
|
|
6280
6339
|
InputDataConfig: AutoMLChannel[] | undefined;
|
|
6281
6340
|
/**
|
|
@@ -6284,9 +6343,8 @@ export interface CreateAutoMLJobRequest {
|
|
|
6284
6343
|
*/
|
|
6285
6344
|
OutputDataConfig: AutoMLOutputDataConfig | undefined;
|
|
6286
6345
|
/**
|
|
6287
|
-
* <p>Defines the type of supervised learning available for the candidates.
|
|
6288
|
-
*
|
|
6289
|
-
* <code>Regression</code>. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-problem-types.html">
|
|
6346
|
+
* <p>Defines the type of supervised learning available for the candidates. For more
|
|
6347
|
+
* information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-problem-types.html">
|
|
6290
6348
|
* Amazon SageMaker Autopilot problem types and algorithm support</a>.</p>
|
|
6291
6349
|
*/
|
|
6292
6350
|
ProblemType?: ProblemType | string;
|
|
@@ -6297,8 +6355,7 @@ export interface CreateAutoMLJobRequest {
|
|
|
6297
6355
|
*/
|
|
6298
6356
|
AutoMLJobObjective?: AutoMLJobObjective;
|
|
6299
6357
|
/**
|
|
6300
|
-
* <p>
|
|
6301
|
-
* the AutoML job.</p>
|
|
6358
|
+
* <p>A collection of settings used to configure an AutoML job.</p>
|
|
6302
6359
|
*/
|
|
6303
6360
|
AutoMLJobConfig?: AutoMLJobConfig;
|
|
6304
6361
|
/**
|
|
@@ -8300,31 +8357,56 @@ export declare namespace CreateEndpointOutput {
|
|
|
8300
8357
|
const filterSensitiveLog: (obj: CreateEndpointOutput) => any;
|
|
8301
8358
|
}
|
|
8302
8359
|
/**
|
|
8303
|
-
* <p
|
|
8360
|
+
* <p>Configuration to control how SageMaker captures inference data.</p>
|
|
8304
8361
|
*/
|
|
8305
8362
|
export interface DataCaptureConfig {
|
|
8306
8363
|
/**
|
|
8307
|
-
* <p
|
|
8364
|
+
* <p>Whether data capture should be enabled or disabled (defaults to enabled).</p>
|
|
8308
8365
|
*/
|
|
8309
8366
|
EnableCapture?: boolean;
|
|
8310
8367
|
/**
|
|
8311
|
-
* <p
|
|
8368
|
+
* <p>The percentage of requests SageMaker will capture. A lower value is recommended for
|
|
8369
|
+
* Endpoints with high traffic.</p>
|
|
8312
8370
|
*/
|
|
8313
8371
|
InitialSamplingPercentage: number | undefined;
|
|
8314
8372
|
/**
|
|
8315
|
-
* <p
|
|
8373
|
+
* <p>The Amazon S3 location used to capture the data.</p>
|
|
8316
8374
|
*/
|
|
8317
8375
|
DestinationS3Uri: string | undefined;
|
|
8318
8376
|
/**
|
|
8319
|
-
* <p
|
|
8377
|
+
* <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on
|
|
8378
|
+
* the storage volume attached to the ML compute instance that hosts the endpoint.</p>
|
|
8379
|
+
* <p>The KmsKeyId can be any of the following formats: </p>
|
|
8380
|
+
* <ul>
|
|
8381
|
+
* <li>
|
|
8382
|
+
* <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
|
|
8383
|
+
* </p>
|
|
8384
|
+
* </li>
|
|
8385
|
+
* <li>
|
|
8386
|
+
* <p>Key ARN:
|
|
8387
|
+
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
|
|
8388
|
+
* </p>
|
|
8389
|
+
* </li>
|
|
8390
|
+
* <li>
|
|
8391
|
+
* <p>Alias name: <code>alias/ExampleAlias</code>
|
|
8392
|
+
* </p>
|
|
8393
|
+
* </li>
|
|
8394
|
+
* <li>
|
|
8395
|
+
* <p>Alias name ARN:
|
|
8396
|
+
* <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code>
|
|
8397
|
+
* </p>
|
|
8398
|
+
* </li>
|
|
8399
|
+
* </ul>
|
|
8320
8400
|
*/
|
|
8321
8401
|
KmsKeyId?: string;
|
|
8322
8402
|
/**
|
|
8323
|
-
* <p
|
|
8403
|
+
* <p>Specifies data Model Monitor will capture. You can configure whether to
|
|
8404
|
+
* collect only input, only output, or both</p>
|
|
8324
8405
|
*/
|
|
8325
8406
|
CaptureOptions: CaptureOption[] | undefined;
|
|
8326
8407
|
/**
|
|
8327
|
-
* <p
|
|
8408
|
+
* <p>Configuration specifying how to treat different headers. If no headers are specified SageMaker will
|
|
8409
|
+
* by default base64 encode when capturing the data.</p>
|
|
8328
8410
|
*/
|
|
8329
8411
|
CaptureContentTypeHeader?: CaptureContentTypeHeader;
|
|
8330
8412
|
}
|
|
@@ -8489,7 +8571,7 @@ export interface CreateEndpointConfigInput {
|
|
|
8489
8571
|
*/
|
|
8490
8572
|
ProductionVariants: ProductionVariant[] | undefined;
|
|
8491
8573
|
/**
|
|
8492
|
-
* <p
|
|
8574
|
+
* <p>Configuration to control how SageMaker captures inference data.</p>
|
|
8493
8575
|
*/
|
|
8494
8576
|
DataCaptureConfig?: DataCaptureConfig;
|
|
8495
8577
|
/**
|
|
@@ -10461,15 +10543,3 @@ export declare namespace CreateImageRequest {
|
|
|
10461
10543
|
*/
|
|
10462
10544
|
const filterSensitiveLog: (obj: CreateImageRequest) => any;
|
|
10463
10545
|
}
|
|
10464
|
-
export interface CreateImageResponse {
|
|
10465
|
-
/**
|
|
10466
|
-
* <p>The Amazon Resource Name (ARN) of the image.</p>
|
|
10467
|
-
*/
|
|
10468
|
-
ImageArn?: string;
|
|
10469
|
-
}
|
|
10470
|
-
export declare namespace CreateImageResponse {
|
|
10471
|
-
/**
|
|
10472
|
-
* @internal
|
|
10473
|
-
*/
|
|
10474
|
-
const filterSensitiveLog: (obj: CreateImageResponse) => any;
|
|
10475
|
-
}
|