amazonka-health-2.0: Amazon Health APIs and Notifications SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AWSHealth.DescribeEventDetails

Description

Returns detailed information about one or more specified events. Information includes standard event data (Amazon Web Services 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 Health events. For more information, see Resource- and action-based conditions in the 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
ToJSON DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.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

AWSRequest DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Associated Types

type AWSResponse DescribeEventDetails #

Generic DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetails :: Type -> Type #

Read DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Show DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

NFData DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Methods

rnf :: DescribeEventDetails -> () #

Eq DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Hashable DescribeEventDetails Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

type AWSResponse 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" "amazonka-health-2.0-97kQZARXu4I8k4sVSmOp5K" '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))))

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.

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
Generic DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetailsResponse :: Type -> Type #

Read DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Show DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

NFData DescribeEventDetailsResponse Source # 
Instance details

Defined in Amazonka.AWSHealth.DescribeEventDetails

Eq 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" "amazonka-health-2.0-97kQZARXu4I8k4sVSmOp5K" 'False) (C1 ('MetaCons "DescribeEventDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventDetailsErrorItem])) :*: (S1 ('MetaSel ('Just "successfulSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventDetails])) :*: 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:failedSet:DescribeEventDetailsResponse', describeEventDetailsResponse_failedSet - Error messages for any events that could not be retrieved.

$sel:successfulSet:DescribeEventDetailsResponse', describeEventDetailsResponse_successfulSet - Information about the events that could be retrieved.

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

Response Lenses

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

Error messages for any events that could not be retrieved.

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

Information about the events that could be retrieved.