amazonka-health-1.6.0: 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 #

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 #

See: describeEventDetails smart constructor.

Instances
Eq DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Data DescribeEventDetails # 
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 # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Show DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Generic DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetails :: * -> * #

Hashable DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

ToJSON DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

AWSRequest DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Associated Types

type Rs DescribeEventDetails :: * #

ToHeaders DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

ToPath DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

ToQuery DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

NFData DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Methods

rnf :: DescribeEventDetails -> () #

type Rep DescribeEventDetails # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetails = D1 (MetaData "DescribeEventDetails" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.6.0-F7iViukHIETCkBa9Qq00Mc" 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 # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Request Lenses

dedLocale :: Lens' DescribeEventDetails (Maybe Text) #

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) #

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 # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

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

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Show DescribeEventDetailsResponse # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Generic DescribeEventDetailsResponse # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

Associated Types

type Rep DescribeEventDetailsResponse :: * -> * #

NFData DescribeEventDetailsResponse # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetailsResponse # 
Instance details

Defined in Network.AWS.AWSHealth.DescribeEventDetails

type Rep DescribeEventDetailsResponse = D1 (MetaData "DescribeEventDetailsResponse" "Network.AWS.AWSHealth.DescribeEventDetails" "amazonka-health-1.6.0-F7iViukHIETCkBa9Qq00Mc" 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] #

Information about the events that could be retrieved.

dedrsFailedSet :: Lens' DescribeEventDetailsResponse [EventDetailsErrorItem] #

Error messages for any events that could not be retrieved.