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 #

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 #

See: describeEventDetails smart constructor.

Instances

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

Methods

rnf :: DescribeEventDetails -> () #

AWSRequest DescribeEventDetails # 
ToQuery DescribeEventDetails # 
ToPath DescribeEventDetails # 
ToHeaders DescribeEventDetails # 
type Rep DescribeEventDetails # 
type Rep DescribeEventDetails = D1 (MetaData "DescribeEventDetails" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 # 

Request Lenses

dedLocale :: Lens' DescribeEventDetails (Maybe Text) #

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

dedEventARNs :: Lens' DescribeEventDetails (NonEmpty Text) #

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 #

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 #

See: describeEventDetailsResponse smart constructor.

Instances

Eq DescribeEventDetailsResponse # 
Data DescribeEventDetailsResponse # 

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 # 
Show DescribeEventDetailsResponse # 
Generic DescribeEventDetailsResponse # 
NFData DescribeEventDetailsResponse # 
type Rep DescribeEventDetailsResponse # 
type Rep DescribeEventDetailsResponse = D1 (MetaData "DescribeEventDetailsResponse" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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] #

Information about the events that could be retrieved.

dedrsFailedSet :: Lens' DescribeEventDetailsResponse [EventDetailsErrorItem] #

Error messages for any events that could not be retrieved.