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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2022-09-30 of the Amazon SageMaker Metrics Service SDK configuration.

Errors

PutMetricsErrorCode

newtype PutMetricsErrorCode Source #

Instances

Instances details
FromJSON PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

FromJSONKey PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToJSON PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToJSONKey PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToByteString PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToHeader PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToLog PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToQuery PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

FromText PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToText PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

FromXML PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToXML PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Generic PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Associated Types

type Rep PutMetricsErrorCode :: Type -> Type #

Read PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Show PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

NFData PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Methods

rnf :: PutMetricsErrorCode -> () #

Eq PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Ord PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Hashable PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

type Rep PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

type Rep PutMetricsErrorCode = D1 ('MetaData "PutMetricsErrorCode" "Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'True) (C1 ('MetaCons "PutMetricsErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPutMetricsErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BatchPutMetricsError

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.

RawMetricData

data RawMetricData Source #

The raw metric data to associate with the resource.

See: newRawMetricData smart constructor.

Constructors

RawMetricData' 

Fields

Instances

Instances details
ToJSON RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Generic RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Associated Types

type Rep RawMetricData :: Type -> Type #

Read RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Show RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

NFData RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Methods

rnf :: RawMetricData -> () #

Eq RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Hashable RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

type Rep RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

type Rep RawMetricData = D1 ('MetaData "RawMetricData" "Amazonka.SageMakerMetrics.Types.RawMetricData" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'False) (C1 ('MetaCons "RawMetricData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "step") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))))

newRawMetricData Source #

Create a value of RawMetricData 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:step:RawMetricData', rawMetricData_step - The metric step (epoch).

$sel:metricName:RawMetricData', rawMetricData_metricName - The name of the metric.

$sel:timestamp:RawMetricData', rawMetricData_timestamp - The time that the metric was recorded.

$sel:value:RawMetricData', rawMetricData_value - The metric value.

rawMetricData_timestamp :: Lens' RawMetricData UTCTime Source #

The time that the metric was recorded.