@aws-sdk/client-sagemaker 3.45.0 → 3.47.2
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 +45 -0
- package/dist-cjs/commands/DescribeModelBiasJobDefinitionCommand.js +1 -2
- package/dist-cjs/commands/DescribeModelCommand.js +2 -1
- package/dist-cjs/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +2 -1
- package/dist-cjs/commands/ListTransformJobsCommand.js +1 -2
- package/dist-cjs/endpoints.js +0 -20
- package/dist-cjs/models/models_0.js +14 -30
- package/dist-cjs/models/models_1.js +17 -17
- package/dist-cjs/models/models_2.js +24 -24
- package/dist-cjs/models/models_3.js +21 -3
- package/dist-cjs/protocols/Aws_json1_1.js +71 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +1 -2
- package/dist-es/commands/DescribeModelCommand.js +2 -1
- package/dist-es/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +2 -1
- package/dist-es/commands/ListTransformJobsCommand.js +1 -2
- package/dist-es/endpoints.js +0 -20
- package/dist-es/models/models_0.js +8 -16
- package/dist-es/models/models_1.js +8 -8
- package/dist-es/models/models_2.js +12 -12
- package/dist-es/models/models_3.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +65 -7
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/SageMaker.d.ts +4 -4
- package/dist-types/SageMakerClient.d.ts +5 -1
- package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -2
- package/dist-types/commands/DescribeModelCommand.d.ts +2 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +2 -1
- package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -2
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -2
- package/dist-types/commands/StopTransformJobCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +14 -31
- package/dist-types/models/models_1.d.ts +54 -66
- package/dist-types/models/models_2.d.ts +120 -125
- package/dist-types/models/models_3.d.ts +157 -3
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +3 -1
- package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +8 -16
- package/dist-types/ts3.4/models/models_1.d.ts +27 -33
- package/dist-types/ts3.4/models/models_2.d.ts +60 -59
- package/dist-types/ts3.4/models/models_3.d.ts +73 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
|
@@ -17169,8 +17169,14 @@ var serializeAws_json1_1CreateNotebookInstanceLifecycleConfigInput = function (i
|
|
|
17169
17169
|
};
|
|
17170
17170
|
var serializeAws_json1_1CreatePipelineRequest = function (input, context) {
|
|
17171
17171
|
var _a;
|
|
17172
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.
|
|
17173
|
-
input.
|
|
17172
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ParallelismConfiguration !== undefined &&
|
|
17173
|
+
input.ParallelismConfiguration !== null && {
|
|
17174
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
17175
|
+
})), (input.PipelineDefinition !== undefined &&
|
|
17176
|
+
input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition })), (input.PipelineDefinitionS3Location !== undefined &&
|
|
17177
|
+
input.PipelineDefinitionS3Location !== null && {
|
|
17178
|
+
PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
|
|
17179
|
+
})), (input.PipelineDescription !== undefined &&
|
|
17174
17180
|
input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription })), (input.PipelineDisplayName !== undefined &&
|
|
17175
17181
|
input.PipelineDisplayName !== null && { PipelineDisplayName: input.PipelineDisplayName })), (input.PipelineName !== undefined && input.PipelineName !== null && { PipelineName: input.PipelineName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
17176
17182
|
};
|
|
@@ -19515,6 +19521,10 @@ var serializeAws_json1_1OutputParameterList = function (input, context) {
|
|
|
19515
19521
|
return serializeAws_json1_1OutputParameter(entry, context);
|
|
19516
19522
|
});
|
|
19517
19523
|
};
|
|
19524
|
+
var serializeAws_json1_1ParallelismConfiguration = function (input, context) {
|
|
19525
|
+
return __assign({}, (input.MaxParallelExecutionSteps !== undefined &&
|
|
19526
|
+
input.MaxParallelExecutionSteps !== null && { MaxParallelExecutionSteps: input.MaxParallelExecutionSteps }));
|
|
19527
|
+
};
|
|
19518
19528
|
var serializeAws_json1_1Parameter = function (input, context) {
|
|
19519
19529
|
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
19520
19530
|
};
|
|
@@ -19591,6 +19601,9 @@ var serializeAws_json1_1Phases = function (input, context) {
|
|
|
19591
19601
|
return serializeAws_json1_1Phase(entry, context);
|
|
19592
19602
|
});
|
|
19593
19603
|
};
|
|
19604
|
+
var serializeAws_json1_1PipelineDefinitionS3Location = function (input, context) {
|
|
19605
|
+
return __assign(__assign(__assign({}, (input.Bucket !== undefined && input.Bucket !== null && { Bucket: input.Bucket })), (input.ObjectKey !== undefined && input.ObjectKey !== null && { ObjectKey: input.ObjectKey })), (input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }));
|
|
19606
|
+
};
|
|
19594
19607
|
var serializeAws_json1_1ProcessingClusterConfig = function (input, context) {
|
|
19595
19608
|
return __assign(__assign(__assign(__assign({}, (input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.VolumeKmsKeyId !== undefined &&
|
|
19596
19609
|
input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId })), (input.VolumeSizeInGB !== undefined &&
|
|
@@ -19921,7 +19934,10 @@ var serializeAws_json1_1RetentionPolicy = function (input, context) {
|
|
|
19921
19934
|
};
|
|
19922
19935
|
var serializeAws_json1_1RetryPipelineExecutionRequest = function (input, context) {
|
|
19923
19936
|
var _a;
|
|
19924
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.
|
|
19937
|
+
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ParallelismConfiguration !== undefined &&
|
|
19938
|
+
input.ParallelismConfiguration !== null && {
|
|
19939
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
19940
|
+
})), (input.PipelineExecutionArn !== undefined &&
|
|
19925
19941
|
input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn }));
|
|
19926
19942
|
};
|
|
19927
19943
|
var serializeAws_json1_1RetryStrategy = function (input, context) {
|
|
@@ -20076,7 +20092,10 @@ var serializeAws_json1_1StartNotebookInstanceInput = function (input, context) {
|
|
|
20076
20092
|
};
|
|
20077
20093
|
var serializeAws_json1_1StartPipelineExecutionRequest = function (input, context) {
|
|
20078
20094
|
var _a;
|
|
20079
|
-
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.
|
|
20095
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ParallelismConfiguration !== undefined &&
|
|
20096
|
+
input.ParallelismConfiguration !== null && {
|
|
20097
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
20098
|
+
})), (input.PipelineExecutionDescription !== undefined &&
|
|
20080
20099
|
input.PipelineExecutionDescription !== null && {
|
|
20081
20100
|
PipelineExecutionDescription: input.PipelineExecutionDescription,
|
|
20082
20101
|
})), (input.PipelineExecutionDisplayName !== undefined &&
|
|
@@ -20523,7 +20542,10 @@ var serializeAws_json1_1UpdateNotebookInstanceLifecycleConfigInput = function (i
|
|
|
20523
20542
|
}));
|
|
20524
20543
|
};
|
|
20525
20544
|
var serializeAws_json1_1UpdatePipelineExecutionRequest = function (input, context) {
|
|
20526
|
-
return __assign(__assign(__assign({}, (input.
|
|
20545
|
+
return __assign(__assign(__assign(__assign({}, (input.ParallelismConfiguration !== undefined &&
|
|
20546
|
+
input.ParallelismConfiguration !== null && {
|
|
20547
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
20548
|
+
})), (input.PipelineExecutionArn !== undefined &&
|
|
20527
20549
|
input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn })), (input.PipelineExecutionDescription !== undefined &&
|
|
20528
20550
|
input.PipelineExecutionDescription !== null && {
|
|
20529
20551
|
PipelineExecutionDescription: input.PipelineExecutionDescription,
|
|
@@ -20533,8 +20555,14 @@ var serializeAws_json1_1UpdatePipelineExecutionRequest = function (input, contex
|
|
|
20533
20555
|
}));
|
|
20534
20556
|
};
|
|
20535
20557
|
var serializeAws_json1_1UpdatePipelineRequest = function (input, context) {
|
|
20536
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.
|
|
20537
|
-
input.
|
|
20558
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ParallelismConfiguration !== undefined &&
|
|
20559
|
+
input.ParallelismConfiguration !== null && {
|
|
20560
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
20561
|
+
})), (input.PipelineDefinition !== undefined &&
|
|
20562
|
+
input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition })), (input.PipelineDefinitionS3Location !== undefined &&
|
|
20563
|
+
input.PipelineDefinitionS3Location !== null && {
|
|
20564
|
+
PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
|
|
20565
|
+
})), (input.PipelineDescription !== undefined &&
|
|
20538
20566
|
input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription })), (input.PipelineDisplayName !== undefined &&
|
|
20539
20567
|
input.PipelineDisplayName !== null && { PipelineDisplayName: input.PipelineDisplayName })), (input.PipelineName !== undefined && input.PipelineName !== null && { PipelineName: input.PipelineName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
20540
20568
|
};
|
|
@@ -23240,6 +23268,9 @@ var deserializeAws_json1_1DescribePipelineExecutionResponse = function (output,
|
|
|
23240
23268
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
23241
23269
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
23242
23270
|
: undefined,
|
|
23271
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
23272
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
23273
|
+
: undefined,
|
|
23243
23274
|
PipelineArn: __expectString(output.PipelineArn),
|
|
23244
23275
|
PipelineExecutionArn: __expectString(output.PipelineExecutionArn),
|
|
23245
23276
|
PipelineExecutionDescription: __expectString(output.PipelineExecutionDescription),
|
|
@@ -23267,6 +23298,9 @@ var deserializeAws_json1_1DescribePipelineResponse = function (output, context)
|
|
|
23267
23298
|
LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
|
|
23268
23299
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRunTime)))
|
|
23269
23300
|
: undefined,
|
|
23301
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
23302
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
23303
|
+
: undefined,
|
|
23270
23304
|
PipelineArn: __expectString(output.PipelineArn),
|
|
23271
23305
|
PipelineDefinition: __expectString(output.PipelineDefinition),
|
|
23272
23306
|
PipelineDescription: __expectString(output.PipelineDescription),
|
|
@@ -23907,6 +23941,14 @@ var deserializeAws_json1_1Edges = function (output, context) {
|
|
|
23907
23941
|
return deserializeAws_json1_1Edge(entry, context);
|
|
23908
23942
|
});
|
|
23909
23943
|
};
|
|
23944
|
+
var deserializeAws_json1_1EMRStepMetadata = function (output, context) {
|
|
23945
|
+
return {
|
|
23946
|
+
ClusterId: __expectString(output.ClusterId),
|
|
23947
|
+
LogFilePath: __expectString(output.LogFilePath),
|
|
23948
|
+
StepId: __expectString(output.StepId),
|
|
23949
|
+
StepName: __expectString(output.StepName),
|
|
23950
|
+
};
|
|
23951
|
+
};
|
|
23910
23952
|
var deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = function (output, context) {
|
|
23911
23953
|
return {};
|
|
23912
23954
|
};
|
|
@@ -26550,6 +26592,11 @@ var deserializeAws_json1_1OutputParameterList = function (output, context) {
|
|
|
26550
26592
|
return deserializeAws_json1_1OutputParameter(entry, context);
|
|
26551
26593
|
});
|
|
26552
26594
|
};
|
|
26595
|
+
var deserializeAws_json1_1ParallelismConfiguration = function (output, context) {
|
|
26596
|
+
return {
|
|
26597
|
+
MaxParallelExecutionSteps: __expectInt32(output.MaxParallelExecutionSteps),
|
|
26598
|
+
};
|
|
26599
|
+
};
|
|
26553
26600
|
var deserializeAws_json1_1Parameter = function (output, context) {
|
|
26554
26601
|
return {
|
|
26555
26602
|
Name: __expectString(output.Name),
|
|
@@ -26713,6 +26760,9 @@ var deserializeAws_json1_1Pipeline = function (output, context) {
|
|
|
26713
26760
|
LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
|
|
26714
26761
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRunTime)))
|
|
26715
26762
|
: undefined,
|
|
26763
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
26764
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
26765
|
+
: undefined,
|
|
26716
26766
|
PipelineArn: __expectString(output.PipelineArn),
|
|
26717
26767
|
PipelineDescription: __expectString(output.PipelineDescription),
|
|
26718
26768
|
PipelineDisplayName: __expectString(output.PipelineDisplayName),
|
|
@@ -26739,6 +26789,9 @@ var deserializeAws_json1_1PipelineExecution = function (output, context) {
|
|
|
26739
26789
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
26740
26790
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
26741
26791
|
: undefined,
|
|
26792
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
26793
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
26794
|
+
: undefined,
|
|
26742
26795
|
PipelineArn: __expectString(output.PipelineArn),
|
|
26743
26796
|
PipelineExecutionArn: __expectString(output.PipelineExecutionArn),
|
|
26744
26797
|
PipelineExecutionDescription: __expectString(output.PipelineExecutionDescription),
|
|
@@ -26768,6 +26821,8 @@ var deserializeAws_json1_1PipelineExecutionStep = function (output, context) {
|
|
|
26768
26821
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
26769
26822
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
26770
26823
|
: undefined,
|
|
26824
|
+
StepDescription: __expectString(output.StepDescription),
|
|
26825
|
+
StepDisplayName: __expectString(output.StepDisplayName),
|
|
26771
26826
|
StepName: __expectString(output.StepName),
|
|
26772
26827
|
StepStatus: __expectString(output.StepStatus),
|
|
26773
26828
|
};
|
|
@@ -26793,6 +26848,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
|
|
|
26793
26848
|
Condition: output.Condition !== undefined && output.Condition !== null
|
|
26794
26849
|
? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
|
|
26795
26850
|
: undefined,
|
|
26851
|
+
EMR: output.EMR !== undefined && output.EMR !== null
|
|
26852
|
+
? deserializeAws_json1_1EMRStepMetadata(output.EMR, context)
|
|
26853
|
+
: undefined,
|
|
26796
26854
|
Lambda: output.Lambda !== undefined && output.Lambda !== null
|
|
26797
26855
|
? deserializeAws_json1_1LambdaStepMetadata(output.Lambda, context)
|
|
26798
26856
|
: undefined,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -2421,14 +2421,14 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
2421
2421
|
* </p>
|
|
2422
2422
|
* <p>A pipeline execution won't stop while a callback step is running.
|
|
2423
2423
|
* When you call <code>StopPipelineExecution</code>
|
|
2424
|
-
* on a pipeline execution with a running callback step, SageMaker Pipelines sends an
|
|
2424
|
+
* on a pipeline execution with a running callback step, Amazon SageMaker Pipelines sends an
|
|
2425
2425
|
* additional Amazon SQS message to the specified SQS queue. The body of the SQS message
|
|
2426
2426
|
* contains a "Status" field which is set to "Stopping".</p>
|
|
2427
2427
|
* <p>You should add logic to your Amazon SQS message consumer to take any needed action (for
|
|
2428
2428
|
* example, resource cleanup) upon receipt of the message followed by a call to
|
|
2429
2429
|
* <code>SendPipelineExecutionStepSuccess</code> or
|
|
2430
2430
|
* <code>SendPipelineExecutionStepFailure</code>.</p>
|
|
2431
|
-
* <p>Only when SageMaker Pipelines receives one of these calls will it stop the pipeline execution.</p>
|
|
2431
|
+
* <p>Only when Amazon SageMaker Pipelines receives one of these calls will it stop the pipeline execution.</p>
|
|
2432
2432
|
*
|
|
2433
2433
|
* <p>
|
|
2434
2434
|
* <b>Lambda Step</b>
|
|
@@ -2462,11 +2462,11 @@ export declare class SageMaker extends SageMakerClient {
|
|
|
2462
2462
|
stopTrainingJob(args: StopTrainingJobCommandInput, cb: (err: any, data?: StopTrainingJobCommandOutput) => void): void;
|
|
2463
2463
|
stopTrainingJob(args: StopTrainingJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTrainingJobCommandOutput) => void): void;
|
|
2464
2464
|
/**
|
|
2465
|
-
* <p>Stops a transform job.</p>
|
|
2465
|
+
* <p>Stops a batch transform job.</p>
|
|
2466
2466
|
* <p>When Amazon SageMaker receives a <code>StopTransformJob</code> request, the status of the job
|
|
2467
2467
|
* changes to <code>Stopping</code>. After Amazon SageMaker
|
|
2468
2468
|
* stops
|
|
2469
|
-
* the job, the status is set to <code>Stopped</code>. When you stop a transform job before
|
|
2469
|
+
* the job, the status is set to <code>Stopped</code>. When you stop a batch transform job before
|
|
2470
2470
|
* it is completed, Amazon SageMaker doesn't store the job's output in Amazon S3.</p>
|
|
2471
2471
|
*/
|
|
2472
2472
|
stopTransformJob(args: StopTransformJobCommandInput, options?: __HttpHandlerOptions): Promise<StopTransformJobCommandOutput>;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddAssociationCommandInput, AddAssociationCommandOutput } from "./commands/AddAssociationCommand";
|
|
10
10
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
@@ -359,6 +359,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
359
359
|
* @internal
|
|
360
360
|
*/
|
|
361
361
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
362
|
+
/**
|
|
363
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
364
|
+
*/
|
|
365
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
362
366
|
}
|
|
363
367
|
declare type SageMakerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
364
368
|
/**
|
|
@@ -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 { DescribeModelBiasJobDefinitionRequest } from "../models/
|
|
4
|
-
import { DescribeModelBiasJobDefinitionResponse } from "../models/models_2";
|
|
3
|
+
import { DescribeModelBiasJobDefinitionRequest, DescribeModelBiasJobDefinitionResponse } from "../models/models_2";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
export interface DescribeModelBiasJobDefinitionCommandInput extends DescribeModelBiasJobDefinitionRequest {
|
|
7
6
|
}
|
|
@@ -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 { DescribeModelInput
|
|
3
|
+
import { DescribeModelInput } from "../models/models_1";
|
|
4
|
+
import { DescribeModelOutput } from "../models/models_2";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
export interface DescribeModelCommandInput extends DescribeModelInput {
|
|
6
7
|
}
|
|
@@ -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 { ListTrainingJobsForHyperParameterTuningJobRequest
|
|
3
|
+
import { ListTrainingJobsForHyperParameterTuningJobRequest } from "../models/models_2";
|
|
4
|
+
import { ListTrainingJobsForHyperParameterTuningJobResponse } from "../models/models_3";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
export interface ListTrainingJobsForHyperParameterTuningJobCommandInput extends ListTrainingJobsForHyperParameterTuningJobRequest {
|
|
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 { ListTransformJobsRequest } from "../models/
|
|
4
|
-
import { ListTransformJobsResponse } from "../models/models_3";
|
|
3
|
+
import { ListTransformJobsRequest, ListTransformJobsResponse } from "../models/models_3";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
export interface ListTransformJobsCommandInput extends ListTransformJobsRequest {
|
|
7
6
|
}
|
|
@@ -14,14 +14,14 @@ export interface StopPipelineExecutionCommandOutput extends StopPipelineExecutio
|
|
|
14
14
|
* </p>
|
|
15
15
|
* <p>A pipeline execution won't stop while a callback step is running.
|
|
16
16
|
* When you call <code>StopPipelineExecution</code>
|
|
17
|
-
* on a pipeline execution with a running callback step, SageMaker Pipelines sends an
|
|
17
|
+
* on a pipeline execution with a running callback step, Amazon SageMaker Pipelines sends an
|
|
18
18
|
* additional Amazon SQS message to the specified SQS queue. The body of the SQS message
|
|
19
19
|
* contains a "Status" field which is set to "Stopping".</p>
|
|
20
20
|
* <p>You should add logic to your Amazon SQS message consumer to take any needed action (for
|
|
21
21
|
* example, resource cleanup) upon receipt of the message followed by a call to
|
|
22
22
|
* <code>SendPipelineExecutionStepSuccess</code> or
|
|
23
23
|
* <code>SendPipelineExecutionStepFailure</code>.</p>
|
|
24
|
-
* <p>Only when SageMaker Pipelines receives one of these calls will it stop the pipeline execution.</p>
|
|
24
|
+
* <p>Only when Amazon SageMaker Pipelines receives one of these calls will it stop the pipeline execution.</p>
|
|
25
25
|
*
|
|
26
26
|
* <p>
|
|
27
27
|
* <b>Lambda Step</b>
|
|
@@ -7,11 +7,11 @@ export interface StopTransformJobCommandInput extends StopTransformJobRequest {
|
|
|
7
7
|
export interface StopTransformJobCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Stops a transform job.</p>
|
|
10
|
+
* <p>Stops a batch transform job.</p>
|
|
11
11
|
* <p>When Amazon SageMaker receives a <code>StopTransformJob</code> request, the status of the job
|
|
12
12
|
* changes to <code>Stopping</code>. After Amazon SageMaker
|
|
13
13
|
* stops
|
|
14
|
-
* the job, the status is set to <code>Stopped</code>. When you stop a transform job before
|
|
14
|
+
* the job, the status is set to <code>Stopped</code>. When you stop a batch transform job before
|
|
15
15
|
* it is completed, Amazon SageMaker doesn't store the job's output in Amazon S3.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -143,12 +143,6 @@ export interface ResourceLimitExceeded extends __SmithyException, $MetadataBeare
|
|
|
143
143
|
$fault: "client";
|
|
144
144
|
Message?: string;
|
|
145
145
|
}
|
|
146
|
-
export declare namespace ResourceLimitExceeded {
|
|
147
|
-
/**
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
const filterSensitiveLog: (obj: ResourceLimitExceeded) => any;
|
|
151
|
-
}
|
|
152
146
|
/**
|
|
153
147
|
* <p>Resource being access is not found.</p>
|
|
154
148
|
*/
|
|
@@ -157,12 +151,6 @@ export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
|
|
|
157
151
|
$fault: "client";
|
|
158
152
|
Message?: string;
|
|
159
153
|
}
|
|
160
|
-
export declare namespace ResourceNotFound {
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
const filterSensitiveLog: (obj: ResourceNotFound) => any;
|
|
165
|
-
}
|
|
166
154
|
/**
|
|
167
155
|
* <p>Input object for the model.</p>
|
|
168
156
|
*/
|
|
@@ -1079,6 +1067,14 @@ export declare enum TrainingInstanceType {
|
|
|
1079
1067
|
ML_G4DN_4XLARGE = "ml.g4dn.4xlarge",
|
|
1080
1068
|
ML_G4DN_8XLARGE = "ml.g4dn.8xlarge",
|
|
1081
1069
|
ML_G4DN_XLARGE = "ml.g4dn.xlarge",
|
|
1070
|
+
ML_G5_12XLARGE = "ml.g5.12xlarge",
|
|
1071
|
+
ML_G5_16XLARGE = "ml.g5.16xlarge",
|
|
1072
|
+
ML_G5_24XLARGE = "ml.g5.24xlarge",
|
|
1073
|
+
ML_G5_2XLARGE = "ml.g5.2xlarge",
|
|
1074
|
+
ML_G5_48XLARGE = "ml.g5.48xlarge",
|
|
1075
|
+
ML_G5_4XLARGE = "ml.g5.4xlarge",
|
|
1076
|
+
ML_G5_8XLARGE = "ml.g5.8xlarge",
|
|
1077
|
+
ML_G5_XLARGE = "ml.g5.xlarge",
|
|
1082
1078
|
ML_M4_10XLARGE = "ml.m4.10xlarge",
|
|
1083
1079
|
ML_M4_16XLARGE = "ml.m4.16xlarge",
|
|
1084
1080
|
ML_M4_2XLARGE = "ml.m4.2xlarge",
|
|
@@ -4071,7 +4067,7 @@ export interface AutoMLChannel {
|
|
|
4071
4067
|
TargetAttributeName: string | undefined;
|
|
4072
4068
|
/**
|
|
4073
4069
|
* <p>The content type of the data from the input source. You can use
|
|
4074
|
-
*
|
|
4070
|
+
* <code>text/csv;header=present</code> or <code>x-application/vnd.amazon+parquet</code>.
|
|
4075
4071
|
* The default value is <code>text/csv;header=present</code>.</p>
|
|
4076
4072
|
*/
|
|
4077
4073
|
ContentType?: string;
|
|
@@ -5305,12 +5301,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
5305
5301
|
$fault: "client";
|
|
5306
5302
|
Message?: string;
|
|
5307
5303
|
}
|
|
5308
|
-
export declare namespace ConflictException {
|
|
5309
|
-
/**
|
|
5310
|
-
* @internal
|
|
5311
|
-
*/
|
|
5312
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
5313
|
-
}
|
|
5314
5304
|
export declare enum RepositoryAccessMode {
|
|
5315
5305
|
PLATFORM = "Platform",
|
|
5316
5306
|
VPC = "Vpc"
|
|
@@ -6076,12 +6066,6 @@ export interface ResourceInUse extends __SmithyException, $MetadataBearer {
|
|
|
6076
6066
|
$fault: "client";
|
|
6077
6067
|
Message?: string;
|
|
6078
6068
|
}
|
|
6079
|
-
export declare namespace ResourceInUse {
|
|
6080
|
-
/**
|
|
6081
|
-
* @internal
|
|
6082
|
-
*/
|
|
6083
|
-
const filterSensitiveLog: (obj: ResourceInUse) => any;
|
|
6084
|
-
}
|
|
6085
6069
|
export interface CreateAppImageConfigRequest {
|
|
6086
6070
|
/**
|
|
6087
6071
|
* <p>The name of the AppImageConfig. Must be unique to your account.</p>
|
|
@@ -6666,11 +6650,10 @@ export interface InputConfig {
|
|
|
6666
6650
|
*/
|
|
6667
6651
|
Framework: Framework | string | undefined;
|
|
6668
6652
|
/**
|
|
6669
|
-
* <p>Specifies the framework version to use.</p>
|
|
6670
|
-
* <p>
|
|
6671
|
-
* <
|
|
6672
|
-
*
|
|
6673
|
-
* <code>ml_m5</code>, <code>ml_p2</code>, <code>ml_p3</code>, and <code>ml_g4dn</code>.</p>
|
|
6653
|
+
* <p>Specifies the framework version to use. This API field is only supported for the PyTorch and TensorFlow frameworks.</p>
|
|
6654
|
+
* <p>For information about framework versions supported for cloud targets and edge devices, see
|
|
6655
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-supported-cloud.html">Cloud Supported Instance Types and Frameworks</a> and
|
|
6656
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-supported-devices-edge-frameworks.html">Edge Supported Frameworks</a>.</p>
|
|
6674
6657
|
*/
|
|
6675
6658
|
FrameworkVersion?: string;
|
|
6676
6659
|
}
|
|
@@ -8061,7 +8044,7 @@ export interface CreateDomainRequest {
|
|
|
8061
8044
|
/**
|
|
8062
8045
|
* @deprecated
|
|
8063
8046
|
*
|
|
8064
|
-
* <p>
|
|
8047
|
+
* <p>Use <code>KmsKeyId</code>.</p>
|
|
8065
8048
|
*/
|
|
8066
8049
|
HomeEfsFileSystemKmsKeyId?: string;
|
|
8067
8050
|
/**
|