@aws-sdk/client-sagemaker 3.44.0 → 3.47.1

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/commands/DescribeModelBiasJobDefinitionCommand.js +1 -2
  3. package/dist-cjs/commands/DescribeModelCommand.js +2 -1
  4. package/dist-cjs/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +2 -1
  5. package/dist-cjs/commands/ListTransformJobsCommand.js +1 -2
  6. package/dist-cjs/endpoints.js +1 -20
  7. package/dist-cjs/models/models_0.js +15 -30
  8. package/dist-cjs/models/models_1.js +17 -17
  9. package/dist-cjs/models/models_2.js +24 -24
  10. package/dist-cjs/models/models_3.js +21 -3
  11. package/dist-cjs/protocols/Aws_json1_1.js +74 -0
  12. package/dist-cjs/runtimeConfig.browser.js +7 -2
  13. package/dist-cjs/runtimeConfig.js +9 -3
  14. package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +1 -2
  15. package/dist-es/commands/DescribeModelCommand.js +2 -1
  16. package/dist-es/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +2 -1
  17. package/dist-es/commands/ListTransformJobsCommand.js +1 -2
  18. package/dist-es/endpoints.js +1 -20
  19. package/dist-es/models/models_0.js +9 -16
  20. package/dist-es/models/models_1.js +8 -8
  21. package/dist-es/models/models_2.js +12 -12
  22. package/dist-es/models/models_3.js +12 -0
  23. package/dist-es/protocols/Aws_json1_1.js +69 -9
  24. package/dist-es/runtimeConfig.browser.js +12 -3
  25. package/dist-es/runtimeConfig.js +13 -6
  26. package/dist-types/SageMaker.d.ts +4 -4
  27. package/dist-types/SageMakerClient.d.ts +5 -1
  28. package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -2
  29. package/dist-types/commands/DescribeModelCommand.d.ts +2 -1
  30. package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +2 -1
  31. package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -2
  32. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -2
  33. package/dist-types/commands/StopTransformJobCommand.d.ts +2 -2
  34. package/dist-types/models/models_0.d.ts +20 -30
  35. package/dist-types/models/models_1.d.ts +54 -66
  36. package/dist-types/models/models_2.d.ts +121 -125
  37. package/dist-types/models/models_3.d.ts +157 -3
  38. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  39. package/dist-types/runtimeConfig.d.ts +4 -3
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/ts3.4/SageMakerClient.d.ts +3 -1
  42. package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -2
  43. package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +2 -1
  44. package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +2 -1
  45. package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -2
  46. package/dist-types/ts3.4/models/models_0.d.ts +11 -16
  47. package/dist-types/ts3.4/models/models_1.d.ts +27 -33
  48. package/dist-types/ts3.4/models/models_2.d.ts +61 -59
  49. package/dist-types/ts3.4/models/models_3.d.ts +73 -2
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  53. package/package.json +40 -47
@@ -14232,6 +14232,7 @@ const serializeAws_json1_1AutoMLChannel = (input, context) => {
14232
14232
  return {
14233
14233
  ...(input.CompressionType !== undefined &&
14234
14234
  input.CompressionType !== null && { CompressionType: input.CompressionType }),
14235
+ ...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
14235
14236
  ...(input.DataSource !== undefined &&
14236
14237
  input.DataSource !== null && { DataSource: serializeAws_json1_1AutoMLDataSource(input.DataSource, context) }),
14237
14238
  ...(input.TargetAttributeName !== undefined &&
@@ -15350,8 +15351,16 @@ const serializeAws_json1_1CreatePipelineRequest = (input, context) => {
15350
15351
  var _a;
15351
15352
  return {
15352
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
+ }),
15353
15358
  ...(input.PipelineDefinition !== undefined &&
15354
15359
  input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition }),
15360
+ ...(input.PipelineDefinitionS3Location !== undefined &&
15361
+ input.PipelineDefinitionS3Location !== null && {
15362
+ PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
15363
+ }),
15355
15364
  ...(input.PipelineDescription !== undefined &&
15356
15365
  input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription }),
15357
15366
  ...(input.PipelineDisplayName !== undefined &&
@@ -18996,6 +19005,12 @@ const serializeAws_json1_1OutputParameterList = (input, context) => {
18996
19005
  return serializeAws_json1_1OutputParameter(entry, context);
18997
19006
  });
18998
19007
  };
19008
+ const serializeAws_json1_1ParallelismConfiguration = (input, context) => {
19009
+ return {
19010
+ ...(input.MaxParallelExecutionSteps !== undefined &&
19011
+ input.MaxParallelExecutionSteps !== null && { MaxParallelExecutionSteps: input.MaxParallelExecutionSteps }),
19012
+ };
19013
+ };
18999
19014
  const serializeAws_json1_1Parameter = (input, context) => {
19000
19015
  return {
19001
19016
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
@@ -19089,6 +19104,13 @@ const serializeAws_json1_1Phases = (input, context) => {
19089
19104
  return serializeAws_json1_1Phase(entry, context);
19090
19105
  });
19091
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
+ };
19092
19114
  const serializeAws_json1_1ProcessingClusterConfig = (input, context) => {
19093
19115
  return {
19094
19116
  ...(input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount }),
@@ -19567,6 +19589,10 @@ const serializeAws_json1_1RetryPipelineExecutionRequest = (input, context) => {
19567
19589
  var _a;
19568
19590
  return {
19569
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
+ }),
19570
19596
  ...(input.PipelineExecutionArn !== undefined &&
19571
19597
  input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn }),
19572
19598
  };
@@ -19795,6 +19821,10 @@ const serializeAws_json1_1StartPipelineExecutionRequest = (input, context) => {
19795
19821
  var _a;
19796
19822
  return {
19797
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
+ }),
19798
19828
  ...(input.PipelineExecutionDescription !== undefined &&
19799
19829
  input.PipelineExecutionDescription !== null && {
19800
19830
  PipelineExecutionDescription: input.PipelineExecutionDescription,
@@ -20440,6 +20470,10 @@ const serializeAws_json1_1UpdateNotebookInstanceLifecycleConfigInput = (input, c
20440
20470
  };
20441
20471
  const serializeAws_json1_1UpdatePipelineExecutionRequest = (input, context) => {
20442
20472
  return {
20473
+ ...(input.ParallelismConfiguration !== undefined &&
20474
+ input.ParallelismConfiguration !== null && {
20475
+ ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
20476
+ }),
20443
20477
  ...(input.PipelineExecutionArn !== undefined &&
20444
20478
  input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn }),
20445
20479
  ...(input.PipelineExecutionDescription !== undefined &&
@@ -20454,8 +20488,16 @@ const serializeAws_json1_1UpdatePipelineExecutionRequest = (input, context) => {
20454
20488
  };
20455
20489
  const serializeAws_json1_1UpdatePipelineRequest = (input, context) => {
20456
20490
  return {
20491
+ ...(input.ParallelismConfiguration !== undefined &&
20492
+ input.ParallelismConfiguration !== null && {
20493
+ ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
20494
+ }),
20457
20495
  ...(input.PipelineDefinition !== undefined &&
20458
20496
  input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition }),
20497
+ ...(input.PipelineDefinitionS3Location !== undefined &&
20498
+ input.PipelineDefinitionS3Location !== null && {
20499
+ PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
20500
+ }),
20459
20501
  ...(input.PipelineDescription !== undefined &&
20460
20502
  input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription }),
20461
20503
  ...(input.PipelineDisplayName !== undefined &&
@@ -21099,6 +21141,7 @@ const deserializeAws_json1_1AutoMLCandidateStep = (output, context) => {
21099
21141
  const deserializeAws_json1_1AutoMLChannel = (output, context) => {
21100
21142
  return {
21101
21143
  CompressionType: smithy_client_1.expectString(output.CompressionType),
21144
+ ContentType: smithy_client_1.expectString(output.ContentType),
21102
21145
  DataSource: output.DataSource !== undefined && output.DataSource !== null
21103
21146
  ? deserializeAws_json1_1AutoMLDataSource(output.DataSource, context)
21104
21147
  : undefined,
@@ -23223,6 +23266,9 @@ const deserializeAws_json1_1DescribePipelineExecutionResponse = (output, context
23223
23266
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
23224
23267
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
23225
23268
  : undefined,
23269
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
23270
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
23271
+ : undefined,
23226
23272
  PipelineArn: smithy_client_1.expectString(output.PipelineArn),
23227
23273
  PipelineExecutionArn: smithy_client_1.expectString(output.PipelineExecutionArn),
23228
23274
  PipelineExecutionDescription: smithy_client_1.expectString(output.PipelineExecutionDescription),
@@ -23250,6 +23296,9 @@ const deserializeAws_json1_1DescribePipelineResponse = (output, context) => {
23250
23296
  LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
23251
23297
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRunTime)))
23252
23298
  : undefined,
23299
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
23300
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
23301
+ : undefined,
23253
23302
  PipelineArn: smithy_client_1.expectString(output.PipelineArn),
23254
23303
  PipelineDefinition: smithy_client_1.expectString(output.PipelineDefinition),
23255
23304
  PipelineDescription: smithy_client_1.expectString(output.PipelineDescription),
@@ -23890,6 +23939,14 @@ const deserializeAws_json1_1Edges = (output, context) => {
23890
23939
  return deserializeAws_json1_1Edge(entry, context);
23891
23940
  });
23892
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
+ };
23893
23950
  const deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = (output, context) => {
23894
23951
  return {};
23895
23952
  };
@@ -26539,6 +26596,11 @@ const deserializeAws_json1_1OutputParameterList = (output, context) => {
26539
26596
  return deserializeAws_json1_1OutputParameter(entry, context);
26540
26597
  });
26541
26598
  };
26599
+ const deserializeAws_json1_1ParallelismConfiguration = (output, context) => {
26600
+ return {
26601
+ MaxParallelExecutionSteps: smithy_client_1.expectInt32(output.MaxParallelExecutionSteps),
26602
+ };
26603
+ };
26542
26604
  const deserializeAws_json1_1Parameter = (output, context) => {
26543
26605
  return {
26544
26606
  Name: smithy_client_1.expectString(output.Name),
@@ -26702,6 +26764,9 @@ const deserializeAws_json1_1Pipeline = (output, context) => {
26702
26764
  LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
26703
26765
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRunTime)))
26704
26766
  : undefined,
26767
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
26768
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
26769
+ : undefined,
26705
26770
  PipelineArn: smithy_client_1.expectString(output.PipelineArn),
26706
26771
  PipelineDescription: smithy_client_1.expectString(output.PipelineDescription),
26707
26772
  PipelineDisplayName: smithy_client_1.expectString(output.PipelineDisplayName),
@@ -26728,6 +26793,9 @@ const deserializeAws_json1_1PipelineExecution = (output, context) => {
26728
26793
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
26729
26794
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
26730
26795
  : undefined,
26796
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
26797
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
26798
+ : undefined,
26731
26799
  PipelineArn: smithy_client_1.expectString(output.PipelineArn),
26732
26800
  PipelineExecutionArn: smithy_client_1.expectString(output.PipelineExecutionArn),
26733
26801
  PipelineExecutionDescription: smithy_client_1.expectString(output.PipelineExecutionDescription),
@@ -26743,6 +26811,7 @@ const deserializeAws_json1_1PipelineExecution = (output, context) => {
26743
26811
  };
26744
26812
  const deserializeAws_json1_1PipelineExecutionStep = (output, context) => {
26745
26813
  return {
26814
+ AttemptCount: smithy_client_1.expectInt32(output.AttemptCount),
26746
26815
  CacheHitResult: output.CacheHitResult !== undefined && output.CacheHitResult !== null
26747
26816
  ? deserializeAws_json1_1CacheHitResult(output.CacheHitResult, context)
26748
26817
  : undefined,
@@ -26756,6 +26825,8 @@ const deserializeAws_json1_1PipelineExecutionStep = (output, context) => {
26756
26825
  StartTime: output.StartTime !== undefined && output.StartTime !== null
26757
26826
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
26758
26827
  : undefined,
26828
+ StepDescription: smithy_client_1.expectString(output.StepDescription),
26829
+ StepDisplayName: smithy_client_1.expectString(output.StepDisplayName),
26759
26830
  StepName: smithy_client_1.expectString(output.StepName),
26760
26831
  StepStatus: smithy_client_1.expectString(output.StepStatus),
26761
26832
  };
@@ -26781,6 +26852,9 @@ const deserializeAws_json1_1PipelineExecutionStepMetadata = (output, context) =>
26781
26852
  Condition: output.Condition !== undefined && output.Condition !== null
26782
26853
  ? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
26783
26854
  : undefined,
26855
+ EMR: output.EMR !== undefined && output.EMR !== null
26856
+ ? deserializeAws_json1_1EMRStepMetadata(output.EMR, context)
26857
+ : undefined,
26784
26858
  Lambda: output.Lambda !== undefined && output.Lambda !== null
26785
26859
  ? deserializeAws_json1_1LambdaStepMetadata(output.Lambda, context)
26786
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 : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
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
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
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(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
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/models_1";
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, DescribeModelOutput } from "../models/models_1";
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, ListTrainingJobsForHyperParameterTuningJobResponse, } from "../models/models_2";
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/models_2";
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);
@@ -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"],
@@ -73,6 +53,7 @@ var partitionHash = {
73
53
  "ap-south-1",
74
54
  "ap-southeast-1",
75
55
  "ap-southeast-2",
56
+ "ap-southeast-3",
76
57
  "ca-central-1",
77
58
  "eu-central-1",
78
59
  "eu-north-1",
@@ -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";
@@ -908,6 +908,7 @@ export var CompilationJobStatus;
908
908
  export var TargetDevice;
909
909
  (function (TargetDevice) {
910
910
  TargetDevice["AISAGE"] = "aisage";
911
+ TargetDevice["AMBA_CV2"] = "amba_cv2";
911
912
  TargetDevice["AMBA_CV22"] = "amba_cv22";
912
913
  TargetDevice["AMBA_CV25"] = "amba_cv25";
913
914
  TargetDevice["COREML"] = "coreml";
@@ -971,10 +972,6 @@ export var ConditionStepMetadata;
971
972
  (function (ConditionStepMetadata) {
972
973
  ConditionStepMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
973
974
  })(ConditionStepMetadata || (ConditionStepMetadata = {}));
974
- export var ConflictException;
975
- (function (ConflictException) {
976
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
977
- })(ConflictException || (ConflictException = {}));
978
975
  export var RepositoryAccessMode;
979
976
  (function (RepositoryAccessMode) {
980
977
  RepositoryAccessMode["PLATFORM"] = "Platform";
@@ -1098,10 +1095,6 @@ export var CreateAppResponse;
1098
1095
  (function (CreateAppResponse) {
1099
1096
  CreateAppResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1100
1097
  })(CreateAppResponse || (CreateAppResponse = {}));
1101
- export var ResourceInUse;
1102
- (function (ResourceInUse) {
1103
- ResourceInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1104
- })(ResourceInUse || (ResourceInUse = {}));
1105
1098
  export var CreateAppImageConfigRequest;
1106
1099
  (function (CreateAppImageConfigRequest) {
1107
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)); };