libZSservicesZSamazonka-healthZSamazonka-health
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AWSHealth.Types.EventDetailsErrorItem

Description

 
Synopsis

Documentation

data EventDetailsErrorItem Source #

Error information returned when a DescribeEventDetails operation can't find a specified event.

See: newEventDetailsErrorItem smart constructor.

Constructors

EventDetailsErrorItem' 

Fields

  • eventArn :: Maybe Text

    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
  • errorName :: Maybe Text

    The name of the error.

  • errorMessage :: Maybe Text

    A message that describes the error.

Instances

Instances details
Eq EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Read EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Show EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Generic EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Associated Types

type Rep EventDetailsErrorItem :: Type -> Type #

NFData EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

Methods

rnf :: EventDetailsErrorItem -> () #

Hashable EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

FromJSON EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

type Rep EventDetailsErrorItem Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.EventDetailsErrorItem

type Rep EventDetailsErrorItem = D1 ('MetaData "EventDetailsErrorItem" "Amazonka.AWSHealth.Types.EventDetailsErrorItem" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "EventDetailsErrorItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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