@aws-sdk/client-sagemaker 3.231.0 → 3.232.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 +58 -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 +58 -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 +698 -706
- package/dist-types/models/models_1.d.ts +1112 -1191
- package/dist-types/models/models_2.d.ts +377 -336
- 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 +8 -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
|
@@ -17416,6 +17416,9 @@ const serializeAws_json1_1RecommendationJobInputConfig = (input, context) => {
|
|
|
17416
17416
|
TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
|
|
17417
17417
|
}),
|
|
17418
17418
|
...(input.VolumeKmsKeyId != null && { VolumeKmsKeyId: input.VolumeKmsKeyId }),
|
|
17419
|
+
...(input.VpcConfig != null && {
|
|
17420
|
+
VpcConfig: serializeAws_json1_1RecommendationJobVpcConfig(input.VpcConfig, context),
|
|
17421
|
+
}),
|
|
17419
17422
|
};
|
|
17420
17423
|
};
|
|
17421
17424
|
const serializeAws_json1_1RecommendationJobOutputConfig = (input, context) => {
|
|
@@ -17462,6 +17465,28 @@ const serializeAws_json1_1RecommendationJobSupportedInstanceTypes = (input, cont
|
|
|
17462
17465
|
return entry;
|
|
17463
17466
|
});
|
|
17464
17467
|
};
|
|
17468
|
+
const serializeAws_json1_1RecommendationJobVpcConfig = (input, context) => {
|
|
17469
|
+
return {
|
|
17470
|
+
...(input.SecurityGroupIds != null && {
|
|
17471
|
+
SecurityGroupIds: serializeAws_json1_1RecommendationJobVpcSecurityGroupIds(input.SecurityGroupIds, context),
|
|
17472
|
+
}),
|
|
17473
|
+
...(input.Subnets != null && { Subnets: serializeAws_json1_1RecommendationJobVpcSubnets(input.Subnets, context) }),
|
|
17474
|
+
};
|
|
17475
|
+
};
|
|
17476
|
+
const serializeAws_json1_1RecommendationJobVpcSecurityGroupIds = (input, context) => {
|
|
17477
|
+
return input
|
|
17478
|
+
.filter((e) => e != null)
|
|
17479
|
+
.map((entry) => {
|
|
17480
|
+
return entry;
|
|
17481
|
+
});
|
|
17482
|
+
};
|
|
17483
|
+
const serializeAws_json1_1RecommendationJobVpcSubnets = (input, context) => {
|
|
17484
|
+
return input
|
|
17485
|
+
.filter((e) => e != null)
|
|
17486
|
+
.map((entry) => {
|
|
17487
|
+
return entry;
|
|
17488
|
+
});
|
|
17489
|
+
};
|
|
17465
17490
|
const serializeAws_json1_1RedshiftDatasetDefinition = (input, context) => {
|
|
17466
17491
|
return {
|
|
17467
17492
|
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
@@ -26547,6 +26572,9 @@ const deserializeAws_json1_1RecommendationJobInputConfig = (output, context) =>
|
|
|
26547
26572
|
: undefined,
|
|
26548
26573
|
TrafficPattern: output.TrafficPattern != null ? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context) : undefined,
|
|
26549
26574
|
VolumeKmsKeyId: __expectString(output.VolumeKmsKeyId),
|
|
26575
|
+
VpcConfig: output.VpcConfig != null
|
|
26576
|
+
? deserializeAws_json1_1RecommendationJobVpcConfig(output.VpcConfig, context)
|
|
26577
|
+
: undefined,
|
|
26550
26578
|
};
|
|
26551
26579
|
};
|
|
26552
26580
|
const deserializeAws_json1_1RecommendationJobPayloadConfig = (output, context) => {
|
|
@@ -26593,6 +26621,36 @@ const deserializeAws_json1_1RecommendationJobSupportedInstanceTypes = (output, c
|
|
|
26593
26621
|
});
|
|
26594
26622
|
return retVal;
|
|
26595
26623
|
};
|
|
26624
|
+
const deserializeAws_json1_1RecommendationJobVpcConfig = (output, context) => {
|
|
26625
|
+
return {
|
|
26626
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
26627
|
+
? deserializeAws_json1_1RecommendationJobVpcSecurityGroupIds(output.SecurityGroupIds, context)
|
|
26628
|
+
: undefined,
|
|
26629
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_1RecommendationJobVpcSubnets(output.Subnets, context) : undefined,
|
|
26630
|
+
};
|
|
26631
|
+
};
|
|
26632
|
+
const deserializeAws_json1_1RecommendationJobVpcSecurityGroupIds = (output, context) => {
|
|
26633
|
+
const retVal = (output || [])
|
|
26634
|
+
.filter((e) => e != null)
|
|
26635
|
+
.map((entry) => {
|
|
26636
|
+
if (entry === null) {
|
|
26637
|
+
return null;
|
|
26638
|
+
}
|
|
26639
|
+
return __expectString(entry);
|
|
26640
|
+
});
|
|
26641
|
+
return retVal;
|
|
26642
|
+
};
|
|
26643
|
+
const deserializeAws_json1_1RecommendationJobVpcSubnets = (output, context) => {
|
|
26644
|
+
const retVal = (output || [])
|
|
26645
|
+
.filter((e) => e != null)
|
|
26646
|
+
.map((entry) => {
|
|
26647
|
+
if (entry === null) {
|
|
26648
|
+
return null;
|
|
26649
|
+
}
|
|
26650
|
+
return __expectString(entry);
|
|
26651
|
+
});
|
|
26652
|
+
return retVal;
|
|
26653
|
+
};
|
|
26596
26654
|
const deserializeAws_json1_1RecommendationMetrics = (output, context) => {
|
|
26597
26655
|
return {
|
|
26598
26656
|
CostPerHour: __limitedParseFloat32(output.CostPerHour),
|