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 MetricDataError Source #
An error corresponding to the unsuccessful processing of a single metric data query.
See: newMetricDataError
smart constructor.
MetricDataError' | |
|
Instances
newMetricDataError :: MetricDataError Source #
Create a value of MetricDataError
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:MetricDataError'
, metricDataError_code
- The query error code. Can be one of:
INTERNAL_FAILURE
– Amazon SES has failed to process one of the queries.ACCESS_DENIED
– You have insufficient access to retrieve metrics based on the given query.
$sel:id:MetricDataError'
, metricDataError_id
- The query identifier.
$sel:message:MetricDataError'
, metricDataError_message
- The error message associated with the current query error.
metricDataError_code :: Lens' MetricDataError (Maybe QueryErrorCode) Source #
The query error code. Can be one of:
INTERNAL_FAILURE
– Amazon SES has failed to process one of the queries.ACCESS_DENIED
– You have insufficient access to retrieve metrics based on the given query.
metricDataError_id :: Lens' MetricDataError (Maybe Text) Source #
The query identifier.
metricDataError_message :: Lens' MetricDataError (Maybe Text) Source #
The error message associated with the current query error.