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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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. The default is English.
  • 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 # 
Data DescribeEventDetails Source # 

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 # 
Show DescribeEventDetails Source # 
Generic DescribeEventDetails Source # 
Hashable DescribeEventDetails Source # 
ToJSON DescribeEventDetails Source # 
NFData DescribeEventDetails Source # 

Methods

rnf :: DescribeEventDetails -> () #

AWSRequest DescribeEventDetails Source # 
ToPath DescribeEventDetails Source # 
ToHeaders DescribeEventDetails Source # 
ToQuery DescribeEventDetails Source # 
type Rep DescribeEventDetails Source # 
type Rep DescribeEventDetails = D1 (MetaData "DescribeEventDetails" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "DescribeEventDetails'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dedLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dedEventARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text)))))
type Rs DescribeEventDetails Source # 

Request Lenses

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

The locale (language) to return information in. The default is English.

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 # 
Data DescribeEventDetailsResponse Source # 

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 # 
Show DescribeEventDetailsResponse Source # 
Generic DescribeEventDetailsResponse Source # 
NFData DescribeEventDetailsResponse Source # 
type Rep DescribeEventDetailsResponse Source # 
type Rep DescribeEventDetailsResponse = D1 (MetaData "DescribeEventDetailsResponse" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "DescribeEventDetailsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dedrsSuccessfulSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventDetails]))) ((:*:) (S1 (MetaSel (Just Symbol "_dedrsFailedSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventDetailsErrorItem]))) (S1 (MetaSel (Just Symbol "_dedrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (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.