@aws-sdk/client-sagemaker 3.231.0 → 3.233.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/DescribeAppCommand.js +2 -1
- package/dist-cjs/commands/ListCodeRepositoriesCommand.js +1 -2
- package/dist-cjs/commands/UpdateImageCommand.js +2 -1
- package/dist-cjs/endpoint/ruleset.js +0 -9
- package/dist-cjs/models/models_1.js +10 -10
- package/dist-cjs/models/models_2.js +9 -9
- package/dist-cjs/models/models_3.js +10 -10
- package/dist-cjs/models/models_4.js +5 -1
- package/dist-cjs/protocols/Aws_json1_1.js +60 -0
- package/dist-es/commands/DescribeAppCommand.js +2 -1
- package/dist-es/commands/ListCodeRepositoriesCommand.js +1 -2
- package/dist-es/commands/UpdateImageCommand.js +2 -1
- package/dist-es/endpoint/ruleset.js +0 -9
- package/dist-es/models/models_1.js +3 -3
- package/dist-es/models/models_2.js +3 -3
- package/dist-es/models/models_3.js +3 -3
- package/dist-es/models/models_4.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +60 -0
- package/dist-types/SageMaker.d.ts +166 -181
- package/dist-types/SageMakerClient.d.ts +4 -4
- package/dist-types/commands/AddTagsCommand.d.ts +5 -5
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +9 -9
- package/dist-types/commands/CreateDomainCommand.d.ts +0 -2
- package/dist-types/commands/CreateEndpointCommand.d.ts +22 -24
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +6 -6
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +3 -3
- package/dist-types/commands/CreateInferenceExperimentCommand.d.ts +2 -2
- package/dist-types/commands/CreateLabelingJobCommand.d.ts +9 -9
- package/dist-types/commands/CreateModelCommand.d.ts +5 -5
- package/dist-types/commands/CreateModelPackageCommand.d.ts +7 -7
- package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +10 -12
- package/dist-types/commands/CreateNotebookInstanceLifecycleConfigCommand.d.ts +5 -5
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +4 -4
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +20 -21
- package/dist-types/commands/CreateTransformJobCommand.d.ts +9 -9
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -4
- package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DeleteEndpointConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotebookInstanceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTagsCommand.d.ts +5 -5
- package/dist-types/commands/DeleteWorkforceCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAppCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +2 -2
- package/dist-types/commands/ListCodeRepositoriesCommand.d.ts +1 -2
- package/dist-types/commands/ListCompilationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +2 -2
- package/dist-types/commands/StopCompilationJobCommand.d.ts +2 -2
- package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +0 -2
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +3 -3
- package/dist-types/commands/UpdateImageCommand.d.ts +2 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +2 -2
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +10 -12
- package/dist-types/models/models_0.d.ts +701 -709
- package/dist-types/models/models_1.d.ts +1127 -1202
- package/dist-types/models/models_2.d.ts +379 -338
- package/dist-types/models/models_3.d.ts +151 -112
- package/dist-types/models/models_4.d.ts +26 -11
- package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListCodeRepositoriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_1.d.ts +9 -19
- package/dist-types/ts3.4/models/models_2.d.ts +19 -16
- package/dist-types/ts3.4/models/models_3.d.ts +16 -6
- package/dist-types/ts3.4/models/models_4.d.ts +6 -0
- package/package.json +1 -1
|
@@ -14975,6 +14975,7 @@ const serializeAws_json1_1HyperParameterTuningJobConfig = (input, context) => {
|
|
|
14975
14975
|
...(input.ParameterRanges != null && {
|
|
14976
14976
|
ParameterRanges: serializeAws_json1_1ParameterRanges(input.ParameterRanges, context),
|
|
14977
14977
|
}),
|
|
14978
|
+
...(input.RandomSeed != null && { RandomSeed: input.RandomSeed }),
|
|
14978
14979
|
...(input.ResourceLimits != null && {
|
|
14979
14980
|
ResourceLimits: serializeAws_json1_1ResourceLimits(input.ResourceLimits, context),
|
|
14980
14981
|
}),
|
|
@@ -17416,6 +17417,9 @@ const serializeAws_json1_1RecommendationJobInputConfig = (input, context) => {
|
|
|
17416
17417
|
TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
|
|
17417
17418
|
}),
|
|
17418
17419
|
...(input.VolumeKmsKeyId != null && { VolumeKmsKeyId: input.VolumeKmsKeyId }),
|
|
17420
|
+
...(input.VpcConfig != null && {
|
|
17421
|
+
VpcConfig: serializeAws_json1_1RecommendationJobVpcConfig(input.VpcConfig, context),
|
|
17422
|
+
}),
|
|
17419
17423
|
};
|
|
17420
17424
|
};
|
|
17421
17425
|
const serializeAws_json1_1RecommendationJobOutputConfig = (input, context) => {
|
|
@@ -17462,6 +17466,28 @@ const serializeAws_json1_1RecommendationJobSupportedInstanceTypes = (input, cont
|
|
|
17462
17466
|
return entry;
|
|
17463
17467
|
});
|
|
17464
17468
|
};
|
|
17469
|
+
const serializeAws_json1_1RecommendationJobVpcConfig = (input, context) => {
|
|
17470
|
+
return {
|
|
17471
|
+
...(input.SecurityGroupIds != null && {
|
|
17472
|
+
SecurityGroupIds: serializeAws_json1_1RecommendationJobVpcSecurityGroupIds(input.SecurityGroupIds, context),
|
|
17473
|
+
}),
|
|
17474
|
+
...(input.Subnets != null && { Subnets: serializeAws_json1_1RecommendationJobVpcSubnets(input.Subnets, context) }),
|
|
17475
|
+
};
|
|
17476
|
+
};
|
|
17477
|
+
const serializeAws_json1_1RecommendationJobVpcSecurityGroupIds = (input, context) => {
|
|
17478
|
+
return input
|
|
17479
|
+
.filter((e) => e != null)
|
|
17480
|
+
.map((entry) => {
|
|
17481
|
+
return entry;
|
|
17482
|
+
});
|
|
17483
|
+
};
|
|
17484
|
+
const serializeAws_json1_1RecommendationJobVpcSubnets = (input, context) => {
|
|
17485
|
+
return input
|
|
17486
|
+
.filter((e) => e != null)
|
|
17487
|
+
.map((entry) => {
|
|
17488
|
+
return entry;
|
|
17489
|
+
});
|
|
17490
|
+
};
|
|
17465
17491
|
const serializeAws_json1_1RedshiftDatasetDefinition = (input, context) => {
|
|
17466
17492
|
return {
|
|
17467
17493
|
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
@@ -23154,6 +23180,7 @@ const deserializeAws_json1_1HyperParameterTuningJobConfig = (output, context) =>
|
|
|
23154
23180
|
ParameterRanges: output.ParameterRanges != null
|
|
23155
23181
|
? deserializeAws_json1_1ParameterRanges(output.ParameterRanges, context)
|
|
23156
23182
|
: undefined,
|
|
23183
|
+
RandomSeed: __expectInt32(output.RandomSeed),
|
|
23157
23184
|
ResourceLimits: output.ResourceLimits != null ? deserializeAws_json1_1ResourceLimits(output.ResourceLimits, context) : undefined,
|
|
23158
23185
|
Strategy: __expectString(output.Strategy),
|
|
23159
23186
|
StrategyConfig: output.StrategyConfig != null
|
|
@@ -26547,6 +26574,9 @@ const deserializeAws_json1_1RecommendationJobInputConfig = (output, context) =>
|
|
|
26547
26574
|
: undefined,
|
|
26548
26575
|
TrafficPattern: output.TrafficPattern != null ? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context) : undefined,
|
|
26549
26576
|
VolumeKmsKeyId: __expectString(output.VolumeKmsKeyId),
|
|
26577
|
+
VpcConfig: output.VpcConfig != null
|
|
26578
|
+
? deserializeAws_json1_1RecommendationJobVpcConfig(output.VpcConfig, context)
|
|
26579
|
+
: undefined,
|
|
26550
26580
|
};
|
|
26551
26581
|
};
|
|
26552
26582
|
const deserializeAws_json1_1RecommendationJobPayloadConfig = (output, context) => {
|
|
@@ -26593,6 +26623,36 @@ const deserializeAws_json1_1RecommendationJobSupportedInstanceTypes = (output, c
|
|
|
26593
26623
|
});
|
|
26594
26624
|
return retVal;
|
|
26595
26625
|
};
|
|
26626
|
+
const deserializeAws_json1_1RecommendationJobVpcConfig = (output, context) => {
|
|
26627
|
+
return {
|
|
26628
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
26629
|
+
? deserializeAws_json1_1RecommendationJobVpcSecurityGroupIds(output.SecurityGroupIds, context)
|
|
26630
|
+
: undefined,
|
|
26631
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_1RecommendationJobVpcSubnets(output.Subnets, context) : undefined,
|
|
26632
|
+
};
|
|
26633
|
+
};
|
|
26634
|
+
const deserializeAws_json1_1RecommendationJobVpcSecurityGroupIds = (output, context) => {
|
|
26635
|
+
const retVal = (output || [])
|
|
26636
|
+
.filter((e) => e != null)
|
|
26637
|
+
.map((entry) => {
|
|
26638
|
+
if (entry === null) {
|
|
26639
|
+
return null;
|
|
26640
|
+
}
|
|
26641
|
+
return __expectString(entry);
|
|
26642
|
+
});
|
|
26643
|
+
return retVal;
|
|
26644
|
+
};
|
|
26645
|
+
const deserializeAws_json1_1RecommendationJobVpcSubnets = (output, context) => {
|
|
26646
|
+
const retVal = (output || [])
|
|
26647
|
+
.filter((e) => e != null)
|
|
26648
|
+
.map((entry) => {
|
|
26649
|
+
if (entry === null) {
|
|
26650
|
+
return null;
|
|
26651
|
+
}
|
|
26652
|
+
return __expectString(entry);
|
|
26653
|
+
});
|
|
26654
|
+
return retVal;
|
|
26655
|
+
};
|
|
26596
26656
|
const deserializeAws_json1_1RecommendationMetrics = (output, context) => {
|
|
26597
26657
|
return {
|
|
26598
26658
|
CostPerHour: __limitedParseFloat32(output.CostPerHour),
|