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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


60
61
62
63
64
65
# File 'lib/aws-sdk-sagemakermetrics/types.rb', line 60

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)


60
61
62
63
64
65
# File 'lib/aws-sdk-sagemakermetrics/types.rb', line 60

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