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.DescribeEventDetails

Description

Returns detailed information about one or more specified events. Information includes standard event data (AWS Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included. To retrieve the entities, use the DescribeAffectedEntities operation.

If a specified event can't be retrieved, an error message is returned for that event.

This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more information, see Resource- and action-based conditions in the AWS Health User Guide.

Synopsis

Creating a Request

data DescribeEventDetails Source #

See: newDescribeEventDetails smart constructor.

Constructors

DescribeEventDetails' 

Fields

  • locale :: Maybe Text

    The locale (language) to return information in. English (en) is the default and the only supported value at this time.

  • eventArns :: NonEmpty Text

    A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"

Instances

Instances details
Eq DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Read DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Show DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Generic DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetails :: Type -> Type #

NFData DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Methods

rnf :: DescribeEventDetails -> () #

Hashable DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

ToJSON DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

AWSRequest DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Associated Types

type AWSResponse DescribeEventDetails #

ToHeaders DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

ToPath DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

ToQuery DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetails = D1 ('MetaData "DescribeEventDetails" "Amazonka.AWSHealth.DescribeEventDetails" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DescribeEventDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

newDescribeEventDetails Source #

Create a value of DescribeEventDetails 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:locale:DescribeEventDetails', describeEventDetails_locale - The locale (language) to return information in. English (en) is the default and the only supported value at this time.

$sel:eventArns:DescribeEventDetails', describeEventDetails_eventArns - A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"

Request Lenses

describeEventDetails_locale :: Lens' DescribeEventDetails (Maybe Text) Source #

The locale (language) to return information in. English (en) is the default and the only supported value at this time.

describeEventDetails_eventArns :: Lens' DescribeEventDetails (NonEmpty Text) Source #

A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"

Destructuring the Response

data DescribeEventDetailsResponse Source #

See: newDescribeEventDetailsResponse smart constructor.

Constructors

DescribeEventDetailsResponse' 

Fields

Instances

Instances details
Eq DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Read DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Show DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Generic DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetailsResponse :: Type -> Type #

NFData DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetailsResponse = D1 ('MetaData "DescribeEventDetailsResponse" "Amazonka.AWSHealth.DescribeEventDetails" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DescribeEventDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "successfulSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventDetails])) :*: (S1 ('MetaSel ('Just "failedSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventDetailsErrorItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeEventDetailsResponse Source #

Create a value of DescribeEventDetailsResponse 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:successfulSet:DescribeEventDetailsResponse', describeEventDetailsResponse_successfulSet - Information about the events that could be retrieved.

$sel:failedSet:DescribeEventDetailsResponse', describeEventDetailsResponse_failedSet - Error messages for any events that could not be retrieved.

$sel:httpStatus:DescribeEventDetailsResponse', describeEventDetailsResponse_httpStatus - The response's http status code.

Response Lenses

describeEventDetailsResponse_successfulSet :: Lens' DescribeEventDetailsResponse (Maybe [EventDetails]) Source #

Information about the events that could be retrieved.

describeEventDetailsResponse_failedSet :: Lens' DescribeEventDetailsResponse (Maybe [EventDetailsErrorItem]) Source #

Error messages for any events that could not be retrieved.