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 #

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 #

The specified pagination token (nextToken ) is not valid.

UnsupportedLocale

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

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 #

Constructors

Impaired 
Unimpaired 
Unknown 

Instances

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

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 # 
Read EntityStatusCode # 
Show EntityStatusCode # 
Generic EntityStatusCode # 
Hashable EntityStatusCode # 
ToJSON EntityStatusCode # 
FromJSON EntityStatusCode # 
NFData EntityStatusCode # 

Methods

rnf :: EntityStatusCode -> () #

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

EventAggregateField

data EventAggregateField #

Constructors

EventTypeCategory 

Instances

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

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 # 
Read EventAggregateField # 
Show EventAggregateField # 
Generic EventAggregateField # 
Hashable EventAggregateField # 
ToJSON EventAggregateField # 
NFData EventAggregateField # 

Methods

rnf :: EventAggregateField -> () #

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

EventStatusCode

data EventStatusCode #

Constructors

Closed 
Open 
Upcoming 

Instances

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

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 # 
Read EventStatusCode # 
Show EventStatusCode # 
Generic EventStatusCode # 
Hashable EventStatusCode # 
ToJSON EventStatusCode # 
FromJSON EventStatusCode # 
NFData EventStatusCode # 

Methods

rnf :: EventStatusCode -> () #

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

EventTypeCategory

data EventTypeCategory #

Instances

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

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 # 
Read EventTypeCategory # 
Show EventTypeCategory # 
Generic EventTypeCategory # 
Hashable EventTypeCategory # 
ToJSON EventTypeCategory # 
FromJSON EventTypeCategory # 
NFData EventTypeCategory # 

Methods

rnf :: EventTypeCategory -> () #

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

AffectedEntity

data AffectedEntity #

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

See: affectedEntity smart constructor.

Instances

Eq AffectedEntity # 
Data AffectedEntity # 

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 # 
Show AffectedEntity # 
Generic AffectedEntity # 

Associated Types

type Rep AffectedEntity :: * -> * #

Hashable AffectedEntity # 
FromJSON AffectedEntity # 
NFData AffectedEntity # 

Methods

rnf :: AffectedEntity -> () #

type Rep AffectedEntity # 

affectedEntity :: AffectedEntity #

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

The most recent time that the entity was updated.

aeEntityValue :: Lens' AffectedEntity (Maybe Text) #

The ID of the affected entity.

aeAwsAccountId :: Lens' AffectedEntity (Maybe Text) #

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

aeEventARN :: Lens' AffectedEntity (Maybe Text) #

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

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

A map of entity tags attached to the affected entity.

aeStatusCode :: Lens' AffectedEntity (Maybe EntityStatusCode) #

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

DateTimeRange

data DateTimeRange #

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 # 
Data DateTimeRange # 

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 # 
Show DateTimeRange # 
Generic DateTimeRange # 

Associated Types

type Rep DateTimeRange :: * -> * #

Hashable DateTimeRange # 
ToJSON DateTimeRange # 
NFData DateTimeRange # 

Methods

rnf :: DateTimeRange -> () #

type Rep DateTimeRange # 
type Rep DateTimeRange = D1 (MetaData "DateTimeRange" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

The ending date and time of a time range.

dtrFrom :: Lens' DateTimeRange (Maybe UTCTime) #

The starting date and time of a time range.

EntityAggregate

data EntityAggregate #

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

See: entityAggregate smart constructor.

Instances

Eq EntityAggregate # 
Data EntityAggregate # 

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 # 
Show EntityAggregate # 
Generic EntityAggregate # 
Hashable EntityAggregate # 
FromJSON EntityAggregate # 
NFData EntityAggregate # 

Methods

rnf :: EntityAggregate -> () #

type Rep EntityAggregate # 
type Rep EntityAggregate = D1 (MetaData "EntityAggregate" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

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

eEventARN :: Lens' EntityAggregate (Maybe Text) #

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 #

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

See: entityFilter smart constructor.

Instances

Eq EntityFilter # 
Data EntityFilter # 

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 # 
Show EntityFilter # 
Generic EntityFilter # 

Associated Types

type Rep EntityFilter :: * -> * #

Hashable EntityFilter # 
ToJSON EntityFilter # 
NFData EntityFilter # 

Methods

rnf :: EntityFilter -> () #

type Rep EntityFilter # 

entityFilter #

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

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

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

A list of entity ARNs (unique identifiers).

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

A list of IDs for affected entities.

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

A map of entity tags attached to the affected entity.

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

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

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

Event

data Event #

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 # 

Methods

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

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

Data Event # 

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 # 
Show Event # 

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event # 

Associated Types

type Rep Event :: * -> * #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

Hashable Event # 

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromJSON Event # 
NFData Event # 

Methods

rnf :: Event -> () #

type Rep Event # 

event :: Event #

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

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

eArn :: Lens' Event (Maybe Text) #

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

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

eStartTime :: Lens' Event (Maybe UTCTime) #

The date and time that the event began.

eEventTypeCode :: Lens' Event (Maybe Text) #

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

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

eEndTime :: Lens' Event (Maybe UTCTime) #

The date and time that the event ended.

eRegion :: Lens' Event (Maybe Text) #

The AWS region name of the event.

eStatusCode :: Lens' Event (Maybe EventStatusCode) #

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

EventAggregate

data EventAggregate #

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

See: eventAggregate smart constructor.

Instances

Eq EventAggregate # 
Data EventAggregate # 

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 # 
Show EventAggregate # 
Generic EventAggregate # 

Associated Types

type Rep EventAggregate :: * -> * #

Hashable EventAggregate # 
FromJSON EventAggregate # 
NFData EventAggregate # 

Methods

rnf :: EventAggregate -> () #

type Rep EventAggregate # 
type Rep EventAggregate = D1 (MetaData "EventAggregate" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

The number of events of the associated issue type.

eaAggregateValue :: Lens' EventAggregate (Maybe Text) #

The issue type for the associated count.

EventDescription

data EventDescription #

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

See: eventDescription smart constructor.

Instances

Eq EventDescription # 
Data EventDescription # 

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 # 
Show EventDescription # 
Generic EventDescription # 
Hashable EventDescription # 
FromJSON EventDescription # 
NFData EventDescription # 

Methods

rnf :: EventDescription -> () #

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

eventDescription :: EventDescription #

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

The most recent description of the event.

EventDetails

data EventDetails #

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 # 
Data EventDetails # 

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 # 
Show EventDetails # 
Generic EventDetails # 

Associated Types

type Rep EventDetails :: * -> * #

Hashable EventDetails # 
FromJSON EventDetails # 
NFData EventDetails # 

Methods

rnf :: EventDetails -> () #

type Rep EventDetails # 
type Rep EventDetails = D1 (MetaData "EventDetails" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

Summary information about the event.

edEventDescription :: Lens' EventDetails (Maybe EventDescription) #

The most recent description of the event.

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

Additional metadata about the event.

EventDetailsErrorItem

data EventDetailsErrorItem #

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

See: eventDetailsErrorItem smart constructor.

Instances

Eq EventDetailsErrorItem # 
Data EventDetailsErrorItem # 

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 # 
Show EventDetailsErrorItem # 
Generic EventDetailsErrorItem # 
Hashable EventDetailsErrorItem # 
FromJSON EventDetailsErrorItem # 
NFData EventDetailsErrorItem # 

Methods

rnf :: EventDetailsErrorItem -> () #

type Rep EventDetailsErrorItem # 
type Rep EventDetailsErrorItem = D1 (MetaData "EventDetailsErrorItem" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

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

A message that describes the error.

EventFilter

data EventFilter #

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

See: eventFilter smart constructor.

Instances

Eq EventFilter # 
Data EventFilter # 

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 # 
Show EventFilter # 
Generic EventFilter # 

Associated Types

type Rep EventFilter :: * -> * #

Hashable EventFilter # 
ToJSON EventFilter # 
NFData EventFilter # 

Methods

rnf :: EventFilter -> () #

type Rep EventFilter # 
type Rep EventFilter = D1 (MetaData "EventFilter" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

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

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

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

A list of AWS regions.

efEventStatusCodes :: Lens' EventFilter (Maybe (NonEmpty EventStatusCode)) #

A list of event status codes.

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

A list of dates and times that the event ended.

efAvailabilityZones :: Lens' EventFilter [Text] #

A list of AWS availability zones.

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

A list of entity ARNs (unique identifiers).

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

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

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

A list of dates and times that the event began.

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

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

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

A map of entity tags attached to the affected entity.

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

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

EventType

data EventType #

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 # 
Data EventType # 

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 # 
Show EventType # 
Generic EventType # 

Associated Types

type Rep EventType :: * -> * #

Hashable EventType # 
FromJSON EventType # 
NFData EventType # 

Methods

rnf :: EventType -> () #

type Rep EventType # 
type Rep EventType = D1 (MetaData "EventType" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

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

etCategory :: Lens' EventType (Maybe EventTypeCategory) #

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

etCode :: Lens' EventType (Maybe Text) #

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

EventTypeFilter

data EventTypeFilter #

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

See: eventTypeFilter smart constructor.

Instances

Eq EventTypeFilter # 
Data EventTypeFilter # 

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

Methods

rnf :: EventTypeFilter -> () #

type Rep EventTypeFilter # 
type Rep EventTypeFilter = D1 (MetaData "EventTypeFilter" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.4.5-E6M6i11BIouHnurBp0iAtj" 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 #

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

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

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

A list of event type codes.

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

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