Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EventDetailsErrorItem = EventDetailsErrorItem' {}
- newEventDetailsErrorItem :: EventDetailsErrorItem
- eventDetailsErrorItem_eventArn :: Lens' EventDetailsErrorItem (Maybe Text)
- eventDetailsErrorItem_errorName :: Lens' EventDetailsErrorItem (Maybe Text)
- eventDetailsErrorItem_errorMessage :: 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.
EventDetailsErrorItem' | |
|
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: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
$sel:errorName:EventDetailsErrorItem'
, eventDetailsErrorItem_errorName
- The name of the error.
$sel:errorMessage:EventDetailsErrorItem'
, eventDetailsErrorItem_errorMessage
- A message that describes 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
eventDetailsErrorItem_errorName :: Lens' EventDetailsErrorItem (Maybe Text) Source #
The name of the error.
eventDetailsErrorItem_errorMessage :: Lens' EventDetailsErrorItem (Maybe Text) Source #
A message that describes the error.