| 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 |
Amazonka.CloudWatch.Types.MessageData
Description
Synopsis
- data MessageData = MessageData' {}
- newMessageData :: MessageData
- messageData_code :: Lens' MessageData (Maybe Text)
- messageData_value :: Lens' MessageData (Maybe Text)
Documentation
data MessageData Source #
A message returned by the GetMetricDataAPI, including a code and a
description.
If a cross-Region GetMetricData operation fails with a code of
Forbidden and a value of
Authentication too complex to retrieve cross region data, you can
correct the problem by running the GetMetricData operation in the same
Region where the metric data is.
See: newMessageData smart constructor.
Constructors
| MessageData' | |
Instances
newMessageData :: MessageData Source #
Create a value of MessageData 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:MessageData', messageData_code - The error code or status code associated with the message.
$sel:value:MessageData', messageData_value - The message text.
messageData_code :: Lens' MessageData (Maybe Text) Source #
The error code or status code associated with the message.
messageData_value :: Lens' MessageData (Maybe Text) Source #
The message text.