amazonka-health-1.6.1: Amazon Health APIs and Notifications SDK.

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

Network.AWS.AWSHealth.DescribeEventDetails

Contents

Description

Returns detailed information about one or more specified events. Information includes standard event data (region, service, etc., 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 those, use the DescribeAffectedEntities operation.

If a specified event cannot be retrieved, an error message is returned for that event.

Synopsis

Creating a Request

describeEventDetails Source #

Creates a value of DescribeEventDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dedLocale - The locale (language) to return information in. English (en) is the default and the only supported value at this time.
  • dedEventARNs - A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::eventAWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::eventAWS_EBS_LOST_VOLUME_xyz"

data DescribeEventDetails Source #

See: describeEventDetails smart constructor.

Instances
Eq DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Data DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeEventDetails -> c DescribeEventDetails #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeEventDetails #

toConstr :: DescribeEventDetails -> Constr #

dataTypeOf :: DescribeEventDetails -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeEventDetails) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeEventDetails) #

gmapT :: (forall b. Data b => b -> b) -> DescribeEventDetails -> DescribeEventDetails #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEventDetails -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEventDetails -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeEventDetails -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeEventDetails -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeEventDetails -> m DescribeEventDetails #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEventDetails -> m DescribeEventDetails #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEventDetails -> m DescribeEventDetails #

Read DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Show DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Generic DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetails :: Type -> Type #

Hashable DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

ToJSON DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

AWSRequest DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Associated Types

type Rs DescribeEventDetails :: Type #

ToHeaders DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

ToPath DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

ToQuery DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

NFData DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Methods

rnf :: DescribeEventDetails -> () #

type Rep DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetails = D1 (MetaData "DescribeEventDetails" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "DescribeEventDetails'" PrefixI True) (S1 (MetaSel (Just "_dedLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dedEventARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text))))
type Rs DescribeEventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Request Lenses

dedLocale :: 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.

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

A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::eventAWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::eventAWS_EBS_LOST_VOLUME_xyz"

Destructuring the Response

describeEventDetailsResponse Source #

Creates a value of DescribeEventDetailsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeEventDetailsResponse Source #

See: describeEventDetailsResponse smart constructor.

Instances
Eq DescribeEventDetailsResponse Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Data DescribeEventDetailsResponse Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeEventDetailsResponse -> c DescribeEventDetailsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeEventDetailsResponse #

toConstr :: DescribeEventDetailsResponse -> Constr #

dataTypeOf :: DescribeEventDetailsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeEventDetailsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeEventDetailsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeEventDetailsResponse -> DescribeEventDetailsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEventDetailsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEventDetailsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeEventDetailsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeEventDetailsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeEventDetailsResponse -> m DescribeEventDetailsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEventDetailsResponse -> m DescribeEventDetailsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEventDetailsResponse -> m DescribeEventDetailsResponse #

Read DescribeEventDetailsResponse Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Show DescribeEventDetailsResponse Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Generic DescribeEventDetailsResponse Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetailsResponse :: Type -> Type #

NFData DescribeEventDetailsResponse Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetailsResponse Source # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetailsResponse = D1 (MetaData "DescribeEventDetailsResponse" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "DescribeEventDetailsResponse'" PrefixI True) (S1 (MetaSel (Just "_dedrsSuccessfulSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventDetails])) :*: (S1 (MetaSel (Just "_dedrsFailedSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventDetailsErrorItem])) :*: S1 (MetaSel (Just "_dedrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dedrsSuccessfulSet :: Lens' DescribeEventDetailsResponse [EventDetails] Source #

Information about the events that could be retrieved.

dedrsFailedSet :: Lens' DescribeEventDetailsResponse [EventDetailsErrorItem] Source #

Error messages for any events that could not be retrieved.