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

Contents

Description

AWS Health

The AWS Health API provides programmatic access to the AWS Health information that is presented in the AWS Personal Health Dashboard. You can get information about events that affect your AWS resources:

In addition, these operations provide information about event types and summary counts of events or affected entities:

The Health API requires a Business or Enterprise support plan from AWS Support . Calling the Health API from an account that does not have a Business or Enterprise support plan causes a SubscriptionRequiredException .

For authentication of requests, AWS Health uses the Signature Version 4 Signing Process .

See the AWS Health User Guide for information about how to use the API.

Service Endpoint

The HTTP endpoint for the AWS Health API is:

Synopsis

Service Configuration

awsHealth :: Service Source #

API version 2016-08-04 of the Amazon Health APIs and Notifications SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by AWSHealth.

InvalidPaginationToken

_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified pagination token (nextToken ) is not valid.

UnsupportedLocale

_UnsupportedLocale :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified locale is not supported.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeEntityAggregates

DescribeEvents

DescribeEventDetails

DescribeEventAggregates

DescribeAffectedEntities

DescribeEventTypes

Types

EntityStatusCode

data EntityStatusCode Source #

Constructors

Impaired 
Unimpaired 
Unknown 

Instances

Bounded EntityStatusCode Source # 
Enum EntityStatusCode Source # 
Eq EntityStatusCode Source # 
Data EntityStatusCode Source # 

Methods

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

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

toConstr :: EntityStatusCode -> Constr #

dataTypeOf :: EntityStatusCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EntityStatusCode Source # 
Read EntityStatusCode Source # 
Show EntityStatusCode Source # 
Generic EntityStatusCode Source # 
Hashable EntityStatusCode Source # 
ToJSON EntityStatusCode Source # 
FromJSON EntityStatusCode Source # 
NFData EntityStatusCode Source # 

Methods

rnf :: EntityStatusCode -> () #

ToHeader EntityStatusCode Source # 
ToQuery EntityStatusCode Source # 
ToByteString EntityStatusCode Source # 
FromText EntityStatusCode Source # 
ToText EntityStatusCode Source # 
type Rep EntityStatusCode Source # 
type Rep EntityStatusCode = D1 (MetaData "EntityStatusCode" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) ((:+:) (C1 (MetaCons "Impaired" PrefixI False) U1) ((:+:) (C1 (MetaCons "Unimpaired" PrefixI False) U1) (C1 (MetaCons "Unknown" PrefixI False) U1)))

EventAggregateField

data EventAggregateField Source #

Constructors

EventTypeCategory 

Instances

Bounded EventAggregateField Source # 
Enum EventAggregateField Source # 
Eq EventAggregateField Source # 
Data EventAggregateField Source # 

Methods

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

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

toConstr :: EventAggregateField -> Constr #

dataTypeOf :: EventAggregateField -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EventAggregateField Source # 
Read EventAggregateField Source # 
Show EventAggregateField Source # 
Generic EventAggregateField Source # 
Hashable EventAggregateField Source # 
ToJSON EventAggregateField Source # 
NFData EventAggregateField Source # 

Methods

rnf :: EventAggregateField -> () #

ToHeader EventAggregateField Source # 
ToQuery EventAggregateField Source # 
ToByteString EventAggregateField Source # 
FromText EventAggregateField Source # 
ToText EventAggregateField Source # 
type Rep EventAggregateField Source # 
type Rep EventAggregateField = D1 (MetaData "EventAggregateField" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EventTypeCategory" PrefixI False) U1)

EventStatusCode

data EventStatusCode Source #

Constructors

Closed 
Open 
Upcoming 

Instances

Bounded EventStatusCode Source # 
Enum EventStatusCode Source # 
Eq EventStatusCode Source # 
Data EventStatusCode Source # 

Methods

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

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

toConstr :: EventStatusCode -> Constr #

dataTypeOf :: EventStatusCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EventStatusCode Source # 
Read EventStatusCode Source # 
Show EventStatusCode Source # 
Generic EventStatusCode Source # 
Hashable EventStatusCode Source # 
ToJSON EventStatusCode Source # 
FromJSON EventStatusCode Source # 
NFData EventStatusCode Source # 

Methods

rnf :: EventStatusCode -> () #

ToHeader EventStatusCode Source # 
ToQuery EventStatusCode Source # 
ToByteString EventStatusCode Source # 
FromText EventStatusCode Source # 
ToText EventStatusCode Source # 
type Rep EventStatusCode Source # 
type Rep EventStatusCode = D1 (MetaData "EventStatusCode" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) ((:+:) (C1 (MetaCons "Closed" PrefixI False) U1) ((:+:) (C1 (MetaCons "Open" PrefixI False) U1) (C1 (MetaCons "Upcoming" PrefixI False) U1)))

EventTypeCategory

data EventTypeCategory Source #

Instances

Bounded EventTypeCategory Source # 
Enum EventTypeCategory Source # 
Eq EventTypeCategory Source # 
Data EventTypeCategory Source # 

Methods

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

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

toConstr :: EventTypeCategory -> Constr #

dataTypeOf :: EventTypeCategory -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EventTypeCategory Source # 
Read EventTypeCategory Source # 
Show EventTypeCategory Source # 
Generic EventTypeCategory Source # 
Hashable EventTypeCategory Source # 
ToJSON EventTypeCategory Source # 
FromJSON EventTypeCategory Source # 
NFData EventTypeCategory Source # 

Methods

rnf :: EventTypeCategory -> () #

ToHeader EventTypeCategory Source # 
ToQuery EventTypeCategory Source # 
ToByteString EventTypeCategory Source # 
FromText EventTypeCategory Source # 
ToText EventTypeCategory Source # 
type Rep EventTypeCategory Source # 
type Rep EventTypeCategory = D1 (MetaData "EventTypeCategory" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) ((:+:) (C1 (MetaCons "AccountNotification" PrefixI False) U1) ((:+:) (C1 (MetaCons "Issue" PrefixI False) U1) (C1 (MetaCons "ScheduledChange" PrefixI False) U1)))

AffectedEntity

data AffectedEntity Source #

Information about an entity that is affected by a Health event.

See: affectedEntity smart constructor.

Instances

Eq AffectedEntity Source # 
Data AffectedEntity Source # 

Methods

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

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

toConstr :: AffectedEntity -> Constr #

dataTypeOf :: AffectedEntity -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AffectedEntity Source # 
Show AffectedEntity Source # 
Generic AffectedEntity Source # 

Associated Types

type Rep AffectedEntity :: * -> * #

Hashable AffectedEntity Source # 
FromJSON AffectedEntity Source # 
NFData AffectedEntity Source # 

Methods

rnf :: AffectedEntity -> () #

type Rep AffectedEntity Source # 

affectedEntity :: AffectedEntity Source #

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

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

  • aeLastUpdatedTime - The most recent time that the entity was updated.
  • aeEntityValue - The ID of the affected entity.
  • aeAwsAccountId - The 12-digit AWS account number that contains the affected entity.
  • aeEventARN - The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
  • aeEntityARN - The unique identifier for the entity. Format: arn:aws:health:entity-region :aws-account :entity/entity-id . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K
  • aeTags - A map of entity tags attached to the affected entity.
  • aeStatusCode - The most recent status of the entity affected by the event. The possible values are IMPAIRED , UNIMPAIRED , and UNKNOWN .

aeLastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime) Source #

The most recent time that the entity was updated.

aeEntityValue :: Lens' AffectedEntity (Maybe Text) Source #

The ID of the affected entity.

aeAwsAccountId :: Lens' AffectedEntity (Maybe Text) Source #

The 12-digit AWS account number that contains the affected entity.

aeEventARN :: Lens' AffectedEntity (Maybe Text) Source #

The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331

aeEntityARN :: Lens' AffectedEntity (Maybe Text) Source #

The unique identifier for the entity. Format: arn:aws:health:entity-region :aws-account :entity/entity-id . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K

aeTags :: Lens' AffectedEntity (HashMap Text Text) Source #

A map of entity tags attached to the affected entity.

aeStatusCode :: Lens' AffectedEntity (Maybe EntityStatusCode) Source #

The most recent status of the entity affected by the event. The possible values are IMPAIRED , UNIMPAIRED , and UNKNOWN .

DateTimeRange

data DateTimeRange Source #

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime , endTime , or lastUpdatedTime ) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from . If from is not set and to is set: match items where the timestamp value is equal to or before to .

See: dateTimeRange smart constructor.

Instances

Eq DateTimeRange Source # 
Data DateTimeRange Source # 

Methods

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

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

toConstr :: DateTimeRange -> Constr #

dataTypeOf :: DateTimeRange -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DateTimeRange Source # 
Show DateTimeRange Source # 
Generic DateTimeRange Source # 

Associated Types

type Rep DateTimeRange :: * -> * #

Hashable DateTimeRange Source # 
ToJSON DateTimeRange Source # 
NFData DateTimeRange Source # 

Methods

rnf :: DateTimeRange -> () #

type Rep DateTimeRange Source # 
type Rep DateTimeRange = D1 (MetaData "DateTimeRange" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "DateTimeRange'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtrTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_dtrFrom") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))

dateTimeRange :: DateTimeRange Source #

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

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

  • dtrTo - The ending date and time of a time range.
  • dtrFrom - The starting date and time of a time range.

dtrTo :: Lens' DateTimeRange (Maybe UTCTime) Source #

The ending date and time of a time range.

dtrFrom :: Lens' DateTimeRange (Maybe UTCTime) Source #

The starting date and time of a time range.

EntityAggregate

data EntityAggregate Source #

The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.

See: entityAggregate smart constructor.

Instances

Eq EntityAggregate Source # 
Data EntityAggregate Source # 

Methods

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

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

toConstr :: EntityAggregate -> Constr #

dataTypeOf :: EntityAggregate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EntityAggregate Source # 
Show EntityAggregate Source # 
Generic EntityAggregate Source # 
Hashable EntityAggregate Source # 
FromJSON EntityAggregate Source # 
NFData EntityAggregate Source # 

Methods

rnf :: EntityAggregate -> () #

type Rep EntityAggregate Source # 
type Rep EntityAggregate = D1 (MetaData "EntityAggregate" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EntityAggregate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_eEventARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

entityAggregate :: EntityAggregate Source #

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

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

  • eCount - The number entities that match the criteria for the specified events.
  • eEventARN - The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331

eCount :: Lens' EntityAggregate (Maybe Int) Source #

The number entities that match the criteria for the specified events.

eEventARN :: Lens' EntityAggregate (Maybe Text) Source #

The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331

EntityFilter

data EntityFilter Source #

The values to use to filter results from the DescribeAffectedEntities operation.

See: entityFilter smart constructor.

Instances

Eq EntityFilter Source # 
Data EntityFilter Source # 

Methods

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

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

toConstr :: EntityFilter -> Constr #

dataTypeOf :: EntityFilter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EntityFilter Source # 
Show EntityFilter Source # 
Generic EntityFilter Source # 

Associated Types

type Rep EntityFilter :: * -> * #

Hashable EntityFilter Source # 
ToJSON EntityFilter Source # 
NFData EntityFilter Source # 

Methods

rnf :: EntityFilter -> () #

type Rep EntityFilter Source # 

entityFilter Source #

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

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

  • eStatusCodes - A list of entity status codes (IMPAIRED , UNIMPAIRED , or UNKNOWN ).
  • eEntityARNs - A list of entity ARNs (unique identifiers).
  • eEntityValues - A list of IDs for affected entities.
  • eTags - A map of entity tags attached to the affected entity.
  • eLastUpdatedTimes - A list of the most recent dates and times that the entity was updated.
  • eEventARNs - 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"

eStatusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode)) Source #

A list of entity status codes (IMPAIRED , UNIMPAIRED , or UNKNOWN ).

eEntityARNs :: Lens' EntityFilter (Maybe (NonEmpty Text)) Source #

A list of entity ARNs (unique identifiers).

eEntityValues :: Lens' EntityFilter (Maybe (NonEmpty Text)) Source #

A list of IDs for affected entities.

eTags :: Lens' EntityFilter [HashMap Text Text] Source #

A map of entity tags attached to the affected entity.

eLastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of the most recent dates and times that the entity was updated.

eEventARNs :: Lens' EntityFilter (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"

Event

data Event Source #

Summary information about an event, returned by the DescribeEvents operation. The DescribeEventDetails operation also returns this information, as well as the EventDescription and additional event metadata.

See: event smart constructor.

Instances

Eq Event Source # 

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Data Event Source # 

Methods

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

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

toConstr :: Event -> Constr #

dataTypeOf :: Event -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Event Source # 
Show Event Source # 

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 

Associated Types

type Rep Event :: * -> * #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

Hashable Event Source # 

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromJSON Event Source # 
NFData Event Source # 

Methods

rnf :: Event -> () #

type Rep Event Source # 

event :: Event Source #

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

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

  • eLastUpdatedTime - The most recent date and time that the event was updated.
  • eArn - The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
  • eService - The AWS service that is affected by the event. For example, EC2 , RDS .
  • eStartTime - The date and time that the event began.
  • eEventTypeCode - The unique identifier for the event type. The format is AWS_SERVICE _DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT .
  • eEventTypeCategory - The
  • eAvailabilityZone - The AWS Availability Zone of the event. For example, us-east-1a.
  • eEndTime - The date and time that the event ended.
  • eRegion - The AWS region name of the event.
  • eStatusCode - The most recent status of the event. Possible values are open , closed , and upcoming .

eLastUpdatedTime :: Lens' Event (Maybe UTCTime) Source #

The most recent date and time that the event was updated.

eArn :: Lens' Event (Maybe Text) Source #

The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331

eService :: Lens' Event (Maybe Text) Source #

The AWS service that is affected by the event. For example, EC2 , RDS .

eStartTime :: Lens' Event (Maybe UTCTime) Source #

The date and time that the event began.

eEventTypeCode :: Lens' Event (Maybe Text) Source #

The unique identifier for the event type. The format is AWS_SERVICE _DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT .

eAvailabilityZone :: Lens' Event (Maybe Text) Source #

The AWS Availability Zone of the event. For example, us-east-1a.

eEndTime :: Lens' Event (Maybe UTCTime) Source #

The date and time that the event ended.

eRegion :: Lens' Event (Maybe Text) Source #

The AWS region name of the event.

eStatusCode :: Lens' Event (Maybe EventStatusCode) Source #

The most recent status of the event. Possible values are open , closed , and upcoming .

EventAggregate

data EventAggregate Source #

The number of events of each issue type. Returned by the DescribeEventAggregates operation.

See: eventAggregate smart constructor.

Instances

Eq EventAggregate Source # 
Data EventAggregate Source # 

Methods

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

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

toConstr :: EventAggregate -> Constr #

dataTypeOf :: EventAggregate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventAggregate Source # 
Show EventAggregate Source # 
Generic EventAggregate Source # 

Associated Types

type Rep EventAggregate :: * -> * #

Hashable EventAggregate Source # 
FromJSON EventAggregate Source # 
NFData EventAggregate Source # 

Methods

rnf :: EventAggregate -> () #

type Rep EventAggregate Source # 
type Rep EventAggregate = D1 (MetaData "EventAggregate" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EventAggregate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eaCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_eaAggregateValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

eventAggregate :: EventAggregate Source #

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

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

  • eaCount - The number of events of the associated issue type.
  • eaAggregateValue - The issue type for the associated count.

eaCount :: Lens' EventAggregate (Maybe Int) Source #

The number of events of the associated issue type.

eaAggregateValue :: Lens' EventAggregate (Maybe Text) Source #

The issue type for the associated count.

EventDescription

data EventDescription Source #

The detailed description of the event. Included in the information returned by the DescribeEventDetails operation.

See: eventDescription smart constructor.

Instances

Eq EventDescription Source # 
Data EventDescription Source # 

Methods

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

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

toConstr :: EventDescription -> Constr #

dataTypeOf :: EventDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventDescription Source # 
Show EventDescription Source # 
Generic EventDescription Source # 
Hashable EventDescription Source # 
FromJSON EventDescription Source # 
NFData EventDescription Source # 

Methods

rnf :: EventDescription -> () #

type Rep EventDescription Source # 
type Rep EventDescription = D1 (MetaData "EventDescription" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" True) (C1 (MetaCons "EventDescription'" PrefixI True) (S1 (MetaSel (Just Symbol "_edLatestDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

eventDescription :: EventDescription Source #

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

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

edLatestDescription :: Lens' EventDescription (Maybe Text) Source #

The most recent description of the event.

EventDetails

data EventDetails Source #

Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetails operation.

See: eventDetails smart constructor.

Instances

Eq EventDetails Source # 
Data EventDetails Source # 

Methods

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

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

toConstr :: EventDetails -> Constr #

dataTypeOf :: EventDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventDetails Source # 
Show EventDetails Source # 
Generic EventDetails Source # 

Associated Types

type Rep EventDetails :: * -> * #

Hashable EventDetails Source # 
FromJSON EventDetails Source # 
NFData EventDetails Source # 

Methods

rnf :: EventDetails -> () #

type Rep EventDetails Source # 
type Rep EventDetails = D1 (MetaData "EventDetails" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EventDetails'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_edEvent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Event))) ((:*:) (S1 (MetaSel (Just Symbol "_edEventDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventDescription))) (S1 (MetaSel (Just Symbol "_edEventMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))))))

eventDetails :: EventDetails Source #

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

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

edEvent :: Lens' EventDetails (Maybe Event) Source #

Summary information about the event.

edEventDescription :: Lens' EventDetails (Maybe EventDescription) Source #

The most recent description of the event.

edEventMetadata :: Lens' EventDetails (HashMap Text Text) Source #

Additional metadata about the event.

EventDetailsErrorItem

data EventDetailsErrorItem Source #

Error information returned when a DescribeEventDetails operation cannot find a specified event.

See: eventDetailsErrorItem smart constructor.

Instances

Eq EventDetailsErrorItem Source # 
Data EventDetailsErrorItem Source # 

Methods

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

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

toConstr :: EventDetailsErrorItem -> Constr #

dataTypeOf :: EventDetailsErrorItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventDetailsErrorItem Source # 
Show EventDetailsErrorItem Source # 
Generic EventDetailsErrorItem Source # 
Hashable EventDetailsErrorItem Source # 
FromJSON EventDetailsErrorItem Source # 
NFData EventDetailsErrorItem Source # 

Methods

rnf :: EventDetailsErrorItem -> () #

type Rep EventDetailsErrorItem Source # 
type Rep EventDetailsErrorItem = D1 (MetaData "EventDetailsErrorItem" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EventDetailsErrorItem'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_edeiEventARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_edeiErrorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_edeiErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

eventDetailsErrorItem :: EventDetailsErrorItem Source #

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

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

  • edeiEventARN - The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
  • edeiErrorName - The name of the error.
  • edeiErrorMessage - A message that describes the error.

edeiEventARN :: Lens' EventDetailsErrorItem (Maybe Text) Source #

The unique identifier for the event. Format: arn:aws:health:event-region ::event/EVENT_TYPE_PLUS_ID . Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331

edeiErrorMessage :: Lens' EventDetailsErrorItem (Maybe Text) Source #

A message that describes the error.

EventFilter

data EventFilter Source #

The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.

See: eventFilter smart constructor.

Instances

Eq EventFilter Source # 
Data EventFilter Source # 

Methods

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

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

toConstr :: EventFilter -> Constr #

dataTypeOf :: EventFilter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventFilter Source # 
Show EventFilter Source # 
Generic EventFilter Source # 

Associated Types

type Rep EventFilter :: * -> * #

Hashable EventFilter Source # 
ToJSON EventFilter Source # 
NFData EventFilter Source # 

Methods

rnf :: EventFilter -> () #

type Rep EventFilter Source # 
type Rep EventFilter = D1 (MetaData "EventFilter" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EventFilter'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_efEventARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_efEventTypeCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 EventTypeCategory)))) (S1 (MetaSel (Just Symbol "_efEventTypeCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))))) ((:*:) (S1 (MetaSel (Just Symbol "_efRegions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_efEventStatusCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 EventStatusCode)))) (S1 (MetaSel (Just Symbol "_efEndTimes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DateTimeRange))))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_efAvailabilityZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_efEntityARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) (S1 (MetaSel (Just Symbol "_efEntityValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_efStartTimes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DateTimeRange)))) (S1 (MetaSel (Just Symbol "_efServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_efTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Map Text Text]))) (S1 (MetaSel (Just Symbol "_efLastUpdatedTimes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DateTimeRange)))))))))

eventFilter :: EventFilter Source #

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

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

efEventARNs :: Lens' EventFilter (Maybe (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"

efEventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory)) Source #

A list of event type category codes (issue , scheduledChange , or accountNotification ).

efRegions :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

A list of AWS regions.

efEndTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event ended.

efAvailabilityZones :: Lens' EventFilter [Text] Source #

A list of AWS availability zones.

efEntityARNs :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

A list of entity ARNs (unique identifiers).

efEntityValues :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

A list of entity identifiers, such as EC2 instance IDs (i-34ab692e ) or EBS volumes (vol-426ab23e ).

efStartTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event began.

efServices :: Lens' EventFilter (Maybe (NonEmpty Text)) Source #

The AWS services associated with the event. For example, EC2 , RDS .

efTags :: Lens' EventFilter [HashMap Text Text] Source #

A map of entity tags attached to the affected entity.

efLastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange)) Source #

A list of dates and times that the event was last updated.

EventType

data EventType Source #

Metadata about a type of event that is reported by AWS Health. Data consists of the category (for example, issue , the service (for example, EC2 ), and the event type code (for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT ).

See: eventType smart constructor.

Instances

Eq EventType Source # 
Data EventType Source # 

Methods

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

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

toConstr :: EventType -> Constr #

dataTypeOf :: EventType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventType Source # 
Show EventType Source # 
Generic EventType Source # 

Associated Types

type Rep EventType :: * -> * #

Hashable EventType Source # 
FromJSON EventType Source # 
NFData EventType Source # 

Methods

rnf :: EventType -> () #

type Rep EventType Source # 
type Rep EventType = D1 (MetaData "EventType" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EventType'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_etService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_etCategory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventTypeCategory))) (S1 (MetaSel (Just Symbol "_etCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

eventType :: EventType Source #

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

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

  • etService - The AWS service that is affected by the event. For example, EC2 , RDS .
  • etCategory - A list of event type category codes (issue , scheduledChange , or accountNotification ).
  • etCode - The unique identifier for the event type. The format is AWS_SERVICE _DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT .

etService :: Lens' EventType (Maybe Text) Source #

The AWS service that is affected by the event. For example, EC2 , RDS .

etCategory :: Lens' EventType (Maybe EventTypeCategory) Source #

A list of event type category codes (issue , scheduledChange , or accountNotification ).

etCode :: Lens' EventType (Maybe Text) Source #

The unique identifier for the event type. The format is AWS_SERVICE _DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT .

EventTypeFilter

data EventTypeFilter Source #

The values to use to filter results from the DescribeEventTypes operation.

See: eventTypeFilter smart constructor.

Instances

Eq EventTypeFilter Source # 
Data EventTypeFilter Source # 

Methods

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

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

toConstr :: EventTypeFilter -> Constr #

dataTypeOf :: EventTypeFilter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EventTypeFilter Source # 
Show EventTypeFilter Source # 
Generic EventTypeFilter Source # 
Hashable EventTypeFilter Source # 
ToJSON EventTypeFilter Source # 
NFData EventTypeFilter Source # 

Methods

rnf :: EventTypeFilter -> () #

type Rep EventTypeFilter Source # 
type Rep EventTypeFilter = D1 (MetaData "EventTypeFilter" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-7OOoJxF3NgTBPsAAmW2Gy9" False) (C1 (MetaCons "EventTypeFilter'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_etfEventTypeCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 EventTypeCategory)))) ((:*:) (S1 (MetaSel (Just Symbol "_etfEventTypeCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) (S1 (MetaSel (Just Symbol "_etfServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))))))

eventTypeFilter :: EventTypeFilter Source #

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

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

etfEventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory)) Source #

A list of event type category codes (issue , scheduledChange , or accountNotification ).

etfEventTypeCodes :: Lens' EventTypeFilter (Maybe (NonEmpty Text)) Source #

A list of event type codes.

etfServices :: Lens' EventTypeFilter (Maybe (NonEmpty Text)) Source #

The AWS services associated with the event. For example, EC2 , RDS .