@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
|
@@ -15351,8 +15351,16 @@ const serializeAws_json1_1CreatePipelineRequest = (input, context) => {
|
|
|
15351
15351
|
var _a;
|
|
15352
15352
|
return {
|
|
15353
15353
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
15354
|
+
...(input.ParallelismConfiguration !== undefined &&
|
|
15355
|
+
input.ParallelismConfiguration !== null && {
|
|
15356
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
15357
|
+
}),
|
|
15354
15358
|
...(input.PipelineDefinition !== undefined &&
|
|
15355
15359
|
input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition }),
|
|
15360
|
+
...(input.PipelineDefinitionS3Location !== undefined &&
|
|
15361
|
+
input.PipelineDefinitionS3Location !== null && {
|
|
15362
|
+
PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
|
|
15363
|
+
}),
|
|
15356
15364
|
...(input.PipelineDescription !== undefined &&
|
|
15357
15365
|
input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription }),
|
|
15358
15366
|
...(input.PipelineDisplayName !== undefined &&
|
|
@@ -18997,6 +19005,12 @@ const serializeAws_json1_1OutputParameterList = (input, context) => {
|
|
|
18997
19005
|
return serializeAws_json1_1OutputParameter(entry, context);
|
|
18998
19006
|
});
|
|
18999
19007
|
};
|
|
19008
|
+
const serializeAws_json1_1ParallelismConfiguration = (input, context) => {
|
|
19009
|
+
return {
|
|
19010
|
+
...(input.MaxParallelExecutionSteps !== undefined &&
|
|
19011
|
+
input.MaxParallelExecutionSteps !== null && { MaxParallelExecutionSteps: input.MaxParallelExecutionSteps }),
|
|
19012
|
+
};
|
|
19013
|
+
};
|
|
19000
19014
|
const serializeAws_json1_1Parameter = (input, context) => {
|
|
19001
19015
|
return {
|
|
19002
19016
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -19090,6 +19104,13 @@ const serializeAws_json1_1Phases = (input, context) => {
|
|
|
19090
19104
|
return serializeAws_json1_1Phase(entry, context);
|
|
19091
19105
|
});
|
|
19092
19106
|
};
|
|
19107
|
+
const serializeAws_json1_1PipelineDefinitionS3Location = (input, context) => {
|
|
19108
|
+
return {
|
|
19109
|
+
...(input.Bucket !== undefined && input.Bucket !== null && { Bucket: input.Bucket }),
|
|
19110
|
+
...(input.ObjectKey !== undefined && input.ObjectKey !== null && { ObjectKey: input.ObjectKey }),
|
|
19111
|
+
...(input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }),
|
|
19112
|
+
};
|
|
19113
|
+
};
|
|
19093
19114
|
const serializeAws_json1_1ProcessingClusterConfig = (input, context) => {
|
|
19094
19115
|
return {
|
|
19095
19116
|
...(input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount }),
|
|
@@ -19568,6 +19589,10 @@ const serializeAws_json1_1RetryPipelineExecutionRequest = (input, context) => {
|
|
|
19568
19589
|
var _a;
|
|
19569
19590
|
return {
|
|
19570
19591
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
19592
|
+
...(input.ParallelismConfiguration !== undefined &&
|
|
19593
|
+
input.ParallelismConfiguration !== null && {
|
|
19594
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
19595
|
+
}),
|
|
19571
19596
|
...(input.PipelineExecutionArn !== undefined &&
|
|
19572
19597
|
input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn }),
|
|
19573
19598
|
};
|
|
@@ -19796,6 +19821,10 @@ const serializeAws_json1_1StartPipelineExecutionRequest = (input, context) => {
|
|
|
19796
19821
|
var _a;
|
|
19797
19822
|
return {
|
|
19798
19823
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
19824
|
+
...(input.ParallelismConfiguration !== undefined &&
|
|
19825
|
+
input.ParallelismConfiguration !== null && {
|
|
19826
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
19827
|
+
}),
|
|
19799
19828
|
...(input.PipelineExecutionDescription !== undefined &&
|
|
19800
19829
|
input.PipelineExecutionDescription !== null && {
|
|
19801
19830
|
PipelineExecutionDescription: input.PipelineExecutionDescription,
|
|
@@ -20441,6 +20470,10 @@ const serializeAws_json1_1UpdateNotebookInstanceLifecycleConfigInput = (input, c
|
|
|
20441
20470
|
};
|
|
20442
20471
|
const serializeAws_json1_1UpdatePipelineExecutionRequest = (input, context) => {
|
|
20443
20472
|
return {
|
|
20473
|
+
...(input.ParallelismConfiguration !== undefined &&
|
|
20474
|
+
input.ParallelismConfiguration !== null && {
|
|
20475
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
20476
|
+
}),
|
|
20444
20477
|
...(input.PipelineExecutionArn !== undefined &&
|
|
20445
20478
|
input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn }),
|
|
20446
20479
|
...(input.PipelineExecutionDescription !== undefined &&
|
|
@@ -20455,8 +20488,16 @@ const serializeAws_json1_1UpdatePipelineExecutionRequest = (input, context) => {
|
|
|
20455
20488
|
};
|
|
20456
20489
|
const serializeAws_json1_1UpdatePipelineRequest = (input, context) => {
|
|
20457
20490
|
return {
|
|
20491
|
+
...(input.ParallelismConfiguration !== undefined &&
|
|
20492
|
+
input.ParallelismConfiguration !== null && {
|
|
20493
|
+
ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
|
|
20494
|
+
}),
|
|
20458
20495
|
...(input.PipelineDefinition !== undefined &&
|
|
20459
20496
|
input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition }),
|
|
20497
|
+
...(input.PipelineDefinitionS3Location !== undefined &&
|
|
20498
|
+
input.PipelineDefinitionS3Location !== null && {
|
|
20499
|
+
PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
|
|
20500
|
+
}),
|
|
20460
20501
|
...(input.PipelineDescription !== undefined &&
|
|
20461
20502
|
input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription }),
|
|
20462
20503
|
...(input.PipelineDisplayName !== undefined &&
|
|
@@ -23225,6 +23266,9 @@ const deserializeAws_json1_1DescribePipelineExecutionResponse = (output, context
|
|
|
23225
23266
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
23226
23267
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
23227
23268
|
: undefined,
|
|
23269
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
23270
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
23271
|
+
: undefined,
|
|
23228
23272
|
PipelineArn: smithy_client_1.expectString(output.PipelineArn),
|
|
23229
23273
|
PipelineExecutionArn: smithy_client_1.expectString(output.PipelineExecutionArn),
|
|
23230
23274
|
PipelineExecutionDescription: smithy_client_1.expectString(output.PipelineExecutionDescription),
|
|
@@ -23252,6 +23296,9 @@ const deserializeAws_json1_1DescribePipelineResponse = (output, context) => {
|
|
|
23252
23296
|
LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
|
|
23253
23297
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRunTime)))
|
|
23254
23298
|
: undefined,
|
|
23299
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
23300
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
23301
|
+
: undefined,
|
|
23255
23302
|
PipelineArn: smithy_client_1.expectString(output.PipelineArn),
|
|
23256
23303
|
PipelineDefinition: smithy_client_1.expectString(output.PipelineDefinition),
|
|
23257
23304
|
PipelineDescription: smithy_client_1.expectString(output.PipelineDescription),
|
|
@@ -23892,6 +23939,14 @@ const deserializeAws_json1_1Edges = (output, context) => {
|
|
|
23892
23939
|
return deserializeAws_json1_1Edge(entry, context);
|
|
23893
23940
|
});
|
|
23894
23941
|
};
|
|
23942
|
+
const deserializeAws_json1_1EMRStepMetadata = (output, context) => {
|
|
23943
|
+
return {
|
|
23944
|
+
ClusterId: smithy_client_1.expectString(output.ClusterId),
|
|
23945
|
+
LogFilePath: smithy_client_1.expectString(output.LogFilePath),
|
|
23946
|
+
StepId: smithy_client_1.expectString(output.StepId),
|
|
23947
|
+
StepName: smithy_client_1.expectString(output.StepName),
|
|
23948
|
+
};
|
|
23949
|
+
};
|
|
23895
23950
|
const deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = (output, context) => {
|
|
23896
23951
|
return {};
|
|
23897
23952
|
};
|
|
@@ -26541,6 +26596,11 @@ const deserializeAws_json1_1OutputParameterList = (output, context) => {
|
|
|
26541
26596
|
return deserializeAws_json1_1OutputParameter(entry, context);
|
|
26542
26597
|
});
|
|
26543
26598
|
};
|
|
26599
|
+
const deserializeAws_json1_1ParallelismConfiguration = (output, context) => {
|
|
26600
|
+
return {
|
|
26601
|
+
MaxParallelExecutionSteps: smithy_client_1.expectInt32(output.MaxParallelExecutionSteps),
|
|
26602
|
+
};
|
|
26603
|
+
};
|
|
26544
26604
|
const deserializeAws_json1_1Parameter = (output, context) => {
|
|
26545
26605
|
return {
|
|
26546
26606
|
Name: smithy_client_1.expectString(output.Name),
|
|
@@ -26704,6 +26764,9 @@ const deserializeAws_json1_1Pipeline = (output, context) => {
|
|
|
26704
26764
|
LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
|
|
26705
26765
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRunTime)))
|
|
26706
26766
|
: undefined,
|
|
26767
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
26768
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
26769
|
+
: undefined,
|
|
26707
26770
|
PipelineArn: smithy_client_1.expectString(output.PipelineArn),
|
|
26708
26771
|
PipelineDescription: smithy_client_1.expectString(output.PipelineDescription),
|
|
26709
26772
|
PipelineDisplayName: smithy_client_1.expectString(output.PipelineDisplayName),
|
|
@@ -26730,6 +26793,9 @@ const deserializeAws_json1_1PipelineExecution = (output, context) => {
|
|
|
26730
26793
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
26731
26794
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
26732
26795
|
: undefined,
|
|
26796
|
+
ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
|
|
26797
|
+
? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
|
|
26798
|
+
: undefined,
|
|
26733
26799
|
PipelineArn: smithy_client_1.expectString(output.PipelineArn),
|
|
26734
26800
|
PipelineExecutionArn: smithy_client_1.expectString(output.PipelineExecutionArn),
|
|
26735
26801
|
PipelineExecutionDescription: smithy_client_1.expectString(output.PipelineExecutionDescription),
|
|
@@ -26759,6 +26825,8 @@ const deserializeAws_json1_1PipelineExecutionStep = (output, context) => {
|
|
|
26759
26825
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
26760
26826
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
26761
26827
|
: undefined,
|
|
26828
|
+
StepDescription: smithy_client_1.expectString(output.StepDescription),
|
|
26829
|
+
StepDisplayName: smithy_client_1.expectString(output.StepDisplayName),
|
|
26762
26830
|
StepName: smithy_client_1.expectString(output.StepName),
|
|
26763
26831
|
StepStatus: smithy_client_1.expectString(output.StepStatus),
|
|
26764
26832
|
};
|
|
@@ -26784,6 +26852,9 @@ const deserializeAws_json1_1PipelineExecutionStepMetadata = (output, context) =>
|
|
|
26784
26852
|
Condition: output.Condition !== undefined && output.Condition !== null
|
|
26785
26853
|
? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
|
|
26786
26854
|
: undefined,
|
|
26855
|
+
EMR: output.EMR !== undefined && output.EMR !== null
|
|
26856
|
+
? deserializeAws_json1_1EMRStepMetadata(output.EMR, context)
|
|
26857
|
+
: undefined,
|
|
26787
26858
|
Lambda: output.Lambda !== undefined && output.Lambda !== null
|
|
26788
26859
|
? deserializeAws_json1_1LambdaStepMetadata(output.Lambda, context)
|
|
26789
26860
|
: undefined,
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeModelBiasJobDefinitionRequest } from "../models/
|
|
5
|
-
import { DescribeModelBiasJobDefinitionResponse } from "../models/models_2";
|
|
4
|
+
import { DescribeModelBiasJobDefinitionRequest, DescribeModelBiasJobDefinitionResponse } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_json1_1DescribeModelBiasJobDefinitionCommand, serializeAws_json1_1DescribeModelBiasJobDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
7
6
|
var DescribeModelBiasJobDefinitionCommand = (function (_super) {
|
|
8
7
|
__extends(DescribeModelBiasJobDefinitionCommand, _super);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeModelInput
|
|
4
|
+
import { DescribeModelInput } from "../models/models_1";
|
|
5
|
+
import { DescribeModelOutput } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_json1_1DescribeModelCommand, serializeAws_json1_1DescribeModelCommand, } from "../protocols/Aws_json1_1";
|
|
6
7
|
var DescribeModelCommand = (function (_super) {
|
|
7
8
|
__extends(DescribeModelCommand, _super);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListTrainingJobsForHyperParameterTuningJobRequest
|
|
4
|
+
import { ListTrainingJobsForHyperParameterTuningJobRequest } from "../models/models_2";
|
|
5
|
+
import { ListTrainingJobsForHyperParameterTuningJobResponse } from "../models/models_3";
|
|
5
6
|
import { deserializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand, serializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
7
|
var ListTrainingJobsForHyperParameterTuningJobCommand = (function (_super) {
|
|
7
8
|
__extends(ListTrainingJobsForHyperParameterTuningJobCommand, _super);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListTransformJobsRequest } from "../models/
|
|
5
|
-
import { ListTransformJobsResponse } from "../models/models_3";
|
|
4
|
+
import { ListTransformJobsRequest, ListTransformJobsResponse } from "../models/models_3";
|
|
6
5
|
import { deserializeAws_json1_1ListTransformJobsCommand, serializeAws_json1_1ListTransformJobsCommand, } from "../protocols/Aws_json1_1";
|
|
7
6
|
var ListTransformJobsCommand = (function (_super) {
|
|
8
7
|
__extends(ListTransformJobsCommand, _super);
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "api.sagemaker.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "api-fips.sagemaker.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "api.sagemaker.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "api-fips.sagemaker.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-west-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "api.sagemaker.us-gov-west-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "api-fips.sagemaker.us-gov-west-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "api.sagemaker.us-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "api-fips.sagemaker.us-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-2": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "api.sagemaker.us-west-2.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "api-fips.sagemaker.us-west-2.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -31,14 +31,6 @@ export var AddAssociationResponse;
|
|
|
31
31
|
(function (AddAssociationResponse) {
|
|
32
32
|
AddAssociationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
33
|
})(AddAssociationResponse || (AddAssociationResponse = {}));
|
|
34
|
-
export var ResourceLimitExceeded;
|
|
35
|
-
(function (ResourceLimitExceeded) {
|
|
36
|
-
ResourceLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(ResourceLimitExceeded || (ResourceLimitExceeded = {}));
|
|
38
|
-
export var ResourceNotFound;
|
|
39
|
-
(function (ResourceNotFound) {
|
|
40
|
-
ResourceNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(ResourceNotFound || (ResourceNotFound = {}));
|
|
42
34
|
export var ModelInput;
|
|
43
35
|
(function (ModelInput) {
|
|
44
36
|
ModelInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -298,6 +290,14 @@ export var TrainingInstanceType;
|
|
|
298
290
|
TrainingInstanceType["ML_G4DN_4XLARGE"] = "ml.g4dn.4xlarge";
|
|
299
291
|
TrainingInstanceType["ML_G4DN_8XLARGE"] = "ml.g4dn.8xlarge";
|
|
300
292
|
TrainingInstanceType["ML_G4DN_XLARGE"] = "ml.g4dn.xlarge";
|
|
293
|
+
TrainingInstanceType["ML_G5_12XLARGE"] = "ml.g5.12xlarge";
|
|
294
|
+
TrainingInstanceType["ML_G5_16XLARGE"] = "ml.g5.16xlarge";
|
|
295
|
+
TrainingInstanceType["ML_G5_24XLARGE"] = "ml.g5.24xlarge";
|
|
296
|
+
TrainingInstanceType["ML_G5_2XLARGE"] = "ml.g5.2xlarge";
|
|
297
|
+
TrainingInstanceType["ML_G5_48XLARGE"] = "ml.g5.48xlarge";
|
|
298
|
+
TrainingInstanceType["ML_G5_4XLARGE"] = "ml.g5.4xlarge";
|
|
299
|
+
TrainingInstanceType["ML_G5_8XLARGE"] = "ml.g5.8xlarge";
|
|
300
|
+
TrainingInstanceType["ML_G5_XLARGE"] = "ml.g5.xlarge";
|
|
301
301
|
TrainingInstanceType["ML_M4_10XLARGE"] = "ml.m4.10xlarge";
|
|
302
302
|
TrainingInstanceType["ML_M4_16XLARGE"] = "ml.m4.16xlarge";
|
|
303
303
|
TrainingInstanceType["ML_M4_2XLARGE"] = "ml.m4.2xlarge";
|
|
@@ -972,10 +972,6 @@ export var ConditionStepMetadata;
|
|
|
972
972
|
(function (ConditionStepMetadata) {
|
|
973
973
|
ConditionStepMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
974
974
|
})(ConditionStepMetadata || (ConditionStepMetadata = {}));
|
|
975
|
-
export var ConflictException;
|
|
976
|
-
(function (ConflictException) {
|
|
977
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
978
|
-
})(ConflictException || (ConflictException = {}));
|
|
979
975
|
export var RepositoryAccessMode;
|
|
980
976
|
(function (RepositoryAccessMode) {
|
|
981
977
|
RepositoryAccessMode["PLATFORM"] = "Platform";
|
|
@@ -1099,10 +1095,6 @@ export var CreateAppResponse;
|
|
|
1099
1095
|
(function (CreateAppResponse) {
|
|
1100
1096
|
CreateAppResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1101
1097
|
})(CreateAppResponse || (CreateAppResponse = {}));
|
|
1102
|
-
export var ResourceInUse;
|
|
1103
|
-
(function (ResourceInUse) {
|
|
1104
|
-
ResourceInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1105
|
-
})(ResourceInUse || (ResourceInUse = {}));
|
|
1106
1098
|
export var CreateAppImageConfigRequest;
|
|
1107
1099
|
(function (CreateAppImageConfigRequest) {
|
|
1108
1100
|
CreateAppImageConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -402,6 +402,14 @@ export var CreateNotebookInstanceLifecycleConfigOutput;
|
|
|
402
402
|
(function (CreateNotebookInstanceLifecycleConfigOutput) {
|
|
403
403
|
CreateNotebookInstanceLifecycleConfigOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
404
404
|
})(CreateNotebookInstanceLifecycleConfigOutput || (CreateNotebookInstanceLifecycleConfigOutput = {}));
|
|
405
|
+
export var ParallelismConfiguration;
|
|
406
|
+
(function (ParallelismConfiguration) {
|
|
407
|
+
ParallelismConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
408
|
+
})(ParallelismConfiguration || (ParallelismConfiguration = {}));
|
|
409
|
+
export var PipelineDefinitionS3Location;
|
|
410
|
+
(function (PipelineDefinitionS3Location) {
|
|
411
|
+
PipelineDefinitionS3Location.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
412
|
+
})(PipelineDefinitionS3Location || (PipelineDefinitionS3Location = {}));
|
|
405
413
|
export var CreatePipelineRequest;
|
|
406
414
|
(function (CreatePipelineRequest) {
|
|
407
415
|
CreatePipelineRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1369,11 +1377,3 @@ export var DescribeModelInput;
|
|
|
1369
1377
|
(function (DescribeModelInput) {
|
|
1370
1378
|
DescribeModelInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1371
1379
|
})(DescribeModelInput || (DescribeModelInput = {}));
|
|
1372
|
-
export var DescribeModelOutput;
|
|
1373
|
-
(function (DescribeModelOutput) {
|
|
1374
|
-
DescribeModelOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1375
|
-
})(DescribeModelOutput || (DescribeModelOutput = {}));
|
|
1376
|
-
export var DescribeModelBiasJobDefinitionRequest;
|
|
1377
|
-
(function (DescribeModelBiasJobDefinitionRequest) {
|
|
1378
|
-
DescribeModelBiasJobDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1379
|
-
})(DescribeModelBiasJobDefinitionRequest || (DescribeModelBiasJobDefinitionRequest = {}));
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { __assign, __read } from "tslib";
|
|
2
2
|
import { TrialComponentParameterValue, } from "./models_1";
|
|
3
|
+
export var DescribeModelOutput;
|
|
4
|
+
(function (DescribeModelOutput) {
|
|
5
|
+
DescribeModelOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(DescribeModelOutput || (DescribeModelOutput = {}));
|
|
7
|
+
export var DescribeModelBiasJobDefinitionRequest;
|
|
8
|
+
(function (DescribeModelBiasJobDefinitionRequest) {
|
|
9
|
+
DescribeModelBiasJobDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
+
})(DescribeModelBiasJobDefinitionRequest || (DescribeModelBiasJobDefinitionRequest = {}));
|
|
3
11
|
export var DescribeModelBiasJobDefinitionResponse;
|
|
4
12
|
(function (DescribeModelBiasJobDefinitionResponse) {
|
|
5
13
|
DescribeModelBiasJobDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -426,6 +434,10 @@ export var EdgePackagingJobSummary;
|
|
|
426
434
|
(function (EdgePackagingJobSummary) {
|
|
427
435
|
EdgePackagingJobSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
428
436
|
})(EdgePackagingJobSummary || (EdgePackagingJobSummary = {}));
|
|
437
|
+
export var EMRStepMetadata;
|
|
438
|
+
(function (EMRStepMetadata) {
|
|
439
|
+
EMRStepMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
440
|
+
})(EMRStepMetadata || (EMRStepMetadata = {}));
|
|
429
441
|
export var EnableSagemakerServicecatalogPortfolioInput;
|
|
430
442
|
(function (EnableSagemakerServicecatalogPortfolioInput) {
|
|
431
443
|
EnableSagemakerServicecatalogPortfolioInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1355,15 +1367,3 @@ export var ListTrainingJobsForHyperParameterTuningJobRequest;
|
|
|
1355
1367
|
(function (ListTrainingJobsForHyperParameterTuningJobRequest) {
|
|
1356
1368
|
ListTrainingJobsForHyperParameterTuningJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1357
1369
|
})(ListTrainingJobsForHyperParameterTuningJobRequest || (ListTrainingJobsForHyperParameterTuningJobRequest = {}));
|
|
1358
|
-
export var ListTrainingJobsForHyperParameterTuningJobResponse;
|
|
1359
|
-
(function (ListTrainingJobsForHyperParameterTuningJobResponse) {
|
|
1360
|
-
ListTrainingJobsForHyperParameterTuningJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1361
|
-
})(ListTrainingJobsForHyperParameterTuningJobResponse || (ListTrainingJobsForHyperParameterTuningJobResponse = {}));
|
|
1362
|
-
export var ListTransformJobsRequest;
|
|
1363
|
-
(function (ListTransformJobsRequest) {
|
|
1364
|
-
ListTransformJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1365
|
-
})(ListTransformJobsRequest || (ListTransformJobsRequest = {}));
|
|
1366
|
-
export var TransformJobSummary;
|
|
1367
|
-
(function (TransformJobSummary) {
|
|
1368
|
-
TransformJobSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1369
|
-
})(TransformJobSummary || (TransformJobSummary = {}));
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { __assign, __read } from "tslib";
|
|
2
2
|
import { OidcConfig, TrialComponentParameterValue, } from "./models_1";
|
|
3
|
+
export var ListTrainingJobsForHyperParameterTuningJobResponse;
|
|
4
|
+
(function (ListTrainingJobsForHyperParameterTuningJobResponse) {
|
|
5
|
+
ListTrainingJobsForHyperParameterTuningJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(ListTrainingJobsForHyperParameterTuningJobResponse || (ListTrainingJobsForHyperParameterTuningJobResponse = {}));
|
|
7
|
+
export var ListTransformJobsRequest;
|
|
8
|
+
(function (ListTransformJobsRequest) {
|
|
9
|
+
ListTransformJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
+
})(ListTransformJobsRequest || (ListTransformJobsRequest = {}));
|
|
11
|
+
export var TransformJobSummary;
|
|
12
|
+
(function (TransformJobSummary) {
|
|
13
|
+
TransformJobSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
|
+
})(TransformJobSummary || (TransformJobSummary = {}));
|
|
3
15
|
export var ListTransformJobsResponse;
|
|
4
16
|
(function (ListTransformJobsResponse) {
|
|
5
17
|
ListTransformJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|