| 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.AWSHealth.Types.EventDetailsErrorItem
Description
Synopsis
- data EventDetailsErrorItem = EventDetailsErrorItem' {}
- newEventDetailsErrorItem :: EventDetailsErrorItem
- eventDetailsErrorItem_errorMessage :: Lens' EventDetailsErrorItem (Maybe Text)
- eventDetailsErrorItem_errorName :: Lens' EventDetailsErrorItem (Maybe Text)
- eventDetailsErrorItem_eventArn :: Lens' EventDetailsErrorItem (Maybe Text)
Documentation
data EventDetailsErrorItem Source #
Error information returned when a DescribeEventDetails operation can't find a specified event.
See: newEventDetailsErrorItem smart constructor.
Constructors
| EventDetailsErrorItem' | |
Fields
| |
Instances
newEventDetailsErrorItem :: EventDetailsErrorItem Source #
Create a value of EventDetailsErrorItem 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:errorMessage:EventDetailsErrorItem', eventDetailsErrorItem_errorMessage - A message that describes the error.
$sel:errorName:EventDetailsErrorItem', eventDetailsErrorItem_errorName - The name of the error.
$sel:eventArn:EventDetailsErrorItem', eventDetailsErrorItem_eventArn - The unique identifier for the event. The event ARN has the
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
eventDetailsErrorItem_errorMessage :: Lens' EventDetailsErrorItem (Maybe Text) Source #
A message that describes the error.
eventDetailsErrorItem_errorName :: Lens' EventDetailsErrorItem (Maybe Text) Source #
The name of the error.
eventDetailsErrorItem_eventArn :: Lens' EventDetailsErrorItem (Maybe Text) Source #
The unique identifier for the event. The event ARN has the
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456