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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AWSHealth

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 (Paginated)

DescribeEventDetails

DescribeEventAggregates (Paginated)

DescribeAffectedEntities (Paginated)

DescribeEventTypes (Paginated)

Types

EntityStatusCode

data EntityStatusCode Source #

Constructors

Impaired 
Unimpaired 
Unknown 
Instances
Bounded EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Enum EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Eq EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Data EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

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

Defined in Network.AWS.AWSHealth.Types.Sum

Read EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Show EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Generic EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Associated Types

type Rep EntityStatusCode :: Type -> Type #

Hashable EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToJSON EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

FromJSON EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToHeader EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToQuery EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToByteString EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

FromText EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToText EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

NFData EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Methods

rnf :: EntityStatusCode -> () #

type Rep EntityStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

type Rep EntityStatusCode = D1 (MetaData "EntityStatusCode" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "Impaired" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Unimpaired" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type)))

EventAggregateField

data EventAggregateField Source #

Constructors

EventTypeCategory 
Instances
Bounded EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Enum EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Eq EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Data EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

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

Defined in Network.AWS.AWSHealth.Types.Sum

Read EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Show EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Generic EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Associated Types

type Rep EventAggregateField :: Type -> Type #

Hashable EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToJSON EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToHeader EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToQuery EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToByteString EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

FromText EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToText EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

NFData EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Methods

rnf :: EventAggregateField -> () #

type Rep EventAggregateField Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

type Rep EventAggregateField = D1 (MetaData "EventAggregateField" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EventTypeCategory" PrefixI False) (U1 :: Type -> Type))

EventStatusCode

data EventStatusCode Source #

Constructors

Closed 
Open 
Upcoming 
Instances
Bounded EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Enum EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Eq EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Data EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

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

Defined in Network.AWS.AWSHealth.Types.Sum

Read EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Show EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Generic EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Associated Types

type Rep EventStatusCode :: Type -> Type #

Hashable EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToJSON EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

FromJSON EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToHeader EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToQuery EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToByteString EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

FromText EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToText EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

NFData EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Methods

rnf :: EventStatusCode -> () #

type Rep EventStatusCode Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

type Rep EventStatusCode = D1 (MetaData "EventStatusCode" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "Closed" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Open" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Upcoming" PrefixI False) (U1 :: Type -> Type)))

EventTypeCategory

data EventTypeCategory Source #

Instances
Bounded EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Enum EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Eq EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Data EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

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

Defined in Network.AWS.AWSHealth.Types.Sum

Read EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Show EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Generic EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Associated Types

type Rep EventTypeCategory :: Type -> Type #

Hashable EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToJSON EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

FromJSON EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToHeader EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToQuery EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToByteString EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

FromText EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

ToText EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

NFData EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

Methods

rnf :: EventTypeCategory -> () #

type Rep EventTypeCategory Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Sum

type Rep EventTypeCategory = D1 (MetaData "EventTypeCategory" "Network.AWS.AWSHealth.Types.Sum" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "AccountNotification" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Issue" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ScheduledChange" PrefixI False) (U1 :: Type -> Type)))

AffectedEntity

data AffectedEntity Source #

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

See: affectedEntity smart constructor.

Instances
Eq AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep AffectedEntity :: Type -> Type #

Hashable AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

FromJSON AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: AffectedEntity -> () #

type Rep AffectedEntity Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep AffectedEntity = D1 (MetaData "AffectedEntity" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "AffectedEntity'" PrefixI True) ((S1 (MetaSel (Just "_aeLastUpdatedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_aeEntityValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aeAwsAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_aeEventARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aeEntityARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aeTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_aeStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EntityStatusCode))))))

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

Defined in Network.AWS.AWSHealth.Types.Product

Data DateTimeRange Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show DateTimeRange Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic DateTimeRange Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep DateTimeRange :: Type -> Type #

Hashable DateTimeRange Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

ToJSON DateTimeRange Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData DateTimeRange Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: DateTimeRange -> () #

type Rep DateTimeRange Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep DateTimeRange = D1 (MetaData "DateTimeRange" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "DateTimeRange'" PrefixI True) (S1 (MetaSel (Just "_dtrTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EntityAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EntityAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EntityAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EntityAggregate :: Type -> Type #

Hashable EntityAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

FromJSON EntityAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EntityAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EntityAggregate -> () #

type Rep EntityAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EntityAggregate = D1 (MetaData "EntityAggregate" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EntityAggregate'" PrefixI True) (S1 (MetaSel (Just "_eCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EntityFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EntityFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EntityFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EntityFilter :: Type -> Type #

Hashable EntityFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

ToJSON EntityFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EntityFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EntityFilter -> () #

type Rep EntityFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EntityFilter = D1 (MetaData "EntityFilter" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EntityFilter'" PrefixI True) ((S1 (MetaSel (Just "_eStatusCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 EntityStatusCode))) :*: (S1 (MetaSel (Just "_eEntityARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: S1 (MetaSel (Just "_eEntityValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))))) :*: (S1 (MetaSel (Just "_eTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Map Text Text])) :*: (S1 (MetaSel (Just "_eLastUpdatedTimes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DateTimeRange))) :*: S1 (MetaSel (Just "_eEventARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 Text))))))

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

Defined in Network.AWS.AWSHealth.Types.Product

Methods

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

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

Data Event Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show Event Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

Hashable Event Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromJSON Event Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData Event Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: Event -> () #

type Rep Event Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Data EventAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EventAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EventAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EventAggregate :: Type -> Type #

Hashable EventAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

FromJSON EventAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EventAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EventAggregate -> () #

type Rep EventAggregate Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EventAggregate = D1 (MetaData "EventAggregate" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EventAggregate'" PrefixI True) (S1 (MetaSel (Just "_eaCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EventDescription Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EventDescription Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EventDescription Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EventDescription :: Type -> Type #

Hashable EventDescription Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

FromJSON EventDescription Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EventDescription Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EventDescription -> () #

type Rep EventDescription Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EventDescription = D1 (MetaData "EventDescription" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" True) (C1 (MetaCons "EventDescription'" PrefixI True) (S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EventDetails :: Type -> Type #

Hashable EventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

FromJSON EventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EventDetails -> () #

type Rep EventDetails Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EventDetails = D1 (MetaData "EventDetails" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EventDetails'" PrefixI True) (S1 (MetaSel (Just "_edEvent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Event)) :*: (S1 (MetaSel (Just "_edEventDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventDescription)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EventDetailsErrorItem Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EventDetailsErrorItem Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EventDetailsErrorItem Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EventDetailsErrorItem :: Type -> Type #

Hashable EventDetailsErrorItem Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

FromJSON EventDetailsErrorItem Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EventDetailsErrorItem Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EventDetailsErrorItem -> () #

type Rep EventDetailsErrorItem Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EventDetailsErrorItem = D1 (MetaData "EventDetailsErrorItem" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EventDetailsErrorItem'" PrefixI True) (S1 (MetaSel (Just "_edeiEventARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_edeiErrorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EventFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EventFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EventFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EventFilter :: Type -> Type #

Hashable EventFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

ToJSON EventFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EventFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EventFilter -> () #

type Rep EventFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EventFilter = D1 (MetaData "EventFilter" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EventFilter'" PrefixI True) (((S1 (MetaSel (Just "_efEventARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: (S1 (MetaSel (Just "_efEventTypeCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 EventTypeCategory))) :*: S1 (MetaSel (Just "_efEventTypeCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))))) :*: (S1 (MetaSel (Just "_efRegions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: (S1 (MetaSel (Just "_efEventStatusCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 EventStatusCode))) :*: S1 (MetaSel (Just "_efEndTimes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DateTimeRange)))))) :*: ((S1 (MetaSel (Just "_efAvailabilityZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_efEntityARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: S1 (MetaSel (Just "_efEntityValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))))) :*: ((S1 (MetaSel (Just "_efStartTimes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 DateTimeRange))) :*: S1 (MetaSel (Just "_efServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) :*: (S1 (MetaSel (Just "_efTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Map Text Text])) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EventType Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EventType Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EventType Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EventType :: Type -> Type #

Hashable EventType Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

FromJSON EventType Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EventType Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EventType -> () #

type Rep EventType Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EventType = D1 (MetaData "EventType" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EventType'" PrefixI True) (S1 (MetaSel (Just "_etService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_etCategory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventTypeCategory)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Data EventTypeFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

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

Defined in Network.AWS.AWSHealth.Types.Product

Show EventTypeFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Generic EventTypeFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Associated Types

type Rep EventTypeFilter :: Type -> Type #

Hashable EventTypeFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

ToJSON EventTypeFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

NFData EventTypeFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

Methods

rnf :: EventTypeFilter -> () #

type Rep EventTypeFilter Source # 
Instance details

Defined in Network.AWS.AWSHealth.Types.Product

type Rep EventTypeFilter = D1 (MetaData "EventTypeFilter" "Network.AWS.AWSHealth.Types.Product" "amazonka-health-1.6.1-BRRcu5UluZl9SYo4GukvCE" False) (C1 (MetaCons "EventTypeFilter'" PrefixI True) (S1 (MetaSel (Just "_etfEventTypeCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 EventTypeCategory))) :*: (S1 (MetaSel (Just "_etfEventTypeCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: S1 (MetaSel (Just "_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 .