Class: Aws::SageMakerMetrics::Types::BatchPutMetricsError

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

Overview

An error that occured when putting the metric data.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code of an error that occured when attempting to put metrics.

  • METRIC_LIMIT_EXCEEDED: The maximum amount of metrics per resource is exceeded.

  • INTERNAL_ERROR: An internal error occured.

  • VALIDATION_ERROR: The metric data failed validation.

  • CONFLICT_ERROR: Multiple requests attempted to modify the same data simultaneously.

Returns:

  • (String)


36
37
38
39
40
41
# File 'gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/types.rb', line 36

class BatchPutMetricsError < Struct.new(
  :code,
  :metric_index)
  SENSITIVE = []
  include Aws::Structure
end

#metric_indexInteger

An index that corresponds to the metric in the request.

Returns:

  • (Integer)


36
37
38
39
40
41
# File 'gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/types.rb', line 36

class BatchPutMetricsError < Struct.new(
  :code,
  :metric_index)
  SENSITIVE = []
  include Aws::Structure
end