Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- defaultService :: Service
- newtype PutMetricsErrorCode where
- data BatchPutMetricsError = BatchPutMetricsError' {}
- newBatchPutMetricsError :: BatchPutMetricsError
- batchPutMetricsError_code :: Lens' BatchPutMetricsError (Maybe PutMetricsErrorCode)
- batchPutMetricsError_metricIndex :: Lens' BatchPutMetricsError (Maybe Int)
- data RawMetricData = RawMetricData' {}
- newRawMetricData :: Text -> UTCTime -> Double -> RawMetricData
- rawMetricData_step :: Lens' RawMetricData (Maybe Natural)
- rawMetricData_metricName :: Lens' RawMetricData Text
- rawMetricData_timestamp :: Lens' RawMetricData UTCTime
- rawMetricData_value :: Lens' RawMetricData Double
Service Configuration
defaultService :: Service Source #
API version 2022-09-30
of the Amazon SageMaker Metrics Service SDK configuration.
Errors
PutMetricsErrorCode
newtype PutMetricsErrorCode Source #
Instances
BatchPutMetricsError
data BatchPutMetricsError Source #
An error that occured when putting the metric data.
See: newBatchPutMetricsError
smart constructor.
BatchPutMetricsError' | |
|
Instances
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.
Instances
:: Text | |
-> UTCTime | |
-> Double | |
-> RawMetricData |
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_step :: Lens' RawMetricData (Maybe Natural) Source #
The metric step (epoch).
rawMetricData_metricName :: Lens' RawMetricData Text Source #
The name of the metric.
rawMetricData_timestamp :: Lens' RawMetricData UTCTime Source #
The time that the metric was recorded.
rawMetricData_value :: Lens' RawMetricData Double Source #
The metric value.