Class: Aws::SagemakerEdgeManager::Types::Model

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb

Overview

Note:

When making an API call, you may pass Model data as a hash:

{
  model_name: "ModelName",
  model_version: "Version",
  latest_sample_time: Time.now,
  latest_inference: Time.now,
  model_metrics: [
    {
      dimension: "Dimension",
      metric_name: "Metric",
      value: 1.0,
      timestamp: Time.now,
    },
  ],
}

Information about a model deployed on an edge device that is registered with SageMaker Edge Manager.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#latest_inferenceTime

The timestamp of the last inference that was made.

Returns:

  • (Time)


154
155
156
157
158
159
160
161
162
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 154

class Model < Struct.new(
  :model_name,
  :model_version,
  :latest_sample_time,
  :latest_inference,
  :model_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#latest_sample_timeTime

The timestamp of the last data sample taken.

Returns:

  • (Time)


154
155
156
157
158
159
160
161
162
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 154

class Model < Struct.new(
  :model_name,
  :model_version,
  :latest_sample_time,
  :latest_inference,
  :model_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#model_metricsArray<Types::EdgeMetric>

Information required for model metrics.

Returns:



154
155
156
157
158
159
160
161
162
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 154

class Model < Struct.new(
  :model_name,
  :model_version,
  :latest_sample_time,
  :latest_inference,
  :model_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#model_nameString

The name of the model.

Returns:

  • (String)


154
155
156
157
158
159
160
161
162
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 154

class Model < Struct.new(
  :model_name,
  :model_version,
  :latest_sample_time,
  :latest_inference,
  :model_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#model_versionString

The version of the model.

Returns:

  • (String)


154
155
156
157
158
159
160
161
162
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/types.rb', line 154

class Model < Struct.new(
  :model_name,
  :model_version,
  :latest_sample_time,
  :latest_inference,
  :model_metrics)
  SENSITIVE = []
  include Aws::Structure
end