amazonka-sagemaker-metrics-2.0: Amazon SageMaker Metrics Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Description

 
Synopsis

Documentation

data BatchPutMetricsError Source #

An error that occured when putting the metric data.

See: newBatchPutMetricsError smart constructor.

Constructors

BatchPutMetricsError' 

Fields

  • code :: Maybe PutMetricsErrorCode

    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.
  • metricIndex :: Maybe Int

    An index that corresponds to the metric in the request.

Instances

Instances details
FromJSON BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Generic BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Associated Types

type Rep BatchPutMetricsError :: Type -> Type #

Read BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Show BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

NFData BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Methods

rnf :: BatchPutMetricsError -> () #

Eq BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Hashable BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

type Rep BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

type Rep BatchPutMetricsError = D1 ('MetaData "BatchPutMetricsError" "Amazonka.SageMakerMetrics.Types.BatchPutMetricsError" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'False) (C1 ('MetaCons "BatchPutMetricsError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PutMetricsErrorCode)) :*: S1 ('MetaSel ('Just "metricIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newBatchPutMetricsError :: BatchPutMetricsError Source #

Create a value of BatchPutMetricsError with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:code:BatchPutMetricsError', batchPutMetricsError_code - 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.

$sel:metricIndex:BatchPutMetricsError', batchPutMetricsError_metricIndex - An index that corresponds to the metric in the request.

batchPutMetricsError_code :: Lens' BatchPutMetricsError (Maybe PutMetricsErrorCode) Source #

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.

batchPutMetricsError_metricIndex :: Lens' BatchPutMetricsError (Maybe Int) Source #

An index that corresponds to the metric in the request.