SageMaker.InferenceComponent
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-deployedimage.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentruntimeconfig.html
and inference_component_startup_parameters = {
model_data_download_timeout_in_seconds : int option;
container_startup_health_check_timeout_in_seconds : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentstartupparameters.html
and inference_component_compute_resource_requirements = {
number_of_accelerator_devices_required : float option;
max_memory_required_in_mb : int option;
min_memory_required_in_mb : int option;
number_of_cpu_cores_required : float option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcomputeresourcerequirements.html
and inference_component_container_specification = {
artifact_url : string option;
environment : string Stdlib__Map.Make(Stdlib.String).t option;
deployed_image : deployed_image option;
image : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcontainerspecification.html
and inference_component_specification = {
container : inference_component_container_specification option;
model_name : string option;
compute_resource_requirements : inference_component_compute_resource_requirements;
startup_parameters : inference_component_startup_parameters option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html
type properties = {
endpoint_name : string;
variant_name : string;
inference_component_name : string option;
specification : inference_component_specification;
runtime_config : inference_component_runtime_config;
endpoint_arn : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html;
val make_properties :
endpoint_name:string ->
variant_name:string ->
?inference_component_name:string ->
specification:inference_component_specification ->
runtime_config:inference_component_runtime_config ->
?endpoint_arn:string ->
?tags:tag list ->
unit ->
properties
val make_deployed_image :
?resolution_time:string ->
?specified_image:string ->
?resolved_image:string ->
unit ->
deployed_image
val make_tag : value:string -> key:string -> unit -> tag
val make_inference_component_runtime_config :
?current_copy_count:int ->
?desired_copy_count:int ->
?copy_count:int ->
unit ->
inference_component_runtime_config
val make_inference_component_startup_parameters :
?model_data_download_timeout_in_seconds:int ->
?container_startup_health_check_timeout_in_seconds:int ->
unit ->
inference_component_startup_parameters
val make_inference_component_compute_resource_requirements :
?number_of_accelerator_devices_required:float ->
?max_memory_required_in_mb:int ->
?min_memory_required_in_mb:int ->
?number_of_cpu_cores_required:float ->
unit ->
inference_component_compute_resource_requirements
val make_inference_component_container_specification :
?artifact_url:string ->
?environment:string Stdlib__Map.Make(Stdlib.String).t ->
?deployed_image:deployed_image ->
?image:string ->
unit ->
inference_component_container_specification
val make_inference_component_specification :
?container:inference_component_container_specification ->
?model_name:string ->
compute_resource_requirements:
inference_component_compute_resource_requirements ->
?startup_parameters:inference_component_startup_parameters ->
unit ->
inference_component_specification
val yojson_of_deployed_image : deployed_image -> Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_inference_component_runtime_config :
inference_component_runtime_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_inference_component_startup_parameters :
inference_component_startup_parameters ->
Yojson.Safe.t
val yojson_of_inference_component_compute_resource_requirements :
inference_component_compute_resource_requirements ->
Yojson.Safe.t
val yojson_of_inference_component_container_specification :
inference_component_container_specification ->
Yojson.Safe.t
val yojson_of_inference_component_specification :
inference_component_specification ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
ref_ : string;
specification__container__deployed_image__resolution_time : string;
failure_reason : string;
inference_component_status : string;
creation_time : string;
last_modified_time : string;
inference_component_arn : string;
specification__container__deployed_image__resolved_image : string;
runtime_config__current_copy_count : int;
runtime_config__desired_copy_count : int;
specification__container__deployed_image__specified_image : string;
}
val create_attributes : string -> attributes