# README

sdkutil Package

This package contains utilities for interacting with SageMaker SDK types. Specifically, these files help convert and compare the operator's SageMaker types to SageMaker SDK types.

# Packages

No description provided by the author

# Functions

ConvertAutoscalingResourceToString converts a map to a key value pair.
ConvertDebugRuleEvaluationStatusesFromSageMaker converts an array of SageMaker DebugRuleEvaluationStatus to a Kubernetes SageMaker type.
ConvertHyperParameterTrainingJobSummaryFromSageMaker converts a HyperParameterTrainingJobSummary to a Kubernetes SageMaker type, returning errors if there are any.
ConvertKeyValuePairSliceToMap converts key value pairs to a map.
ConvertMapToKeyValuePairSlice converts a map to a key value pair.
ConvertProductionVariantSummary creates a *commonv1.ProductionVariantSummary from the equivalent SageMaker type.
ConvertProductionVariantSummarySlice creates a []*commonv1.ProductionVariantSummary from the equivalent SageMaker type.
ConvertTagSliceToSageMakerTagSlice converts Tags to Sagemaker Tags.
Converts VariantProperties to SageMaker VariantProperties.
CreateCreateBatchTransformJobInputFromSpec creates a CreateTrainingJobInput from a BatchTransformJobSpec.
CreateCreateEndpointConfigInputFromSpec creates a CreateEndpointConfig request input from a Kubernetes EndpointConfig spec.
CreateCreateHyperParameterTuningJobInputFromSpec creates a CreateHPO request input from a Kubernetes HPO spec.
CreateCreateModelInputFromSpec creates a CreateModel request input from a Kubernetes Model spec.
CreateCreateProcessingJobInputFromSpec creates a CreateProcessingJobInput from a ProcessingJobSpec.
CreateCreateTrainingJobInputFromSpec creates a CreateTrainingJobInput from a TrainingJobSpec.
CreateDeleteEndpointConfigInput creates a DeleteEndpointConfigRequest input from a EndpointConfigName.
CreateDeleteModelInput creates a DeleteModel request input from a ModelName.
CreateDeleteScalingPolicyInput creates DeleteScalingPolicyInput from spec.
CreateDeregisterScalableTargetInput creates DeregisterScalableTargetInput from spec.
CreateEndpointConfigSpecFromDescription creates a Kubernetes EndpointConfig spec from a SageMaker endpointconfig description.
CreateHostingAutoscalingPolicySpecFromDescription creates a Kubernetes spec from a List of Descriptions Review: Needs a major review and also update if additional fields are added/removed from spec.
CreateHyperParameterTuningJobSpecFromDescription creates a HyperParameterTuningJobSpec from a DescribeHyperParameterTuningJobOutput.
CreateModelSpecFromDescription creates a Kubernetes Model spec from a SageMaker model description.
CreatePutScalingPolicyInputFromSpec from a JobSpec.
CreateRegisterScalableTargetInputFromSpec from a JobSpec.
CreateTrainingJobSpecFromDescription creates a TrainingJobSpec from a SageMaker description.
CreateTrainingJobStatusCountersFromDescription creates a set of TrainingJobStatusCounters from a DescribeHyperParameterTuningJobOutput.
CreateTransformJobSpecFromDescription creates a BatchTransformJobSpec from a DescribeTrainingJobOutput.
Determine if the given EndpointConfigSpec matches the DescribeEndpointConfigOutput.
HostingAutoscalingPolicySpecMatchesDescription determines if the given HostingAutoscalingPolicySpec matches the DescribeScalingPoliciesOutput.
Determine if the given HyperparameterTuningJobSpec matches the DescribeHyperParameterTuningJobOutput.
Determine if the given ModelSpec matches the DescribeModelOutput.
Determine if the given BatchTransformJobSpec matches the DescribeTransformJobOutput.

# Constants

HostingAutoscalingPolicyServiceNamespace is a constant value for using the Autoscaling API in the SageMaker Service.

# Structs

Comparison is a simple struct representing whether two objects match and their differences.