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 |
Documentation
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.