packages feed

amazonka-health 1.6.1 → 2.0

raw patch · 75 files changed

+8006/−2763 lines, 75 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok

version bump matches the API change (PVP)

Dependencies added: case-insensitive

Dependency ranges changed: amazonka-core, amazonka-test, base

API changes (from Hackage documentation)

- Network.AWS.AWSHealth: AccountNotification :: EventTypeCategory
- Network.AWS.AWSHealth: Closed :: EventStatusCode
- Network.AWS.AWSHealth: EventTypeCategory :: EventAggregateField
- Network.AWS.AWSHealth: Impaired :: EntityStatusCode
- Network.AWS.AWSHealth: Issue :: EventTypeCategory
- Network.AWS.AWSHealth: Open :: EventStatusCode
- Network.AWS.AWSHealth: ScheduledChange :: EventTypeCategory
- Network.AWS.AWSHealth: Unimpaired :: EntityStatusCode
- Network.AWS.AWSHealth: Unknown :: EntityStatusCode
- Network.AWS.AWSHealth: Upcoming :: EventStatusCode
- Network.AWS.AWSHealth: _InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AWSHealth: _UnsupportedLocale :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AWSHealth: aeAwsAccountId :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth: aeEntityARN :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth: aeEntityValue :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth: aeEventARN :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth: aeLastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime)
- Network.AWS.AWSHealth: aeStatusCode :: Lens' AffectedEntity (Maybe EntityStatusCode)
- Network.AWS.AWSHealth: aeTags :: Lens' AffectedEntity (HashMap Text Text)
- Network.AWS.AWSHealth: affectedEntity :: AffectedEntity
- Network.AWS.AWSHealth: awsHealth :: Service
- Network.AWS.AWSHealth: data AffectedEntity
- Network.AWS.AWSHealth: data DateTimeRange
- Network.AWS.AWSHealth: data EntityAggregate
- Network.AWS.AWSHealth: data EntityFilter
- Network.AWS.AWSHealth: data EntityStatusCode
- Network.AWS.AWSHealth: data Event
- Network.AWS.AWSHealth: data EventAggregate
- Network.AWS.AWSHealth: data EventAggregateField
- Network.AWS.AWSHealth: data EventDescription
- Network.AWS.AWSHealth: data EventDetails
- Network.AWS.AWSHealth: data EventDetailsErrorItem
- Network.AWS.AWSHealth: data EventFilter
- Network.AWS.AWSHealth: data EventStatusCode
- Network.AWS.AWSHealth: data EventType
- Network.AWS.AWSHealth: data EventTypeCategory
- Network.AWS.AWSHealth: data EventTypeFilter
- Network.AWS.AWSHealth: dateTimeRange :: DateTimeRange
- Network.AWS.AWSHealth: dtrFrom :: Lens' DateTimeRange (Maybe UTCTime)
- Network.AWS.AWSHealth: dtrTo :: Lens' DateTimeRange (Maybe UTCTime)
- Network.AWS.AWSHealth: eArn :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth: eAvailabilityZone :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth: eCount :: Lens' EntityAggregate (Maybe Int)
- Network.AWS.AWSHealth: eEndTime :: Lens' Event (Maybe UTCTime)
- Network.AWS.AWSHealth: eEntityARNs :: Lens' EntityFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: eEntityValues :: Lens' EntityFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: eEventARN :: Lens' EntityAggregate (Maybe Text)
- Network.AWS.AWSHealth: eEventARNs :: Lens' EntityFilter (NonEmpty Text)
- Network.AWS.AWSHealth: eEventTypeCategory :: Lens' Event (Maybe EventTypeCategory)
- Network.AWS.AWSHealth: eEventTypeCode :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth: eLastUpdatedTime :: Lens' Event (Maybe UTCTime)
- Network.AWS.AWSHealth: eLastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth: eRegion :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth: eService :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth: eStartTime :: Lens' Event (Maybe UTCTime)
- Network.AWS.AWSHealth: eStatusCode :: Lens' Event (Maybe EventStatusCode)
- Network.AWS.AWSHealth: eStatusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode))
- Network.AWS.AWSHealth: eTags :: Lens' EntityFilter [HashMap Text Text]
- Network.AWS.AWSHealth: eaAggregateValue :: Lens' EventAggregate (Maybe Text)
- Network.AWS.AWSHealth: eaCount :: Lens' EventAggregate (Maybe Int)
- Network.AWS.AWSHealth: edEvent :: Lens' EventDetails (Maybe Event)
- Network.AWS.AWSHealth: edEventDescription :: Lens' EventDetails (Maybe EventDescription)
- Network.AWS.AWSHealth: edEventMetadata :: Lens' EventDetails (HashMap Text Text)
- Network.AWS.AWSHealth: edLatestDescription :: Lens' EventDescription (Maybe Text)
- Network.AWS.AWSHealth: edeiErrorMessage :: Lens' EventDetailsErrorItem (Maybe Text)
- Network.AWS.AWSHealth: edeiErrorName :: Lens' EventDetailsErrorItem (Maybe Text)
- Network.AWS.AWSHealth: edeiEventARN :: Lens' EventDetailsErrorItem (Maybe Text)
- Network.AWS.AWSHealth: efAvailabilityZones :: Lens' EventFilter [Text]
- Network.AWS.AWSHealth: efEndTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth: efEntityARNs :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: efEntityValues :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: efEventARNs :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: efEventStatusCodes :: Lens' EventFilter (Maybe (NonEmpty EventStatusCode))
- Network.AWS.AWSHealth: efEventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory))
- Network.AWS.AWSHealth: efEventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: efLastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth: efRegions :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: efServices :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: efStartTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth: efTags :: Lens' EventFilter [HashMap Text Text]
- Network.AWS.AWSHealth: entityAggregate :: EntityAggregate
- Network.AWS.AWSHealth: entityFilter :: NonEmpty Text -> EntityFilter
- Network.AWS.AWSHealth: etCategory :: Lens' EventType (Maybe EventTypeCategory)
- Network.AWS.AWSHealth: etCode :: Lens' EventType (Maybe Text)
- Network.AWS.AWSHealth: etService :: Lens' EventType (Maybe Text)
- Network.AWS.AWSHealth: etfEventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory))
- Network.AWS.AWSHealth: etfEventTypeCodes :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: etfServices :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth: event :: Event
- Network.AWS.AWSHealth: eventAggregate :: EventAggregate
- Network.AWS.AWSHealth: eventDescription :: EventDescription
- Network.AWS.AWSHealth: eventDetails :: EventDetails
- Network.AWS.AWSHealth: eventDetailsErrorItem :: EventDetailsErrorItem
- Network.AWS.AWSHealth: eventFilter :: EventFilter
- Network.AWS.AWSHealth: eventType :: EventType
- Network.AWS.AWSHealth: eventTypeFilter :: EventTypeFilter
- Network.AWS.AWSHealth.DescribeAffectedEntities: daeFilter :: Lens' DescribeAffectedEntities EntityFilter
- Network.AWS.AWSHealth.DescribeAffectedEntities: daeLocale :: Lens' DescribeAffectedEntities (Maybe Text)
- Network.AWS.AWSHealth.DescribeAffectedEntities: daeMaxResults :: Lens' DescribeAffectedEntities (Maybe Natural)
- Network.AWS.AWSHealth.DescribeAffectedEntities: daeNextToken :: Lens' DescribeAffectedEntities (Maybe Text)
- Network.AWS.AWSHealth.DescribeAffectedEntities: daersEntities :: Lens' DescribeAffectedEntitiesResponse [AffectedEntity]
- Network.AWS.AWSHealth.DescribeAffectedEntities: daersNextToken :: Lens' DescribeAffectedEntitiesResponse (Maybe Text)
- Network.AWS.AWSHealth.DescribeAffectedEntities: daersResponseStatus :: Lens' DescribeAffectedEntitiesResponse Int
- Network.AWS.AWSHealth.DescribeAffectedEntities: data DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: data DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: describeAffectedEntities :: EntityFilter -> DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: describeAffectedEntitiesResponse :: Int -> DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Data.Data.Data Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Data.Data.Data Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Data.Hashable.Class.Hashable Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Network.AWS.Data.Path.ToPath Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Network.AWS.Data.Query.ToQuery Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Network.AWS.Pager.AWSPager Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeAffectedEntities: instance Network.AWS.Types.AWSRequest Network.AWS.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
- Network.AWS.AWSHealth.DescribeEntityAggregates: data DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: data DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: deaEventARNs :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.DescribeEntityAggregates: dearsEntityAggregates :: Lens' DescribeEntityAggregatesResponse [EntityAggregate]
- Network.AWS.AWSHealth.DescribeEntityAggregates: dearsResponseStatus :: Lens' DescribeEntityAggregatesResponse Int
- Network.AWS.AWSHealth.DescribeEntityAggregates: describeEntityAggregates :: DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: describeEntityAggregatesResponse :: Int -> DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Data.Hashable.Class.Hashable Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Network.AWS.Data.Path.ToPath Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Network.AWS.Data.Query.ToQuery Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEntityAggregates: instance Network.AWS.Types.AWSRequest Network.AWS.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: data DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: data DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: deaAggregateField :: Lens' DescribeEventAggregates EventAggregateField
- Network.AWS.AWSHealth.DescribeEventAggregates: deaFilter :: Lens' DescribeEventAggregates (Maybe EventFilter)
- Network.AWS.AWSHealth.DescribeEventAggregates: deaMaxResults :: Lens' DescribeEventAggregates (Maybe Natural)
- Network.AWS.AWSHealth.DescribeEventAggregates: deaNextToken :: Lens' DescribeEventAggregates (Maybe Text)
- Network.AWS.AWSHealth.DescribeEventAggregates: describeEventAggregates :: EventAggregateField -> DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: describeEventAggregatesResponse :: Int -> DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: drsEventAggregates :: Lens' DescribeEventAggregatesResponse [EventAggregate]
- Network.AWS.AWSHealth.DescribeEventAggregates: drsNextToken :: Lens' DescribeEventAggregatesResponse (Maybe Text)
- Network.AWS.AWSHealth.DescribeEventAggregates: drsResponseStatus :: Lens' DescribeEventAggregatesResponse Int
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Data.Hashable.Class.Hashable Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Network.AWS.Data.Path.ToPath Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Network.AWS.Data.Query.ToQuery Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Network.AWS.Pager.AWSPager Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventAggregates: instance Network.AWS.Types.AWSRequest Network.AWS.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
- Network.AWS.AWSHealth.DescribeEventDetails: data DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: data DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: dedEventARNs :: Lens' DescribeEventDetails (NonEmpty Text)
- Network.AWS.AWSHealth.DescribeEventDetails: dedLocale :: Lens' DescribeEventDetails (Maybe Text)
- Network.AWS.AWSHealth.DescribeEventDetails: dedrsFailedSet :: Lens' DescribeEventDetailsResponse [EventDetailsErrorItem]
- Network.AWS.AWSHealth.DescribeEventDetails: dedrsResponseStatus :: Lens' DescribeEventDetailsResponse Int
- Network.AWS.AWSHealth.DescribeEventDetails: dedrsSuccessfulSet :: Lens' DescribeEventDetailsResponse [EventDetails]
- Network.AWS.AWSHealth.DescribeEventDetails: describeEventDetails :: NonEmpty Text -> DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: describeEventDetailsResponse :: Int -> DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: instance Data.Hashable.Class.Hashable Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
- Network.AWS.AWSHealth.DescribeEventDetails: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance Network.AWS.Data.Path.ToPath Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance Network.AWS.Data.Query.ToQuery Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventDetails: instance Network.AWS.Types.AWSRequest Network.AWS.AWSHealth.DescribeEventDetails.DescribeEventDetails
- Network.AWS.AWSHealth.DescribeEventTypes: data DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: data DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: describeEventTypes :: DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: describeEventTypesResponse :: Int -> DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: detFilter :: Lens' DescribeEventTypes (Maybe EventTypeFilter)
- Network.AWS.AWSHealth.DescribeEventTypes: detLocale :: Lens' DescribeEventTypes (Maybe Text)
- Network.AWS.AWSHealth.DescribeEventTypes: detMaxResults :: Lens' DescribeEventTypes (Maybe Natural)
- Network.AWS.AWSHealth.DescribeEventTypes: detNextToken :: Lens' DescribeEventTypes (Maybe Text)
- Network.AWS.AWSHealth.DescribeEventTypes: detrsEventTypes :: Lens' DescribeEventTypesResponse [EventType]
- Network.AWS.AWSHealth.DescribeEventTypes: detrsNextToken :: Lens' DescribeEventTypesResponse (Maybe Text)
- Network.AWS.AWSHealth.DescribeEventTypes: detrsResponseStatus :: Lens' DescribeEventTypesResponse Int
- Network.AWS.AWSHealth.DescribeEventTypes: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: instance Data.Hashable.Class.Hashable Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
- Network.AWS.AWSHealth.DescribeEventTypes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance Network.AWS.Data.Path.ToPath Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance Network.AWS.Data.Query.ToQuery Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance Network.AWS.Pager.AWSPager Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEventTypes: instance Network.AWS.Types.AWSRequest Network.AWS.AWSHealth.DescribeEventTypes.DescribeEventTypes
- Network.AWS.AWSHealth.DescribeEvents: data DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: data DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: deFilter :: Lens' DescribeEvents (Maybe EventFilter)
- Network.AWS.AWSHealth.DescribeEvents: deLocale :: Lens' DescribeEvents (Maybe Text)
- Network.AWS.AWSHealth.DescribeEvents: deMaxResults :: Lens' DescribeEvents (Maybe Natural)
- Network.AWS.AWSHealth.DescribeEvents: deNextToken :: Lens' DescribeEvents (Maybe Text)
- Network.AWS.AWSHealth.DescribeEvents: dersEvents :: Lens' DescribeEventsResponse [Event]
- Network.AWS.AWSHealth.DescribeEvents: dersNextToken :: Lens' DescribeEventsResponse (Maybe Text)
- Network.AWS.AWSHealth.DescribeEvents: dersResponseStatus :: Lens' DescribeEventsResponse Int
- Network.AWS.AWSHealth.DescribeEvents: describeEvents :: DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: describeEventsResponse :: Int -> DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance Control.DeepSeq.NFData Network.AWS.AWSHealth.DescribeEvents.DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance Data.Data.Data Network.AWS.AWSHealth.DescribeEvents.DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: instance Data.Hashable.Class.Hashable Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Classes.Eq Network.AWS.AWSHealth.DescribeEvents.DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Generics.Generic Network.AWS.AWSHealth.DescribeEvents.DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Read.Read Network.AWS.AWSHealth.DescribeEvents.DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance GHC.Show.Show Network.AWS.AWSHealth.DescribeEvents.DescribeEventsResponse
- Network.AWS.AWSHealth.DescribeEvents: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance Network.AWS.Data.Path.ToPath Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance Network.AWS.Data.Query.ToQuery Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance Network.AWS.Pager.AWSPager Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.DescribeEvents: instance Network.AWS.Types.AWSRequest Network.AWS.AWSHealth.DescribeEvents.DescribeEvents
- Network.AWS.AWSHealth.Types: AccountNotification :: EventTypeCategory
- Network.AWS.AWSHealth.Types: Closed :: EventStatusCode
- Network.AWS.AWSHealth.Types: EventTypeCategory :: EventAggregateField
- Network.AWS.AWSHealth.Types: Impaired :: EntityStatusCode
- Network.AWS.AWSHealth.Types: Issue :: EventTypeCategory
- Network.AWS.AWSHealth.Types: Open :: EventStatusCode
- Network.AWS.AWSHealth.Types: ScheduledChange :: EventTypeCategory
- Network.AWS.AWSHealth.Types: Unimpaired :: EntityStatusCode
- Network.AWS.AWSHealth.Types: Unknown :: EntityStatusCode
- Network.AWS.AWSHealth.Types: Upcoming :: EventStatusCode
- Network.AWS.AWSHealth.Types: _InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AWSHealth.Types: _UnsupportedLocale :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AWSHealth.Types: aeAwsAccountId :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth.Types: aeEntityARN :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth.Types: aeEntityValue :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth.Types: aeEventARN :: Lens' AffectedEntity (Maybe Text)
- Network.AWS.AWSHealth.Types: aeLastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime)
- Network.AWS.AWSHealth.Types: aeStatusCode :: Lens' AffectedEntity (Maybe EntityStatusCode)
- Network.AWS.AWSHealth.Types: aeTags :: Lens' AffectedEntity (HashMap Text Text)
- Network.AWS.AWSHealth.Types: affectedEntity :: AffectedEntity
- Network.AWS.AWSHealth.Types: awsHealth :: Service
- Network.AWS.AWSHealth.Types: data AffectedEntity
- Network.AWS.AWSHealth.Types: data DateTimeRange
- Network.AWS.AWSHealth.Types: data EntityAggregate
- Network.AWS.AWSHealth.Types: data EntityFilter
- Network.AWS.AWSHealth.Types: data EntityStatusCode
- Network.AWS.AWSHealth.Types: data Event
- Network.AWS.AWSHealth.Types: data EventAggregate
- Network.AWS.AWSHealth.Types: data EventAggregateField
- Network.AWS.AWSHealth.Types: data EventDescription
- Network.AWS.AWSHealth.Types: data EventDetails
- Network.AWS.AWSHealth.Types: data EventDetailsErrorItem
- Network.AWS.AWSHealth.Types: data EventFilter
- Network.AWS.AWSHealth.Types: data EventStatusCode
- Network.AWS.AWSHealth.Types: data EventType
- Network.AWS.AWSHealth.Types: data EventTypeCategory
- Network.AWS.AWSHealth.Types: data EventTypeFilter
- Network.AWS.AWSHealth.Types: dateTimeRange :: DateTimeRange
- Network.AWS.AWSHealth.Types: dtrFrom :: Lens' DateTimeRange (Maybe UTCTime)
- Network.AWS.AWSHealth.Types: dtrTo :: Lens' DateTimeRange (Maybe UTCTime)
- Network.AWS.AWSHealth.Types: eArn :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth.Types: eAvailabilityZone :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth.Types: eCount :: Lens' EntityAggregate (Maybe Int)
- Network.AWS.AWSHealth.Types: eEndTime :: Lens' Event (Maybe UTCTime)
- Network.AWS.AWSHealth.Types: eEntityARNs :: Lens' EntityFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: eEntityValues :: Lens' EntityFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: eEventARN :: Lens' EntityAggregate (Maybe Text)
- Network.AWS.AWSHealth.Types: eEventARNs :: Lens' EntityFilter (NonEmpty Text)
- Network.AWS.AWSHealth.Types: eEventTypeCategory :: Lens' Event (Maybe EventTypeCategory)
- Network.AWS.AWSHealth.Types: eEventTypeCode :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth.Types: eLastUpdatedTime :: Lens' Event (Maybe UTCTime)
- Network.AWS.AWSHealth.Types: eLastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth.Types: eRegion :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth.Types: eService :: Lens' Event (Maybe Text)
- Network.AWS.AWSHealth.Types: eStartTime :: Lens' Event (Maybe UTCTime)
- Network.AWS.AWSHealth.Types: eStatusCode :: Lens' Event (Maybe EventStatusCode)
- Network.AWS.AWSHealth.Types: eStatusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode))
- Network.AWS.AWSHealth.Types: eTags :: Lens' EntityFilter [HashMap Text Text]
- Network.AWS.AWSHealth.Types: eaAggregateValue :: Lens' EventAggregate (Maybe Text)
- Network.AWS.AWSHealth.Types: eaCount :: Lens' EventAggregate (Maybe Int)
- Network.AWS.AWSHealth.Types: edEvent :: Lens' EventDetails (Maybe Event)
- Network.AWS.AWSHealth.Types: edEventDescription :: Lens' EventDetails (Maybe EventDescription)
- Network.AWS.AWSHealth.Types: edEventMetadata :: Lens' EventDetails (HashMap Text Text)
- Network.AWS.AWSHealth.Types: edLatestDescription :: Lens' EventDescription (Maybe Text)
- Network.AWS.AWSHealth.Types: edeiErrorMessage :: Lens' EventDetailsErrorItem (Maybe Text)
- Network.AWS.AWSHealth.Types: edeiErrorName :: Lens' EventDetailsErrorItem (Maybe Text)
- Network.AWS.AWSHealth.Types: edeiEventARN :: Lens' EventDetailsErrorItem (Maybe Text)
- Network.AWS.AWSHealth.Types: efAvailabilityZones :: Lens' EventFilter [Text]
- Network.AWS.AWSHealth.Types: efEndTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth.Types: efEntityARNs :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: efEntityValues :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: efEventARNs :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: efEventStatusCodes :: Lens' EventFilter (Maybe (NonEmpty EventStatusCode))
- Network.AWS.AWSHealth.Types: efEventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory))
- Network.AWS.AWSHealth.Types: efEventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: efLastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth.Types: efRegions :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: efServices :: Lens' EventFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: efStartTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
- Network.AWS.AWSHealth.Types: efTags :: Lens' EventFilter [HashMap Text Text]
- Network.AWS.AWSHealth.Types: entityAggregate :: EntityAggregate
- Network.AWS.AWSHealth.Types: entityFilter :: NonEmpty Text -> EntityFilter
- Network.AWS.AWSHealth.Types: etCategory :: Lens' EventType (Maybe EventTypeCategory)
- Network.AWS.AWSHealth.Types: etCode :: Lens' EventType (Maybe Text)
- Network.AWS.AWSHealth.Types: etService :: Lens' EventType (Maybe Text)
- Network.AWS.AWSHealth.Types: etfEventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory))
- Network.AWS.AWSHealth.Types: etfEventTypeCodes :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: etfServices :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
- Network.AWS.AWSHealth.Types: event :: Event
- Network.AWS.AWSHealth.Types: eventAggregate :: EventAggregate
- Network.AWS.AWSHealth.Types: eventDescription :: EventDescription
- Network.AWS.AWSHealth.Types: eventDetails :: EventDetails
- Network.AWS.AWSHealth.Types: eventDetailsErrorItem :: EventDetailsErrorItem
- Network.AWS.AWSHealth.Types: eventFilter :: EventFilter
- Network.AWS.AWSHealth.Types: eventType :: EventType
- Network.AWS.AWSHealth.Types: eventTypeFilter :: EventTypeFilter
+ Amazonka.AWSHealth: AffectedEntity' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatusCode -> Maybe (HashMap Text Text) -> AffectedEntity
+ Amazonka.AWSHealth: DateTimeRange' :: Maybe POSIX -> Maybe POSIX -> DateTimeRange
+ Amazonka.AWSHealth: DescribeAffectedAccountsForOrganization' :: Maybe Natural -> Maybe Text -> Text -> DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth: DescribeAffectedAccountsForOrganizationResponse' :: Maybe [Text] -> Maybe EventScopeCode -> Maybe Text -> Int -> DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth: DescribeAffectedEntities' :: Maybe Text -> Maybe Natural -> Maybe Text -> EntityFilter -> DescribeAffectedEntities
+ Amazonka.AWSHealth: DescribeAffectedEntitiesForOrganization' :: Maybe Text -> Maybe Natural -> Maybe Text -> NonEmpty EventAccountFilter -> DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth: DescribeAffectedEntitiesForOrganizationResponse' :: Maybe [AffectedEntity] -> Maybe [OrganizationAffectedEntitiesErrorItem] -> Maybe Text -> Int -> DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth: DescribeAffectedEntitiesResponse' :: Maybe [AffectedEntity] -> Maybe Text -> Int -> DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth: DescribeEntityAggregates' :: Maybe (NonEmpty Text) -> DescribeEntityAggregates
+ Amazonka.AWSHealth: DescribeEntityAggregatesResponse' :: Maybe [EntityAggregate] -> Int -> DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth: DescribeEventAggregates' :: Maybe EventFilter -> Maybe Natural -> Maybe Text -> EventAggregateField -> DescribeEventAggregates
+ Amazonka.AWSHealth: DescribeEventAggregatesResponse' :: Maybe [EventAggregate] -> Maybe Text -> Int -> DescribeEventAggregatesResponse
+ Amazonka.AWSHealth: DescribeEventDetails' :: Maybe Text -> NonEmpty Text -> DescribeEventDetails
+ Amazonka.AWSHealth: DescribeEventDetailsForOrganization' :: Maybe Text -> NonEmpty EventAccountFilter -> DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth: DescribeEventDetailsForOrganizationResponse' :: Maybe [OrganizationEventDetailsErrorItem] -> Maybe [OrganizationEventDetails] -> Int -> DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth: DescribeEventDetailsResponse' :: Maybe [EventDetailsErrorItem] -> Maybe [EventDetails] -> Int -> DescribeEventDetailsResponse
+ Amazonka.AWSHealth: DescribeEventTypes' :: Maybe EventTypeFilter -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeEventTypes
+ Amazonka.AWSHealth: DescribeEventTypesResponse' :: Maybe [EventType] -> Maybe Text -> Int -> DescribeEventTypesResponse
+ Amazonka.AWSHealth: DescribeEvents' :: Maybe EventFilter -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeEvents
+ Amazonka.AWSHealth: DescribeEventsForOrganization' :: Maybe OrganizationEventFilter -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeEventsForOrganization
+ Amazonka.AWSHealth: DescribeEventsForOrganizationResponse' :: Maybe [OrganizationEvent] -> Maybe Text -> Int -> DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth: DescribeEventsResponse' :: Maybe [Event] -> Maybe Text -> Int -> DescribeEventsResponse
+ Amazonka.AWSHealth: DescribeHealthServiceStatusForOrganization' :: DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth: DescribeHealthServiceStatusForOrganizationResponse' :: Maybe Text -> Int -> DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth: DisableHealthServiceAccessForOrganization' :: DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth: DisableHealthServiceAccessForOrganizationResponse' :: DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth: EnableHealthServiceAccessForOrganization' :: EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth: EnableHealthServiceAccessForOrganizationResponse' :: EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth: EntityAggregate' :: Maybe Int -> Maybe Text -> EntityAggregate
+ Amazonka.AWSHealth: EntityFilter' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty EntityStatusCode) -> Maybe [HashMap Text Text] -> NonEmpty Text -> EntityFilter
+ Amazonka.AWSHealth: EntityStatusCode' :: Text -> EntityStatusCode
+ Amazonka.AWSHealth: Event' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventScopeCode -> Maybe EventTypeCategory -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventStatusCode -> Event
+ Amazonka.AWSHealth: EventAccountFilter' :: Maybe Text -> Text -> EventAccountFilter
+ Amazonka.AWSHealth: EventAggregate' :: Maybe Text -> Maybe Int -> EventAggregate
+ Amazonka.AWSHealth: EventAggregateField' :: Text -> EventAggregateField
+ Amazonka.AWSHealth: EventDescription' :: Maybe Text -> EventDescription
+ Amazonka.AWSHealth: EventDetails' :: Maybe Event -> Maybe EventDescription -> Maybe (HashMap Text Text) -> EventDetails
+ Amazonka.AWSHealth: EventDetailsErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> EventDetailsErrorItem
+ Amazonka.AWSHealth: EventFilter' :: Maybe [Text] -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty EventStatusCode) -> Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe [HashMap Text Text] -> EventFilter
+ Amazonka.AWSHealth: EventScopeCode' :: Text -> EventScopeCode
+ Amazonka.AWSHealth: EventStatusCode' :: Text -> EventStatusCode
+ Amazonka.AWSHealth: EventType' :: Maybe EventTypeCategory -> Maybe Text -> Maybe Text -> EventType
+ Amazonka.AWSHealth: EventTypeCategory' :: Text -> EventTypeCategory
+ Amazonka.AWSHealth: EventTypeFilter' :: Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> EventTypeFilter
+ Amazonka.AWSHealth: OrganizationAffectedEntitiesErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth: OrganizationEvent' :: Maybe Text -> Maybe POSIX -> Maybe EventScopeCode -> Maybe EventTypeCategory -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventStatusCode -> OrganizationEvent
+ Amazonka.AWSHealth: OrganizationEventDetails' :: Maybe Text -> Maybe Event -> Maybe EventDescription -> Maybe (HashMap Text Text) -> OrganizationEventDetails
+ Amazonka.AWSHealth: OrganizationEventDetailsErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth: OrganizationEventFilter' :: Maybe (NonEmpty Text) -> Maybe DateTimeRange -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty EventStatusCode) -> Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe DateTimeRange -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe DateTimeRange -> OrganizationEventFilter
+ Amazonka.AWSHealth: [fromEntityStatusCode] :: EntityStatusCode -> Text
+ Amazonka.AWSHealth: [fromEventAggregateField] :: EventAggregateField -> Text
+ Amazonka.AWSHealth: [fromEventScopeCode] :: EventScopeCode -> Text
+ Amazonka.AWSHealth: [fromEventStatusCode] :: EventStatusCode -> Text
+ Amazonka.AWSHealth: [fromEventTypeCategory] :: EventTypeCategory -> Text
+ Amazonka.AWSHealth: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.AWSHealth: _InvalidPaginationToken :: AsError a => Fold a ServiceError
+ Amazonka.AWSHealth: _UnsupportedLocale :: AsError a => Fold a ServiceError
+ Amazonka.AWSHealth: data AffectedEntity
+ Amazonka.AWSHealth: data DateTimeRange
+ Amazonka.AWSHealth: data DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth: data DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth: data DescribeAffectedEntities
+ Amazonka.AWSHealth: data DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth: data DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth: data DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth: data DescribeEntityAggregates
+ Amazonka.AWSHealth: data DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth: data DescribeEventAggregates
+ Amazonka.AWSHealth: data DescribeEventAggregatesResponse
+ Amazonka.AWSHealth: data DescribeEventDetails
+ Amazonka.AWSHealth: data DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth: data DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth: data DescribeEventDetailsResponse
+ Amazonka.AWSHealth: data DescribeEventTypes
+ Amazonka.AWSHealth: data DescribeEventTypesResponse
+ Amazonka.AWSHealth: data DescribeEvents
+ Amazonka.AWSHealth: data DescribeEventsForOrganization
+ Amazonka.AWSHealth: data DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth: data DescribeEventsResponse
+ Amazonka.AWSHealth: data DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth: data DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth: data DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth: data DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth: data EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth: data EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth: data EntityAggregate
+ Amazonka.AWSHealth: data EntityFilter
+ Amazonka.AWSHealth: data Event
+ Amazonka.AWSHealth: data EventAccountFilter
+ Amazonka.AWSHealth: data EventAggregate
+ Amazonka.AWSHealth: data EventDescription
+ Amazonka.AWSHealth: data EventDetails
+ Amazonka.AWSHealth: data EventDetailsErrorItem
+ Amazonka.AWSHealth: data EventFilter
+ Amazonka.AWSHealth: data EventType
+ Amazonka.AWSHealth: data EventTypeFilter
+ Amazonka.AWSHealth: data OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth: data OrganizationEvent
+ Amazonka.AWSHealth: data OrganizationEventDetails
+ Amazonka.AWSHealth: data OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth: data OrganizationEventFilter
+ Amazonka.AWSHealth: defaultService :: Service
+ Amazonka.AWSHealth: newAffectedEntity :: AffectedEntity
+ Amazonka.AWSHealth: newDateTimeRange :: DateTimeRange
+ Amazonka.AWSHealth: newDescribeAffectedAccountsForOrganization :: Text -> DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth: newDescribeAffectedAccountsForOrganizationResponse :: Int -> DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth: newDescribeAffectedEntities :: EntityFilter -> DescribeAffectedEntities
+ Amazonka.AWSHealth: newDescribeAffectedEntitiesForOrganization :: NonEmpty EventAccountFilter -> DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth: newDescribeAffectedEntitiesForOrganizationResponse :: Int -> DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth: newDescribeAffectedEntitiesResponse :: Int -> DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth: newDescribeEntityAggregates :: DescribeEntityAggregates
+ Amazonka.AWSHealth: newDescribeEntityAggregatesResponse :: Int -> DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth: newDescribeEventAggregates :: EventAggregateField -> DescribeEventAggregates
+ Amazonka.AWSHealth: newDescribeEventAggregatesResponse :: Int -> DescribeEventAggregatesResponse
+ Amazonka.AWSHealth: newDescribeEventDetails :: NonEmpty Text -> DescribeEventDetails
+ Amazonka.AWSHealth: newDescribeEventDetailsForOrganization :: NonEmpty EventAccountFilter -> DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth: newDescribeEventDetailsForOrganizationResponse :: Int -> DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth: newDescribeEventDetailsResponse :: Int -> DescribeEventDetailsResponse
+ Amazonka.AWSHealth: newDescribeEventTypes :: DescribeEventTypes
+ Amazonka.AWSHealth: newDescribeEventTypesResponse :: Int -> DescribeEventTypesResponse
+ Amazonka.AWSHealth: newDescribeEvents :: DescribeEvents
+ Amazonka.AWSHealth: newDescribeEventsForOrganization :: DescribeEventsForOrganization
+ Amazonka.AWSHealth: newDescribeEventsForOrganizationResponse :: Int -> DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth: newDescribeEventsResponse :: Int -> DescribeEventsResponse
+ Amazonka.AWSHealth: newDescribeHealthServiceStatusForOrganization :: DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth: newDescribeHealthServiceStatusForOrganizationResponse :: Int -> DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth: newDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth: newDisableHealthServiceAccessForOrganizationResponse :: DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth: newEnableHealthServiceAccessForOrganization :: EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth: newEnableHealthServiceAccessForOrganizationResponse :: EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth: newEntityAggregate :: EntityAggregate
+ Amazonka.AWSHealth: newEntityFilter :: NonEmpty Text -> EntityFilter
+ Amazonka.AWSHealth: newEvent :: Event
+ Amazonka.AWSHealth: newEventAccountFilter :: Text -> EventAccountFilter
+ Amazonka.AWSHealth: newEventAggregate :: EventAggregate
+ Amazonka.AWSHealth: newEventDescription :: EventDescription
+ Amazonka.AWSHealth: newEventDetails :: EventDetails
+ Amazonka.AWSHealth: newEventDetailsErrorItem :: EventDetailsErrorItem
+ Amazonka.AWSHealth: newEventFilter :: EventFilter
+ Amazonka.AWSHealth: newEventType :: EventType
+ Amazonka.AWSHealth: newEventTypeFilter :: EventTypeFilter
+ Amazonka.AWSHealth: newOrganizationAffectedEntitiesErrorItem :: OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth: newOrganizationEvent :: OrganizationEvent
+ Amazonka.AWSHealth: newOrganizationEventDetails :: OrganizationEventDetails
+ Amazonka.AWSHealth: newOrganizationEventDetailsErrorItem :: OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth: newOrganizationEventFilter :: OrganizationEventFilter
+ Amazonka.AWSHealth: newtype EntityStatusCode
+ Amazonka.AWSHealth: newtype EventAggregateField
+ Amazonka.AWSHealth: newtype EventScopeCode
+ Amazonka.AWSHealth: newtype EventStatusCode
+ Amazonka.AWSHealth: newtype EventTypeCategory
+ Amazonka.AWSHealth: pattern EntityStatusCode_IMPAIRED :: EntityStatusCode
+ Amazonka.AWSHealth: pattern EntityStatusCode_UNIMPAIRED :: EntityStatusCode
+ Amazonka.AWSHealth: pattern EntityStatusCode_UNKNOWN :: EntityStatusCode
+ Amazonka.AWSHealth: pattern EventAggregateField_EventTypeCategory :: EventAggregateField
+ Amazonka.AWSHealth: pattern EventScopeCode_ACCOUNT_SPECIFIC :: EventScopeCode
+ Amazonka.AWSHealth: pattern EventScopeCode_NONE :: EventScopeCode
+ Amazonka.AWSHealth: pattern EventScopeCode_PUBLIC :: EventScopeCode
+ Amazonka.AWSHealth: pattern EventStatusCode_Closed :: EventStatusCode
+ Amazonka.AWSHealth: pattern EventStatusCode_Open :: EventStatusCode
+ Amazonka.AWSHealth: pattern EventStatusCode_Upcoming :: EventStatusCode
+ Amazonka.AWSHealth: pattern EventTypeCategory_AccountNotification :: EventTypeCategory
+ Amazonka.AWSHealth: pattern EventTypeCategory_Investigation :: EventTypeCategory
+ Amazonka.AWSHealth: pattern EventTypeCategory_Issue :: EventTypeCategory
+ Amazonka.AWSHealth: pattern EventTypeCategory_ScheduledChange :: EventTypeCategory
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: DescribeAffectedAccountsForOrganization' :: Maybe Natural -> Maybe Text -> Text -> DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: DescribeAffectedAccountsForOrganizationResponse' :: Maybe [Text] -> Maybe EventScopeCode -> Maybe Text -> Int -> DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: [$sel:affectedAccounts:DescribeAffectedAccountsForOrganizationResponse'] :: DescribeAffectedAccountsForOrganizationResponse -> Maybe [Text]
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: [$sel:eventArn:DescribeAffectedAccountsForOrganization'] :: DescribeAffectedAccountsForOrganization -> Text
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: [$sel:eventScopeCode:DescribeAffectedAccountsForOrganizationResponse'] :: DescribeAffectedAccountsForOrganizationResponse -> Maybe EventScopeCode
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: [$sel:httpStatus:DescribeAffectedAccountsForOrganizationResponse'] :: DescribeAffectedAccountsForOrganizationResponse -> Int
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: [$sel:maxResults:DescribeAffectedAccountsForOrganization'] :: DescribeAffectedAccountsForOrganization -> Maybe Natural
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: [$sel:nextToken:DescribeAffectedAccountsForOrganization'] :: DescribeAffectedAccountsForOrganization -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: [$sel:nextToken:DescribeAffectedAccountsForOrganizationResponse'] :: DescribeAffectedAccountsForOrganizationResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: data DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: data DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: describeAffectedAccountsForOrganizationResponse_affectedAccounts :: Lens' DescribeAffectedAccountsForOrganizationResponse (Maybe [Text])
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: describeAffectedAccountsForOrganizationResponse_eventScopeCode :: Lens' DescribeAffectedAccountsForOrganizationResponse (Maybe EventScopeCode)
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: describeAffectedAccountsForOrganizationResponse_httpStatus :: Lens' DescribeAffectedAccountsForOrganizationResponse Int
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: describeAffectedAccountsForOrganizationResponse_nextToken :: Lens' DescribeAffectedAccountsForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: describeAffectedAccountsForOrganization_eventArn :: Lens' DescribeAffectedAccountsForOrganization Text
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: describeAffectedAccountsForOrganization_maxResults :: Lens' DescribeAffectedAccountsForOrganization (Maybe Natural)
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: describeAffectedAccountsForOrganization_nextToken :: Lens' DescribeAffectedAccountsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Amazonka.Pager.AWSPager Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization.DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: newDescribeAffectedAccountsForOrganization :: Text -> DescribeAffectedAccountsForOrganization
+ Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization: newDescribeAffectedAccountsForOrganizationResponse :: Int -> DescribeAffectedAccountsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: DescribeAffectedEntities' :: Maybe Text -> Maybe Natural -> Maybe Text -> EntityFilter -> DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: DescribeAffectedEntitiesResponse' :: Maybe [AffectedEntity] -> Maybe Text -> Int -> DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: [$sel:entities:DescribeAffectedEntitiesResponse'] :: DescribeAffectedEntitiesResponse -> Maybe [AffectedEntity]
+ Amazonka.AWSHealth.DescribeAffectedEntities: [$sel:filter':DescribeAffectedEntities'] :: DescribeAffectedEntities -> EntityFilter
+ Amazonka.AWSHealth.DescribeAffectedEntities: [$sel:httpStatus:DescribeAffectedEntitiesResponse'] :: DescribeAffectedEntitiesResponse -> Int
+ Amazonka.AWSHealth.DescribeAffectedEntities: [$sel:locale:DescribeAffectedEntities'] :: DescribeAffectedEntities -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedEntities: [$sel:maxResults:DescribeAffectedEntities'] :: DescribeAffectedEntities -> Maybe Natural
+ Amazonka.AWSHealth.DescribeAffectedEntities: [$sel:nextToken:DescribeAffectedEntities'] :: DescribeAffectedEntities -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedEntities: [$sel:nextToken:DescribeAffectedEntitiesResponse'] :: DescribeAffectedEntitiesResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedEntities: data DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: data DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: describeAffectedEntitiesResponse_entities :: Lens' DescribeAffectedEntitiesResponse (Maybe [AffectedEntity])
+ Amazonka.AWSHealth.DescribeAffectedEntities: describeAffectedEntitiesResponse_httpStatus :: Lens' DescribeAffectedEntitiesResponse Int
+ Amazonka.AWSHealth.DescribeAffectedEntities: describeAffectedEntitiesResponse_nextToken :: Lens' DescribeAffectedEntitiesResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedEntities: describeAffectedEntities_filter :: Lens' DescribeAffectedEntities EntityFilter
+ Amazonka.AWSHealth.DescribeAffectedEntities: describeAffectedEntities_locale :: Lens' DescribeAffectedEntities (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedEntities: describeAffectedEntities_maxResults :: Lens' DescribeAffectedEntities (Maybe Natural)
+ Amazonka.AWSHealth.DescribeAffectedEntities: describeAffectedEntities_nextToken :: Lens' DescribeAffectedEntities (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Amazonka.Pager.AWSPager Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Read.Read Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Read.Read Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Show.Show Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: instance GHC.Show.Show Amazonka.AWSHealth.DescribeAffectedEntities.DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntities: newDescribeAffectedEntities :: EntityFilter -> DescribeAffectedEntities
+ Amazonka.AWSHealth.DescribeAffectedEntities: newDescribeAffectedEntitiesResponse :: Int -> DescribeAffectedEntitiesResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: DescribeAffectedEntitiesForOrganization' :: Maybe Text -> Maybe Natural -> Maybe Text -> NonEmpty EventAccountFilter -> DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: DescribeAffectedEntitiesForOrganizationResponse' :: Maybe [AffectedEntity] -> Maybe [OrganizationAffectedEntitiesErrorItem] -> Maybe Text -> Int -> DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:entities:DescribeAffectedEntitiesForOrganizationResponse'] :: DescribeAffectedEntitiesForOrganizationResponse -> Maybe [AffectedEntity]
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:failedSet:DescribeAffectedEntitiesForOrganizationResponse'] :: DescribeAffectedEntitiesForOrganizationResponse -> Maybe [OrganizationAffectedEntitiesErrorItem]
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:httpStatus:DescribeAffectedEntitiesForOrganizationResponse'] :: DescribeAffectedEntitiesForOrganizationResponse -> Int
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:locale:DescribeAffectedEntitiesForOrganization'] :: DescribeAffectedEntitiesForOrganization -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:maxResults:DescribeAffectedEntitiesForOrganization'] :: DescribeAffectedEntitiesForOrganization -> Maybe Natural
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:nextToken:DescribeAffectedEntitiesForOrganization'] :: DescribeAffectedEntitiesForOrganization -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:nextToken:DescribeAffectedEntitiesForOrganizationResponse'] :: DescribeAffectedEntitiesForOrganizationResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: [$sel:organizationEntityFilters:DescribeAffectedEntitiesForOrganization'] :: DescribeAffectedEntitiesForOrganization -> NonEmpty EventAccountFilter
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: data DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: data DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganizationResponse_entities :: Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe [AffectedEntity])
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganizationResponse_failedSet :: Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe [OrganizationAffectedEntitiesErrorItem])
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganizationResponse_httpStatus :: Lens' DescribeAffectedEntitiesForOrganizationResponse Int
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganizationResponse_nextToken :: Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganization_locale :: Lens' DescribeAffectedEntitiesForOrganization (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganization_maxResults :: Lens' DescribeAffectedEntitiesForOrganization (Maybe Natural)
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganization_nextToken :: Lens' DescribeAffectedEntitiesForOrganization (Maybe Text)
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: describeAffectedEntitiesForOrganization_organizationEntityFilters :: Lens' DescribeAffectedEntitiesForOrganization (NonEmpty EventAccountFilter)
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Amazonka.Pager.AWSPager Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization.DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: newDescribeAffectedEntitiesForOrganization :: NonEmpty EventAccountFilter -> DescribeAffectedEntitiesForOrganization
+ Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization: newDescribeAffectedEntitiesForOrganizationResponse :: Int -> DescribeAffectedEntitiesForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: DescribeEntityAggregates' :: Maybe (NonEmpty Text) -> DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: DescribeEntityAggregatesResponse' :: Maybe [EntityAggregate] -> Int -> DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: [$sel:entityAggregates:DescribeEntityAggregatesResponse'] :: DescribeEntityAggregatesResponse -> Maybe [EntityAggregate]
+ Amazonka.AWSHealth.DescribeEntityAggregates: [$sel:eventArns:DescribeEntityAggregates'] :: DescribeEntityAggregates -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.DescribeEntityAggregates: [$sel:httpStatus:DescribeEntityAggregatesResponse'] :: DescribeEntityAggregatesResponse -> Int
+ Amazonka.AWSHealth.DescribeEntityAggregates: data DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: data DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: describeEntityAggregatesResponse_entityAggregates :: Lens' DescribeEntityAggregatesResponse (Maybe [EntityAggregate])
+ Amazonka.AWSHealth.DescribeEntityAggregates: describeEntityAggregatesResponse_httpStatus :: Lens' DescribeEntityAggregatesResponse Int
+ Amazonka.AWSHealth.DescribeEntityAggregates: describeEntityAggregates_eventArns :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEntityAggregates.DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEntityAggregates: newDescribeEntityAggregates :: DescribeEntityAggregates
+ Amazonka.AWSHealth.DescribeEntityAggregates: newDescribeEntityAggregatesResponse :: Int -> DescribeEntityAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: DescribeEventAggregates' :: Maybe EventFilter -> Maybe Natural -> Maybe Text -> EventAggregateField -> DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: DescribeEventAggregatesResponse' :: Maybe [EventAggregate] -> Maybe Text -> Int -> DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: [$sel:aggregateField:DescribeEventAggregates'] :: DescribeEventAggregates -> EventAggregateField
+ Amazonka.AWSHealth.DescribeEventAggregates: [$sel:eventAggregates:DescribeEventAggregatesResponse'] :: DescribeEventAggregatesResponse -> Maybe [EventAggregate]
+ Amazonka.AWSHealth.DescribeEventAggregates: [$sel:filter':DescribeEventAggregates'] :: DescribeEventAggregates -> Maybe EventFilter
+ Amazonka.AWSHealth.DescribeEventAggregates: [$sel:httpStatus:DescribeEventAggregatesResponse'] :: DescribeEventAggregatesResponse -> Int
+ Amazonka.AWSHealth.DescribeEventAggregates: [$sel:maxResults:DescribeEventAggregates'] :: DescribeEventAggregates -> Maybe Natural
+ Amazonka.AWSHealth.DescribeEventAggregates: [$sel:nextToken:DescribeEventAggregates'] :: DescribeEventAggregates -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventAggregates: [$sel:nextToken:DescribeEventAggregatesResponse'] :: DescribeEventAggregatesResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventAggregates: data DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: data DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: describeEventAggregatesResponse_eventAggregates :: Lens' DescribeEventAggregatesResponse (Maybe [EventAggregate])
+ Amazonka.AWSHealth.DescribeEventAggregates: describeEventAggregatesResponse_httpStatus :: Lens' DescribeEventAggregatesResponse Int
+ Amazonka.AWSHealth.DescribeEventAggregates: describeEventAggregatesResponse_nextToken :: Lens' DescribeEventAggregatesResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventAggregates: describeEventAggregates_aggregateField :: Lens' DescribeEventAggregates EventAggregateField
+ Amazonka.AWSHealth.DescribeEventAggregates: describeEventAggregates_filter :: Lens' DescribeEventAggregates (Maybe EventFilter)
+ Amazonka.AWSHealth.DescribeEventAggregates: describeEventAggregates_maxResults :: Lens' DescribeEventAggregates (Maybe Natural)
+ Amazonka.AWSHealth.DescribeEventAggregates: describeEventAggregates_nextToken :: Lens' DescribeEventAggregates (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Amazonka.Pager.AWSPager Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventAggregates.DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventAggregates: newDescribeEventAggregates :: EventAggregateField -> DescribeEventAggregates
+ Amazonka.AWSHealth.DescribeEventAggregates: newDescribeEventAggregatesResponse :: Int -> DescribeEventAggregatesResponse
+ Amazonka.AWSHealth.DescribeEventDetails: DescribeEventDetails' :: Maybe Text -> NonEmpty Text -> DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: DescribeEventDetailsResponse' :: Maybe [EventDetailsErrorItem] -> Maybe [EventDetails] -> Int -> DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetails: [$sel:eventArns:DescribeEventDetails'] :: DescribeEventDetails -> NonEmpty Text
+ Amazonka.AWSHealth.DescribeEventDetails: [$sel:failedSet:DescribeEventDetailsResponse'] :: DescribeEventDetailsResponse -> Maybe [EventDetailsErrorItem]
+ Amazonka.AWSHealth.DescribeEventDetails: [$sel:httpStatus:DescribeEventDetailsResponse'] :: DescribeEventDetailsResponse -> Int
+ Amazonka.AWSHealth.DescribeEventDetails: [$sel:locale:DescribeEventDetails'] :: DescribeEventDetails -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventDetails: [$sel:successfulSet:DescribeEventDetailsResponse'] :: DescribeEventDetailsResponse -> Maybe [EventDetails]
+ Amazonka.AWSHealth.DescribeEventDetails: data DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: data DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetails: describeEventDetailsResponse_failedSet :: Lens' DescribeEventDetailsResponse (Maybe [EventDetailsErrorItem])
+ Amazonka.AWSHealth.DescribeEventDetails: describeEventDetailsResponse_httpStatus :: Lens' DescribeEventDetailsResponse Int
+ Amazonka.AWSHealth.DescribeEventDetails: describeEventDetailsResponse_successfulSet :: Lens' DescribeEventDetailsResponse (Maybe [EventDetails])
+ Amazonka.AWSHealth.DescribeEventDetails: describeEventDetails_eventArns :: Lens' DescribeEventDetails (NonEmpty Text)
+ Amazonka.AWSHealth.DescribeEventDetails: describeEventDetails_locale :: Lens' DescribeEventDetails (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventDetails: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetails: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventDetails.DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetails: newDescribeEventDetails :: NonEmpty Text -> DescribeEventDetails
+ Amazonka.AWSHealth.DescribeEventDetails: newDescribeEventDetailsResponse :: Int -> DescribeEventDetailsResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: DescribeEventDetailsForOrganization' :: Maybe Text -> NonEmpty EventAccountFilter -> DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: DescribeEventDetailsForOrganizationResponse' :: Maybe [OrganizationEventDetailsErrorItem] -> Maybe [OrganizationEventDetails] -> Int -> DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: [$sel:failedSet:DescribeEventDetailsForOrganizationResponse'] :: DescribeEventDetailsForOrganizationResponse -> Maybe [OrganizationEventDetailsErrorItem]
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: [$sel:httpStatus:DescribeEventDetailsForOrganizationResponse'] :: DescribeEventDetailsForOrganizationResponse -> Int
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: [$sel:locale:DescribeEventDetailsForOrganization'] :: DescribeEventDetailsForOrganization -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: [$sel:organizationEventDetailFilters:DescribeEventDetailsForOrganization'] :: DescribeEventDetailsForOrganization -> NonEmpty EventAccountFilter
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: [$sel:successfulSet:DescribeEventDetailsForOrganizationResponse'] :: DescribeEventDetailsForOrganizationResponse -> Maybe [OrganizationEventDetails]
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: data DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: data DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: describeEventDetailsForOrganizationResponse_failedSet :: Lens' DescribeEventDetailsForOrganizationResponse (Maybe [OrganizationEventDetailsErrorItem])
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: describeEventDetailsForOrganizationResponse_httpStatus :: Lens' DescribeEventDetailsForOrganizationResponse Int
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: describeEventDetailsForOrganizationResponse_successfulSet :: Lens' DescribeEventDetailsForOrganizationResponse (Maybe [OrganizationEventDetails])
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: describeEventDetailsForOrganization_locale :: Lens' DescribeEventDetailsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: describeEventDetailsForOrganization_organizationEventDetailFilters :: Lens' DescribeEventDetailsForOrganization (NonEmpty EventAccountFilter)
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventDetailsForOrganization.DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: newDescribeEventDetailsForOrganization :: NonEmpty EventAccountFilter -> DescribeEventDetailsForOrganization
+ Amazonka.AWSHealth.DescribeEventDetailsForOrganization: newDescribeEventDetailsForOrganizationResponse :: Int -> DescribeEventDetailsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventTypes: DescribeEventTypes' :: Maybe EventTypeFilter -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: DescribeEventTypesResponse' :: Maybe [EventType] -> Maybe Text -> Int -> DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEventTypes: [$sel:eventTypes:DescribeEventTypesResponse'] :: DescribeEventTypesResponse -> Maybe [EventType]
+ Amazonka.AWSHealth.DescribeEventTypes: [$sel:filter':DescribeEventTypes'] :: DescribeEventTypes -> Maybe EventTypeFilter
+ Amazonka.AWSHealth.DescribeEventTypes: [$sel:httpStatus:DescribeEventTypesResponse'] :: DescribeEventTypesResponse -> Int
+ Amazonka.AWSHealth.DescribeEventTypes: [$sel:locale:DescribeEventTypes'] :: DescribeEventTypes -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventTypes: [$sel:maxResults:DescribeEventTypes'] :: DescribeEventTypes -> Maybe Natural
+ Amazonka.AWSHealth.DescribeEventTypes: [$sel:nextToken:DescribeEventTypes'] :: DescribeEventTypes -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventTypes: [$sel:nextToken:DescribeEventTypesResponse'] :: DescribeEventTypesResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventTypes: data DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: data DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEventTypes: describeEventTypesResponse_eventTypes :: Lens' DescribeEventTypesResponse (Maybe [EventType])
+ Amazonka.AWSHealth.DescribeEventTypes: describeEventTypesResponse_httpStatus :: Lens' DescribeEventTypesResponse Int
+ Amazonka.AWSHealth.DescribeEventTypes: describeEventTypesResponse_nextToken :: Lens' DescribeEventTypesResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventTypes: describeEventTypes_filter :: Lens' DescribeEventTypes (Maybe EventTypeFilter)
+ Amazonka.AWSHealth.DescribeEventTypes: describeEventTypes_locale :: Lens' DescribeEventTypes (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventTypes: describeEventTypes_maxResults :: Lens' DescribeEventTypes (Maybe Natural)
+ Amazonka.AWSHealth.DescribeEventTypes: describeEventTypes_nextToken :: Lens' DescribeEventTypes (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventTypes: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance Amazonka.Pager.AWSPager Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEventTypes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventTypes.DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEventTypes: newDescribeEventTypes :: DescribeEventTypes
+ Amazonka.AWSHealth.DescribeEventTypes: newDescribeEventTypesResponse :: Int -> DescribeEventTypesResponse
+ Amazonka.AWSHealth.DescribeEvents: DescribeEvents' :: Maybe EventFilter -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: DescribeEventsResponse' :: Maybe [Event] -> Maybe Text -> Int -> DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEvents: [$sel:events:DescribeEventsResponse'] :: DescribeEventsResponse -> Maybe [Event]
+ Amazonka.AWSHealth.DescribeEvents: [$sel:filter':DescribeEvents'] :: DescribeEvents -> Maybe EventFilter
+ Amazonka.AWSHealth.DescribeEvents: [$sel:httpStatus:DescribeEventsResponse'] :: DescribeEventsResponse -> Int
+ Amazonka.AWSHealth.DescribeEvents: [$sel:locale:DescribeEvents'] :: DescribeEvents -> Maybe Text
+ Amazonka.AWSHealth.DescribeEvents: [$sel:maxResults:DescribeEvents'] :: DescribeEvents -> Maybe Natural
+ Amazonka.AWSHealth.DescribeEvents: [$sel:nextToken:DescribeEvents'] :: DescribeEvents -> Maybe Text
+ Amazonka.AWSHealth.DescribeEvents: [$sel:nextToken:DescribeEventsResponse'] :: DescribeEventsResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeEvents: data DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: data DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEvents: describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [Event])
+ Amazonka.AWSHealth.DescribeEvents: describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
+ Amazonka.AWSHealth.DescribeEvents: describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeEvents: describeEvents_filter :: Lens' DescribeEvents (Maybe EventFilter)
+ Amazonka.AWSHealth.DescribeEvents: describeEvents_locale :: Lens' DescribeEvents (Maybe Text)
+ Amazonka.AWSHealth.DescribeEvents: describeEvents_maxResults :: Lens' DescribeEvents (Maybe Natural)
+ Amazonka.AWSHealth.DescribeEvents: describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text)
+ Amazonka.AWSHealth.DescribeEvents: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance Amazonka.Pager.AWSPager Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEvents.DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEvents: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEvents.DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEvents.DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEvents.DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEvents.DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEvents.DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEvents: newDescribeEvents :: DescribeEvents
+ Amazonka.AWSHealth.DescribeEvents: newDescribeEventsResponse :: Int -> DescribeEventsResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: DescribeEventsForOrganization' :: Maybe OrganizationEventFilter -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: DescribeEventsForOrganizationResponse' :: Maybe [OrganizationEvent] -> Maybe Text -> Int -> DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: [$sel:events:DescribeEventsForOrganizationResponse'] :: DescribeEventsForOrganizationResponse -> Maybe [OrganizationEvent]
+ Amazonka.AWSHealth.DescribeEventsForOrganization: [$sel:filter':DescribeEventsForOrganization'] :: DescribeEventsForOrganization -> Maybe OrganizationEventFilter
+ Amazonka.AWSHealth.DescribeEventsForOrganization: [$sel:httpStatus:DescribeEventsForOrganizationResponse'] :: DescribeEventsForOrganizationResponse -> Int
+ Amazonka.AWSHealth.DescribeEventsForOrganization: [$sel:locale:DescribeEventsForOrganization'] :: DescribeEventsForOrganization -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventsForOrganization: [$sel:maxResults:DescribeEventsForOrganization'] :: DescribeEventsForOrganization -> Maybe Natural
+ Amazonka.AWSHealth.DescribeEventsForOrganization: [$sel:nextToken:DescribeEventsForOrganization'] :: DescribeEventsForOrganization -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventsForOrganization: [$sel:nextToken:DescribeEventsForOrganizationResponse'] :: DescribeEventsForOrganizationResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeEventsForOrganization: data DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: data DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: describeEventsForOrganizationResponse_events :: Lens' DescribeEventsForOrganizationResponse (Maybe [OrganizationEvent])
+ Amazonka.AWSHealth.DescribeEventsForOrganization: describeEventsForOrganizationResponse_httpStatus :: Lens' DescribeEventsForOrganizationResponse Int
+ Amazonka.AWSHealth.DescribeEventsForOrganization: describeEventsForOrganizationResponse_nextToken :: Lens' DescribeEventsForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventsForOrganization: describeEventsForOrganization_filter :: Lens' DescribeEventsForOrganization (Maybe OrganizationEventFilter)
+ Amazonka.AWSHealth.DescribeEventsForOrganization: describeEventsForOrganization_locale :: Lens' DescribeEventsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventsForOrganization: describeEventsForOrganization_maxResults :: Lens' DescribeEventsForOrganization (Maybe Natural)
+ Amazonka.AWSHealth.DescribeEventsForOrganization: describeEventsForOrganization_nextToken :: Lens' DescribeEventsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Amazonka.Pager.AWSPager Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeEventsForOrganization.DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeEventsForOrganization: newDescribeEventsForOrganization :: DescribeEventsForOrganization
+ Amazonka.AWSHealth.DescribeEventsForOrganization: newDescribeEventsForOrganizationResponse :: Int -> DescribeEventsForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: DescribeHealthServiceStatusForOrganization' :: DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: DescribeHealthServiceStatusForOrganizationResponse' :: Maybe Text -> Int -> DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: [$sel:healthServiceAccessStatusForOrganization:DescribeHealthServiceStatusForOrganizationResponse'] :: DescribeHealthServiceStatusForOrganizationResponse -> Maybe Text
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: [$sel:httpStatus:DescribeHealthServiceStatusForOrganizationResponse'] :: DescribeHealthServiceStatusForOrganizationResponse -> Int
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: data DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: data DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization :: Lens' DescribeHealthServiceStatusForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: describeHealthServiceStatusForOrganizationResponse_httpStatus :: Lens' DescribeHealthServiceStatusForOrganizationResponse Int
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization.DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: newDescribeHealthServiceStatusForOrganization :: DescribeHealthServiceStatusForOrganization
+ Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization: newDescribeHealthServiceStatusForOrganizationResponse :: Int -> DescribeHealthServiceStatusForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: DisableHealthServiceAccessForOrganization' :: DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: DisableHealthServiceAccessForOrganizationResponse' :: DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: data DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: data DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization.DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: newDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization: newDisableHealthServiceAccessForOrganizationResponse :: DisableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: EnableHealthServiceAccessForOrganization' :: EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: EnableHealthServiceAccessForOrganizationResponse' :: EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: data EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: data EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Amazonka.Data.Headers.ToHeaders Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Amazonka.Data.Path.ToPath Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Amazonka.Types.AWSRequest Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Control.DeepSeq.NFData Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Classes.Eq Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Generics.Generic Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Read.Read Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: instance GHC.Show.Show Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization.EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: newEnableHealthServiceAccessForOrganization :: EnableHealthServiceAccessForOrganization
+ Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization: newEnableHealthServiceAccessForOrganizationResponse :: EnableHealthServiceAccessForOrganizationResponse
+ Amazonka.AWSHealth.Lens: affectedEntity_awsAccountId :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Lens: affectedEntity_entityArn :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Lens: affectedEntity_entityUrl :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Lens: affectedEntity_entityValue :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Lens: affectedEntity_eventArn :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Lens: affectedEntity_lastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: affectedEntity_statusCode :: Lens' AffectedEntity (Maybe EntityStatusCode)
+ Amazonka.AWSHealth.Lens: affectedEntity_tags :: Lens' AffectedEntity (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Lens: dateTimeRange_from :: Lens' DateTimeRange (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: dateTimeRange_to :: Lens' DateTimeRange (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: describeAffectedAccountsForOrganizationResponse_affectedAccounts :: Lens' DescribeAffectedAccountsForOrganizationResponse (Maybe [Text])
+ Amazonka.AWSHealth.Lens: describeAffectedAccountsForOrganizationResponse_eventScopeCode :: Lens' DescribeAffectedAccountsForOrganizationResponse (Maybe EventScopeCode)
+ Amazonka.AWSHealth.Lens: describeAffectedAccountsForOrganizationResponse_httpStatus :: Lens' DescribeAffectedAccountsForOrganizationResponse Int
+ Amazonka.AWSHealth.Lens: describeAffectedAccountsForOrganizationResponse_nextToken :: Lens' DescribeAffectedAccountsForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeAffectedAccountsForOrganization_eventArn :: Lens' DescribeAffectedAccountsForOrganization Text
+ Amazonka.AWSHealth.Lens: describeAffectedAccountsForOrganization_maxResults :: Lens' DescribeAffectedAccountsForOrganization (Maybe Natural)
+ Amazonka.AWSHealth.Lens: describeAffectedAccountsForOrganization_nextToken :: Lens' DescribeAffectedAccountsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganizationResponse_entities :: Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe [AffectedEntity])
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganizationResponse_failedSet :: Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe [OrganizationAffectedEntitiesErrorItem])
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganizationResponse_httpStatus :: Lens' DescribeAffectedEntitiesForOrganizationResponse Int
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganizationResponse_nextToken :: Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganization_locale :: Lens' DescribeAffectedEntitiesForOrganization (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganization_maxResults :: Lens' DescribeAffectedEntitiesForOrganization (Maybe Natural)
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganization_nextToken :: Lens' DescribeAffectedEntitiesForOrganization (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesForOrganization_organizationEntityFilters :: Lens' DescribeAffectedEntitiesForOrganization (NonEmpty EventAccountFilter)
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesResponse_entities :: Lens' DescribeAffectedEntitiesResponse (Maybe [AffectedEntity])
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesResponse_httpStatus :: Lens' DescribeAffectedEntitiesResponse Int
+ Amazonka.AWSHealth.Lens: describeAffectedEntitiesResponse_nextToken :: Lens' DescribeAffectedEntitiesResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeAffectedEntities_filter :: Lens' DescribeAffectedEntities EntityFilter
+ Amazonka.AWSHealth.Lens: describeAffectedEntities_locale :: Lens' DescribeAffectedEntities (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeAffectedEntities_maxResults :: Lens' DescribeAffectedEntities (Maybe Natural)
+ Amazonka.AWSHealth.Lens: describeAffectedEntities_nextToken :: Lens' DescribeAffectedEntities (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEntityAggregatesResponse_entityAggregates :: Lens' DescribeEntityAggregatesResponse (Maybe [EntityAggregate])
+ Amazonka.AWSHealth.Lens: describeEntityAggregatesResponse_httpStatus :: Lens' DescribeEntityAggregatesResponse Int
+ Amazonka.AWSHealth.Lens: describeEntityAggregates_eventArns :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: describeEventAggregatesResponse_eventAggregates :: Lens' DescribeEventAggregatesResponse (Maybe [EventAggregate])
+ Amazonka.AWSHealth.Lens: describeEventAggregatesResponse_httpStatus :: Lens' DescribeEventAggregatesResponse Int
+ Amazonka.AWSHealth.Lens: describeEventAggregatesResponse_nextToken :: Lens' DescribeEventAggregatesResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventAggregates_aggregateField :: Lens' DescribeEventAggregates EventAggregateField
+ Amazonka.AWSHealth.Lens: describeEventAggregates_filter :: Lens' DescribeEventAggregates (Maybe EventFilter)
+ Amazonka.AWSHealth.Lens: describeEventAggregates_maxResults :: Lens' DescribeEventAggregates (Maybe Natural)
+ Amazonka.AWSHealth.Lens: describeEventAggregates_nextToken :: Lens' DescribeEventAggregates (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventDetailsForOrganizationResponse_failedSet :: Lens' DescribeEventDetailsForOrganizationResponse (Maybe [OrganizationEventDetailsErrorItem])
+ Amazonka.AWSHealth.Lens: describeEventDetailsForOrganizationResponse_httpStatus :: Lens' DescribeEventDetailsForOrganizationResponse Int
+ Amazonka.AWSHealth.Lens: describeEventDetailsForOrganizationResponse_successfulSet :: Lens' DescribeEventDetailsForOrganizationResponse (Maybe [OrganizationEventDetails])
+ Amazonka.AWSHealth.Lens: describeEventDetailsForOrganization_locale :: Lens' DescribeEventDetailsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventDetailsForOrganization_organizationEventDetailFilters :: Lens' DescribeEventDetailsForOrganization (NonEmpty EventAccountFilter)
+ Amazonka.AWSHealth.Lens: describeEventDetailsResponse_failedSet :: Lens' DescribeEventDetailsResponse (Maybe [EventDetailsErrorItem])
+ Amazonka.AWSHealth.Lens: describeEventDetailsResponse_httpStatus :: Lens' DescribeEventDetailsResponse Int
+ Amazonka.AWSHealth.Lens: describeEventDetailsResponse_successfulSet :: Lens' DescribeEventDetailsResponse (Maybe [EventDetails])
+ Amazonka.AWSHealth.Lens: describeEventDetails_eventArns :: Lens' DescribeEventDetails (NonEmpty Text)
+ Amazonka.AWSHealth.Lens: describeEventDetails_locale :: Lens' DescribeEventDetails (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventTypesResponse_eventTypes :: Lens' DescribeEventTypesResponse (Maybe [EventType])
+ Amazonka.AWSHealth.Lens: describeEventTypesResponse_httpStatus :: Lens' DescribeEventTypesResponse Int
+ Amazonka.AWSHealth.Lens: describeEventTypesResponse_nextToken :: Lens' DescribeEventTypesResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventTypes_filter :: Lens' DescribeEventTypes (Maybe EventTypeFilter)
+ Amazonka.AWSHealth.Lens: describeEventTypes_locale :: Lens' DescribeEventTypes (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventTypes_maxResults :: Lens' DescribeEventTypes (Maybe Natural)
+ Amazonka.AWSHealth.Lens: describeEventTypes_nextToken :: Lens' DescribeEventTypes (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventsForOrganizationResponse_events :: Lens' DescribeEventsForOrganizationResponse (Maybe [OrganizationEvent])
+ Amazonka.AWSHealth.Lens: describeEventsForOrganizationResponse_httpStatus :: Lens' DescribeEventsForOrganizationResponse Int
+ Amazonka.AWSHealth.Lens: describeEventsForOrganizationResponse_nextToken :: Lens' DescribeEventsForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventsForOrganization_filter :: Lens' DescribeEventsForOrganization (Maybe OrganizationEventFilter)
+ Amazonka.AWSHealth.Lens: describeEventsForOrganization_locale :: Lens' DescribeEventsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventsForOrganization_maxResults :: Lens' DescribeEventsForOrganization (Maybe Natural)
+ Amazonka.AWSHealth.Lens: describeEventsForOrganization_nextToken :: Lens' DescribeEventsForOrganization (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [Event])
+ Amazonka.AWSHealth.Lens: describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
+ Amazonka.AWSHealth.Lens: describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEvents_filter :: Lens' DescribeEvents (Maybe EventFilter)
+ Amazonka.AWSHealth.Lens: describeEvents_locale :: Lens' DescribeEvents (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeEvents_maxResults :: Lens' DescribeEvents (Maybe Natural)
+ Amazonka.AWSHealth.Lens: describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization :: Lens' DescribeHealthServiceStatusForOrganizationResponse (Maybe Text)
+ Amazonka.AWSHealth.Lens: describeHealthServiceStatusForOrganizationResponse_httpStatus :: Lens' DescribeHealthServiceStatusForOrganizationResponse Int
+ Amazonka.AWSHealth.Lens: entityAggregate_count :: Lens' EntityAggregate (Maybe Int)
+ Amazonka.AWSHealth.Lens: entityAggregate_eventArn :: Lens' EntityAggregate (Maybe Text)
+ Amazonka.AWSHealth.Lens: entityFilter_entityArns :: Lens' EntityFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: entityFilter_entityValues :: Lens' EntityFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: entityFilter_eventArns :: Lens' EntityFilter (NonEmpty Text)
+ Amazonka.AWSHealth.Lens: entityFilter_lastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Lens: entityFilter_statusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode))
+ Amazonka.AWSHealth.Lens: entityFilter_tags :: Lens' EntityFilter (Maybe [HashMap Text Text])
+ Amazonka.AWSHealth.Lens: eventAccountFilter_awsAccountId :: Lens' EventAccountFilter (Maybe Text)
+ Amazonka.AWSHealth.Lens: eventAccountFilter_eventArn :: Lens' EventAccountFilter Text
+ Amazonka.AWSHealth.Lens: eventAggregate_aggregateValue :: Lens' EventAggregate (Maybe Text)
+ Amazonka.AWSHealth.Lens: eventAggregate_count :: Lens' EventAggregate (Maybe Int)
+ Amazonka.AWSHealth.Lens: eventDescription_latestDescription :: Lens' EventDescription (Maybe Text)
+ Amazonka.AWSHealth.Lens: eventDetailsErrorItem_errorMessage :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: eventDetailsErrorItem_errorName :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: eventDetailsErrorItem_eventArn :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: eventDetails_event :: Lens' EventDetails (Maybe Event)
+ Amazonka.AWSHealth.Lens: eventDetails_eventDescription :: Lens' EventDetails (Maybe EventDescription)
+ Amazonka.AWSHealth.Lens: eventDetails_eventMetadata :: Lens' EventDetails (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Lens: eventFilter_availabilityZones :: Lens' EventFilter (Maybe [Text])
+ Amazonka.AWSHealth.Lens: eventFilter_endTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Lens: eventFilter_entityArns :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventFilter_entityValues :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventFilter_eventArns :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventFilter_eventStatusCodes :: Lens' EventFilter (Maybe (NonEmpty EventStatusCode))
+ Amazonka.AWSHealth.Lens: eventFilter_eventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Lens: eventFilter_eventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventFilter_lastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Lens: eventFilter_regions :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventFilter_services :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventFilter_startTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Lens: eventFilter_tags :: Lens' EventFilter (Maybe [HashMap Text Text])
+ Amazonka.AWSHealth.Lens: eventTypeFilter_eventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Lens: eventTypeFilter_eventTypeCodes :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventTypeFilter_services :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: eventType_category :: Lens' EventType (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Lens: eventType_code :: Lens' EventType (Maybe Text)
+ Amazonka.AWSHealth.Lens: eventType_service :: Lens' EventType (Maybe Text)
+ Amazonka.AWSHealth.Lens: event_arn :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Lens: event_availabilityZone :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Lens: event_endTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: event_eventScopeCode :: Lens' Event (Maybe EventScopeCode)
+ Amazonka.AWSHealth.Lens: event_eventTypeCategory :: Lens' Event (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Lens: event_eventTypeCode :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Lens: event_lastUpdatedTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: event_region :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Lens: event_service :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Lens: event_startTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: event_statusCode :: Lens' Event (Maybe EventStatusCode)
+ Amazonka.AWSHealth.Lens: organizationAffectedEntitiesErrorItem_awsAccountId :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationAffectedEntitiesErrorItem_errorMessage :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationAffectedEntitiesErrorItem_errorName :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationAffectedEntitiesErrorItem_eventArn :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEventDetailsErrorItem_awsAccountId :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEventDetailsErrorItem_errorMessage :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEventDetailsErrorItem_errorName :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEventDetailsErrorItem_eventArn :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEventDetails_awsAccountId :: Lens' OrganizationEventDetails (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEventDetails_event :: Lens' OrganizationEventDetails (Maybe Event)
+ Amazonka.AWSHealth.Lens: organizationEventDetails_eventDescription :: Lens' OrganizationEventDetails (Maybe EventDescription)
+ Amazonka.AWSHealth.Lens: organizationEventDetails_eventMetadata :: Lens' OrganizationEventDetails (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_awsAccountIds :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_endTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Lens: organizationEventFilter_entityArns :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_entityValues :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_eventStatusCodes :: Lens' OrganizationEventFilter (Maybe (NonEmpty EventStatusCode))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_eventTypeCategories :: Lens' OrganizationEventFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_eventTypeCodes :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_lastUpdatedTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Lens: organizationEventFilter_regions :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_services :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Lens: organizationEventFilter_startTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Lens: organizationEvent_arn :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEvent_endTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: organizationEvent_eventScopeCode :: Lens' OrganizationEvent (Maybe EventScopeCode)
+ Amazonka.AWSHealth.Lens: organizationEvent_eventTypeCategory :: Lens' OrganizationEvent (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Lens: organizationEvent_eventTypeCode :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEvent_lastUpdatedTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: organizationEvent_region :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEvent_service :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Lens: organizationEvent_startTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Lens: organizationEvent_statusCode :: Lens' OrganizationEvent (Maybe EventStatusCode)
+ Amazonka.AWSHealth.Types: AffectedEntity' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatusCode -> Maybe (HashMap Text Text) -> AffectedEntity
+ Amazonka.AWSHealth.Types: DateTimeRange' :: Maybe POSIX -> Maybe POSIX -> DateTimeRange
+ Amazonka.AWSHealth.Types: EntityAggregate' :: Maybe Int -> Maybe Text -> EntityAggregate
+ Amazonka.AWSHealth.Types: EntityFilter' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty EntityStatusCode) -> Maybe [HashMap Text Text] -> NonEmpty Text -> EntityFilter
+ Amazonka.AWSHealth.Types: EntityStatusCode' :: Text -> EntityStatusCode
+ Amazonka.AWSHealth.Types: Event' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventScopeCode -> Maybe EventTypeCategory -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventStatusCode -> Event
+ Amazonka.AWSHealth.Types: EventAccountFilter' :: Maybe Text -> Text -> EventAccountFilter
+ Amazonka.AWSHealth.Types: EventAggregate' :: Maybe Text -> Maybe Int -> EventAggregate
+ Amazonka.AWSHealth.Types: EventAggregateField' :: Text -> EventAggregateField
+ Amazonka.AWSHealth.Types: EventDescription' :: Maybe Text -> EventDescription
+ Amazonka.AWSHealth.Types: EventDetails' :: Maybe Event -> Maybe EventDescription -> Maybe (HashMap Text Text) -> EventDetails
+ Amazonka.AWSHealth.Types: EventDetailsErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> EventDetailsErrorItem
+ Amazonka.AWSHealth.Types: EventFilter' :: Maybe [Text] -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty EventStatusCode) -> Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe [HashMap Text Text] -> EventFilter
+ Amazonka.AWSHealth.Types: EventScopeCode' :: Text -> EventScopeCode
+ Amazonka.AWSHealth.Types: EventStatusCode' :: Text -> EventStatusCode
+ Amazonka.AWSHealth.Types: EventType' :: Maybe EventTypeCategory -> Maybe Text -> Maybe Text -> EventType
+ Amazonka.AWSHealth.Types: EventTypeCategory' :: Text -> EventTypeCategory
+ Amazonka.AWSHealth.Types: EventTypeFilter' :: Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> EventTypeFilter
+ Amazonka.AWSHealth.Types: OrganizationAffectedEntitiesErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types: OrganizationEvent' :: Maybe Text -> Maybe POSIX -> Maybe EventScopeCode -> Maybe EventTypeCategory -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventStatusCode -> OrganizationEvent
+ Amazonka.AWSHealth.Types: OrganizationEventDetails' :: Maybe Text -> Maybe Event -> Maybe EventDescription -> Maybe (HashMap Text Text) -> OrganizationEventDetails
+ Amazonka.AWSHealth.Types: OrganizationEventDetailsErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types: OrganizationEventFilter' :: Maybe (NonEmpty Text) -> Maybe DateTimeRange -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty EventStatusCode) -> Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe DateTimeRange -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe DateTimeRange -> OrganizationEventFilter
+ Amazonka.AWSHealth.Types: [$sel:aggregateValue:EventAggregate'] :: EventAggregate -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:arn:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:arn:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:availabilityZone:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:availabilityZones:EventFilter'] :: EventFilter -> Maybe [Text]
+ Amazonka.AWSHealth.Types: [$sel:awsAccountId:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:awsAccountId:EventAccountFilter'] :: EventAccountFilter -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:awsAccountId:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:awsAccountId:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:awsAccountId:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:awsAccountIds:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:category:EventType'] :: EventType -> Maybe EventTypeCategory
+ Amazonka.AWSHealth.Types: [$sel:code:EventType'] :: EventType -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:count:EntityAggregate'] :: EntityAggregate -> Maybe Int
+ Amazonka.AWSHealth.Types: [$sel:count:EventAggregate'] :: EventAggregate -> Maybe Int
+ Amazonka.AWSHealth.Types: [$sel:endTime:Event'] :: Event -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:endTime:OrganizationEvent'] :: OrganizationEvent -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:endTime:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe DateTimeRange
+ Amazonka.AWSHealth.Types: [$sel:endTimes:EventFilter'] :: EventFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types: [$sel:entityArn:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:entityArns:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:entityArns:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:entityArns:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:entityUrl:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:entityValue:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:entityValues:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:entityValues:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:entityValues:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:errorMessage:EventDetailsErrorItem'] :: EventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:errorMessage:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:errorMessage:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:errorName:EventDetailsErrorItem'] :: EventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:errorName:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:errorName:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:event:EventDetails'] :: EventDetails -> Maybe Event
+ Amazonka.AWSHealth.Types: [$sel:event:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe Event
+ Amazonka.AWSHealth.Types: [$sel:eventArn:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:eventArn:EntityAggregate'] :: EntityAggregate -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:eventArn:EventAccountFilter'] :: EventAccountFilter -> Text
+ Amazonka.AWSHealth.Types: [$sel:eventArn:EventDetailsErrorItem'] :: EventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:eventArn:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:eventArn:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:eventArns:EntityFilter'] :: EntityFilter -> NonEmpty Text
+ Amazonka.AWSHealth.Types: [$sel:eventArns:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:eventDescription:EventDetails'] :: EventDetails -> Maybe EventDescription
+ Amazonka.AWSHealth.Types: [$sel:eventDescription:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe EventDescription
+ Amazonka.AWSHealth.Types: [$sel:eventMetadata:EventDetails'] :: EventDetails -> Maybe (HashMap Text Text)
+ Amazonka.AWSHealth.Types: [$sel:eventMetadata:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe (HashMap Text Text)
+ Amazonka.AWSHealth.Types: [$sel:eventScopeCode:Event'] :: Event -> Maybe EventScopeCode
+ Amazonka.AWSHealth.Types: [$sel:eventScopeCode:OrganizationEvent'] :: OrganizationEvent -> Maybe EventScopeCode
+ Amazonka.AWSHealth.Types: [$sel:eventStatusCodes:EventFilter'] :: EventFilter -> Maybe (NonEmpty EventStatusCode)
+ Amazonka.AWSHealth.Types: [$sel:eventStatusCodes:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty EventStatusCode)
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCategories:EventFilter'] :: EventFilter -> Maybe (NonEmpty EventTypeCategory)
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCategories:EventTypeFilter'] :: EventTypeFilter -> Maybe (NonEmpty EventTypeCategory)
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCategories:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty EventTypeCategory)
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCategory:Event'] :: Event -> Maybe EventTypeCategory
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCategory:OrganizationEvent'] :: OrganizationEvent -> Maybe EventTypeCategory
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCode:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCode:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCodes:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCodes:EventTypeFilter'] :: EventTypeFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:eventTypeCodes:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:from:DateTimeRange'] :: DateTimeRange -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:lastUpdatedTime:AffectedEntity'] :: AffectedEntity -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:lastUpdatedTime:Event'] :: Event -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:lastUpdatedTime:OrganizationEvent'] :: OrganizationEvent -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:lastUpdatedTime:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe DateTimeRange
+ Amazonka.AWSHealth.Types: [$sel:lastUpdatedTimes:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types: [$sel:lastUpdatedTimes:EventFilter'] :: EventFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types: [$sel:latestDescription:EventDescription'] :: EventDescription -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:region:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:region:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:regions:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:regions:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:service:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:service:EventType'] :: EventType -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:service:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types: [$sel:services:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:services:EventTypeFilter'] :: EventTypeFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:services:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types: [$sel:startTime:Event'] :: Event -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:startTime:OrganizationEvent'] :: OrganizationEvent -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [$sel:startTime:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe DateTimeRange
+ Amazonka.AWSHealth.Types: [$sel:startTimes:EventFilter'] :: EventFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types: [$sel:statusCode:AffectedEntity'] :: AffectedEntity -> Maybe EntityStatusCode
+ Amazonka.AWSHealth.Types: [$sel:statusCode:Event'] :: Event -> Maybe EventStatusCode
+ Amazonka.AWSHealth.Types: [$sel:statusCode:OrganizationEvent'] :: OrganizationEvent -> Maybe EventStatusCode
+ Amazonka.AWSHealth.Types: [$sel:statusCodes:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty EntityStatusCode)
+ Amazonka.AWSHealth.Types: [$sel:tags:AffectedEntity'] :: AffectedEntity -> Maybe (HashMap Text Text)
+ Amazonka.AWSHealth.Types: [$sel:tags:EntityFilter'] :: EntityFilter -> Maybe [HashMap Text Text]
+ Amazonka.AWSHealth.Types: [$sel:tags:EventFilter'] :: EventFilter -> Maybe [HashMap Text Text]
+ Amazonka.AWSHealth.Types: [$sel:to:DateTimeRange'] :: DateTimeRange -> Maybe POSIX
+ Amazonka.AWSHealth.Types: [fromEntityStatusCode] :: EntityStatusCode -> Text
+ Amazonka.AWSHealth.Types: [fromEventAggregateField] :: EventAggregateField -> Text
+ Amazonka.AWSHealth.Types: [fromEventScopeCode] :: EventScopeCode -> Text
+ Amazonka.AWSHealth.Types: [fromEventStatusCode] :: EventStatusCode -> Text
+ Amazonka.AWSHealth.Types: [fromEventTypeCategory] :: EventTypeCategory -> Text
+ Amazonka.AWSHealth.Types: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.AWSHealth.Types: _InvalidPaginationToken :: AsError a => Fold a ServiceError
+ Amazonka.AWSHealth.Types: _UnsupportedLocale :: AsError a => Fold a ServiceError
+ Amazonka.AWSHealth.Types: affectedEntity_awsAccountId :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types: affectedEntity_entityArn :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types: affectedEntity_entityUrl :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types: affectedEntity_entityValue :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types: affectedEntity_eventArn :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types: affectedEntity_lastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: affectedEntity_statusCode :: Lens' AffectedEntity (Maybe EntityStatusCode)
+ Amazonka.AWSHealth.Types: affectedEntity_tags :: Lens' AffectedEntity (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Types: data AffectedEntity
+ Amazonka.AWSHealth.Types: data DateTimeRange
+ Amazonka.AWSHealth.Types: data EntityAggregate
+ Amazonka.AWSHealth.Types: data EntityFilter
+ Amazonka.AWSHealth.Types: data Event
+ Amazonka.AWSHealth.Types: data EventAccountFilter
+ Amazonka.AWSHealth.Types: data EventAggregate
+ Amazonka.AWSHealth.Types: data EventDescription
+ Amazonka.AWSHealth.Types: data EventDetails
+ Amazonka.AWSHealth.Types: data EventDetailsErrorItem
+ Amazonka.AWSHealth.Types: data EventFilter
+ Amazonka.AWSHealth.Types: data EventType
+ Amazonka.AWSHealth.Types: data EventTypeFilter
+ Amazonka.AWSHealth.Types: data OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types: data OrganizationEvent
+ Amazonka.AWSHealth.Types: data OrganizationEventDetails
+ Amazonka.AWSHealth.Types: data OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types: data OrganizationEventFilter
+ Amazonka.AWSHealth.Types: dateTimeRange_from :: Lens' DateTimeRange (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: dateTimeRange_to :: Lens' DateTimeRange (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: defaultService :: Service
+ Amazonka.AWSHealth.Types: entityAggregate_count :: Lens' EntityAggregate (Maybe Int)
+ Amazonka.AWSHealth.Types: entityAggregate_eventArn :: Lens' EntityAggregate (Maybe Text)
+ Amazonka.AWSHealth.Types: entityFilter_entityArns :: Lens' EntityFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: entityFilter_entityValues :: Lens' EntityFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: entityFilter_eventArns :: Lens' EntityFilter (NonEmpty Text)
+ Amazonka.AWSHealth.Types: entityFilter_lastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types: entityFilter_statusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode))
+ Amazonka.AWSHealth.Types: entityFilter_tags :: Lens' EntityFilter (Maybe [HashMap Text Text])
+ Amazonka.AWSHealth.Types: eventAccountFilter_awsAccountId :: Lens' EventAccountFilter (Maybe Text)
+ Amazonka.AWSHealth.Types: eventAccountFilter_eventArn :: Lens' EventAccountFilter Text
+ Amazonka.AWSHealth.Types: eventAggregate_aggregateValue :: Lens' EventAggregate (Maybe Text)
+ Amazonka.AWSHealth.Types: eventAggregate_count :: Lens' EventAggregate (Maybe Int)
+ Amazonka.AWSHealth.Types: eventDescription_latestDescription :: Lens' EventDescription (Maybe Text)
+ Amazonka.AWSHealth.Types: eventDetailsErrorItem_errorMessage :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: eventDetailsErrorItem_errorName :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: eventDetailsErrorItem_eventArn :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: eventDetails_event :: Lens' EventDetails (Maybe Event)
+ Amazonka.AWSHealth.Types: eventDetails_eventDescription :: Lens' EventDetails (Maybe EventDescription)
+ Amazonka.AWSHealth.Types: eventDetails_eventMetadata :: Lens' EventDetails (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Types: eventFilter_availabilityZones :: Lens' EventFilter (Maybe [Text])
+ Amazonka.AWSHealth.Types: eventFilter_endTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types: eventFilter_entityArns :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventFilter_entityValues :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventFilter_eventArns :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventFilter_eventStatusCodes :: Lens' EventFilter (Maybe (NonEmpty EventStatusCode))
+ Amazonka.AWSHealth.Types: eventFilter_eventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Types: eventFilter_eventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventFilter_lastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types: eventFilter_regions :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventFilter_services :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventFilter_startTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types: eventFilter_tags :: Lens' EventFilter (Maybe [HashMap Text Text])
+ Amazonka.AWSHealth.Types: eventTypeFilter_eventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Types: eventTypeFilter_eventTypeCodes :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventTypeFilter_services :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: eventType_category :: Lens' EventType (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Types: eventType_code :: Lens' EventType (Maybe Text)
+ Amazonka.AWSHealth.Types: eventType_service :: Lens' EventType (Maybe Text)
+ Amazonka.AWSHealth.Types: event_arn :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types: event_availabilityZone :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types: event_endTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: event_eventScopeCode :: Lens' Event (Maybe EventScopeCode)
+ Amazonka.AWSHealth.Types: event_eventTypeCategory :: Lens' Event (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Types: event_eventTypeCode :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types: event_lastUpdatedTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: event_region :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types: event_service :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types: event_startTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: event_statusCode :: Lens' Event (Maybe EventStatusCode)
+ Amazonka.AWSHealth.Types: newAffectedEntity :: AffectedEntity
+ Amazonka.AWSHealth.Types: newDateTimeRange :: DateTimeRange
+ Amazonka.AWSHealth.Types: newEntityAggregate :: EntityAggregate
+ Amazonka.AWSHealth.Types: newEntityFilter :: NonEmpty Text -> EntityFilter
+ Amazonka.AWSHealth.Types: newEvent :: Event
+ Amazonka.AWSHealth.Types: newEventAccountFilter :: Text -> EventAccountFilter
+ Amazonka.AWSHealth.Types: newEventAggregate :: EventAggregate
+ Amazonka.AWSHealth.Types: newEventDescription :: EventDescription
+ Amazonka.AWSHealth.Types: newEventDetails :: EventDetails
+ Amazonka.AWSHealth.Types: newEventDetailsErrorItem :: EventDetailsErrorItem
+ Amazonka.AWSHealth.Types: newEventFilter :: EventFilter
+ Amazonka.AWSHealth.Types: newEventType :: EventType
+ Amazonka.AWSHealth.Types: newEventTypeFilter :: EventTypeFilter
+ Amazonka.AWSHealth.Types: newOrganizationAffectedEntitiesErrorItem :: OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types: newOrganizationEvent :: OrganizationEvent
+ Amazonka.AWSHealth.Types: newOrganizationEventDetails :: OrganizationEventDetails
+ Amazonka.AWSHealth.Types: newOrganizationEventDetailsErrorItem :: OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types: newOrganizationEventFilter :: OrganizationEventFilter
+ Amazonka.AWSHealth.Types: newtype EntityStatusCode
+ Amazonka.AWSHealth.Types: newtype EventAggregateField
+ Amazonka.AWSHealth.Types: newtype EventScopeCode
+ Amazonka.AWSHealth.Types: newtype EventStatusCode
+ Amazonka.AWSHealth.Types: newtype EventTypeCategory
+ Amazonka.AWSHealth.Types: organizationAffectedEntitiesErrorItem_awsAccountId :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationAffectedEntitiesErrorItem_errorMessage :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationAffectedEntitiesErrorItem_errorName :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationAffectedEntitiesErrorItem_eventArn :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEventDetailsErrorItem_awsAccountId :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEventDetailsErrorItem_errorMessage :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEventDetailsErrorItem_errorName :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEventDetailsErrorItem_eventArn :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEventDetails_awsAccountId :: Lens' OrganizationEventDetails (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEventDetails_event :: Lens' OrganizationEventDetails (Maybe Event)
+ Amazonka.AWSHealth.Types: organizationEventDetails_eventDescription :: Lens' OrganizationEventDetails (Maybe EventDescription)
+ Amazonka.AWSHealth.Types: organizationEventDetails_eventMetadata :: Lens' OrganizationEventDetails (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Types: organizationEventFilter_awsAccountIds :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: organizationEventFilter_endTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Types: organizationEventFilter_entityArns :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: organizationEventFilter_entityValues :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: organizationEventFilter_eventStatusCodes :: Lens' OrganizationEventFilter (Maybe (NonEmpty EventStatusCode))
+ Amazonka.AWSHealth.Types: organizationEventFilter_eventTypeCategories :: Lens' OrganizationEventFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Types: organizationEventFilter_eventTypeCodes :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: organizationEventFilter_lastUpdatedTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Types: organizationEventFilter_regions :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: organizationEventFilter_services :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types: organizationEventFilter_startTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Types: organizationEvent_arn :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEvent_endTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: organizationEvent_eventScopeCode :: Lens' OrganizationEvent (Maybe EventScopeCode)
+ Amazonka.AWSHealth.Types: organizationEvent_eventTypeCategory :: Lens' OrganizationEvent (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Types: organizationEvent_eventTypeCode :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEvent_lastUpdatedTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: organizationEvent_region :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEvent_service :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types: organizationEvent_startTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Types: organizationEvent_statusCode :: Lens' OrganizationEvent (Maybe EventStatusCode)
+ Amazonka.AWSHealth.Types: pattern EntityStatusCode_IMPAIRED :: EntityStatusCode
+ Amazonka.AWSHealth.Types: pattern EntityStatusCode_UNIMPAIRED :: EntityStatusCode
+ Amazonka.AWSHealth.Types: pattern EntityStatusCode_UNKNOWN :: EntityStatusCode
+ Amazonka.AWSHealth.Types: pattern EventAggregateField_EventTypeCategory :: EventAggregateField
+ Amazonka.AWSHealth.Types: pattern EventScopeCode_ACCOUNT_SPECIFIC :: EventScopeCode
+ Amazonka.AWSHealth.Types: pattern EventScopeCode_NONE :: EventScopeCode
+ Amazonka.AWSHealth.Types: pattern EventScopeCode_PUBLIC :: EventScopeCode
+ Amazonka.AWSHealth.Types: pattern EventStatusCode_Closed :: EventStatusCode
+ Amazonka.AWSHealth.Types: pattern EventStatusCode_Open :: EventStatusCode
+ Amazonka.AWSHealth.Types: pattern EventStatusCode_Upcoming :: EventStatusCode
+ Amazonka.AWSHealth.Types: pattern EventTypeCategory_AccountNotification :: EventTypeCategory
+ Amazonka.AWSHealth.Types: pattern EventTypeCategory_Investigation :: EventTypeCategory
+ Amazonka.AWSHealth.Types: pattern EventTypeCategory_Issue :: EventTypeCategory
+ Amazonka.AWSHealth.Types: pattern EventTypeCategory_ScheduledChange :: EventTypeCategory
+ Amazonka.AWSHealth.Types.AffectedEntity: AffectedEntity' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatusCode -> Maybe (HashMap Text Text) -> AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:awsAccountId:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:entityArn:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:entityUrl:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:entityValue:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:eventArn:AffectedEntity'] :: AffectedEntity -> Maybe Text
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:lastUpdatedTime:AffectedEntity'] :: AffectedEntity -> Maybe POSIX
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:statusCode:AffectedEntity'] :: AffectedEntity -> Maybe EntityStatusCode
+ Amazonka.AWSHealth.Types.AffectedEntity: [$sel:tags:AffectedEntity'] :: AffectedEntity -> Maybe (HashMap Text Text)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_awsAccountId :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_entityArn :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_entityUrl :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_entityValue :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_eventArn :: Lens' AffectedEntity (Maybe Text)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_lastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_statusCode :: Lens' AffectedEntity (Maybe EntityStatusCode)
+ Amazonka.AWSHealth.Types.AffectedEntity: affectedEntity_tags :: Lens' AffectedEntity (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Types.AffectedEntity: data AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.AffectedEntity.AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.AffectedEntity.AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.AffectedEntity.AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.AffectedEntity.AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.AffectedEntity.AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: instance GHC.Read.Read Amazonka.AWSHealth.Types.AffectedEntity.AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: instance GHC.Show.Show Amazonka.AWSHealth.Types.AffectedEntity.AffectedEntity
+ Amazonka.AWSHealth.Types.AffectedEntity: newAffectedEntity :: AffectedEntity
+ Amazonka.AWSHealth.Types.DateTimeRange: DateTimeRange' :: Maybe POSIX -> Maybe POSIX -> DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: [$sel:from:DateTimeRange'] :: DateTimeRange -> Maybe POSIX
+ Amazonka.AWSHealth.Types.DateTimeRange: [$sel:to:DateTimeRange'] :: DateTimeRange -> Maybe POSIX
+ Amazonka.AWSHealth.Types.DateTimeRange: data DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: dateTimeRange_from :: Lens' DateTimeRange (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.DateTimeRange: dateTimeRange_to :: Lens' DateTimeRange (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.DateTimeRange: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.DateTimeRange.DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.DateTimeRange.DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.DateTimeRange.DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.DateTimeRange.DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.DateTimeRange.DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: instance GHC.Read.Read Amazonka.AWSHealth.Types.DateTimeRange.DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: instance GHC.Show.Show Amazonka.AWSHealth.Types.DateTimeRange.DateTimeRange
+ Amazonka.AWSHealth.Types.DateTimeRange: newDateTimeRange :: DateTimeRange
+ Amazonka.AWSHealth.Types.EntityAggregate: EntityAggregate' :: Maybe Int -> Maybe Text -> EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: [$sel:count:EntityAggregate'] :: EntityAggregate -> Maybe Int
+ Amazonka.AWSHealth.Types.EntityAggregate: [$sel:eventArn:EntityAggregate'] :: EntityAggregate -> Maybe Text
+ Amazonka.AWSHealth.Types.EntityAggregate: data EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: entityAggregate_count :: Lens' EntityAggregate (Maybe Int)
+ Amazonka.AWSHealth.Types.EntityAggregate: entityAggregate_eventArn :: Lens' EntityAggregate (Maybe Text)
+ Amazonka.AWSHealth.Types.EntityAggregate: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EntityAggregate.EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EntityAggregate.EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EntityAggregate.EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EntityAggregate.EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EntityAggregate.EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: instance GHC.Read.Read Amazonka.AWSHealth.Types.EntityAggregate.EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: instance GHC.Show.Show Amazonka.AWSHealth.Types.EntityAggregate.EntityAggregate
+ Amazonka.AWSHealth.Types.EntityAggregate: newEntityAggregate :: EntityAggregate
+ Amazonka.AWSHealth.Types.EntityFilter: EntityFilter' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty EntityStatusCode) -> Maybe [HashMap Text Text] -> NonEmpty Text -> EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: [$sel:entityArns:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EntityFilter: [$sel:entityValues:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EntityFilter: [$sel:eventArns:EntityFilter'] :: EntityFilter -> NonEmpty Text
+ Amazonka.AWSHealth.Types.EntityFilter: [$sel:lastUpdatedTimes:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types.EntityFilter: [$sel:statusCodes:EntityFilter'] :: EntityFilter -> Maybe (NonEmpty EntityStatusCode)
+ Amazonka.AWSHealth.Types.EntityFilter: [$sel:tags:EntityFilter'] :: EntityFilter -> Maybe [HashMap Text Text]
+ Amazonka.AWSHealth.Types.EntityFilter: data EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: entityFilter_entityArns :: Lens' EntityFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EntityFilter: entityFilter_entityValues :: Lens' EntityFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EntityFilter: entityFilter_eventArns :: Lens' EntityFilter (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EntityFilter: entityFilter_lastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types.EntityFilter: entityFilter_statusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode))
+ Amazonka.AWSHealth.Types.EntityFilter: entityFilter_tags :: Lens' EntityFilter (Maybe [HashMap Text Text])
+ Amazonka.AWSHealth.Types.EntityFilter: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EntityFilter.EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EntityFilter.EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EntityFilter.EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EntityFilter.EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EntityFilter.EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: instance GHC.Read.Read Amazonka.AWSHealth.Types.EntityFilter.EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: instance GHC.Show.Show Amazonka.AWSHealth.Types.EntityFilter.EntityFilter
+ Amazonka.AWSHealth.Types.EntityFilter: newEntityFilter :: NonEmpty Text -> EntityFilter
+ Amazonka.AWSHealth.Types.EntityStatusCode: EntityStatusCode' :: Text -> EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: [fromEntityStatusCode] :: EntityStatusCode -> Text
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.Headers.ToHeader Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.Log.ToLog Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.Text.FromText Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.Text.ToText Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.XML.FromXML Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Amazonka.Data.XML.ToXML Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance GHC.Classes.Ord Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance GHC.Read.Read Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: instance GHC.Show.Show Amazonka.AWSHealth.Types.EntityStatusCode.EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: newtype EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: pattern EntityStatusCode_IMPAIRED :: EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: pattern EntityStatusCode_UNIMPAIRED :: EntityStatusCode
+ Amazonka.AWSHealth.Types.EntityStatusCode: pattern EntityStatusCode_UNKNOWN :: EntityStatusCode
+ Amazonka.AWSHealth.Types.Event: Event' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventScopeCode -> Maybe EventTypeCategory -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventStatusCode -> Event
+ Amazonka.AWSHealth.Types.Event: [$sel:arn:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types.Event: [$sel:availabilityZone:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types.Event: [$sel:endTime:Event'] :: Event -> Maybe POSIX
+ Amazonka.AWSHealth.Types.Event: [$sel:eventScopeCode:Event'] :: Event -> Maybe EventScopeCode
+ Amazonka.AWSHealth.Types.Event: [$sel:eventTypeCategory:Event'] :: Event -> Maybe EventTypeCategory
+ Amazonka.AWSHealth.Types.Event: [$sel:eventTypeCode:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types.Event: [$sel:lastUpdatedTime:Event'] :: Event -> Maybe POSIX
+ Amazonka.AWSHealth.Types.Event: [$sel:region:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types.Event: [$sel:service:Event'] :: Event -> Maybe Text
+ Amazonka.AWSHealth.Types.Event: [$sel:startTime:Event'] :: Event -> Maybe POSIX
+ Amazonka.AWSHealth.Types.Event: [$sel:statusCode:Event'] :: Event -> Maybe EventStatusCode
+ Amazonka.AWSHealth.Types.Event: data Event
+ Amazonka.AWSHealth.Types.Event: event_arn :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types.Event: event_availabilityZone :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types.Event: event_endTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.Event: event_eventScopeCode :: Lens' Event (Maybe EventScopeCode)
+ Amazonka.AWSHealth.Types.Event: event_eventTypeCategory :: Lens' Event (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Types.Event: event_eventTypeCode :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types.Event: event_lastUpdatedTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.Event: event_region :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types.Event: event_service :: Lens' Event (Maybe Text)
+ Amazonka.AWSHealth.Types.Event: event_startTime :: Lens' Event (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.Event: event_statusCode :: Lens' Event (Maybe EventStatusCode)
+ Amazonka.AWSHealth.Types.Event: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.Event.Event
+ Amazonka.AWSHealth.Types.Event: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.Event.Event
+ Amazonka.AWSHealth.Types.Event: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.Event.Event
+ Amazonka.AWSHealth.Types.Event: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.Event.Event
+ Amazonka.AWSHealth.Types.Event: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.Event.Event
+ Amazonka.AWSHealth.Types.Event: instance GHC.Read.Read Amazonka.AWSHealth.Types.Event.Event
+ Amazonka.AWSHealth.Types.Event: instance GHC.Show.Show Amazonka.AWSHealth.Types.Event.Event
+ Amazonka.AWSHealth.Types.Event: newEvent :: Event
+ Amazonka.AWSHealth.Types.EventAccountFilter: EventAccountFilter' :: Maybe Text -> Text -> EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: [$sel:awsAccountId:EventAccountFilter'] :: EventAccountFilter -> Maybe Text
+ Amazonka.AWSHealth.Types.EventAccountFilter: [$sel:eventArn:EventAccountFilter'] :: EventAccountFilter -> Text
+ Amazonka.AWSHealth.Types.EventAccountFilter: data EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: eventAccountFilter_awsAccountId :: Lens' EventAccountFilter (Maybe Text)
+ Amazonka.AWSHealth.Types.EventAccountFilter: eventAccountFilter_eventArn :: Lens' EventAccountFilter Text
+ Amazonka.AWSHealth.Types.EventAccountFilter: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventAccountFilter.EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EventAccountFilter.EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventAccountFilter.EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventAccountFilter.EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventAccountFilter.EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventAccountFilter.EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventAccountFilter.EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAccountFilter: newEventAccountFilter :: Text -> EventAccountFilter
+ Amazonka.AWSHealth.Types.EventAggregate: EventAggregate' :: Maybe Text -> Maybe Int -> EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: [$sel:aggregateValue:EventAggregate'] :: EventAggregate -> Maybe Text
+ Amazonka.AWSHealth.Types.EventAggregate: [$sel:count:EventAggregate'] :: EventAggregate -> Maybe Int
+ Amazonka.AWSHealth.Types.EventAggregate: data EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: eventAggregate_aggregateValue :: Lens' EventAggregate (Maybe Text)
+ Amazonka.AWSHealth.Types.EventAggregate: eventAggregate_count :: Lens' EventAggregate (Maybe Int)
+ Amazonka.AWSHealth.Types.EventAggregate: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventAggregate.EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventAggregate.EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventAggregate.EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventAggregate.EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventAggregate.EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventAggregate.EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventAggregate.EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregate: newEventAggregate :: EventAggregate
+ Amazonka.AWSHealth.Types.EventAggregateField: EventAggregateField' :: Text -> EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: [fromEventAggregateField] :: EventAggregateField -> Text
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.ByteString.ToByteString Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.Headers.ToHeader Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.Log.ToLog Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.Text.FromText Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.Text.ToText Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.XML.FromXML Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Amazonka.Data.XML.ToXML Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance GHC.Classes.Ord Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventAggregateField.EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: newtype EventAggregateField
+ Amazonka.AWSHealth.Types.EventAggregateField: pattern EventAggregateField_EventTypeCategory :: EventAggregateField
+ Amazonka.AWSHealth.Types.EventDescription: EventDescription' :: Maybe Text -> EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: [$sel:latestDescription:EventDescription'] :: EventDescription -> Maybe Text
+ Amazonka.AWSHealth.Types.EventDescription: data EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: eventDescription_latestDescription :: Lens' EventDescription (Maybe Text)
+ Amazonka.AWSHealth.Types.EventDescription: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventDescription.EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventDescription.EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventDescription.EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventDescription.EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventDescription.EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventDescription.EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventDescription.EventDescription
+ Amazonka.AWSHealth.Types.EventDescription: newEventDescription :: EventDescription
+ Amazonka.AWSHealth.Types.EventDetails: EventDetails' :: Maybe Event -> Maybe EventDescription -> Maybe (HashMap Text Text) -> EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: [$sel:event:EventDetails'] :: EventDetails -> Maybe Event
+ Amazonka.AWSHealth.Types.EventDetails: [$sel:eventDescription:EventDetails'] :: EventDetails -> Maybe EventDescription
+ Amazonka.AWSHealth.Types.EventDetails: [$sel:eventMetadata:EventDetails'] :: EventDetails -> Maybe (HashMap Text Text)
+ Amazonka.AWSHealth.Types.EventDetails: data EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: eventDetails_event :: Lens' EventDetails (Maybe Event)
+ Amazonka.AWSHealth.Types.EventDetails: eventDetails_eventDescription :: Lens' EventDetails (Maybe EventDescription)
+ Amazonka.AWSHealth.Types.EventDetails: eventDetails_eventMetadata :: Lens' EventDetails (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Types.EventDetails: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventDetails.EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventDetails.EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventDetails.EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventDetails.EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventDetails.EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventDetails.EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventDetails.EventDetails
+ Amazonka.AWSHealth.Types.EventDetails: newEventDetails :: EventDetails
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: EventDetailsErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: [$sel:errorMessage:EventDetailsErrorItem'] :: EventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: [$sel:errorName:EventDetailsErrorItem'] :: EventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: [$sel:eventArn:EventDetailsErrorItem'] :: EventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: data EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: eventDetailsErrorItem_errorMessage :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: eventDetailsErrorItem_errorName :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: eventDetailsErrorItem_eventArn :: Lens' EventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventDetailsErrorItem.EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventDetailsErrorItem.EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventDetailsErrorItem.EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventDetailsErrorItem.EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventDetailsErrorItem.EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventDetailsErrorItem.EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventDetailsErrorItem.EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventDetailsErrorItem: newEventDetailsErrorItem :: EventDetailsErrorItem
+ Amazonka.AWSHealth.Types.EventFilter: EventFilter' :: Maybe [Text] -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty EventStatusCode) -> Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty DateTimeRange) -> Maybe [HashMap Text Text] -> EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:availabilityZones:EventFilter'] :: EventFilter -> Maybe [Text]
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:endTimes:EventFilter'] :: EventFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:entityArns:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:entityValues:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:eventArns:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:eventStatusCodes:EventFilter'] :: EventFilter -> Maybe (NonEmpty EventStatusCode)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:eventTypeCategories:EventFilter'] :: EventFilter -> Maybe (NonEmpty EventTypeCategory)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:eventTypeCodes:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:lastUpdatedTimes:EventFilter'] :: EventFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:regions:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:services:EventFilter'] :: EventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:startTimes:EventFilter'] :: EventFilter -> Maybe (NonEmpty DateTimeRange)
+ Amazonka.AWSHealth.Types.EventFilter: [$sel:tags:EventFilter'] :: EventFilter -> Maybe [HashMap Text Text]
+ Amazonka.AWSHealth.Types.EventFilter: data EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_availabilityZones :: Lens' EventFilter (Maybe [Text])
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_endTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_entityArns :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_entityValues :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_eventArns :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_eventStatusCodes :: Lens' EventFilter (Maybe (NonEmpty EventStatusCode))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_eventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_eventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_lastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_regions :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_services :: Lens' EventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_startTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))
+ Amazonka.AWSHealth.Types.EventFilter: eventFilter_tags :: Lens' EventFilter (Maybe [HashMap Text Text])
+ Amazonka.AWSHealth.Types.EventFilter: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventFilter.EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EventFilter.EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventFilter.EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventFilter.EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventFilter.EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventFilter.EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventFilter.EventFilter
+ Amazonka.AWSHealth.Types.EventFilter: newEventFilter :: EventFilter
+ Amazonka.AWSHealth.Types.EventScopeCode: EventScopeCode' :: Text -> EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: [fromEventScopeCode] :: EventScopeCode -> Text
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.Headers.ToHeader Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.Log.ToLog Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.Text.FromText Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.Text.ToText Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.XML.FromXML Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Amazonka.Data.XML.ToXML Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance GHC.Classes.Ord Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventScopeCode.EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: newtype EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: pattern EventScopeCode_ACCOUNT_SPECIFIC :: EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: pattern EventScopeCode_NONE :: EventScopeCode
+ Amazonka.AWSHealth.Types.EventScopeCode: pattern EventScopeCode_PUBLIC :: EventScopeCode
+ Amazonka.AWSHealth.Types.EventStatusCode: EventStatusCode' :: Text -> EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: [fromEventStatusCode] :: EventStatusCode -> Text
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.Headers.ToHeader Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.Log.ToLog Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.Text.FromText Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.Text.ToText Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.XML.FromXML Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Amazonka.Data.XML.ToXML Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance GHC.Classes.Ord Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventStatusCode.EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: newtype EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: pattern EventStatusCode_Closed :: EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: pattern EventStatusCode_Open :: EventStatusCode
+ Amazonka.AWSHealth.Types.EventStatusCode: pattern EventStatusCode_Upcoming :: EventStatusCode
+ Amazonka.AWSHealth.Types.EventType: EventType' :: Maybe EventTypeCategory -> Maybe Text -> Maybe Text -> EventType
+ Amazonka.AWSHealth.Types.EventType: [$sel:category:EventType'] :: EventType -> Maybe EventTypeCategory
+ Amazonka.AWSHealth.Types.EventType: [$sel:code:EventType'] :: EventType -> Maybe Text
+ Amazonka.AWSHealth.Types.EventType: [$sel:service:EventType'] :: EventType -> Maybe Text
+ Amazonka.AWSHealth.Types.EventType: data EventType
+ Amazonka.AWSHealth.Types.EventType: eventType_category :: Lens' EventType (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Types.EventType: eventType_code :: Lens' EventType (Maybe Text)
+ Amazonka.AWSHealth.Types.EventType: eventType_service :: Lens' EventType (Maybe Text)
+ Amazonka.AWSHealth.Types.EventType: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventType.EventType
+ Amazonka.AWSHealth.Types.EventType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventType.EventType
+ Amazonka.AWSHealth.Types.EventType: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventType.EventType
+ Amazonka.AWSHealth.Types.EventType: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventType.EventType
+ Amazonka.AWSHealth.Types.EventType: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventType.EventType
+ Amazonka.AWSHealth.Types.EventType: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventType.EventType
+ Amazonka.AWSHealth.Types.EventType: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventType.EventType
+ Amazonka.AWSHealth.Types.EventType: newEventType :: EventType
+ Amazonka.AWSHealth.Types.EventTypeCategory: EventTypeCategory' :: Text -> EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: [fromEventTypeCategory] :: EventTypeCategory -> Text
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.ByteString.ToByteString Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.Headers.ToHeader Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.Log.ToLog Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.Query.ToQuery Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.Text.FromText Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.Text.ToText Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.XML.FromXML Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Amazonka.Data.XML.ToXML Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance GHC.Classes.Ord Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventTypeCategory.EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: newtype EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: pattern EventTypeCategory_AccountNotification :: EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: pattern EventTypeCategory_Investigation :: EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: pattern EventTypeCategory_Issue :: EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeCategory: pattern EventTypeCategory_ScheduledChange :: EventTypeCategory
+ Amazonka.AWSHealth.Types.EventTypeFilter: EventTypeFilter' :: Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: [$sel:eventTypeCategories:EventTypeFilter'] :: EventTypeFilter -> Maybe (NonEmpty EventTypeCategory)
+ Amazonka.AWSHealth.Types.EventTypeFilter: [$sel:eventTypeCodes:EventTypeFilter'] :: EventTypeFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventTypeFilter: [$sel:services:EventTypeFilter'] :: EventTypeFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.EventTypeFilter: data EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: eventTypeFilter_eventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Types.EventTypeFilter: eventTypeFilter_eventTypeCodes :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventTypeFilter: eventTypeFilter_services :: Lens' EventTypeFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.EventTypeFilter: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.EventTypeFilter.EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.EventTypeFilter.EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.EventTypeFilter.EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.EventTypeFilter.EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.EventTypeFilter.EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: instance GHC.Read.Read Amazonka.AWSHealth.Types.EventTypeFilter.EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: instance GHC.Show.Show Amazonka.AWSHealth.Types.EventTypeFilter.EventTypeFilter
+ Amazonka.AWSHealth.Types.EventTypeFilter: newEventTypeFilter :: EventTypeFilter
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: OrganizationAffectedEntitiesErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: [$sel:awsAccountId:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: [$sel:errorMessage:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: [$sel:errorName:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: [$sel:eventArn:OrganizationAffectedEntitiesErrorItem'] :: OrganizationAffectedEntitiesErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: data OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem.OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem.OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem.OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem.OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem.OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: instance GHC.Read.Read Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem.OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: instance GHC.Show.Show Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem.OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: newOrganizationAffectedEntitiesErrorItem :: OrganizationAffectedEntitiesErrorItem
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: organizationAffectedEntitiesErrorItem_awsAccountId :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: organizationAffectedEntitiesErrorItem_errorMessage :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: organizationAffectedEntitiesErrorItem_errorName :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem: organizationAffectedEntitiesErrorItem_eventArn :: Lens' OrganizationAffectedEntitiesErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEvent: OrganizationEvent' :: Maybe Text -> Maybe POSIX -> Maybe EventScopeCode -> Maybe EventTypeCategory -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EventStatusCode -> OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:arn:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:endTime:OrganizationEvent'] :: OrganizationEvent -> Maybe POSIX
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:eventScopeCode:OrganizationEvent'] :: OrganizationEvent -> Maybe EventScopeCode
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:eventTypeCategory:OrganizationEvent'] :: OrganizationEvent -> Maybe EventTypeCategory
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:eventTypeCode:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:lastUpdatedTime:OrganizationEvent'] :: OrganizationEvent -> Maybe POSIX
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:region:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:service:OrganizationEvent'] :: OrganizationEvent -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:startTime:OrganizationEvent'] :: OrganizationEvent -> Maybe POSIX
+ Amazonka.AWSHealth.Types.OrganizationEvent: [$sel:statusCode:OrganizationEvent'] :: OrganizationEvent -> Maybe EventStatusCode
+ Amazonka.AWSHealth.Types.OrganizationEvent: data OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.OrganizationEvent.OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.OrganizationEvent.OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.OrganizationEvent.OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.OrganizationEvent.OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.OrganizationEvent.OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: instance GHC.Read.Read Amazonka.AWSHealth.Types.OrganizationEvent.OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: instance GHC.Show.Show Amazonka.AWSHealth.Types.OrganizationEvent.OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: newOrganizationEvent :: OrganizationEvent
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_arn :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_endTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_eventScopeCode :: Lens' OrganizationEvent (Maybe EventScopeCode)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_eventTypeCategory :: Lens' OrganizationEvent (Maybe EventTypeCategory)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_eventTypeCode :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_lastUpdatedTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_region :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_service :: Lens' OrganizationEvent (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_startTime :: Lens' OrganizationEvent (Maybe UTCTime)
+ Amazonka.AWSHealth.Types.OrganizationEvent: organizationEvent_statusCode :: Lens' OrganizationEvent (Maybe EventStatusCode)
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: OrganizationEventDetails' :: Maybe Text -> Maybe Event -> Maybe EventDescription -> Maybe (HashMap Text Text) -> OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: [$sel:awsAccountId:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: [$sel:event:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe Event
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: [$sel:eventDescription:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe EventDescription
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: [$sel:eventMetadata:OrganizationEventDetails'] :: OrganizationEventDetails -> Maybe (HashMap Text Text)
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: data OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.OrganizationEventDetails.OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.OrganizationEventDetails.OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.OrganizationEventDetails.OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.OrganizationEventDetails.OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.OrganizationEventDetails.OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: instance GHC.Read.Read Amazonka.AWSHealth.Types.OrganizationEventDetails.OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: instance GHC.Show.Show Amazonka.AWSHealth.Types.OrganizationEventDetails.OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: newOrganizationEventDetails :: OrganizationEventDetails
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: organizationEventDetails_awsAccountId :: Lens' OrganizationEventDetails (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: organizationEventDetails_event :: Lens' OrganizationEventDetails (Maybe Event)
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: organizationEventDetails_eventDescription :: Lens' OrganizationEventDetails (Maybe EventDescription)
+ Amazonka.AWSHealth.Types.OrganizationEventDetails: organizationEventDetails_eventMetadata :: Lens' OrganizationEventDetails (Maybe (HashMap Text Text))
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: OrganizationEventDetailsErrorItem' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: [$sel:awsAccountId:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: [$sel:errorMessage:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: [$sel:errorName:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: [$sel:eventArn:OrganizationEventDetailsErrorItem'] :: OrganizationEventDetailsErrorItem -> Maybe Text
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: data OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem.OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem.OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem.OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem.OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem.OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: instance GHC.Read.Read Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem.OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: instance GHC.Show.Show Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem.OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: newOrganizationEventDetailsErrorItem :: OrganizationEventDetailsErrorItem
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: organizationEventDetailsErrorItem_awsAccountId :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: organizationEventDetailsErrorItem_errorMessage :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: organizationEventDetailsErrorItem_errorName :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem: organizationEventDetailsErrorItem_eventArn :: Lens' OrganizationEventDetailsErrorItem (Maybe Text)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: OrganizationEventFilter' :: Maybe (NonEmpty Text) -> Maybe DateTimeRange -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe (NonEmpty EventStatusCode) -> Maybe (NonEmpty EventTypeCategory) -> Maybe (NonEmpty Text) -> Maybe DateTimeRange -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe DateTimeRange -> OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:awsAccountIds:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:endTime:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe DateTimeRange
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:entityArns:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:entityValues:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:eventStatusCodes:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty EventStatusCode)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:eventTypeCategories:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty EventTypeCategory)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:eventTypeCodes:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:lastUpdatedTime:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe DateTimeRange
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:regions:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:services:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe (NonEmpty Text)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: [$sel:startTime:OrganizationEventFilter'] :: OrganizationEventFilter -> Maybe DateTimeRange
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: data OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: instance Control.DeepSeq.NFData Amazonka.AWSHealth.Types.OrganizationEventFilter.OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AWSHealth.Types.OrganizationEventFilter.OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: instance Data.Hashable.Class.Hashable Amazonka.AWSHealth.Types.OrganizationEventFilter.OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: instance GHC.Classes.Eq Amazonka.AWSHealth.Types.OrganizationEventFilter.OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: instance GHC.Generics.Generic Amazonka.AWSHealth.Types.OrganizationEventFilter.OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: instance GHC.Read.Read Amazonka.AWSHealth.Types.OrganizationEventFilter.OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: instance GHC.Show.Show Amazonka.AWSHealth.Types.OrganizationEventFilter.OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: newOrganizationEventFilter :: OrganizationEventFilter
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_awsAccountIds :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_endTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_entityArns :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_entityValues :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_eventStatusCodes :: Lens' OrganizationEventFilter (Maybe (NonEmpty EventStatusCode))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_eventTypeCategories :: Lens' OrganizationEventFilter (Maybe (NonEmpty EventTypeCategory))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_eventTypeCodes :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_lastUpdatedTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_regions :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_services :: Lens' OrganizationEventFilter (Maybe (NonEmpty Text))
+ Amazonka.AWSHealth.Types.OrganizationEventFilter: organizationEventFilter_startTime :: Lens' OrganizationEventFilter (Maybe DateTimeRange)

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2016-08-04@ of the AWS service descriptions, licensed under Apache 2.0.  ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.AWSHealth](http://hackage.haskell.org/package/amazonka-health/docs/Network-AWS-AWSHealth.html)+See [Amazonka.AWSHealth](http://hackage.haskell.org/package/amazonka-health/docs/Amazonka-AWSHealth.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.  
− Setup.hs
@@ -1,2 +0,0 @@-import           Distribution.Simple-main = defaultMain
amazonka-health.cabal view
@@ -1,91 +1,119 @@-name:                  amazonka-health-version:               1.6.1-synopsis:              Amazon Health APIs and Notifications SDK.-homepage:              https://github.com/brendanhay/amazonka-bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               MPL-2.0-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2018 Brendan Hay-category:              Network, AWS, Cloud, Distributed Computing-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version:      2.2+name:               amazonka-health+version:            2.0+synopsis:           Amazon Health APIs and Notifications SDK.+homepage:           https://github.com/brendanhay/amazonka+bug-reports:        https://github.com/brendanhay/amazonka/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright:          Copyright (c) 2013-2023 Brendan Hay+category:           AWS+build-type:         Simple+extra-source-files:+  fixture/*.proto+  fixture/*.yaml+  README.md+  src/.gitkeep+ description:-    The types from this library are intended to be used with-    <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information, sending requests,-    and receiving responses.-    .-    Lenses are used for constructing and manipulating types,-    due to the depth of nesting of AWS types and transparency regarding-    de/serialisation into more palatable Haskell values.-    The provided lenses should be compatible with any of the major lens libraries-    such as <http://hackage.haskell.org/package/lens lens> or-    <http://hackage.haskell.org/package/lens-family-core lens-family-core>.-    .-    See "Network.AWS.AWSHealth" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2016-08-04@ of the AWS service descriptions, licensed under Apache 2.0.+  .+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+  .+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+  .+  Generated lenses can be found in "Amazonka.AWSHealth.Lens" and are+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+  .+  See "Amazonka.AWSHealth" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.  source-repository head-    type:              git-    location:          git://github.com/brendanhay/amazonka.git-    subdir:            amazonka-health+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-health  library-    default-language:  Haskell2010-    hs-source-dirs:    src gen--    ghc-options:-        -Wall-        -fwarn-incomplete-uni-patterns-        -fwarn-incomplete-record-updates-        -funbox-strict-fields--    exposed-modules:-          Network.AWS.AWSHealth-        , Network.AWS.AWSHealth.DescribeAffectedEntities-        , Network.AWS.AWSHealth.DescribeEntityAggregates-        , Network.AWS.AWSHealth.DescribeEventAggregates-        , Network.AWS.AWSHealth.DescribeEventDetails-        , Network.AWS.AWSHealth.DescribeEventTypes-        , Network.AWS.AWSHealth.DescribeEvents-        , Network.AWS.AWSHealth.Types-        , Network.AWS.AWSHealth.Waiters+  default-language: Haskell2010+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields -    other-modules:-          Network.AWS.AWSHealth.Types.Product-        , Network.AWS.AWSHealth.Types.Sum+  exposed-modules:+    Amazonka.AWSHealth+    Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization+    Amazonka.AWSHealth.DescribeAffectedEntities+    Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization+    Amazonka.AWSHealth.DescribeEntityAggregates+    Amazonka.AWSHealth.DescribeEventAggregates+    Amazonka.AWSHealth.DescribeEventDetails+    Amazonka.AWSHealth.DescribeEventDetailsForOrganization+    Amazonka.AWSHealth.DescribeEvents+    Amazonka.AWSHealth.DescribeEventsForOrganization+    Amazonka.AWSHealth.DescribeEventTypes+    Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization+    Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization+    Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization+    Amazonka.AWSHealth.Lens+    Amazonka.AWSHealth.Types+    Amazonka.AWSHealth.Types.AffectedEntity+    Amazonka.AWSHealth.Types.DateTimeRange+    Amazonka.AWSHealth.Types.EntityAggregate+    Amazonka.AWSHealth.Types.EntityFilter+    Amazonka.AWSHealth.Types.EntityStatusCode+    Amazonka.AWSHealth.Types.Event+    Amazonka.AWSHealth.Types.EventAccountFilter+    Amazonka.AWSHealth.Types.EventAggregate+    Amazonka.AWSHealth.Types.EventAggregateField+    Amazonka.AWSHealth.Types.EventDescription+    Amazonka.AWSHealth.Types.EventDetails+    Amazonka.AWSHealth.Types.EventDetailsErrorItem+    Amazonka.AWSHealth.Types.EventFilter+    Amazonka.AWSHealth.Types.EventScopeCode+    Amazonka.AWSHealth.Types.EventStatusCode+    Amazonka.AWSHealth.Types.EventType+    Amazonka.AWSHealth.Types.EventTypeCategory+    Amazonka.AWSHealth.Types.EventTypeFilter+    Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem+    Amazonka.AWSHealth.Types.OrganizationEvent+    Amazonka.AWSHealth.Types.OrganizationEventDetails+    Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem+    Amazonka.AWSHealth.Types.OrganizationEventFilter+    Amazonka.AWSHealth.Waiters -    build-depends:-          amazonka-core == 1.6.1.*-        , base          >= 4.7     && < 5+  build-depends:+    , amazonka-core  >=2.0  && <2.1+    , base           >=4.12 && <5  test-suite amazonka-health-test-    type:              exitcode-stdio-1.0-    default-language:  Haskell2010-    hs-source-dirs:    test-    main-is:           Main.hs--    ghc-options:       -Wall -threaded+  type:             exitcode-stdio-1.0+  default-language: Haskell2010+  hs-source-dirs:   test+  main-is:          Main.hs+  ghc-options:      -Wall -threaded -    -- This section is encoded by the template and any modules added by-    -- hand outside these namespaces will not correctly be added to the-    -- distribution package.-    other-modules:-          Test.AWS.AWSHealth-        , Test.AWS.Gen.AWSHealth-        , Test.AWS.AWSHealth.Internal+  -- This section is encoded by the template and any modules added by+  -- hand outside these namespaces will not correctly be added to the+  -- distribution package.+  other-modules:+    Test.Amazonka.AWSHealth+    Test.Amazonka.AWSHealth.Internal+    Test.Amazonka.Gen.AWSHealth -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-health-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-core         >=2.0 && <2.1+    , amazonka-health+    , amazonka-test         >=2.0 && <2.1+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
+ fixture/DescribeAffectedAccountsForOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/health/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  health.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeAffectedAccountsForOrganizationResponse.proto view
+ fixture/DescribeAffectedEntitiesForOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/health/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  health.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeAffectedEntitiesForOrganizationResponse.proto view
+ fixture/DescribeEventDetailsForOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/health/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  health.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeEventDetailsForOrganizationResponse.proto view
+ fixture/DescribeEventsForOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/health/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  health.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeEventsForOrganizationResponse.proto view
+ fixture/DescribeHealthServiceStatusForOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/health/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  health.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeHealthServiceStatusForOrganizationResponse.proto view
+ fixture/DisableHealthServiceAccessForOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/health/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  health.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DisableHealthServiceAccessForOrganizationResponse.proto view
+ fixture/EnableHealthServiceAccessForOrganization.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/health/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  health.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/EnableHealthServiceAccessForOrganizationResponse.proto view
+ gen/Amazonka/AWSHealth.hs view
@@ -0,0 +1,299 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.AWSHealth+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2016-08-04@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Health+--+-- The Health API provides programmatic access to the Health information+-- that appears in the+-- <https://phd.aws.amazon.com/phd/home#/ Personal Health Dashboard>. You+-- can use the API operations to get information about events that might+-- affect your Amazon Web Services services and resources.+--+-- -   You must have a Business, Enterprise On-Ramp, or Enterprise Support+--     plan from+--     <http://aws.amazon.com/premiumsupport/ Amazon Web Services Support>+--     to use the Health API. If you call the Health API from an Amazon Web+--     Services account that doesn\'t have a Business, Enterprise On-Ramp,+--     or Enterprise Support plan, you receive a+--     @SubscriptionRequiredException@ error.+--+-- -   You can use the Health endpoint health.us-east-1.amazonaws.com+--     (HTTPS) to call the Health API operations. Health supports a+--     multi-Region application architecture and has two regional endpoints+--     in an active-passive configuration. You can use the high+--     availability endpoint example to determine which Amazon Web Services+--     Region is active, so that you can get the latest information from+--     the API. For more information, see+--     <https://docs.aws.amazon.com/health/latest/ug/health-api.html Accessing the Health API>+--     in the /Health User Guide/.+--+-- For authentication of requests, Health uses the+-- <https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4 Signing Process>.+--+-- If your Amazon Web Services account is part of Organizations, you can+-- use the Health organizational view feature. This feature provides a+-- centralized view of Health events across all accounts in your+-- organization. You can aggregate Health events in real time to identify+-- accounts in your organization that are affected by an operational event+-- or get notified of security vulnerabilities. Use the organizational view+-- API operations to enable this feature and return event information. For+-- more information, see+-- <https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html Aggregating Health events>+-- in the /Health User Guide/.+--+-- When you use the Health API operations to return Health events, see the+-- following recommendations:+--+-- -   Use the+--     <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode eventScopeCode>+--     parameter to specify whether to return Health events that are public+--     or account-specific.+--+-- -   Use pagination to view all events from the response. For example, if+--     you call the @DescribeEventsForOrganization@ operation to get all+--     events in your organization, you might receive several page results.+--     Specify the @nextToken@ in the next request to return more results.+module Amazonka.AWSHealth+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** ConcurrentModificationException+    _ConcurrentModificationException,++    -- ** InvalidPaginationToken+    _InvalidPaginationToken,++    -- ** UnsupportedLocale+    _UnsupportedLocale,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** DescribeAffectedAccountsForOrganization (Paginated)+    DescribeAffectedAccountsForOrganization (DescribeAffectedAccountsForOrganization'),+    newDescribeAffectedAccountsForOrganization,+    DescribeAffectedAccountsForOrganizationResponse (DescribeAffectedAccountsForOrganizationResponse'),+    newDescribeAffectedAccountsForOrganizationResponse,++    -- ** DescribeAffectedEntities (Paginated)+    DescribeAffectedEntities (DescribeAffectedEntities'),+    newDescribeAffectedEntities,+    DescribeAffectedEntitiesResponse (DescribeAffectedEntitiesResponse'),+    newDescribeAffectedEntitiesResponse,++    -- ** DescribeAffectedEntitiesForOrganization (Paginated)+    DescribeAffectedEntitiesForOrganization (DescribeAffectedEntitiesForOrganization'),+    newDescribeAffectedEntitiesForOrganization,+    DescribeAffectedEntitiesForOrganizationResponse (DescribeAffectedEntitiesForOrganizationResponse'),+    newDescribeAffectedEntitiesForOrganizationResponse,++    -- ** DescribeEntityAggregates+    DescribeEntityAggregates (DescribeEntityAggregates'),+    newDescribeEntityAggregates,+    DescribeEntityAggregatesResponse (DescribeEntityAggregatesResponse'),+    newDescribeEntityAggregatesResponse,++    -- ** DescribeEventAggregates (Paginated)+    DescribeEventAggregates (DescribeEventAggregates'),+    newDescribeEventAggregates,+    DescribeEventAggregatesResponse (DescribeEventAggregatesResponse'),+    newDescribeEventAggregatesResponse,++    -- ** DescribeEventDetails+    DescribeEventDetails (DescribeEventDetails'),+    newDescribeEventDetails,+    DescribeEventDetailsResponse (DescribeEventDetailsResponse'),+    newDescribeEventDetailsResponse,++    -- ** DescribeEventDetailsForOrganization+    DescribeEventDetailsForOrganization (DescribeEventDetailsForOrganization'),+    newDescribeEventDetailsForOrganization,+    DescribeEventDetailsForOrganizationResponse (DescribeEventDetailsForOrganizationResponse'),+    newDescribeEventDetailsForOrganizationResponse,++    -- ** DescribeEventTypes (Paginated)+    DescribeEventTypes (DescribeEventTypes'),+    newDescribeEventTypes,+    DescribeEventTypesResponse (DescribeEventTypesResponse'),+    newDescribeEventTypesResponse,++    -- ** DescribeEvents (Paginated)+    DescribeEvents (DescribeEvents'),+    newDescribeEvents,+    DescribeEventsResponse (DescribeEventsResponse'),+    newDescribeEventsResponse,++    -- ** DescribeEventsForOrganization (Paginated)+    DescribeEventsForOrganization (DescribeEventsForOrganization'),+    newDescribeEventsForOrganization,+    DescribeEventsForOrganizationResponse (DescribeEventsForOrganizationResponse'),+    newDescribeEventsForOrganizationResponse,++    -- ** DescribeHealthServiceStatusForOrganization+    DescribeHealthServiceStatusForOrganization (DescribeHealthServiceStatusForOrganization'),+    newDescribeHealthServiceStatusForOrganization,+    DescribeHealthServiceStatusForOrganizationResponse (DescribeHealthServiceStatusForOrganizationResponse'),+    newDescribeHealthServiceStatusForOrganizationResponse,++    -- ** DisableHealthServiceAccessForOrganization+    DisableHealthServiceAccessForOrganization (DisableHealthServiceAccessForOrganization'),+    newDisableHealthServiceAccessForOrganization,+    DisableHealthServiceAccessForOrganizationResponse (DisableHealthServiceAccessForOrganizationResponse'),+    newDisableHealthServiceAccessForOrganizationResponse,++    -- ** EnableHealthServiceAccessForOrganization+    EnableHealthServiceAccessForOrganization (EnableHealthServiceAccessForOrganization'),+    newEnableHealthServiceAccessForOrganization,+    EnableHealthServiceAccessForOrganizationResponse (EnableHealthServiceAccessForOrganizationResponse'),+    newEnableHealthServiceAccessForOrganizationResponse,++    -- * Types++    -- ** EntityStatusCode+    EntityStatusCode (..),++    -- ** EventAggregateField+    EventAggregateField (..),++    -- ** EventScopeCode+    EventScopeCode (..),++    -- ** EventStatusCode+    EventStatusCode (..),++    -- ** EventTypeCategory+    EventTypeCategory (..),++    -- ** AffectedEntity+    AffectedEntity (AffectedEntity'),+    newAffectedEntity,++    -- ** DateTimeRange+    DateTimeRange (DateTimeRange'),+    newDateTimeRange,++    -- ** EntityAggregate+    EntityAggregate (EntityAggregate'),+    newEntityAggregate,++    -- ** EntityFilter+    EntityFilter (EntityFilter'),+    newEntityFilter,++    -- ** Event+    Event (Event'),+    newEvent,++    -- ** EventAccountFilter+    EventAccountFilter (EventAccountFilter'),+    newEventAccountFilter,++    -- ** EventAggregate+    EventAggregate (EventAggregate'),+    newEventAggregate,++    -- ** EventDescription+    EventDescription (EventDescription'),+    newEventDescription,++    -- ** EventDetails+    EventDetails (EventDetails'),+    newEventDetails,++    -- ** EventDetailsErrorItem+    EventDetailsErrorItem (EventDetailsErrorItem'),+    newEventDetailsErrorItem,++    -- ** EventFilter+    EventFilter (EventFilter'),+    newEventFilter,++    -- ** EventType+    EventType (EventType'),+    newEventType,++    -- ** EventTypeFilter+    EventTypeFilter (EventTypeFilter'),+    newEventTypeFilter,++    -- ** OrganizationAffectedEntitiesErrorItem+    OrganizationAffectedEntitiesErrorItem (OrganizationAffectedEntitiesErrorItem'),+    newOrganizationAffectedEntitiesErrorItem,++    -- ** OrganizationEvent+    OrganizationEvent (OrganizationEvent'),+    newOrganizationEvent,++    -- ** OrganizationEventDetails+    OrganizationEventDetails (OrganizationEventDetails'),+    newOrganizationEventDetails,++    -- ** OrganizationEventDetailsErrorItem+    OrganizationEventDetailsErrorItem (OrganizationEventDetailsErrorItem'),+    newOrganizationEventDetailsErrorItem,++    -- ** OrganizationEventFilter+    OrganizationEventFilter (OrganizationEventFilter'),+    newOrganizationEventFilter,+  )+where++import Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization+import Amazonka.AWSHealth.DescribeAffectedEntities+import Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization+import Amazonka.AWSHealth.DescribeEntityAggregates+import Amazonka.AWSHealth.DescribeEventAggregates+import Amazonka.AWSHealth.DescribeEventDetails+import Amazonka.AWSHealth.DescribeEventDetailsForOrganization+import Amazonka.AWSHealth.DescribeEventTypes+import Amazonka.AWSHealth.DescribeEvents+import Amazonka.AWSHealth.DescribeEventsForOrganization+import Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization+import Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization+import Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization+import Amazonka.AWSHealth.Lens+import Amazonka.AWSHealth.Types+import Amazonka.AWSHealth.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'AWSHealth'.++-- $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.++-- $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.
+ gen/Amazonka/AWSHealth/DescribeAffectedAccountsForOrganization.hs view
@@ -0,0 +1,383 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of accounts in the organization from Organizations that+-- are affected by the provided event. For more information about the+-- different types of Health events, see+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html Event>.+--+-- Before you can call this operation, you must first enable Health to work+-- with Organizations. To do this, call the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html EnableHealthServiceAccessForOrganization>+-- operation from your organization\'s management account.+--+-- This API operation uses pagination. Specify the @nextToken@ parameter in+-- the next request to return more results.+--+-- This operation returns paginated results.+module Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization+  ( -- * Creating a Request+    DescribeAffectedAccountsForOrganization (..),+    newDescribeAffectedAccountsForOrganization,++    -- * Request Lenses+    describeAffectedAccountsForOrganization_maxResults,+    describeAffectedAccountsForOrganization_nextToken,+    describeAffectedAccountsForOrganization_eventArn,++    -- * Destructuring the Response+    DescribeAffectedAccountsForOrganizationResponse (..),+    newDescribeAffectedAccountsForOrganizationResponse,++    -- * Response Lenses+    describeAffectedAccountsForOrganizationResponse_affectedAccounts,+    describeAffectedAccountsForOrganizationResponse_eventScopeCode,+    describeAffectedAccountsForOrganizationResponse_nextToken,+    describeAffectedAccountsForOrganizationResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeAffectedAccountsForOrganization' smart constructor.+data DescribeAffectedAccountsForOrganization = DescribeAffectedAccountsForOrganization'+  { -- | The maximum number of items to return in one batch, between 10 and 100,+    -- inclusive.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    eventArn :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAffectedAccountsForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'describeAffectedAccountsForOrganization_maxResults' - The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+--+-- 'nextToken', 'describeAffectedAccountsForOrganization_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'eventArn', 'describeAffectedAccountsForOrganization_eventArn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+newDescribeAffectedAccountsForOrganization ::+  -- | 'eventArn'+  Prelude.Text ->+  DescribeAffectedAccountsForOrganization+newDescribeAffectedAccountsForOrganization pEventArn_ =+  DescribeAffectedAccountsForOrganization'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      eventArn = pEventArn_+    }++-- | The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+describeAffectedAccountsForOrganization_maxResults :: Lens.Lens' DescribeAffectedAccountsForOrganization (Prelude.Maybe Prelude.Natural)+describeAffectedAccountsForOrganization_maxResults = Lens.lens (\DescribeAffectedAccountsForOrganization' {maxResults} -> maxResults) (\s@DescribeAffectedAccountsForOrganization' {} a -> s {maxResults = a} :: DescribeAffectedAccountsForOrganization)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeAffectedAccountsForOrganization_nextToken :: Lens.Lens' DescribeAffectedAccountsForOrganization (Prelude.Maybe Prelude.Text)+describeAffectedAccountsForOrganization_nextToken = Lens.lens (\DescribeAffectedAccountsForOrganization' {nextToken} -> nextToken) (\s@DescribeAffectedAccountsForOrganization' {} a -> s {nextToken = a} :: DescribeAffectedAccountsForOrganization)++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+describeAffectedAccountsForOrganization_eventArn :: Lens.Lens' DescribeAffectedAccountsForOrganization Prelude.Text+describeAffectedAccountsForOrganization_eventArn = Lens.lens (\DescribeAffectedAccountsForOrganization' {eventArn} -> eventArn) (\s@DescribeAffectedAccountsForOrganization' {} a -> s {eventArn = a} :: DescribeAffectedAccountsForOrganization)++instance+  Core.AWSPager+    DescribeAffectedAccountsForOrganization+  where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeAffectedAccountsForOrganizationResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeAffectedAccountsForOrganizationResponse_affectedAccounts+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeAffectedAccountsForOrganization_nextToken+          Lens..~ rs+          Lens.^? describeAffectedAccountsForOrganizationResponse_nextToken+          Prelude.. Lens._Just++instance+  Core.AWSRequest+    DescribeAffectedAccountsForOrganization+  where+  type+    AWSResponse+      DescribeAffectedAccountsForOrganization =+      DescribeAffectedAccountsForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeAffectedAccountsForOrganizationResponse'+            Prelude.<$> ( x+                            Data..?> "affectedAccounts"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "eventScopeCode")+            Prelude.<*> (x Data..?> "nextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    DescribeAffectedAccountsForOrganization+  where+  hashWithSalt+    _salt+    DescribeAffectedAccountsForOrganization' {..} =+      _salt+        `Prelude.hashWithSalt` maxResults+        `Prelude.hashWithSalt` nextToken+        `Prelude.hashWithSalt` eventArn++instance+  Prelude.NFData+    DescribeAffectedAccountsForOrganization+  where+  rnf DescribeAffectedAccountsForOrganization' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf eventArn++instance+  Data.ToHeaders+    DescribeAffectedAccountsForOrganization+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeAffectedAccountsForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    DescribeAffectedAccountsForOrganization+  where+  toJSON DescribeAffectedAccountsForOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("maxResults" Data..=) Prelude.<$> maxResults,+            ("nextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("eventArn" Data..= eventArn)+          ]+      )++instance+  Data.ToPath+    DescribeAffectedAccountsForOrganization+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    DescribeAffectedAccountsForOrganization+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeAffectedAccountsForOrganizationResponse' smart constructor.+data DescribeAffectedAccountsForOrganizationResponse = DescribeAffectedAccountsForOrganizationResponse'+  { -- | A JSON set of elements of the affected accounts.+    affectedAccounts :: Prelude.Maybe [Prelude.Text],+    -- | This parameter specifies if the Health event is a public Amazon Web+    -- Services service event or an account-specific event.+    --+    -- -   If the @eventScopeCode@ value is @PUBLIC@, then the+    --     @affectedAccounts@ value is always empty.+    --+    -- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+    --     @affectedAccounts@ value lists the affected Amazon Web Services+    --     accounts in your organization. For example, if an event affects a+    --     service such as Amazon Elastic Compute Cloud and you have Amazon Web+    --     Services accounts that use that service, those account IDs appear in+    --     the response.+    --+    -- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+    --     you specified in the request is invalid or doesn\'t exist.+    eventScopeCode :: Prelude.Maybe EventScopeCode,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAffectedAccountsForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'affectedAccounts', 'describeAffectedAccountsForOrganizationResponse_affectedAccounts' - A JSON set of elements of the affected accounts.+--+-- 'eventScopeCode', 'describeAffectedAccountsForOrganizationResponse_eventScopeCode' - This parameter specifies if the Health event is a public Amazon Web+-- Services service event or an account-specific event.+--+-- -   If the @eventScopeCode@ value is @PUBLIC@, then the+--     @affectedAccounts@ value is always empty.+--+-- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+--     @affectedAccounts@ value lists the affected Amazon Web Services+--     accounts in your organization. For example, if an event affects a+--     service such as Amazon Elastic Compute Cloud and you have Amazon Web+--     Services accounts that use that service, those account IDs appear in+--     the response.+--+-- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+--     you specified in the request is invalid or doesn\'t exist.+--+-- 'nextToken', 'describeAffectedAccountsForOrganizationResponse_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'httpStatus', 'describeAffectedAccountsForOrganizationResponse_httpStatus' - The response's http status code.+newDescribeAffectedAccountsForOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeAffectedAccountsForOrganizationResponse+newDescribeAffectedAccountsForOrganizationResponse+  pHttpStatus_ =+    DescribeAffectedAccountsForOrganizationResponse'+      { affectedAccounts =+          Prelude.Nothing,+        eventScopeCode =+          Prelude.Nothing,+        nextToken =+          Prelude.Nothing,+        httpStatus = pHttpStatus_+      }++-- | A JSON set of elements of the affected accounts.+describeAffectedAccountsForOrganizationResponse_affectedAccounts :: Lens.Lens' DescribeAffectedAccountsForOrganizationResponse (Prelude.Maybe [Prelude.Text])+describeAffectedAccountsForOrganizationResponse_affectedAccounts = Lens.lens (\DescribeAffectedAccountsForOrganizationResponse' {affectedAccounts} -> affectedAccounts) (\s@DescribeAffectedAccountsForOrganizationResponse' {} a -> s {affectedAccounts = a} :: DescribeAffectedAccountsForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | This parameter specifies if the Health event is a public Amazon Web+-- Services service event or an account-specific event.+--+-- -   If the @eventScopeCode@ value is @PUBLIC@, then the+--     @affectedAccounts@ value is always empty.+--+-- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+--     @affectedAccounts@ value lists the affected Amazon Web Services+--     accounts in your organization. For example, if an event affects a+--     service such as Amazon Elastic Compute Cloud and you have Amazon Web+--     Services accounts that use that service, those account IDs appear in+--     the response.+--+-- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+--     you specified in the request is invalid or doesn\'t exist.+describeAffectedAccountsForOrganizationResponse_eventScopeCode :: Lens.Lens' DescribeAffectedAccountsForOrganizationResponse (Prelude.Maybe EventScopeCode)+describeAffectedAccountsForOrganizationResponse_eventScopeCode = Lens.lens (\DescribeAffectedAccountsForOrganizationResponse' {eventScopeCode} -> eventScopeCode) (\s@DescribeAffectedAccountsForOrganizationResponse' {} a -> s {eventScopeCode = a} :: DescribeAffectedAccountsForOrganizationResponse)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeAffectedAccountsForOrganizationResponse_nextToken :: Lens.Lens' DescribeAffectedAccountsForOrganizationResponse (Prelude.Maybe Prelude.Text)+describeAffectedAccountsForOrganizationResponse_nextToken = Lens.lens (\DescribeAffectedAccountsForOrganizationResponse' {nextToken} -> nextToken) (\s@DescribeAffectedAccountsForOrganizationResponse' {} a -> s {nextToken = a} :: DescribeAffectedAccountsForOrganizationResponse)++-- | The response's http status code.+describeAffectedAccountsForOrganizationResponse_httpStatus :: Lens.Lens' DescribeAffectedAccountsForOrganizationResponse Prelude.Int+describeAffectedAccountsForOrganizationResponse_httpStatus = Lens.lens (\DescribeAffectedAccountsForOrganizationResponse' {httpStatus} -> httpStatus) (\s@DescribeAffectedAccountsForOrganizationResponse' {} a -> s {httpStatus = a} :: DescribeAffectedAccountsForOrganizationResponse)++instance+  Prelude.NFData+    DescribeAffectedAccountsForOrganizationResponse+  where+  rnf+    DescribeAffectedAccountsForOrganizationResponse' {..} =+      Prelude.rnf affectedAccounts+        `Prelude.seq` Prelude.rnf eventScopeCode+        `Prelude.seq` Prelude.rnf nextToken+        `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeAffectedEntities.hs view
@@ -0,0 +1,301 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeAffectedEntities+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of entities that have been affected by the specified+-- events, based on the specified filter criteria. Entities can refer to+-- individual customer resources, groups of customer resources, or any+-- other construct, depending on the Amazon Web Services service. Events+-- that have impact beyond that of the affected entities, or where the+-- extent of impact is unknown, include at least one entity indicating+-- this.+--+-- At least one event ARN is required.+--+-- -   This API operation uses pagination. Specify the @nextToken@+--     parameter in the next request to return more results.+--+-- -   This operation supports resource-level permissions. You can use this+--     operation to allow or deny access to specific Health events. For+--     more information, see+--     <https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions Resource- and action-based conditions>+--     in the /Health User Guide/.+--+-- This operation returns paginated results.+module Amazonka.AWSHealth.DescribeAffectedEntities+  ( -- * Creating a Request+    DescribeAffectedEntities (..),+    newDescribeAffectedEntities,++    -- * Request Lenses+    describeAffectedEntities_locale,+    describeAffectedEntities_maxResults,+    describeAffectedEntities_nextToken,+    describeAffectedEntities_filter,++    -- * Destructuring the Response+    DescribeAffectedEntitiesResponse (..),+    newDescribeAffectedEntitiesResponse,++    -- * Response Lenses+    describeAffectedEntitiesResponse_entities,+    describeAffectedEntitiesResponse_nextToken,+    describeAffectedEntitiesResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeAffectedEntities' smart constructor.+data DescribeAffectedEntities = DescribeAffectedEntities'+  { -- | The locale (language) to return information in. English (en) is the+    -- default and the only supported value at this time.+    locale :: Prelude.Maybe Prelude.Text,+    -- | The maximum number of items to return in one batch, between 10 and 100,+    -- inclusive.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | Values to narrow the results returned. At least one event ARN is+    -- required.+    filter' :: EntityFilter+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAffectedEntities' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'locale', 'describeAffectedEntities_locale' - The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+--+-- 'maxResults', 'describeAffectedEntities_maxResults' - The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+--+-- 'nextToken', 'describeAffectedEntities_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'filter'', 'describeAffectedEntities_filter' - Values to narrow the results returned. At least one event ARN is+-- required.+newDescribeAffectedEntities ::+  -- | 'filter''+  EntityFilter ->+  DescribeAffectedEntities+newDescribeAffectedEntities pFilter_ =+  DescribeAffectedEntities'+    { locale = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      filter' = pFilter_+    }++-- | The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+describeAffectedEntities_locale :: Lens.Lens' DescribeAffectedEntities (Prelude.Maybe Prelude.Text)+describeAffectedEntities_locale = Lens.lens (\DescribeAffectedEntities' {locale} -> locale) (\s@DescribeAffectedEntities' {} a -> s {locale = a} :: DescribeAffectedEntities)++-- | The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+describeAffectedEntities_maxResults :: Lens.Lens' DescribeAffectedEntities (Prelude.Maybe Prelude.Natural)+describeAffectedEntities_maxResults = Lens.lens (\DescribeAffectedEntities' {maxResults} -> maxResults) (\s@DescribeAffectedEntities' {} a -> s {maxResults = a} :: DescribeAffectedEntities)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeAffectedEntities_nextToken :: Lens.Lens' DescribeAffectedEntities (Prelude.Maybe Prelude.Text)+describeAffectedEntities_nextToken = Lens.lens (\DescribeAffectedEntities' {nextToken} -> nextToken) (\s@DescribeAffectedEntities' {} a -> s {nextToken = a} :: DescribeAffectedEntities)++-- | Values to narrow the results returned. At least one event ARN is+-- required.+describeAffectedEntities_filter :: Lens.Lens' DescribeAffectedEntities EntityFilter+describeAffectedEntities_filter = Lens.lens (\DescribeAffectedEntities' {filter'} -> filter') (\s@DescribeAffectedEntities' {} a -> s {filter' = a} :: DescribeAffectedEntities)++instance Core.AWSPager DescribeAffectedEntities where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeAffectedEntitiesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeAffectedEntitiesResponse_entities+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeAffectedEntities_nextToken+          Lens..~ rs+          Lens.^? describeAffectedEntitiesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeAffectedEntities where+  type+    AWSResponse DescribeAffectedEntities =+      DescribeAffectedEntitiesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeAffectedEntitiesResponse'+            Prelude.<$> (x Data..?> "entities" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "nextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeAffectedEntities where+  hashWithSalt _salt DescribeAffectedEntities' {..} =+    _salt+      `Prelude.hashWithSalt` locale+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` filter'++instance Prelude.NFData DescribeAffectedEntities where+  rnf DescribeAffectedEntities' {..} =+    Prelude.rnf locale+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf filter'++instance Data.ToHeaders DescribeAffectedEntities where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeAffectedEntities" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeAffectedEntities where+  toJSON DescribeAffectedEntities' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("locale" Data..=) Prelude.<$> locale,+            ("maxResults" Data..=) Prelude.<$> maxResults,+            ("nextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("filter" Data..= filter')+          ]+      )++instance Data.ToPath DescribeAffectedEntities where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeAffectedEntities where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeAffectedEntitiesResponse' smart constructor.+data DescribeAffectedEntitiesResponse = DescribeAffectedEntitiesResponse'+  { -- | The entities that match the filter criteria.+    entities :: Prelude.Maybe [AffectedEntity],+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAffectedEntitiesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'entities', 'describeAffectedEntitiesResponse_entities' - The entities that match the filter criteria.+--+-- 'nextToken', 'describeAffectedEntitiesResponse_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'httpStatus', 'describeAffectedEntitiesResponse_httpStatus' - The response's http status code.+newDescribeAffectedEntitiesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeAffectedEntitiesResponse+newDescribeAffectedEntitiesResponse pHttpStatus_ =+  DescribeAffectedEntitiesResponse'+    { entities =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The entities that match the filter criteria.+describeAffectedEntitiesResponse_entities :: Lens.Lens' DescribeAffectedEntitiesResponse (Prelude.Maybe [AffectedEntity])+describeAffectedEntitiesResponse_entities = Lens.lens (\DescribeAffectedEntitiesResponse' {entities} -> entities) (\s@DescribeAffectedEntitiesResponse' {} a -> s {entities = a} :: DescribeAffectedEntitiesResponse) Prelude.. Lens.mapping Lens.coerced++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeAffectedEntitiesResponse_nextToken :: Lens.Lens' DescribeAffectedEntitiesResponse (Prelude.Maybe Prelude.Text)+describeAffectedEntitiesResponse_nextToken = Lens.lens (\DescribeAffectedEntitiesResponse' {nextToken} -> nextToken) (\s@DescribeAffectedEntitiesResponse' {} a -> s {nextToken = a} :: DescribeAffectedEntitiesResponse)++-- | The response's http status code.+describeAffectedEntitiesResponse_httpStatus :: Lens.Lens' DescribeAffectedEntitiesResponse Prelude.Int+describeAffectedEntitiesResponse_httpStatus = Lens.lens (\DescribeAffectedEntitiesResponse' {httpStatus} -> httpStatus) (\s@DescribeAffectedEntitiesResponse' {} a -> s {httpStatus = a} :: DescribeAffectedEntitiesResponse)++instance+  Prelude.NFData+    DescribeAffectedEntitiesResponse+  where+  rnf DescribeAffectedEntitiesResponse' {..} =+    Prelude.rnf entities+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeAffectedEntitiesForOrganization.hs view
@@ -0,0 +1,358 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of entities that have been affected by one or more events+-- for one or more accounts in your organization in Organizations, based on+-- the filter criteria. Entities can refer to individual customer+-- resources, groups of customer resources, or any other construct,+-- depending on the Amazon Web Services service.+--+-- At least one event Amazon Resource Name (ARN) and account ID are+-- required.+--+-- Before you can call this operation, you must first enable Health to work+-- with Organizations. To do this, call the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html EnableHealthServiceAccessForOrganization>+-- operation from your organization\'s management account.+--+-- -   This API operation uses pagination. Specify the @nextToken@+--     parameter in the next request to return more results.+--+-- -   This operation doesn\'t support resource-level permissions. You+--     can\'t use this operation to allow or deny access to specific Health+--     events. For more information, see+--     <https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions Resource- and action-based conditions>+--     in the /Health User Guide/.+--+-- This operation returns paginated results.+module Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization+  ( -- * Creating a Request+    DescribeAffectedEntitiesForOrganization (..),+    newDescribeAffectedEntitiesForOrganization,++    -- * Request Lenses+    describeAffectedEntitiesForOrganization_locale,+    describeAffectedEntitiesForOrganization_maxResults,+    describeAffectedEntitiesForOrganization_nextToken,+    describeAffectedEntitiesForOrganization_organizationEntityFilters,++    -- * Destructuring the Response+    DescribeAffectedEntitiesForOrganizationResponse (..),+    newDescribeAffectedEntitiesForOrganizationResponse,++    -- * Response Lenses+    describeAffectedEntitiesForOrganizationResponse_entities,+    describeAffectedEntitiesForOrganizationResponse_failedSet,+    describeAffectedEntitiesForOrganizationResponse_nextToken,+    describeAffectedEntitiesForOrganizationResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeAffectedEntitiesForOrganization' smart constructor.+data DescribeAffectedEntitiesForOrganization = DescribeAffectedEntitiesForOrganization'+  { -- | The locale (language) to return information in. English (en) is the+    -- default and the only supported value at this time.+    locale :: Prelude.Maybe Prelude.Text,+    -- | The maximum number of items to return in one batch, between 10 and 100,+    -- inclusive.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A JSON set of elements including the @awsAccountId@ and the @eventArn@.+    organizationEntityFilters :: Prelude.NonEmpty EventAccountFilter+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAffectedEntitiesForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'locale', 'describeAffectedEntitiesForOrganization_locale' - The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+--+-- 'maxResults', 'describeAffectedEntitiesForOrganization_maxResults' - The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+--+-- 'nextToken', 'describeAffectedEntitiesForOrganization_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'organizationEntityFilters', 'describeAffectedEntitiesForOrganization_organizationEntityFilters' - A JSON set of elements including the @awsAccountId@ and the @eventArn@.+newDescribeAffectedEntitiesForOrganization ::+  -- | 'organizationEntityFilters'+  Prelude.NonEmpty EventAccountFilter ->+  DescribeAffectedEntitiesForOrganization+newDescribeAffectedEntitiesForOrganization+  pOrganizationEntityFilters_ =+    DescribeAffectedEntitiesForOrganization'+      { locale =+          Prelude.Nothing,+        maxResults = Prelude.Nothing,+        nextToken = Prelude.Nothing,+        organizationEntityFilters =+          Lens.coerced+            Lens.# pOrganizationEntityFilters_+      }++-- | The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+describeAffectedEntitiesForOrganization_locale :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.Maybe Prelude.Text)+describeAffectedEntitiesForOrganization_locale = Lens.lens (\DescribeAffectedEntitiesForOrganization' {locale} -> locale) (\s@DescribeAffectedEntitiesForOrganization' {} a -> s {locale = a} :: DescribeAffectedEntitiesForOrganization)++-- | The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+describeAffectedEntitiesForOrganization_maxResults :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.Maybe Prelude.Natural)+describeAffectedEntitiesForOrganization_maxResults = Lens.lens (\DescribeAffectedEntitiesForOrganization' {maxResults} -> maxResults) (\s@DescribeAffectedEntitiesForOrganization' {} a -> s {maxResults = a} :: DescribeAffectedEntitiesForOrganization)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeAffectedEntitiesForOrganization_nextToken :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.Maybe Prelude.Text)+describeAffectedEntitiesForOrganization_nextToken = Lens.lens (\DescribeAffectedEntitiesForOrganization' {nextToken} -> nextToken) (\s@DescribeAffectedEntitiesForOrganization' {} a -> s {nextToken = a} :: DescribeAffectedEntitiesForOrganization)++-- | A JSON set of elements including the @awsAccountId@ and the @eventArn@.+describeAffectedEntitiesForOrganization_organizationEntityFilters :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.NonEmpty EventAccountFilter)+describeAffectedEntitiesForOrganization_organizationEntityFilters = Lens.lens (\DescribeAffectedEntitiesForOrganization' {organizationEntityFilters} -> organizationEntityFilters) (\s@DescribeAffectedEntitiesForOrganization' {} a -> s {organizationEntityFilters = a} :: DescribeAffectedEntitiesForOrganization) Prelude.. Lens.coerced++instance+  Core.AWSPager+    DescribeAffectedEntitiesForOrganization+  where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeAffectedEntitiesForOrganizationResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeAffectedEntitiesForOrganizationResponse_entities+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeAffectedEntitiesForOrganization_nextToken+          Lens..~ rs+          Lens.^? describeAffectedEntitiesForOrganizationResponse_nextToken+          Prelude.. Lens._Just++instance+  Core.AWSRequest+    DescribeAffectedEntitiesForOrganization+  where+  type+    AWSResponse+      DescribeAffectedEntitiesForOrganization =+      DescribeAffectedEntitiesForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeAffectedEntitiesForOrganizationResponse'+            Prelude.<$> (x Data..?> "entities" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "failedSet" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "nextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    DescribeAffectedEntitiesForOrganization+  where+  hashWithSalt+    _salt+    DescribeAffectedEntitiesForOrganization' {..} =+      _salt+        `Prelude.hashWithSalt` locale+        `Prelude.hashWithSalt` maxResults+        `Prelude.hashWithSalt` nextToken+        `Prelude.hashWithSalt` organizationEntityFilters++instance+  Prelude.NFData+    DescribeAffectedEntitiesForOrganization+  where+  rnf DescribeAffectedEntitiesForOrganization' {..} =+    Prelude.rnf locale+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf organizationEntityFilters++instance+  Data.ToHeaders+    DescribeAffectedEntitiesForOrganization+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeAffectedEntitiesForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    DescribeAffectedEntitiesForOrganization+  where+  toJSON DescribeAffectedEntitiesForOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("locale" Data..=) Prelude.<$> locale,+            ("maxResults" Data..=) Prelude.<$> maxResults,+            ("nextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just+              ( "organizationEntityFilters"+                  Data..= organizationEntityFilters+              )+          ]+      )++instance+  Data.ToPath+    DescribeAffectedEntitiesForOrganization+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    DescribeAffectedEntitiesForOrganization+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeAffectedEntitiesForOrganizationResponse' smart constructor.+data DescribeAffectedEntitiesForOrganizationResponse = DescribeAffectedEntitiesForOrganizationResponse'+  { -- | A JSON set of elements including the @awsAccountId@ and its @entityArn@,+    -- @entityValue@ and its @entityArn@, @lastUpdatedTime@, and @statusCode@.+    entities :: Prelude.Maybe [AffectedEntity],+    -- | A JSON set of elements of the failed response, including the+    -- @awsAccountId@, @errorMessage@, @errorName@, and @eventArn@.+    failedSet :: Prelude.Maybe [OrganizationAffectedEntitiesErrorItem],+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAffectedEntitiesForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'entities', 'describeAffectedEntitiesForOrganizationResponse_entities' - A JSON set of elements including the @awsAccountId@ and its @entityArn@,+-- @entityValue@ and its @entityArn@, @lastUpdatedTime@, and @statusCode@.+--+-- 'failedSet', 'describeAffectedEntitiesForOrganizationResponse_failedSet' - A JSON set of elements of the failed response, including the+-- @awsAccountId@, @errorMessage@, @errorName@, and @eventArn@.+--+-- 'nextToken', 'describeAffectedEntitiesForOrganizationResponse_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'httpStatus', 'describeAffectedEntitiesForOrganizationResponse_httpStatus' - The response's http status code.+newDescribeAffectedEntitiesForOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeAffectedEntitiesForOrganizationResponse+newDescribeAffectedEntitiesForOrganizationResponse+  pHttpStatus_ =+    DescribeAffectedEntitiesForOrganizationResponse'+      { entities =+          Prelude.Nothing,+        failedSet =+          Prelude.Nothing,+        nextToken =+          Prelude.Nothing,+        httpStatus = pHttpStatus_+      }++-- | A JSON set of elements including the @awsAccountId@ and its @entityArn@,+-- @entityValue@ and its @entityArn@, @lastUpdatedTime@, and @statusCode@.+describeAffectedEntitiesForOrganizationResponse_entities :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse (Prelude.Maybe [AffectedEntity])+describeAffectedEntitiesForOrganizationResponse_entities = Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {entities} -> entities) (\s@DescribeAffectedEntitiesForOrganizationResponse' {} a -> s {entities = a} :: DescribeAffectedEntitiesForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | A JSON set of elements of the failed response, including the+-- @awsAccountId@, @errorMessage@, @errorName@, and @eventArn@.+describeAffectedEntitiesForOrganizationResponse_failedSet :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse (Prelude.Maybe [OrganizationAffectedEntitiesErrorItem])+describeAffectedEntitiesForOrganizationResponse_failedSet = Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {failedSet} -> failedSet) (\s@DescribeAffectedEntitiesForOrganizationResponse' {} a -> s {failedSet = a} :: DescribeAffectedEntitiesForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeAffectedEntitiesForOrganizationResponse_nextToken :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse (Prelude.Maybe Prelude.Text)+describeAffectedEntitiesForOrganizationResponse_nextToken = Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {nextToken} -> nextToken) (\s@DescribeAffectedEntitiesForOrganizationResponse' {} a -> s {nextToken = a} :: DescribeAffectedEntitiesForOrganizationResponse)++-- | The response's http status code.+describeAffectedEntitiesForOrganizationResponse_httpStatus :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse Prelude.Int+describeAffectedEntitiesForOrganizationResponse_httpStatus = Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {httpStatus} -> httpStatus) (\s@DescribeAffectedEntitiesForOrganizationResponse' {} a -> s {httpStatus = a} :: DescribeAffectedEntitiesForOrganizationResponse)++instance+  Prelude.NFData+    DescribeAffectedEntitiesForOrganizationResponse+  where+  rnf+    DescribeAffectedEntitiesForOrganizationResponse' {..} =+      Prelude.rnf entities+        `Prelude.seq` Prelude.rnf failedSet+        `Prelude.seq` Prelude.rnf nextToken+        `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeEntityAggregates.hs view
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeEntityAggregates+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the number of entities that are affected by each of the+-- specified events.+module Amazonka.AWSHealth.DescribeEntityAggregates+  ( -- * Creating a Request+    DescribeEntityAggregates (..),+    newDescribeEntityAggregates,++    -- * Request Lenses+    describeEntityAggregates_eventArns,++    -- * Destructuring the Response+    DescribeEntityAggregatesResponse (..),+    newDescribeEntityAggregatesResponse,++    -- * Response Lenses+    describeEntityAggregatesResponse_entityAggregates,+    describeEntityAggregatesResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEntityAggregates' smart constructor.+data DescribeEntityAggregates = DescribeEntityAggregates'+  { -- | A list of event ARNs (unique identifiers). For example:+    -- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+    eventArns :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text)+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEntityAggregates' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventArns', 'describeEntityAggregates_eventArns' - A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+newDescribeEntityAggregates ::+  DescribeEntityAggregates+newDescribeEntityAggregates =+  DescribeEntityAggregates'+    { eventArns =+        Prelude.Nothing+    }++-- | A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+describeEntityAggregates_eventArns :: Lens.Lens' DescribeEntityAggregates (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+describeEntityAggregates_eventArns = Lens.lens (\DescribeEntityAggregates' {eventArns} -> eventArns) (\s@DescribeEntityAggregates' {} a -> s {eventArns = a} :: DescribeEntityAggregates) Prelude.. Lens.mapping Lens.coerced++instance Core.AWSRequest DescribeEntityAggregates where+  type+    AWSResponse DescribeEntityAggregates =+      DescribeEntityAggregatesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEntityAggregatesResponse'+            Prelude.<$> ( x+                            Data..?> "entityAggregates"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeEntityAggregates where+  hashWithSalt _salt DescribeEntityAggregates' {..} =+    _salt `Prelude.hashWithSalt` eventArns++instance Prelude.NFData DescribeEntityAggregates where+  rnf DescribeEntityAggregates' {..} =+    Prelude.rnf eventArns++instance Data.ToHeaders DescribeEntityAggregates where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeEntityAggregates" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeEntityAggregates where+  toJSON DescribeEntityAggregates' {..} =+    Data.object+      ( Prelude.catMaybes+          [("eventArns" Data..=) Prelude.<$> eventArns]+      )++instance Data.ToPath DescribeEntityAggregates where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeEntityAggregates where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEntityAggregatesResponse' smart constructor.+data DescribeEntityAggregatesResponse = DescribeEntityAggregatesResponse'+  { -- | The number of entities that are affected by each of the specified+    -- events.+    entityAggregates :: Prelude.Maybe [EntityAggregate],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEntityAggregatesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'entityAggregates', 'describeEntityAggregatesResponse_entityAggregates' - The number of entities that are affected by each of the specified+-- events.+--+-- 'httpStatus', 'describeEntityAggregatesResponse_httpStatus' - The response's http status code.+newDescribeEntityAggregatesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEntityAggregatesResponse+newDescribeEntityAggregatesResponse pHttpStatus_ =+  DescribeEntityAggregatesResponse'+    { entityAggregates =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The number of entities that are affected by each of the specified+-- events.+describeEntityAggregatesResponse_entityAggregates :: Lens.Lens' DescribeEntityAggregatesResponse (Prelude.Maybe [EntityAggregate])+describeEntityAggregatesResponse_entityAggregates = Lens.lens (\DescribeEntityAggregatesResponse' {entityAggregates} -> entityAggregates) (\s@DescribeEntityAggregatesResponse' {} a -> s {entityAggregates = a} :: DescribeEntityAggregatesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeEntityAggregatesResponse_httpStatus :: Lens.Lens' DescribeEntityAggregatesResponse Prelude.Int+describeEntityAggregatesResponse_httpStatus = Lens.lens (\DescribeEntityAggregatesResponse' {httpStatus} -> httpStatus) (\s@DescribeEntityAggregatesResponse' {} a -> s {httpStatus = a} :: DescribeEntityAggregatesResponse)++instance+  Prelude.NFData+    DescribeEntityAggregatesResponse+  where+  rnf DescribeEntityAggregatesResponse' {..} =+    Prelude.rnf entityAggregates+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeEventAggregates.hs view
@@ -0,0 +1,290 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeEventAggregates+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the number of events of each event type (issue, scheduled+-- change, and account notification). If no filter is specified, the counts+-- of all events in each category are returned.+--+-- This API operation uses pagination. Specify the @nextToken@ parameter in+-- the next request to return more results.+--+-- This operation returns paginated results.+module Amazonka.AWSHealth.DescribeEventAggregates+  ( -- * Creating a Request+    DescribeEventAggregates (..),+    newDescribeEventAggregates,++    -- * Request Lenses+    describeEventAggregates_filter,+    describeEventAggregates_maxResults,+    describeEventAggregates_nextToken,+    describeEventAggregates_aggregateField,++    -- * Destructuring the Response+    DescribeEventAggregatesResponse (..),+    newDescribeEventAggregatesResponse,++    -- * Response Lenses+    describeEventAggregatesResponse_eventAggregates,+    describeEventAggregatesResponse_nextToken,+    describeEventAggregatesResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEventAggregates' smart constructor.+data DescribeEventAggregates = DescribeEventAggregates'+  { -- | Values to narrow the results returned.+    filter' :: Prelude.Maybe EventFilter,+    -- | The maximum number of items to return in one batch, between 10 and 100,+    -- inclusive.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The only currently supported value is @eventTypeCategory@.+    aggregateField :: EventAggregateField+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventAggregates' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filter'', 'describeEventAggregates_filter' - Values to narrow the results returned.+--+-- 'maxResults', 'describeEventAggregates_maxResults' - The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+--+-- 'nextToken', 'describeEventAggregates_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'aggregateField', 'describeEventAggregates_aggregateField' - The only currently supported value is @eventTypeCategory@.+newDescribeEventAggregates ::+  -- | 'aggregateField'+  EventAggregateField ->+  DescribeEventAggregates+newDescribeEventAggregates pAggregateField_ =+  DescribeEventAggregates'+    { filter' = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      aggregateField = pAggregateField_+    }++-- | Values to narrow the results returned.+describeEventAggregates_filter :: Lens.Lens' DescribeEventAggregates (Prelude.Maybe EventFilter)+describeEventAggregates_filter = Lens.lens (\DescribeEventAggregates' {filter'} -> filter') (\s@DescribeEventAggregates' {} a -> s {filter' = a} :: DescribeEventAggregates)++-- | The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+describeEventAggregates_maxResults :: Lens.Lens' DescribeEventAggregates (Prelude.Maybe Prelude.Natural)+describeEventAggregates_maxResults = Lens.lens (\DescribeEventAggregates' {maxResults} -> maxResults) (\s@DescribeEventAggregates' {} a -> s {maxResults = a} :: DescribeEventAggregates)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEventAggregates_nextToken :: Lens.Lens' DescribeEventAggregates (Prelude.Maybe Prelude.Text)+describeEventAggregates_nextToken = Lens.lens (\DescribeEventAggregates' {nextToken} -> nextToken) (\s@DescribeEventAggregates' {} a -> s {nextToken = a} :: DescribeEventAggregates)++-- | The only currently supported value is @eventTypeCategory@.+describeEventAggregates_aggregateField :: Lens.Lens' DescribeEventAggregates EventAggregateField+describeEventAggregates_aggregateField = Lens.lens (\DescribeEventAggregates' {aggregateField} -> aggregateField) (\s@DescribeEventAggregates' {} a -> s {aggregateField = a} :: DescribeEventAggregates)++instance Core.AWSPager DescribeEventAggregates where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeEventAggregatesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeEventAggregatesResponse_eventAggregates+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeEventAggregates_nextToken+          Lens..~ rs+          Lens.^? describeEventAggregatesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeEventAggregates where+  type+    AWSResponse DescribeEventAggregates =+      DescribeEventAggregatesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEventAggregatesResponse'+            Prelude.<$> ( x+                            Data..?> "eventAggregates"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "nextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeEventAggregates where+  hashWithSalt _salt DescribeEventAggregates' {..} =+    _salt+      `Prelude.hashWithSalt` filter'+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` aggregateField++instance Prelude.NFData DescribeEventAggregates where+  rnf DescribeEventAggregates' {..} =+    Prelude.rnf filter'+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf aggregateField++instance Data.ToHeaders DescribeEventAggregates where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeEventAggregates" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeEventAggregates where+  toJSON DescribeEventAggregates' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("filter" Data..=) Prelude.<$> filter',+            ("maxResults" Data..=) Prelude.<$> maxResults,+            ("nextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just+              ("aggregateField" Data..= aggregateField)+          ]+      )++instance Data.ToPath DescribeEventAggregates where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeEventAggregates where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventAggregatesResponse' smart constructor.+data DescribeEventAggregatesResponse = DescribeEventAggregatesResponse'+  { -- | The number of events in each category that meet the optional filter+    -- criteria.+    eventAggregates :: Prelude.Maybe [EventAggregate],+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventAggregatesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventAggregates', 'describeEventAggregatesResponse_eventAggregates' - The number of events in each category that meet the optional filter+-- criteria.+--+-- 'nextToken', 'describeEventAggregatesResponse_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'httpStatus', 'describeEventAggregatesResponse_httpStatus' - The response's http status code.+newDescribeEventAggregatesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEventAggregatesResponse+newDescribeEventAggregatesResponse pHttpStatus_ =+  DescribeEventAggregatesResponse'+    { eventAggregates =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The number of events in each category that meet the optional filter+-- criteria.+describeEventAggregatesResponse_eventAggregates :: Lens.Lens' DescribeEventAggregatesResponse (Prelude.Maybe [EventAggregate])+describeEventAggregatesResponse_eventAggregates = Lens.lens (\DescribeEventAggregatesResponse' {eventAggregates} -> eventAggregates) (\s@DescribeEventAggregatesResponse' {} a -> s {eventAggregates = a} :: DescribeEventAggregatesResponse) Prelude.. Lens.mapping Lens.coerced++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEventAggregatesResponse_nextToken :: Lens.Lens' DescribeEventAggregatesResponse (Prelude.Maybe Prelude.Text)+describeEventAggregatesResponse_nextToken = Lens.lens (\DescribeEventAggregatesResponse' {nextToken} -> nextToken) (\s@DescribeEventAggregatesResponse' {} a -> s {nextToken = a} :: DescribeEventAggregatesResponse)++-- | The response's http status code.+describeEventAggregatesResponse_httpStatus :: Lens.Lens' DescribeEventAggregatesResponse Prelude.Int+describeEventAggregatesResponse_httpStatus = Lens.lens (\DescribeEventAggregatesResponse' {httpStatus} -> httpStatus) (\s@DescribeEventAggregatesResponse' {} a -> s {httpStatus = a} :: DescribeEventAggregatesResponse)++instance+  Prelude.NFData+    DescribeEventAggregatesResponse+  where+  rnf DescribeEventAggregatesResponse' {..} =+    Prelude.rnf eventAggregates+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeEventDetails.hs view
@@ -0,0 +1,221 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeEventDetails+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns detailed information about one or more specified events.+-- Information includes standard event data (Amazon Web Services Region,+-- service, and so on, as returned by+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html DescribeEvents>),+-- a detailed event description, and possible additional metadata that+-- depends upon the nature of the event. Affected entities are not+-- included. To retrieve the entities, use the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html DescribeAffectedEntities>+-- operation.+--+-- If a specified event can\'t be retrieved, an error message is returned+-- for that event.+--+-- This operation supports resource-level permissions. You can use this+-- operation to allow or deny access to specific Health events. For more+-- information, see+-- <https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions Resource- and action-based conditions>+-- in the /Health User Guide/.+module Amazonka.AWSHealth.DescribeEventDetails+  ( -- * Creating a Request+    DescribeEventDetails (..),+    newDescribeEventDetails,++    -- * Request Lenses+    describeEventDetails_locale,+    describeEventDetails_eventArns,++    -- * Destructuring the Response+    DescribeEventDetailsResponse (..),+    newDescribeEventDetailsResponse,++    -- * Response Lenses+    describeEventDetailsResponse_failedSet,+    describeEventDetailsResponse_successfulSet,+    describeEventDetailsResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEventDetails' smart constructor.+data DescribeEventDetails = DescribeEventDetails'+  { -- | The locale (language) to return information in. English (en) is the+    -- default and the only supported value at this time.+    locale :: Prelude.Maybe Prelude.Text,+    -- | A list of event ARNs (unique identifiers). For example:+    -- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+    eventArns :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventDetails' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'locale', 'describeEventDetails_locale' - The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+--+-- 'eventArns', 'describeEventDetails_eventArns' - A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+newDescribeEventDetails ::+  -- | 'eventArns'+  Prelude.NonEmpty Prelude.Text ->+  DescribeEventDetails+newDescribeEventDetails pEventArns_ =+  DescribeEventDetails'+    { locale = Prelude.Nothing,+      eventArns = Lens.coerced Lens.# pEventArns_+    }++-- | The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+describeEventDetails_locale :: Lens.Lens' DescribeEventDetails (Prelude.Maybe Prelude.Text)+describeEventDetails_locale = Lens.lens (\DescribeEventDetails' {locale} -> locale) (\s@DescribeEventDetails' {} a -> s {locale = a} :: DescribeEventDetails)++-- | A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+describeEventDetails_eventArns :: Lens.Lens' DescribeEventDetails (Prelude.NonEmpty Prelude.Text)+describeEventDetails_eventArns = Lens.lens (\DescribeEventDetails' {eventArns} -> eventArns) (\s@DescribeEventDetails' {} a -> s {eventArns = a} :: DescribeEventDetails) Prelude.. Lens.coerced++instance Core.AWSRequest DescribeEventDetails where+  type+    AWSResponse DescribeEventDetails =+      DescribeEventDetailsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEventDetailsResponse'+            Prelude.<$> (x Data..?> "failedSet" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "successfulSet" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeEventDetails where+  hashWithSalt _salt DescribeEventDetails' {..} =+    _salt+      `Prelude.hashWithSalt` locale+      `Prelude.hashWithSalt` eventArns++instance Prelude.NFData DescribeEventDetails where+  rnf DescribeEventDetails' {..} =+    Prelude.rnf locale+      `Prelude.seq` Prelude.rnf eventArns++instance Data.ToHeaders DescribeEventDetails where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeEventDetails" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeEventDetails where+  toJSON DescribeEventDetails' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("locale" Data..=) Prelude.<$> locale,+            Prelude.Just ("eventArns" Data..= eventArns)+          ]+      )++instance Data.ToPath DescribeEventDetails where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeEventDetails where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventDetailsResponse' smart constructor.+data DescribeEventDetailsResponse = DescribeEventDetailsResponse'+  { -- | Error messages for any events that could not be retrieved.+    failedSet :: Prelude.Maybe [EventDetailsErrorItem],+    -- | Information about the events that could be retrieved.+    successfulSet :: Prelude.Maybe [EventDetails],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventDetailsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failedSet', 'describeEventDetailsResponse_failedSet' - Error messages for any events that could not be retrieved.+--+-- 'successfulSet', 'describeEventDetailsResponse_successfulSet' - Information about the events that could be retrieved.+--+-- 'httpStatus', 'describeEventDetailsResponse_httpStatus' - The response's http status code.+newDescribeEventDetailsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEventDetailsResponse+newDescribeEventDetailsResponse pHttpStatus_ =+  DescribeEventDetailsResponse'+    { failedSet =+        Prelude.Nothing,+      successfulSet = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Error messages for any events that could not be retrieved.+describeEventDetailsResponse_failedSet :: Lens.Lens' DescribeEventDetailsResponse (Prelude.Maybe [EventDetailsErrorItem])+describeEventDetailsResponse_failedSet = Lens.lens (\DescribeEventDetailsResponse' {failedSet} -> failedSet) (\s@DescribeEventDetailsResponse' {} a -> s {failedSet = a} :: DescribeEventDetailsResponse) Prelude.. Lens.mapping Lens.coerced++-- | Information about the events that could be retrieved.+describeEventDetailsResponse_successfulSet :: Lens.Lens' DescribeEventDetailsResponse (Prelude.Maybe [EventDetails])+describeEventDetailsResponse_successfulSet = Lens.lens (\DescribeEventDetailsResponse' {successfulSet} -> successfulSet) (\s@DescribeEventDetailsResponse' {} a -> s {successfulSet = a} :: DescribeEventDetailsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeEventDetailsResponse_httpStatus :: Lens.Lens' DescribeEventDetailsResponse Prelude.Int+describeEventDetailsResponse_httpStatus = Lens.lens (\DescribeEventDetailsResponse' {httpStatus} -> httpStatus) (\s@DescribeEventDetailsResponse' {} a -> s {httpStatus = a} :: DescribeEventDetailsResponse)++instance Prelude.NFData DescribeEventDetailsResponse where+  rnf DescribeEventDetailsResponse' {..} =+    Prelude.rnf failedSet+      `Prelude.seq` Prelude.rnf successfulSet+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeEventDetailsForOrganization.hs view
@@ -0,0 +1,276 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeEventDetailsForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns detailed information about one or more specified events for one+-- or more Amazon Web Services accounts in your organization. This+-- information includes standard event data (such as the Amazon Web+-- Services Region and service), an event description, and (depending on+-- the event) possible metadata. This operation doesn\'t return affected+-- entities, such as the resources related to the event. To return affected+-- entities, use the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html DescribeAffectedEntitiesForOrganization>+-- operation.+--+-- Before you can call this operation, you must first enable Health to work+-- with Organizations. To do this, call the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html EnableHealthServiceAccessForOrganization>+-- operation from your organization\'s management account.+--+-- When you call the @DescribeEventDetailsForOrganization@ operation,+-- specify the @organizationEventDetailFilters@ object in the request.+-- Depending on the Health event type, note the following differences:+--+-- -   To return event details for a public event, you must specify a null+--     value for the @awsAccountId@ parameter. If you specify an account ID+--     for a public event, Health returns an error message because public+--     events aren\'t specific to an account.+--+-- -   To return event details for an event that is specific to an account+--     in your organization, you must specify the @awsAccountId@ parameter+--     in the request. If you don\'t specify an account ID, Health returns+--     an error message because the event is specific to an account in your+--     organization.+--+-- For more information, see+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html Event>.+--+-- This operation doesn\'t support resource-level permissions. You can\'t+-- use this operation to allow or deny access to specific Health events.+-- For more information, see+-- <https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions Resource- and action-based conditions>+-- in the /Health User Guide/.+module Amazonka.AWSHealth.DescribeEventDetailsForOrganization+  ( -- * Creating a Request+    DescribeEventDetailsForOrganization (..),+    newDescribeEventDetailsForOrganization,++    -- * Request Lenses+    describeEventDetailsForOrganization_locale,+    describeEventDetailsForOrganization_organizationEventDetailFilters,++    -- * Destructuring the Response+    DescribeEventDetailsForOrganizationResponse (..),+    newDescribeEventDetailsForOrganizationResponse,++    -- * Response Lenses+    describeEventDetailsForOrganizationResponse_failedSet,+    describeEventDetailsForOrganizationResponse_successfulSet,+    describeEventDetailsForOrganizationResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEventDetailsForOrganization' smart constructor.+data DescribeEventDetailsForOrganization = DescribeEventDetailsForOrganization'+  { -- | The locale (language) to return information in. English (en) is the+    -- default and the only supported value at this time.+    locale :: Prelude.Maybe Prelude.Text,+    -- | A set of JSON elements that includes the @awsAccountId@ and the+    -- @eventArn@.+    organizationEventDetailFilters :: Prelude.NonEmpty EventAccountFilter+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventDetailsForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'locale', 'describeEventDetailsForOrganization_locale' - The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+--+-- 'organizationEventDetailFilters', 'describeEventDetailsForOrganization_organizationEventDetailFilters' - A set of JSON elements that includes the @awsAccountId@ and the+-- @eventArn@.+newDescribeEventDetailsForOrganization ::+  -- | 'organizationEventDetailFilters'+  Prelude.NonEmpty EventAccountFilter ->+  DescribeEventDetailsForOrganization+newDescribeEventDetailsForOrganization+  pOrganizationEventDetailFilters_ =+    DescribeEventDetailsForOrganization'+      { locale =+          Prelude.Nothing,+        organizationEventDetailFilters =+          Lens.coerced+            Lens.# pOrganizationEventDetailFilters_+      }++-- | The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+describeEventDetailsForOrganization_locale :: Lens.Lens' DescribeEventDetailsForOrganization (Prelude.Maybe Prelude.Text)+describeEventDetailsForOrganization_locale = Lens.lens (\DescribeEventDetailsForOrganization' {locale} -> locale) (\s@DescribeEventDetailsForOrganization' {} a -> s {locale = a} :: DescribeEventDetailsForOrganization)++-- | A set of JSON elements that includes the @awsAccountId@ and the+-- @eventArn@.+describeEventDetailsForOrganization_organizationEventDetailFilters :: Lens.Lens' DescribeEventDetailsForOrganization (Prelude.NonEmpty EventAccountFilter)+describeEventDetailsForOrganization_organizationEventDetailFilters = Lens.lens (\DescribeEventDetailsForOrganization' {organizationEventDetailFilters} -> organizationEventDetailFilters) (\s@DescribeEventDetailsForOrganization' {} a -> s {organizationEventDetailFilters = a} :: DescribeEventDetailsForOrganization) Prelude.. Lens.coerced++instance+  Core.AWSRequest+    DescribeEventDetailsForOrganization+  where+  type+    AWSResponse DescribeEventDetailsForOrganization =+      DescribeEventDetailsForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEventDetailsForOrganizationResponse'+            Prelude.<$> (x Data..?> "failedSet" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "successfulSet" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    DescribeEventDetailsForOrganization+  where+  hashWithSalt+    _salt+    DescribeEventDetailsForOrganization' {..} =+      _salt+        `Prelude.hashWithSalt` locale+        `Prelude.hashWithSalt` organizationEventDetailFilters++instance+  Prelude.NFData+    DescribeEventDetailsForOrganization+  where+  rnf DescribeEventDetailsForOrganization' {..} =+    Prelude.rnf locale+      `Prelude.seq` Prelude.rnf organizationEventDetailFilters++instance+  Data.ToHeaders+    DescribeEventDetailsForOrganization+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeEventDetailsForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    DescribeEventDetailsForOrganization+  where+  toJSON DescribeEventDetailsForOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("locale" Data..=) Prelude.<$> locale,+            Prelude.Just+              ( "organizationEventDetailFilters"+                  Data..= organizationEventDetailFilters+              )+          ]+      )++instance+  Data.ToPath+    DescribeEventDetailsForOrganization+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    DescribeEventDetailsForOrganization+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventDetailsForOrganizationResponse' smart constructor.+data DescribeEventDetailsForOrganizationResponse = DescribeEventDetailsForOrganizationResponse'+  { -- | Error messages for any events that could not be retrieved.+    failedSet :: Prelude.Maybe [OrganizationEventDetailsErrorItem],+    -- | Information about the events that could be retrieved.+    successfulSet :: Prelude.Maybe [OrganizationEventDetails],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventDetailsForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failedSet', 'describeEventDetailsForOrganizationResponse_failedSet' - Error messages for any events that could not be retrieved.+--+-- 'successfulSet', 'describeEventDetailsForOrganizationResponse_successfulSet' - Information about the events that could be retrieved.+--+-- 'httpStatus', 'describeEventDetailsForOrganizationResponse_httpStatus' - The response's http status code.+newDescribeEventDetailsForOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEventDetailsForOrganizationResponse+newDescribeEventDetailsForOrganizationResponse+  pHttpStatus_ =+    DescribeEventDetailsForOrganizationResponse'+      { failedSet =+          Prelude.Nothing,+        successfulSet =+          Prelude.Nothing,+        httpStatus = pHttpStatus_+      }++-- | Error messages for any events that could not be retrieved.+describeEventDetailsForOrganizationResponse_failedSet :: Lens.Lens' DescribeEventDetailsForOrganizationResponse (Prelude.Maybe [OrganizationEventDetailsErrorItem])+describeEventDetailsForOrganizationResponse_failedSet = Lens.lens (\DescribeEventDetailsForOrganizationResponse' {failedSet} -> failedSet) (\s@DescribeEventDetailsForOrganizationResponse' {} a -> s {failedSet = a} :: DescribeEventDetailsForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | Information about the events that could be retrieved.+describeEventDetailsForOrganizationResponse_successfulSet :: Lens.Lens' DescribeEventDetailsForOrganizationResponse (Prelude.Maybe [OrganizationEventDetails])+describeEventDetailsForOrganizationResponse_successfulSet = Lens.lens (\DescribeEventDetailsForOrganizationResponse' {successfulSet} -> successfulSet) (\s@DescribeEventDetailsForOrganizationResponse' {} a -> s {successfulSet = a} :: DescribeEventDetailsForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeEventDetailsForOrganizationResponse_httpStatus :: Lens.Lens' DescribeEventDetailsForOrganizationResponse Prelude.Int+describeEventDetailsForOrganizationResponse_httpStatus = Lens.lens (\DescribeEventDetailsForOrganizationResponse' {httpStatus} -> httpStatus) (\s@DescribeEventDetailsForOrganizationResponse' {} a -> s {httpStatus = a} :: DescribeEventDetailsForOrganizationResponse)++instance+  Prelude.NFData+    DescribeEventDetailsForOrganizationResponse+  where+  rnf DescribeEventDetailsForOrganizationResponse' {..} =+    Prelude.rnf failedSet+      `Prelude.seq` Prelude.rnf successfulSet+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeEventTypes.hs view
@@ -0,0 +1,299 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeEventTypes+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the event types that meet the specified filter criteria. You can+-- use this API operation to find information about the Health event, such+-- as the category, Amazon Web Services service, and event code. The+-- metadata for each event appears in the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EventType.html EventType>+-- object.+--+-- If you don\'t specify a filter criteria, the API operation returns all+-- event types, in no particular order.+--+-- This API operation uses pagination. Specify the @nextToken@ parameter in+-- the next request to return more results.+--+-- This operation returns paginated results.+module Amazonka.AWSHealth.DescribeEventTypes+  ( -- * Creating a Request+    DescribeEventTypes (..),+    newDescribeEventTypes,++    -- * Request Lenses+    describeEventTypes_filter,+    describeEventTypes_locale,+    describeEventTypes_maxResults,+    describeEventTypes_nextToken,++    -- * Destructuring the Response+    DescribeEventTypesResponse (..),+    newDescribeEventTypesResponse,++    -- * Response Lenses+    describeEventTypesResponse_eventTypes,+    describeEventTypesResponse_nextToken,+    describeEventTypesResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEventTypes' smart constructor.+data DescribeEventTypes = DescribeEventTypes'+  { -- | Values to narrow the results returned.+    filter' :: Prelude.Maybe EventTypeFilter,+    -- | The locale (language) to return information in. English (en) is the+    -- default and the only supported value at this time.+    locale :: Prelude.Maybe Prelude.Text,+    -- | The maximum number of items to return in one batch, between 10 and 100,+    -- inclusive.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventTypes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filter'', 'describeEventTypes_filter' - Values to narrow the results returned.+--+-- 'locale', 'describeEventTypes_locale' - The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+--+-- 'maxResults', 'describeEventTypes_maxResults' - The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+--+-- 'nextToken', 'describeEventTypes_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+newDescribeEventTypes ::+  DescribeEventTypes+newDescribeEventTypes =+  DescribeEventTypes'+    { filter' = Prelude.Nothing,+      locale = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | Values to narrow the results returned.+describeEventTypes_filter :: Lens.Lens' DescribeEventTypes (Prelude.Maybe EventTypeFilter)+describeEventTypes_filter = Lens.lens (\DescribeEventTypes' {filter'} -> filter') (\s@DescribeEventTypes' {} a -> s {filter' = a} :: DescribeEventTypes)++-- | The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+describeEventTypes_locale :: Lens.Lens' DescribeEventTypes (Prelude.Maybe Prelude.Text)+describeEventTypes_locale = Lens.lens (\DescribeEventTypes' {locale} -> locale) (\s@DescribeEventTypes' {} a -> s {locale = a} :: DescribeEventTypes)++-- | The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+describeEventTypes_maxResults :: Lens.Lens' DescribeEventTypes (Prelude.Maybe Prelude.Natural)+describeEventTypes_maxResults = Lens.lens (\DescribeEventTypes' {maxResults} -> maxResults) (\s@DescribeEventTypes' {} a -> s {maxResults = a} :: DescribeEventTypes)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEventTypes_nextToken :: Lens.Lens' DescribeEventTypes (Prelude.Maybe Prelude.Text)+describeEventTypes_nextToken = Lens.lens (\DescribeEventTypes' {nextToken} -> nextToken) (\s@DescribeEventTypes' {} a -> s {nextToken = a} :: DescribeEventTypes)++instance Core.AWSPager DescribeEventTypes where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeEventTypesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeEventTypesResponse_eventTypes+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeEventTypes_nextToken+          Lens..~ rs+          Lens.^? describeEventTypesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeEventTypes where+  type+    AWSResponse DescribeEventTypes =+      DescribeEventTypesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEventTypesResponse'+            Prelude.<$> (x Data..?> "eventTypes" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "nextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeEventTypes where+  hashWithSalt _salt DescribeEventTypes' {..} =+    _salt+      `Prelude.hashWithSalt` filter'+      `Prelude.hashWithSalt` locale+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData DescribeEventTypes where+  rnf DescribeEventTypes' {..} =+    Prelude.rnf filter'+      `Prelude.seq` Prelude.rnf locale+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders DescribeEventTypes where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeEventTypes" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeEventTypes where+  toJSON DescribeEventTypes' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("filter" Data..=) Prelude.<$> filter',+            ("locale" Data..=) Prelude.<$> locale,+            ("maxResults" Data..=) Prelude.<$> maxResults,+            ("nextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath DescribeEventTypes where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeEventTypes where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventTypesResponse' smart constructor.+data DescribeEventTypesResponse = DescribeEventTypesResponse'+  { -- | A list of event types that match the filter criteria. Event types have a+    -- category (@issue@, @accountNotification@, or @scheduledChange@), a+    -- service (for example, @EC2@, @RDS@, @DATAPIPELINE@, @BILLING@), and a+    -- code (in the format @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+    -- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@).+    eventTypes :: Prelude.Maybe [EventType],+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventTypesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventTypes', 'describeEventTypesResponse_eventTypes' - A list of event types that match the filter criteria. Event types have a+-- category (@issue@, @accountNotification@, or @scheduledChange@), a+-- service (for example, @EC2@, @RDS@, @DATAPIPELINE@, @BILLING@), and a+-- code (in the format @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@).+--+-- 'nextToken', 'describeEventTypesResponse_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'httpStatus', 'describeEventTypesResponse_httpStatus' - The response's http status code.+newDescribeEventTypesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEventTypesResponse+newDescribeEventTypesResponse pHttpStatus_ =+  DescribeEventTypesResponse'+    { eventTypes =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of event types that match the filter criteria. Event types have a+-- category (@issue@, @accountNotification@, or @scheduledChange@), a+-- service (for example, @EC2@, @RDS@, @DATAPIPELINE@, @BILLING@), and a+-- code (in the format @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@).+describeEventTypesResponse_eventTypes :: Lens.Lens' DescribeEventTypesResponse (Prelude.Maybe [EventType])+describeEventTypesResponse_eventTypes = Lens.lens (\DescribeEventTypesResponse' {eventTypes} -> eventTypes) (\s@DescribeEventTypesResponse' {} a -> s {eventTypes = a} :: DescribeEventTypesResponse) Prelude.. Lens.mapping Lens.coerced++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEventTypesResponse_nextToken :: Lens.Lens' DescribeEventTypesResponse (Prelude.Maybe Prelude.Text)+describeEventTypesResponse_nextToken = Lens.lens (\DescribeEventTypesResponse' {nextToken} -> nextToken) (\s@DescribeEventTypesResponse' {} a -> s {nextToken = a} :: DescribeEventTypesResponse)++-- | The response's http status code.+describeEventTypesResponse_httpStatus :: Lens.Lens' DescribeEventTypesResponse Prelude.Int+describeEventTypesResponse_httpStatus = Lens.lens (\DescribeEventTypesResponse' {httpStatus} -> httpStatus) (\s@DescribeEventTypesResponse' {} a -> s {httpStatus = a} :: DescribeEventTypesResponse)++instance Prelude.NFData DescribeEventTypesResponse where+  rnf DescribeEventTypesResponse' {..} =+    Prelude.rnf eventTypes+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeEvents.hs view
@@ -0,0 +1,298 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeEvents+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about events that meet the specified filter+-- criteria. Events are returned in a summary form and do not include the+-- detailed description, any additional metadata that depends on the event+-- type, or any affected resources. To retrieve that information, use the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html DescribeEventDetails>+-- and+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html DescribeAffectedEntities>+-- operations.+--+-- If no filter criteria are specified, all events are returned. Results+-- are sorted by @lastModifiedTime@, starting with the most recent event.+--+-- -   When you call the @DescribeEvents@ operation and specify an entity+--     for the @entityValues@ parameter, Health might return public events+--     that aren\'t specific to that resource. For example, if you call+--     @DescribeEvents@ and specify an ID for an Amazon Elastic Compute+--     Cloud (Amazon EC2) instance, Health might return events that aren\'t+--     specific to that resource or service. To get events that are+--     specific to a service, use the @services@ parameter in the @filter@+--     object. For more information, see+--     <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html Event>.+--+-- -   This API operation uses pagination. Specify the @nextToken@+--     parameter in the next request to return more results.+--+-- This operation returns paginated results.+module Amazonka.AWSHealth.DescribeEvents+  ( -- * Creating a Request+    DescribeEvents (..),+    newDescribeEvents,++    -- * Request Lenses+    describeEvents_filter,+    describeEvents_locale,+    describeEvents_maxResults,+    describeEvents_nextToken,++    -- * Destructuring the Response+    DescribeEventsResponse (..),+    newDescribeEventsResponse,++    -- * Response Lenses+    describeEventsResponse_events,+    describeEventsResponse_nextToken,+    describeEventsResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEvents' smart constructor.+data DescribeEvents = DescribeEvents'+  { -- | Values to narrow the results returned.+    filter' :: Prelude.Maybe EventFilter,+    -- | The locale (language) to return information in. English (en) is the+    -- default and the only supported value at this time.+    locale :: Prelude.Maybe Prelude.Text,+    -- | The maximum number of items to return in one batch, between 10 and 100,+    -- inclusive.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEvents' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filter'', 'describeEvents_filter' - Values to narrow the results returned.+--+-- 'locale', 'describeEvents_locale' - The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+--+-- 'maxResults', 'describeEvents_maxResults' - The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+--+-- 'nextToken', 'describeEvents_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+newDescribeEvents ::+  DescribeEvents+newDescribeEvents =+  DescribeEvents'+    { filter' = Prelude.Nothing,+      locale = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | Values to narrow the results returned.+describeEvents_filter :: Lens.Lens' DescribeEvents (Prelude.Maybe EventFilter)+describeEvents_filter = Lens.lens (\DescribeEvents' {filter'} -> filter') (\s@DescribeEvents' {} a -> s {filter' = a} :: DescribeEvents)++-- | The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+describeEvents_locale :: Lens.Lens' DescribeEvents (Prelude.Maybe Prelude.Text)+describeEvents_locale = Lens.lens (\DescribeEvents' {locale} -> locale) (\s@DescribeEvents' {} a -> s {locale = a} :: DescribeEvents)++-- | The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+describeEvents_maxResults :: Lens.Lens' DescribeEvents (Prelude.Maybe Prelude.Natural)+describeEvents_maxResults = Lens.lens (\DescribeEvents' {maxResults} -> maxResults) (\s@DescribeEvents' {} a -> s {maxResults = a} :: DescribeEvents)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEvents_nextToken :: Lens.Lens' DescribeEvents (Prelude.Maybe Prelude.Text)+describeEvents_nextToken = Lens.lens (\DescribeEvents' {nextToken} -> nextToken) (\s@DescribeEvents' {} a -> s {nextToken = a} :: DescribeEvents)++instance Core.AWSPager DescribeEvents where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeEventsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeEventsResponse_events+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeEvents_nextToken+          Lens..~ rs+          Lens.^? describeEventsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeEvents where+  type+    AWSResponse DescribeEvents =+      DescribeEventsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEventsResponse'+            Prelude.<$> (x Data..?> "events" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "nextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeEvents where+  hashWithSalt _salt DescribeEvents' {..} =+    _salt+      `Prelude.hashWithSalt` filter'+      `Prelude.hashWithSalt` locale+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData DescribeEvents where+  rnf DescribeEvents' {..} =+    Prelude.rnf filter'+      `Prelude.seq` Prelude.rnf locale+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders DescribeEvents where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeEvents" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeEvents where+  toJSON DescribeEvents' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("filter" Data..=) Prelude.<$> filter',+            ("locale" Data..=) Prelude.<$> locale,+            ("maxResults" Data..=) Prelude.<$> maxResults,+            ("nextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath DescribeEvents where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeEvents where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventsResponse' smart constructor.+data DescribeEventsResponse = DescribeEventsResponse'+  { -- | The events that match the specified filter criteria.+    events :: Prelude.Maybe [Event],+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'events', 'describeEventsResponse_events' - The events that match the specified filter criteria.+--+-- 'nextToken', 'describeEventsResponse_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'httpStatus', 'describeEventsResponse_httpStatus' - The response's http status code.+newDescribeEventsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEventsResponse+newDescribeEventsResponse pHttpStatus_ =+  DescribeEventsResponse'+    { events = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The events that match the specified filter criteria.+describeEventsResponse_events :: Lens.Lens' DescribeEventsResponse (Prelude.Maybe [Event])+describeEventsResponse_events = Lens.lens (\DescribeEventsResponse' {events} -> events) (\s@DescribeEventsResponse' {} a -> s {events = a} :: DescribeEventsResponse) Prelude.. Lens.mapping Lens.coerced++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEventsResponse_nextToken :: Lens.Lens' DescribeEventsResponse (Prelude.Maybe Prelude.Text)+describeEventsResponse_nextToken = Lens.lens (\DescribeEventsResponse' {nextToken} -> nextToken) (\s@DescribeEventsResponse' {} a -> s {nextToken = a} :: DescribeEventsResponse)++-- | The response's http status code.+describeEventsResponse_httpStatus :: Lens.Lens' DescribeEventsResponse Prelude.Int+describeEventsResponse_httpStatus = Lens.lens (\DescribeEventsResponse' {httpStatus} -> httpStatus) (\s@DescribeEventsResponse' {} a -> s {httpStatus = a} :: DescribeEventsResponse)++instance Prelude.NFData DescribeEventsResponse where+  rnf DescribeEventsResponse' {..} =+    Prelude.rnf events+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeEventsForOrganization.hs view
@@ -0,0 +1,312 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeEventsForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about events across your organization in+-- Organizations. You can use the@filters@ parameter to specify the events+-- that you want to return. Events are returned in a summary form and+-- don\'t include the affected accounts, detailed description, any+-- additional metadata that depends on the event type, or any affected+-- resources. To retrieve that information, use the following operations:+--+-- -   <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedAccountsForOrganization.html DescribeAffectedAccountsForOrganization>+--+-- -   <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html DescribeEventDetailsForOrganization>+--+-- -   <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html DescribeAffectedEntitiesForOrganization>+--+-- If you don\'t specify a @filter@, the @DescribeEventsForOrganizations@+-- returns all events across your organization. Results are sorted by+-- @lastModifiedTime@, starting with the most recent event.+--+-- For more information about the different types of Health events, see+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html Event>.+--+-- Before you can call this operation, you must first enable Health to work+-- with Organizations. To do this, call the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html EnableHealthServiceAccessForOrganization>+-- operation from your organization\'s management account.+--+-- This API operation uses pagination. Specify the @nextToken@ parameter in+-- the next request to return more results.+--+-- This operation returns paginated results.+module Amazonka.AWSHealth.DescribeEventsForOrganization+  ( -- * Creating a Request+    DescribeEventsForOrganization (..),+    newDescribeEventsForOrganization,++    -- * Request Lenses+    describeEventsForOrganization_filter,+    describeEventsForOrganization_locale,+    describeEventsForOrganization_maxResults,+    describeEventsForOrganization_nextToken,++    -- * Destructuring the Response+    DescribeEventsForOrganizationResponse (..),+    newDescribeEventsForOrganizationResponse,++    -- * Response Lenses+    describeEventsForOrganizationResponse_events,+    describeEventsForOrganizationResponse_nextToken,+    describeEventsForOrganizationResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEventsForOrganization' smart constructor.+data DescribeEventsForOrganization = DescribeEventsForOrganization'+  { -- | Values to narrow the results returned.+    filter' :: Prelude.Maybe OrganizationEventFilter,+    -- | The locale (language) to return information in. English (en) is the+    -- default and the only supported value at this time.+    locale :: Prelude.Maybe Prelude.Text,+    -- | The maximum number of items to return in one batch, between 10 and 100,+    -- inclusive.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventsForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filter'', 'describeEventsForOrganization_filter' - Values to narrow the results returned.+--+-- 'locale', 'describeEventsForOrganization_locale' - The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+--+-- 'maxResults', 'describeEventsForOrganization_maxResults' - The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+--+-- 'nextToken', 'describeEventsForOrganization_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+newDescribeEventsForOrganization ::+  DescribeEventsForOrganization+newDescribeEventsForOrganization =+  DescribeEventsForOrganization'+    { filter' =+        Prelude.Nothing,+      locale = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | Values to narrow the results returned.+describeEventsForOrganization_filter :: Lens.Lens' DescribeEventsForOrganization (Prelude.Maybe OrganizationEventFilter)+describeEventsForOrganization_filter = Lens.lens (\DescribeEventsForOrganization' {filter'} -> filter') (\s@DescribeEventsForOrganization' {} a -> s {filter' = a} :: DescribeEventsForOrganization)++-- | The locale (language) to return information in. English (en) is the+-- default and the only supported value at this time.+describeEventsForOrganization_locale :: Lens.Lens' DescribeEventsForOrganization (Prelude.Maybe Prelude.Text)+describeEventsForOrganization_locale = Lens.lens (\DescribeEventsForOrganization' {locale} -> locale) (\s@DescribeEventsForOrganization' {} a -> s {locale = a} :: DescribeEventsForOrganization)++-- | The maximum number of items to return in one batch, between 10 and 100,+-- inclusive.+describeEventsForOrganization_maxResults :: Lens.Lens' DescribeEventsForOrganization (Prelude.Maybe Prelude.Natural)+describeEventsForOrganization_maxResults = Lens.lens (\DescribeEventsForOrganization' {maxResults} -> maxResults) (\s@DescribeEventsForOrganization' {} a -> s {maxResults = a} :: DescribeEventsForOrganization)++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEventsForOrganization_nextToken :: Lens.Lens' DescribeEventsForOrganization (Prelude.Maybe Prelude.Text)+describeEventsForOrganization_nextToken = Lens.lens (\DescribeEventsForOrganization' {nextToken} -> nextToken) (\s@DescribeEventsForOrganization' {} a -> s {nextToken = a} :: DescribeEventsForOrganization)++instance Core.AWSPager DescribeEventsForOrganization where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeEventsForOrganizationResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeEventsForOrganizationResponse_events+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeEventsForOrganization_nextToken+          Lens..~ rs+          Lens.^? describeEventsForOrganizationResponse_nextToken+          Prelude.. Lens._Just++instance+  Core.AWSRequest+    DescribeEventsForOrganization+  where+  type+    AWSResponse DescribeEventsForOrganization =+      DescribeEventsForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeEventsForOrganizationResponse'+            Prelude.<$> (x Data..?> "events" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "nextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    DescribeEventsForOrganization+  where+  hashWithSalt _salt DescribeEventsForOrganization' {..} =+    _salt+      `Prelude.hashWithSalt` filter'+      `Prelude.hashWithSalt` locale+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData DescribeEventsForOrganization where+  rnf DescribeEventsForOrganization' {..} =+    Prelude.rnf filter'+      `Prelude.seq` Prelude.rnf locale+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders DescribeEventsForOrganization where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeEventsForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeEventsForOrganization where+  toJSON DescribeEventsForOrganization' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("filter" Data..=) Prelude.<$> filter',+            ("locale" Data..=) Prelude.<$> locale,+            ("maxResults" Data..=) Prelude.<$> maxResults,+            ("nextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath DescribeEventsForOrganization where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeEventsForOrganization where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventsForOrganizationResponse' smart constructor.+data DescribeEventsForOrganizationResponse = DescribeEventsForOrganizationResponse'+  { -- | The events that match the specified filter criteria.+    events :: Prelude.Maybe [OrganizationEvent],+    -- | If the results of a search are large, only a portion of the results are+    -- returned, and a @nextToken@ pagination token is returned in the+    -- response. To retrieve the next batch of results, reissue the search+    -- request and include the returned token. When all results have been+    -- returned, the response does not contain a pagination token value.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventsForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'events', 'describeEventsForOrganizationResponse_events' - The events that match the specified filter criteria.+--+-- 'nextToken', 'describeEventsForOrganizationResponse_nextToken' - If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+--+-- 'httpStatus', 'describeEventsForOrganizationResponse_httpStatus' - The response's http status code.+newDescribeEventsForOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeEventsForOrganizationResponse+newDescribeEventsForOrganizationResponse pHttpStatus_ =+  DescribeEventsForOrganizationResponse'+    { events =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The events that match the specified filter criteria.+describeEventsForOrganizationResponse_events :: Lens.Lens' DescribeEventsForOrganizationResponse (Prelude.Maybe [OrganizationEvent])+describeEventsForOrganizationResponse_events = Lens.lens (\DescribeEventsForOrganizationResponse' {events} -> events) (\s@DescribeEventsForOrganizationResponse' {} a -> s {events = a} :: DescribeEventsForOrganizationResponse) Prelude.. Lens.mapping Lens.coerced++-- | If the results of a search are large, only a portion of the results are+-- returned, and a @nextToken@ pagination token is returned in the+-- response. To retrieve the next batch of results, reissue the search+-- request and include the returned token. When all results have been+-- returned, the response does not contain a pagination token value.+describeEventsForOrganizationResponse_nextToken :: Lens.Lens' DescribeEventsForOrganizationResponse (Prelude.Maybe Prelude.Text)+describeEventsForOrganizationResponse_nextToken = Lens.lens (\DescribeEventsForOrganizationResponse' {nextToken} -> nextToken) (\s@DescribeEventsForOrganizationResponse' {} a -> s {nextToken = a} :: DescribeEventsForOrganizationResponse)++-- | The response's http status code.+describeEventsForOrganizationResponse_httpStatus :: Lens.Lens' DescribeEventsForOrganizationResponse Prelude.Int+describeEventsForOrganizationResponse_httpStatus = Lens.lens (\DescribeEventsForOrganizationResponse' {httpStatus} -> httpStatus) (\s@DescribeEventsForOrganizationResponse' {} a -> s {httpStatus = a} :: DescribeEventsForOrganizationResponse)++instance+  Prelude.NFData+    DescribeEventsForOrganizationResponse+  where+  rnf DescribeEventsForOrganizationResponse' {..} =+    Prelude.rnf events+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DescribeHealthServiceStatusForOrganization.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This operation provides status information on enabling or disabling+-- Health to work with your organization. To call this operation, you must+-- sign in as an IAM user, assume an IAM role, or sign in as the root user+-- (not recommended) in the organization\'s management account.+module Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization+  ( -- * Creating a Request+    DescribeHealthServiceStatusForOrganization (..),+    newDescribeHealthServiceStatusForOrganization,++    -- * Destructuring the Response+    DescribeHealthServiceStatusForOrganizationResponse (..),+    newDescribeHealthServiceStatusForOrganizationResponse,++    -- * Response Lenses+    describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization,+    describeHealthServiceStatusForOrganizationResponse_httpStatus,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeHealthServiceStatusForOrganization' smart constructor.+data DescribeHealthServiceStatusForOrganization = DescribeHealthServiceStatusForOrganization'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeHealthServiceStatusForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDescribeHealthServiceStatusForOrganization ::+  DescribeHealthServiceStatusForOrganization+newDescribeHealthServiceStatusForOrganization =+  DescribeHealthServiceStatusForOrganization'++instance+  Core.AWSRequest+    DescribeHealthServiceStatusForOrganization+  where+  type+    AWSResponse+      DescribeHealthServiceStatusForOrganization =+      DescribeHealthServiceStatusForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeHealthServiceStatusForOrganizationResponse'+            Prelude.<$> ( x+                            Data..?> "healthServiceAccessStatusForOrganization"+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    DescribeHealthServiceStatusForOrganization+  where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance+  Prelude.NFData+    DescribeHealthServiceStatusForOrganization+  where+  rnf _ = ()++instance+  Data.ToHeaders+    DescribeHealthServiceStatusForOrganization+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DescribeHealthServiceStatusForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    DescribeHealthServiceStatusForOrganization+  where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance+  Data.ToPath+    DescribeHealthServiceStatusForOrganization+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    DescribeHealthServiceStatusForOrganization+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeHealthServiceStatusForOrganizationResponse' smart constructor.+data DescribeHealthServiceStatusForOrganizationResponse = DescribeHealthServiceStatusForOrganizationResponse'+  { -- | Information about the status of enabling or disabling the Health+    -- organizational view feature in your organization.+    --+    -- Valid values are @ENABLED | DISABLED | PENDING@.+    healthServiceAccessStatusForOrganization :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeHealthServiceStatusForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'healthServiceAccessStatusForOrganization', 'describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization' - Information about the status of enabling or disabling the Health+-- organizational view feature in your organization.+--+-- Valid values are @ENABLED | DISABLED | PENDING@.+--+-- 'httpStatus', 'describeHealthServiceStatusForOrganizationResponse_httpStatus' - The response's http status code.+newDescribeHealthServiceStatusForOrganizationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeHealthServiceStatusForOrganizationResponse+newDescribeHealthServiceStatusForOrganizationResponse+  pHttpStatus_ =+    DescribeHealthServiceStatusForOrganizationResponse'+      { healthServiceAccessStatusForOrganization =+          Prelude.Nothing,+        httpStatus =+          pHttpStatus_+      }++-- | Information about the status of enabling or disabling the Health+-- organizational view feature in your organization.+--+-- Valid values are @ENABLED | DISABLED | PENDING@.+describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization :: Lens.Lens' DescribeHealthServiceStatusForOrganizationResponse (Prelude.Maybe Prelude.Text)+describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization = Lens.lens (\DescribeHealthServiceStatusForOrganizationResponse' {healthServiceAccessStatusForOrganization} -> healthServiceAccessStatusForOrganization) (\s@DescribeHealthServiceStatusForOrganizationResponse' {} a -> s {healthServiceAccessStatusForOrganization = a} :: DescribeHealthServiceStatusForOrganizationResponse)++-- | The response's http status code.+describeHealthServiceStatusForOrganizationResponse_httpStatus :: Lens.Lens' DescribeHealthServiceStatusForOrganizationResponse Prelude.Int+describeHealthServiceStatusForOrganizationResponse_httpStatus = Lens.lens (\DescribeHealthServiceStatusForOrganizationResponse' {httpStatus} -> httpStatus) (\s@DescribeHealthServiceStatusForOrganizationResponse' {} a -> s {httpStatus = a} :: DescribeHealthServiceStatusForOrganizationResponse)++instance+  Prelude.NFData+    DescribeHealthServiceStatusForOrganizationResponse+  where+  rnf+    DescribeHealthServiceStatusForOrganizationResponse' {..} =+      Prelude.rnf+        healthServiceAccessStatusForOrganization+        `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AWSHealth/DisableHealthServiceAccessForOrganization.hs view
@@ -0,0 +1,161 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disables Health from working with Organizations. To call this operation,+-- you must sign in as an Identity and Access Management (IAM) user, assume+-- an IAM role, or sign in as the root user (not recommended) in the+-- organization\'s management account. For more information, see+-- <https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html Aggregating Health events>+-- in the /Health User Guide/.+--+-- This operation doesn\'t remove the service-linked role from the+-- management account in your organization. You must use the IAM console,+-- API, or Command Line Interface (CLI) to remove the service-linked role.+-- For more information, see+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role Deleting a Service-Linked Role>+-- in the /IAM User Guide/.+--+-- You can also disable the organizational feature by using the+-- Organizations+-- <https://docs.aws.amazon.com/organizations/latest/APIReference/API_DisableAWSServiceAccess.html DisableAWSServiceAccess>+-- API operation. After you call this operation, Health stops aggregating+-- events for all other Amazon Web Services accounts in your organization.+-- If you call the Health API operations for organizational view, Health+-- returns an error. Health continues to aggregate health events for your+-- Amazon Web Services account.+module Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization+  ( -- * Creating a Request+    DisableHealthServiceAccessForOrganization (..),+    newDisableHealthServiceAccessForOrganization,++    -- * Destructuring the Response+    DisableHealthServiceAccessForOrganizationResponse (..),+    newDisableHealthServiceAccessForOrganizationResponse,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDisableHealthServiceAccessForOrganization' smart constructor.+data DisableHealthServiceAccessForOrganization = DisableHealthServiceAccessForOrganization'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisableHealthServiceAccessForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDisableHealthServiceAccessForOrganization ::+  DisableHealthServiceAccessForOrganization+newDisableHealthServiceAccessForOrganization =+  DisableHealthServiceAccessForOrganization'++instance+  Core.AWSRequest+    DisableHealthServiceAccessForOrganization+  where+  type+    AWSResponse+      DisableHealthServiceAccessForOrganization =+      DisableHealthServiceAccessForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      DisableHealthServiceAccessForOrganizationResponse'++instance+  Prelude.Hashable+    DisableHealthServiceAccessForOrganization+  where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance+  Prelude.NFData+    DisableHealthServiceAccessForOrganization+  where+  rnf _ = ()++instance+  Data.ToHeaders+    DisableHealthServiceAccessForOrganization+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.DisableHealthServiceAccessForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    DisableHealthServiceAccessForOrganization+  where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance+  Data.ToPath+    DisableHealthServiceAccessForOrganization+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    DisableHealthServiceAccessForOrganization+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDisableHealthServiceAccessForOrganizationResponse' smart constructor.+data DisableHealthServiceAccessForOrganizationResponse = DisableHealthServiceAccessForOrganizationResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisableHealthServiceAccessForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDisableHealthServiceAccessForOrganizationResponse ::+  DisableHealthServiceAccessForOrganizationResponse+newDisableHealthServiceAccessForOrganizationResponse =+  DisableHealthServiceAccessForOrganizationResponse'++instance+  Prelude.NFData+    DisableHealthServiceAccessForOrganizationResponse+  where+  rnf _ = ()
+ gen/Amazonka/AWSHealth/EnableHealthServiceAccessForOrganization.hs view
@@ -0,0 +1,165 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables Health to work with Organizations. You can use the+-- organizational view feature to aggregate events from all Amazon Web+-- Services accounts in your organization in a centralized location.+--+-- This operation also creates a service-linked role for the management+-- account in the organization.+--+-- To call this operation, you must meet the following requirements:+--+-- -   You must have a Business, Enterprise On-Ramp, or Enterprise Support+--     plan from+--     <http://aws.amazon.com/premiumsupport/ Amazon Web Services Support>+--     to use the Health API. If you call the Health API from an Amazon Web+--     Services account that doesn\'t have a Business, Enterprise On-Ramp,+--     or Enterprise Support plan, you receive a+--     @SubscriptionRequiredException@ error.+--+-- -   You must have permission to call this operation from the+--     organization\'s management account. For example IAM policies, see+--     <https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html Health identity-based policy examples>.+--+-- If you don\'t have the required support plan, you can instead use the+-- Health console to enable the organizational view feature. For more+-- information, see+-- <https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html Aggregating Health events>+-- in the /Health User Guide/.+module Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization+  ( -- * Creating a Request+    EnableHealthServiceAccessForOrganization (..),+    newEnableHealthServiceAccessForOrganization,++    -- * Destructuring the Response+    EnableHealthServiceAccessForOrganizationResponse (..),+    newEnableHealthServiceAccessForOrganizationResponse,+  )+where++import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newEnableHealthServiceAccessForOrganization' smart constructor.+data EnableHealthServiceAccessForOrganization = EnableHealthServiceAccessForOrganization'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableHealthServiceAccessForOrganization' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newEnableHealthServiceAccessForOrganization ::+  EnableHealthServiceAccessForOrganization+newEnableHealthServiceAccessForOrganization =+  EnableHealthServiceAccessForOrganization'++instance+  Core.AWSRequest+    EnableHealthServiceAccessForOrganization+  where+  type+    AWSResponse+      EnableHealthServiceAccessForOrganization =+      EnableHealthServiceAccessForOrganizationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull+      EnableHealthServiceAccessForOrganizationResponse'++instance+  Prelude.Hashable+    EnableHealthServiceAccessForOrganization+  where+  hashWithSalt _salt _ =+    _salt `Prelude.hashWithSalt` ()++instance+  Prelude.NFData+    EnableHealthServiceAccessForOrganization+  where+  rnf _ = ()++instance+  Data.ToHeaders+    EnableHealthServiceAccessForOrganization+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSHealth_20160804.EnableHealthServiceAccessForOrganization" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    EnableHealthServiceAccessForOrganization+  where+  toJSON = Prelude.const (Data.Object Prelude.mempty)++instance+  Data.ToPath+    EnableHealthServiceAccessForOrganization+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    EnableHealthServiceAccessForOrganization+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newEnableHealthServiceAccessForOrganizationResponse' smart constructor.+data EnableHealthServiceAccessForOrganizationResponse = EnableHealthServiceAccessForOrganizationResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableHealthServiceAccessForOrganizationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newEnableHealthServiceAccessForOrganizationResponse ::+  EnableHealthServiceAccessForOrganizationResponse+newEnableHealthServiceAccessForOrganizationResponse =+  EnableHealthServiceAccessForOrganizationResponse'++instance+  Prelude.NFData+    EnableHealthServiceAccessForOrganizationResponse+  where+  rnf _ = ()
+ gen/Amazonka/AWSHealth/Lens.hs view
@@ -0,0 +1,270 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Lens+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Lens+  ( -- * Operations++    -- ** DescribeAffectedAccountsForOrganization+    describeAffectedAccountsForOrganization_maxResults,+    describeAffectedAccountsForOrganization_nextToken,+    describeAffectedAccountsForOrganization_eventArn,+    describeAffectedAccountsForOrganizationResponse_affectedAccounts,+    describeAffectedAccountsForOrganizationResponse_eventScopeCode,+    describeAffectedAccountsForOrganizationResponse_nextToken,+    describeAffectedAccountsForOrganizationResponse_httpStatus,++    -- ** DescribeAffectedEntities+    describeAffectedEntities_locale,+    describeAffectedEntities_maxResults,+    describeAffectedEntities_nextToken,+    describeAffectedEntities_filter,+    describeAffectedEntitiesResponse_entities,+    describeAffectedEntitiesResponse_nextToken,+    describeAffectedEntitiesResponse_httpStatus,++    -- ** DescribeAffectedEntitiesForOrganization+    describeAffectedEntitiesForOrganization_locale,+    describeAffectedEntitiesForOrganization_maxResults,+    describeAffectedEntitiesForOrganization_nextToken,+    describeAffectedEntitiesForOrganization_organizationEntityFilters,+    describeAffectedEntitiesForOrganizationResponse_entities,+    describeAffectedEntitiesForOrganizationResponse_failedSet,+    describeAffectedEntitiesForOrganizationResponse_nextToken,+    describeAffectedEntitiesForOrganizationResponse_httpStatus,++    -- ** DescribeEntityAggregates+    describeEntityAggregates_eventArns,+    describeEntityAggregatesResponse_entityAggregates,+    describeEntityAggregatesResponse_httpStatus,++    -- ** DescribeEventAggregates+    describeEventAggregates_filter,+    describeEventAggregates_maxResults,+    describeEventAggregates_nextToken,+    describeEventAggregates_aggregateField,+    describeEventAggregatesResponse_eventAggregates,+    describeEventAggregatesResponse_nextToken,+    describeEventAggregatesResponse_httpStatus,++    -- ** DescribeEventDetails+    describeEventDetails_locale,+    describeEventDetails_eventArns,+    describeEventDetailsResponse_failedSet,+    describeEventDetailsResponse_successfulSet,+    describeEventDetailsResponse_httpStatus,++    -- ** DescribeEventDetailsForOrganization+    describeEventDetailsForOrganization_locale,+    describeEventDetailsForOrganization_organizationEventDetailFilters,+    describeEventDetailsForOrganizationResponse_failedSet,+    describeEventDetailsForOrganizationResponse_successfulSet,+    describeEventDetailsForOrganizationResponse_httpStatus,++    -- ** DescribeEventTypes+    describeEventTypes_filter,+    describeEventTypes_locale,+    describeEventTypes_maxResults,+    describeEventTypes_nextToken,+    describeEventTypesResponse_eventTypes,+    describeEventTypesResponse_nextToken,+    describeEventTypesResponse_httpStatus,++    -- ** DescribeEvents+    describeEvents_filter,+    describeEvents_locale,+    describeEvents_maxResults,+    describeEvents_nextToken,+    describeEventsResponse_events,+    describeEventsResponse_nextToken,+    describeEventsResponse_httpStatus,++    -- ** DescribeEventsForOrganization+    describeEventsForOrganization_filter,+    describeEventsForOrganization_locale,+    describeEventsForOrganization_maxResults,+    describeEventsForOrganization_nextToken,+    describeEventsForOrganizationResponse_events,+    describeEventsForOrganizationResponse_nextToken,+    describeEventsForOrganizationResponse_httpStatus,++    -- ** DescribeHealthServiceStatusForOrganization+    describeHealthServiceStatusForOrganizationResponse_healthServiceAccessStatusForOrganization,+    describeHealthServiceStatusForOrganizationResponse_httpStatus,++    -- ** DisableHealthServiceAccessForOrganization++    -- ** EnableHealthServiceAccessForOrganization++    -- * Types++    -- ** AffectedEntity+    affectedEntity_awsAccountId,+    affectedEntity_entityArn,+    affectedEntity_entityUrl,+    affectedEntity_entityValue,+    affectedEntity_eventArn,+    affectedEntity_lastUpdatedTime,+    affectedEntity_statusCode,+    affectedEntity_tags,++    -- ** DateTimeRange+    dateTimeRange_from,+    dateTimeRange_to,++    -- ** EntityAggregate+    entityAggregate_count,+    entityAggregate_eventArn,++    -- ** EntityFilter+    entityFilter_entityArns,+    entityFilter_entityValues,+    entityFilter_lastUpdatedTimes,+    entityFilter_statusCodes,+    entityFilter_tags,+    entityFilter_eventArns,++    -- ** Event+    event_arn,+    event_availabilityZone,+    event_endTime,+    event_eventScopeCode,+    event_eventTypeCategory,+    event_eventTypeCode,+    event_lastUpdatedTime,+    event_region,+    event_service,+    event_startTime,+    event_statusCode,++    -- ** EventAccountFilter+    eventAccountFilter_awsAccountId,+    eventAccountFilter_eventArn,++    -- ** EventAggregate+    eventAggregate_aggregateValue,+    eventAggregate_count,++    -- ** EventDescription+    eventDescription_latestDescription,++    -- ** EventDetails+    eventDetails_event,+    eventDetails_eventDescription,+    eventDetails_eventMetadata,++    -- ** EventDetailsErrorItem+    eventDetailsErrorItem_errorMessage,+    eventDetailsErrorItem_errorName,+    eventDetailsErrorItem_eventArn,++    -- ** EventFilter+    eventFilter_availabilityZones,+    eventFilter_endTimes,+    eventFilter_entityArns,+    eventFilter_entityValues,+    eventFilter_eventArns,+    eventFilter_eventStatusCodes,+    eventFilter_eventTypeCategories,+    eventFilter_eventTypeCodes,+    eventFilter_lastUpdatedTimes,+    eventFilter_regions,+    eventFilter_services,+    eventFilter_startTimes,+    eventFilter_tags,++    -- ** EventType+    eventType_category,+    eventType_code,+    eventType_service,++    -- ** EventTypeFilter+    eventTypeFilter_eventTypeCategories,+    eventTypeFilter_eventTypeCodes,+    eventTypeFilter_services,++    -- ** OrganizationAffectedEntitiesErrorItem+    organizationAffectedEntitiesErrorItem_awsAccountId,+    organizationAffectedEntitiesErrorItem_errorMessage,+    organizationAffectedEntitiesErrorItem_errorName,+    organizationAffectedEntitiesErrorItem_eventArn,++    -- ** OrganizationEvent+    organizationEvent_arn,+    organizationEvent_endTime,+    organizationEvent_eventScopeCode,+    organizationEvent_eventTypeCategory,+    organizationEvent_eventTypeCode,+    organizationEvent_lastUpdatedTime,+    organizationEvent_region,+    organizationEvent_service,+    organizationEvent_startTime,+    organizationEvent_statusCode,++    -- ** OrganizationEventDetails+    organizationEventDetails_awsAccountId,+    organizationEventDetails_event,+    organizationEventDetails_eventDescription,+    organizationEventDetails_eventMetadata,++    -- ** OrganizationEventDetailsErrorItem+    organizationEventDetailsErrorItem_awsAccountId,+    organizationEventDetailsErrorItem_errorMessage,+    organizationEventDetailsErrorItem_errorName,+    organizationEventDetailsErrorItem_eventArn,++    -- ** OrganizationEventFilter+    organizationEventFilter_awsAccountIds,+    organizationEventFilter_endTime,+    organizationEventFilter_entityArns,+    organizationEventFilter_entityValues,+    organizationEventFilter_eventStatusCodes,+    organizationEventFilter_eventTypeCategories,+    organizationEventFilter_eventTypeCodes,+    organizationEventFilter_lastUpdatedTime,+    organizationEventFilter_regions,+    organizationEventFilter_services,+    organizationEventFilter_startTime,+  )+where++import Amazonka.AWSHealth.DescribeAffectedAccountsForOrganization+import Amazonka.AWSHealth.DescribeAffectedEntities+import Amazonka.AWSHealth.DescribeAffectedEntitiesForOrganization+import Amazonka.AWSHealth.DescribeEntityAggregates+import Amazonka.AWSHealth.DescribeEventAggregates+import Amazonka.AWSHealth.DescribeEventDetails+import Amazonka.AWSHealth.DescribeEventDetailsForOrganization+import Amazonka.AWSHealth.DescribeEventTypes+import Amazonka.AWSHealth.DescribeEvents+import Amazonka.AWSHealth.DescribeEventsForOrganization+import Amazonka.AWSHealth.DescribeHealthServiceStatusForOrganization+import Amazonka.AWSHealth.DisableHealthServiceAccessForOrganization+import Amazonka.AWSHealth.EnableHealthServiceAccessForOrganization+import Amazonka.AWSHealth.Types.AffectedEntity+import Amazonka.AWSHealth.Types.DateTimeRange+import Amazonka.AWSHealth.Types.EntityAggregate+import Amazonka.AWSHealth.Types.EntityFilter+import Amazonka.AWSHealth.Types.Event+import Amazonka.AWSHealth.Types.EventAccountFilter+import Amazonka.AWSHealth.Types.EventAggregate+import Amazonka.AWSHealth.Types.EventDescription+import Amazonka.AWSHealth.Types.EventDetails+import Amazonka.AWSHealth.Types.EventDetailsErrorItem+import Amazonka.AWSHealth.Types.EventFilter+import Amazonka.AWSHealth.Types.EventType+import Amazonka.AWSHealth.Types.EventTypeFilter+import Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem+import Amazonka.AWSHealth.Types.OrganizationEvent+import Amazonka.AWSHealth.Types.OrganizationEventDetails+import Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem+import Amazonka.AWSHealth.Types.OrganizationEventFilter
+ gen/Amazonka/AWSHealth/Types.hs view
@@ -0,0 +1,327 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _ConcurrentModificationException,+    _InvalidPaginationToken,+    _UnsupportedLocale,++    -- * EntityStatusCode+    EntityStatusCode (..),++    -- * EventAggregateField+    EventAggregateField (..),++    -- * EventScopeCode+    EventScopeCode (..),++    -- * EventStatusCode+    EventStatusCode (..),++    -- * EventTypeCategory+    EventTypeCategory (..),++    -- * AffectedEntity+    AffectedEntity (..),+    newAffectedEntity,+    affectedEntity_awsAccountId,+    affectedEntity_entityArn,+    affectedEntity_entityUrl,+    affectedEntity_entityValue,+    affectedEntity_eventArn,+    affectedEntity_lastUpdatedTime,+    affectedEntity_statusCode,+    affectedEntity_tags,++    -- * DateTimeRange+    DateTimeRange (..),+    newDateTimeRange,+    dateTimeRange_from,+    dateTimeRange_to,++    -- * EntityAggregate+    EntityAggregate (..),+    newEntityAggregate,+    entityAggregate_count,+    entityAggregate_eventArn,++    -- * EntityFilter+    EntityFilter (..),+    newEntityFilter,+    entityFilter_entityArns,+    entityFilter_entityValues,+    entityFilter_lastUpdatedTimes,+    entityFilter_statusCodes,+    entityFilter_tags,+    entityFilter_eventArns,++    -- * Event+    Event (..),+    newEvent,+    event_arn,+    event_availabilityZone,+    event_endTime,+    event_eventScopeCode,+    event_eventTypeCategory,+    event_eventTypeCode,+    event_lastUpdatedTime,+    event_region,+    event_service,+    event_startTime,+    event_statusCode,++    -- * EventAccountFilter+    EventAccountFilter (..),+    newEventAccountFilter,+    eventAccountFilter_awsAccountId,+    eventAccountFilter_eventArn,++    -- * EventAggregate+    EventAggregate (..),+    newEventAggregate,+    eventAggregate_aggregateValue,+    eventAggregate_count,++    -- * EventDescription+    EventDescription (..),+    newEventDescription,+    eventDescription_latestDescription,++    -- * EventDetails+    EventDetails (..),+    newEventDetails,+    eventDetails_event,+    eventDetails_eventDescription,+    eventDetails_eventMetadata,++    -- * EventDetailsErrorItem+    EventDetailsErrorItem (..),+    newEventDetailsErrorItem,+    eventDetailsErrorItem_errorMessage,+    eventDetailsErrorItem_errorName,+    eventDetailsErrorItem_eventArn,++    -- * EventFilter+    EventFilter (..),+    newEventFilter,+    eventFilter_availabilityZones,+    eventFilter_endTimes,+    eventFilter_entityArns,+    eventFilter_entityValues,+    eventFilter_eventArns,+    eventFilter_eventStatusCodes,+    eventFilter_eventTypeCategories,+    eventFilter_eventTypeCodes,+    eventFilter_lastUpdatedTimes,+    eventFilter_regions,+    eventFilter_services,+    eventFilter_startTimes,+    eventFilter_tags,++    -- * EventType+    EventType (..),+    newEventType,+    eventType_category,+    eventType_code,+    eventType_service,++    -- * EventTypeFilter+    EventTypeFilter (..),+    newEventTypeFilter,+    eventTypeFilter_eventTypeCategories,+    eventTypeFilter_eventTypeCodes,+    eventTypeFilter_services,++    -- * OrganizationAffectedEntitiesErrorItem+    OrganizationAffectedEntitiesErrorItem (..),+    newOrganizationAffectedEntitiesErrorItem,+    organizationAffectedEntitiesErrorItem_awsAccountId,+    organizationAffectedEntitiesErrorItem_errorMessage,+    organizationAffectedEntitiesErrorItem_errorName,+    organizationAffectedEntitiesErrorItem_eventArn,++    -- * OrganizationEvent+    OrganizationEvent (..),+    newOrganizationEvent,+    organizationEvent_arn,+    organizationEvent_endTime,+    organizationEvent_eventScopeCode,+    organizationEvent_eventTypeCategory,+    organizationEvent_eventTypeCode,+    organizationEvent_lastUpdatedTime,+    organizationEvent_region,+    organizationEvent_service,+    organizationEvent_startTime,+    organizationEvent_statusCode,++    -- * OrganizationEventDetails+    OrganizationEventDetails (..),+    newOrganizationEventDetails,+    organizationEventDetails_awsAccountId,+    organizationEventDetails_event,+    organizationEventDetails_eventDescription,+    organizationEventDetails_eventMetadata,++    -- * OrganizationEventDetailsErrorItem+    OrganizationEventDetailsErrorItem (..),+    newOrganizationEventDetailsErrorItem,+    organizationEventDetailsErrorItem_awsAccountId,+    organizationEventDetailsErrorItem_errorMessage,+    organizationEventDetailsErrorItem_errorName,+    organizationEventDetailsErrorItem_eventArn,++    -- * OrganizationEventFilter+    OrganizationEventFilter (..),+    newOrganizationEventFilter,+    organizationEventFilter_awsAccountIds,+    organizationEventFilter_endTime,+    organizationEventFilter_entityArns,+    organizationEventFilter_entityValues,+    organizationEventFilter_eventStatusCodes,+    organizationEventFilter_eventTypeCategories,+    organizationEventFilter_eventTypeCodes,+    organizationEventFilter_lastUpdatedTime,+    organizationEventFilter_regions,+    organizationEventFilter_services,+    organizationEventFilter_startTime,+  )+where++import Amazonka.AWSHealth.Types.AffectedEntity+import Amazonka.AWSHealth.Types.DateTimeRange+import Amazonka.AWSHealth.Types.EntityAggregate+import Amazonka.AWSHealth.Types.EntityFilter+import Amazonka.AWSHealth.Types.EntityStatusCode+import Amazonka.AWSHealth.Types.Event+import Amazonka.AWSHealth.Types.EventAccountFilter+import Amazonka.AWSHealth.Types.EventAggregate+import Amazonka.AWSHealth.Types.EventAggregateField+import Amazonka.AWSHealth.Types.EventDescription+import Amazonka.AWSHealth.Types.EventDetails+import Amazonka.AWSHealth.Types.EventDetailsErrorItem+import Amazonka.AWSHealth.Types.EventFilter+import Amazonka.AWSHealth.Types.EventScopeCode+import Amazonka.AWSHealth.Types.EventStatusCode+import Amazonka.AWSHealth.Types.EventType+import Amazonka.AWSHealth.Types.EventTypeCategory+import Amazonka.AWSHealth.Types.EventTypeFilter+import Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem+import Amazonka.AWSHealth.Types.OrganizationEvent+import Amazonka.AWSHealth.Types.OrganizationEventDetails+import Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem+import Amazonka.AWSHealth.Types.OrganizationEventFilter+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2016-08-04@ of the Amazon Health APIs and Notifications SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev = "AWSHealth",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "health",+      Core.signingName = "health",+      Core.version = "2016-08-04",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error = Core.parseJSONError "AWSHealth",+      Core.retry = retry+    }+  where+    retry =+      Core.Exponential+        { Core.base = 5.0e-2,+          Core.growth = 2,+          Core.attempts = 5,+          Core.check = check+        }+    check e+      | Lens.has (Core.hasStatus 502) e =+          Prelude.Just "bad_gateway"+      | Lens.has (Core.hasStatus 504) e =+          Prelude.Just "gateway_timeout"+      | Lens.has (Core.hasStatus 500) e =+          Prelude.Just "general_server_error"+      | Lens.has (Core.hasStatus 509) e =+          Prelude.Just "limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "request_throttled_exception"+      | Lens.has (Core.hasStatus 503) e =+          Prelude.Just "service_unavailable"+      | Lens.has+          ( Core.hasCode "ThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttled_exception"+      | Lens.has+          ( Core.hasCode "Throttling"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling"+      | Lens.has+          ( Core.hasCode "ThrottlingException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling_exception"+      | Lens.has+          ( Core.hasCode+              "ProvisionedThroughputExceededException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throughput_exceeded"+      | Lens.has (Core.hasStatus 429) e =+          Prelude.Just "too_many_requests"+      | Prelude.otherwise = Prelude.Nothing++-- | <https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html EnableHealthServiceAccessForOrganization>+-- is already in progress. Wait for the action to complete before trying+-- again. To get the current status, use the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html DescribeHealthServiceStatusForOrganization>+-- operation.+_ConcurrentModificationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConcurrentModificationException =+  Core._MatchServiceError+    defaultService+    "ConcurrentModificationException"++-- | The specified pagination token (@nextToken@) is not valid.+_InvalidPaginationToken :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidPaginationToken =+  Core._MatchServiceError+    defaultService+    "InvalidPaginationToken"++-- | The specified locale is not supported.+_UnsupportedLocale :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnsupportedLocale =+  Core._MatchServiceError+    defaultService+    "UnsupportedLocale"
+ gen/Amazonka/AWSHealth/Types/AffectedEntity.hs view
@@ -0,0 +1,196 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.AffectedEntity+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.AffectedEntity where++import Amazonka.AWSHealth.Types.EntityStatusCode+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Information about an entity that is affected by a Health event.+--+-- /See:/ 'newAffectedEntity' smart constructor.+data AffectedEntity = AffectedEntity'+  { -- | The 12-digit Amazon Web Services account number that contains the+    -- affected entity.+    awsAccountId :: Prelude.Maybe Prelude.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@+    entityArn :: Prelude.Maybe Prelude.Text,+    -- | The URL of the affected entity.+    entityUrl :: Prelude.Maybe Prelude.Text,+    -- | The ID of the affected entity.+    entityValue :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    eventArn :: Prelude.Maybe Prelude.Text,+    -- | The most recent time that the entity was updated.+    lastUpdatedTime :: Prelude.Maybe Data.POSIX,+    -- | The most recent status of the entity affected by the event. The possible+    -- values are @IMPAIRED@, @UNIMPAIRED@, and @UNKNOWN@.+    statusCode :: Prelude.Maybe EntityStatusCode,+    -- | A map of entity tags attached to the affected entity.+    --+    -- Currently, the @tags@ property isn\'t supported.+    tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AffectedEntity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsAccountId', 'affectedEntity_awsAccountId' - The 12-digit Amazon Web Services account number that contains the+-- affected entity.+--+-- 'entityArn', 'affectedEntity_entityArn' - 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@+--+-- 'entityUrl', 'affectedEntity_entityUrl' - The URL of the affected entity.+--+-- 'entityValue', 'affectedEntity_entityValue' - The ID of the affected entity.+--+-- 'eventArn', 'affectedEntity_eventArn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+--+-- 'lastUpdatedTime', 'affectedEntity_lastUpdatedTime' - The most recent time that the entity was updated.+--+-- 'statusCode', 'affectedEntity_statusCode' - The most recent status of the entity affected by the event. The possible+-- values are @IMPAIRED@, @UNIMPAIRED@, and @UNKNOWN@.+--+-- 'tags', 'affectedEntity_tags' - A map of entity tags attached to the affected entity.+--+-- Currently, the @tags@ property isn\'t supported.+newAffectedEntity ::+  AffectedEntity+newAffectedEntity =+  AffectedEntity'+    { awsAccountId = Prelude.Nothing,+      entityArn = Prelude.Nothing,+      entityUrl = Prelude.Nothing,+      entityValue = Prelude.Nothing,+      eventArn = Prelude.Nothing,+      lastUpdatedTime = Prelude.Nothing,+      statusCode = Prelude.Nothing,+      tags = Prelude.Nothing+    }++-- | The 12-digit Amazon Web Services account number that contains the+-- affected entity.+affectedEntity_awsAccountId :: Lens.Lens' AffectedEntity (Prelude.Maybe Prelude.Text)+affectedEntity_awsAccountId = Lens.lens (\AffectedEntity' {awsAccountId} -> awsAccountId) (\s@AffectedEntity' {} a -> s {awsAccountId = a} :: AffectedEntity)++-- | 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@+affectedEntity_entityArn :: Lens.Lens' AffectedEntity (Prelude.Maybe Prelude.Text)+affectedEntity_entityArn = Lens.lens (\AffectedEntity' {entityArn} -> entityArn) (\s@AffectedEntity' {} a -> s {entityArn = a} :: AffectedEntity)++-- | The URL of the affected entity.+affectedEntity_entityUrl :: Lens.Lens' AffectedEntity (Prelude.Maybe Prelude.Text)+affectedEntity_entityUrl = Lens.lens (\AffectedEntity' {entityUrl} -> entityUrl) (\s@AffectedEntity' {} a -> s {entityUrl = a} :: AffectedEntity)++-- | The ID of the affected entity.+affectedEntity_entityValue :: Lens.Lens' AffectedEntity (Prelude.Maybe Prelude.Text)+affectedEntity_entityValue = Lens.lens (\AffectedEntity' {entityValue} -> entityValue) (\s@AffectedEntity' {} a -> s {entityValue = a} :: AffectedEntity)++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+affectedEntity_eventArn :: Lens.Lens' AffectedEntity (Prelude.Maybe Prelude.Text)+affectedEntity_eventArn = Lens.lens (\AffectedEntity' {eventArn} -> eventArn) (\s@AffectedEntity' {} a -> s {eventArn = a} :: AffectedEntity)++-- | The most recent time that the entity was updated.+affectedEntity_lastUpdatedTime :: Lens.Lens' AffectedEntity (Prelude.Maybe Prelude.UTCTime)+affectedEntity_lastUpdatedTime = Lens.lens (\AffectedEntity' {lastUpdatedTime} -> lastUpdatedTime) (\s@AffectedEntity' {} a -> s {lastUpdatedTime = a} :: AffectedEntity) Prelude.. Lens.mapping Data._Time++-- | The most recent status of the entity affected by the event. The possible+-- values are @IMPAIRED@, @UNIMPAIRED@, and @UNKNOWN@.+affectedEntity_statusCode :: Lens.Lens' AffectedEntity (Prelude.Maybe EntityStatusCode)+affectedEntity_statusCode = Lens.lens (\AffectedEntity' {statusCode} -> statusCode) (\s@AffectedEntity' {} a -> s {statusCode = a} :: AffectedEntity)++-- | A map of entity tags attached to the affected entity.+--+-- Currently, the @tags@ property isn\'t supported.+affectedEntity_tags :: Lens.Lens' AffectedEntity (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+affectedEntity_tags = Lens.lens (\AffectedEntity' {tags} -> tags) (\s@AffectedEntity' {} a -> s {tags = a} :: AffectedEntity) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON AffectedEntity where+  parseJSON =+    Data.withObject+      "AffectedEntity"+      ( \x ->+          AffectedEntity'+            Prelude.<$> (x Data..:? "awsAccountId")+            Prelude.<*> (x Data..:? "entityArn")+            Prelude.<*> (x Data..:? "entityUrl")+            Prelude.<*> (x Data..:? "entityValue")+            Prelude.<*> (x Data..:? "eventArn")+            Prelude.<*> (x Data..:? "lastUpdatedTime")+            Prelude.<*> (x Data..:? "statusCode")+            Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+      )++instance Prelude.Hashable AffectedEntity where+  hashWithSalt _salt AffectedEntity' {..} =+    _salt+      `Prelude.hashWithSalt` awsAccountId+      `Prelude.hashWithSalt` entityArn+      `Prelude.hashWithSalt` entityUrl+      `Prelude.hashWithSalt` entityValue+      `Prelude.hashWithSalt` eventArn+      `Prelude.hashWithSalt` lastUpdatedTime+      `Prelude.hashWithSalt` statusCode+      `Prelude.hashWithSalt` tags++instance Prelude.NFData AffectedEntity where+  rnf AffectedEntity' {..} =+    Prelude.rnf awsAccountId+      `Prelude.seq` Prelude.rnf entityArn+      `Prelude.seq` Prelude.rnf entityUrl+      `Prelude.seq` Prelude.rnf entityValue+      `Prelude.seq` Prelude.rnf eventArn+      `Prelude.seq` Prelude.rnf lastUpdatedTime+      `Prelude.seq` Prelude.rnf statusCode+      `Prelude.seq` Prelude.rnf tags
+ gen/Amazonka/AWSHealth/Types/DateTimeRange.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.DateTimeRange+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.DateTimeRange where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A range of dates and times that is used by the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html EventFilter>+-- and+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html 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:/ 'newDateTimeRange' smart constructor.+data DateTimeRange = DateTimeRange'+  { -- | The starting date and time of a time range.+    from :: Prelude.Maybe Data.POSIX,+    -- | The ending date and time of a time range.+    to :: Prelude.Maybe Data.POSIX+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DateTimeRange' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'from', 'dateTimeRange_from' - The starting date and time of a time range.+--+-- 'to', 'dateTimeRange_to' - The ending date and time of a time range.+newDateTimeRange ::+  DateTimeRange+newDateTimeRange =+  DateTimeRange'+    { from = Prelude.Nothing,+      to = Prelude.Nothing+    }++-- | The starting date and time of a time range.+dateTimeRange_from :: Lens.Lens' DateTimeRange (Prelude.Maybe Prelude.UTCTime)+dateTimeRange_from = Lens.lens (\DateTimeRange' {from} -> from) (\s@DateTimeRange' {} a -> s {from = a} :: DateTimeRange) Prelude.. Lens.mapping Data._Time++-- | The ending date and time of a time range.+dateTimeRange_to :: Lens.Lens' DateTimeRange (Prelude.Maybe Prelude.UTCTime)+dateTimeRange_to = Lens.lens (\DateTimeRange' {to} -> to) (\s@DateTimeRange' {} a -> s {to = a} :: DateTimeRange) Prelude.. Lens.mapping Data._Time++instance Prelude.Hashable DateTimeRange where+  hashWithSalt _salt DateTimeRange' {..} =+    _salt+      `Prelude.hashWithSalt` from+      `Prelude.hashWithSalt` to++instance Prelude.NFData DateTimeRange where+  rnf DateTimeRange' {..} =+    Prelude.rnf from `Prelude.seq` Prelude.rnf to++instance Data.ToJSON DateTimeRange where+  toJSON DateTimeRange' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("from" Data..=) Prelude.<$> from,+            ("to" Data..=) Prelude.<$> to+          ]+      )
+ gen/Amazonka/AWSHealth/Types/EntityAggregate.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EntityAggregate+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EntityAggregate where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The number of entities that are affected by one or more events. Returned+-- by the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEntityAggregates.html DescribeEntityAggregates>+-- operation.+--+-- /See:/ 'newEntityAggregate' smart constructor.+data EntityAggregate = EntityAggregate'+  { -- | The number of entities that match the criteria for the specified events.+    count :: Prelude.Maybe Prelude.Int,+    -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    eventArn :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EntityAggregate' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'count', 'entityAggregate_count' - The number of entities that match the criteria for the specified events.+--+-- 'eventArn', 'entityAggregate_eventArn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+newEntityAggregate ::+  EntityAggregate+newEntityAggregate =+  EntityAggregate'+    { count = Prelude.Nothing,+      eventArn = Prelude.Nothing+    }++-- | The number of entities that match the criteria for the specified events.+entityAggregate_count :: Lens.Lens' EntityAggregate (Prelude.Maybe Prelude.Int)+entityAggregate_count = Lens.lens (\EntityAggregate' {count} -> count) (\s@EntityAggregate' {} a -> s {count = a} :: EntityAggregate)++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+entityAggregate_eventArn :: Lens.Lens' EntityAggregate (Prelude.Maybe Prelude.Text)+entityAggregate_eventArn = Lens.lens (\EntityAggregate' {eventArn} -> eventArn) (\s@EntityAggregate' {} a -> s {eventArn = a} :: EntityAggregate)++instance Data.FromJSON EntityAggregate where+  parseJSON =+    Data.withObject+      "EntityAggregate"+      ( \x ->+          EntityAggregate'+            Prelude.<$> (x Data..:? "count")+            Prelude.<*> (x Data..:? "eventArn")+      )++instance Prelude.Hashable EntityAggregate where+  hashWithSalt _salt EntityAggregate' {..} =+    _salt+      `Prelude.hashWithSalt` count+      `Prelude.hashWithSalt` eventArn++instance Prelude.NFData EntityAggregate where+  rnf EntityAggregate' {..} =+    Prelude.rnf count+      `Prelude.seq` Prelude.rnf eventArn
+ gen/Amazonka/AWSHealth/Types/EntityFilter.hs view
@@ -0,0 +1,147 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EntityFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EntityFilter where++import Amazonka.AWSHealth.Types.DateTimeRange+import Amazonka.AWSHealth.Types.EntityStatusCode+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The values to use to filter results from the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html DescribeAffectedEntities>+-- operation.+--+-- /See:/ 'newEntityFilter' smart constructor.+data EntityFilter = EntityFilter'+  { -- | A list of entity ARNs (unique identifiers).+    entityArns :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of IDs for affected entities.+    entityValues :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of the most recent dates and times that the entity was updated.+    lastUpdatedTimes :: Prelude.Maybe (Prelude.NonEmpty DateTimeRange),+    -- | A list of entity status codes (@IMPAIRED@, @UNIMPAIRED@, or @UNKNOWN@).+    statusCodes :: Prelude.Maybe (Prelude.NonEmpty EntityStatusCode),+    -- | A map of entity tags attached to the affected entity.+    --+    -- Currently, the @tags@ property isn\'t supported.+    tags :: Prelude.Maybe [Prelude.HashMap Prelude.Text Prelude.Text],+    -- | A list of event ARNs (unique identifiers). For example:+    -- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+    eventArns :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EntityFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'entityArns', 'entityFilter_entityArns' - A list of entity ARNs (unique identifiers).+--+-- 'entityValues', 'entityFilter_entityValues' - A list of IDs for affected entities.+--+-- 'lastUpdatedTimes', 'entityFilter_lastUpdatedTimes' - A list of the most recent dates and times that the entity was updated.+--+-- 'statusCodes', 'entityFilter_statusCodes' - A list of entity status codes (@IMPAIRED@, @UNIMPAIRED@, or @UNKNOWN@).+--+-- 'tags', 'entityFilter_tags' - A map of entity tags attached to the affected entity.+--+-- Currently, the @tags@ property isn\'t supported.+--+-- 'eventArns', 'entityFilter_eventArns' - A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+newEntityFilter ::+  -- | 'eventArns'+  Prelude.NonEmpty Prelude.Text ->+  EntityFilter+newEntityFilter pEventArns_ =+  EntityFilter'+    { entityArns = Prelude.Nothing,+      entityValues = Prelude.Nothing,+      lastUpdatedTimes = Prelude.Nothing,+      statusCodes = Prelude.Nothing,+      tags = Prelude.Nothing,+      eventArns = Lens.coerced Lens.# pEventArns_+    }++-- | A list of entity ARNs (unique identifiers).+entityFilter_entityArns :: Lens.Lens' EntityFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+entityFilter_entityArns = Lens.lens (\EntityFilter' {entityArns} -> entityArns) (\s@EntityFilter' {} a -> s {entityArns = a} :: EntityFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of IDs for affected entities.+entityFilter_entityValues :: Lens.Lens' EntityFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+entityFilter_entityValues = Lens.lens (\EntityFilter' {entityValues} -> entityValues) (\s@EntityFilter' {} a -> s {entityValues = a} :: EntityFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of the most recent dates and times that the entity was updated.+entityFilter_lastUpdatedTimes :: Lens.Lens' EntityFilter (Prelude.Maybe (Prelude.NonEmpty DateTimeRange))+entityFilter_lastUpdatedTimes = Lens.lens (\EntityFilter' {lastUpdatedTimes} -> lastUpdatedTimes) (\s@EntityFilter' {} a -> s {lastUpdatedTimes = a} :: EntityFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of entity status codes (@IMPAIRED@, @UNIMPAIRED@, or @UNKNOWN@).+entityFilter_statusCodes :: Lens.Lens' EntityFilter (Prelude.Maybe (Prelude.NonEmpty EntityStatusCode))+entityFilter_statusCodes = Lens.lens (\EntityFilter' {statusCodes} -> statusCodes) (\s@EntityFilter' {} a -> s {statusCodes = a} :: EntityFilter) Prelude.. Lens.mapping Lens.coerced++-- | A map of entity tags attached to the affected entity.+--+-- Currently, the @tags@ property isn\'t supported.+entityFilter_tags :: Lens.Lens' EntityFilter (Prelude.Maybe [Prelude.HashMap Prelude.Text Prelude.Text])+entityFilter_tags = Lens.lens (\EntityFilter' {tags} -> tags) (\s@EntityFilter' {} a -> s {tags = a} :: EntityFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+entityFilter_eventArns :: Lens.Lens' EntityFilter (Prelude.NonEmpty Prelude.Text)+entityFilter_eventArns = Lens.lens (\EntityFilter' {eventArns} -> eventArns) (\s@EntityFilter' {} a -> s {eventArns = a} :: EntityFilter) Prelude.. Lens.coerced++instance Prelude.Hashable EntityFilter where+  hashWithSalt _salt EntityFilter' {..} =+    _salt+      `Prelude.hashWithSalt` entityArns+      `Prelude.hashWithSalt` entityValues+      `Prelude.hashWithSalt` lastUpdatedTimes+      `Prelude.hashWithSalt` statusCodes+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` eventArns++instance Prelude.NFData EntityFilter where+  rnf EntityFilter' {..} =+    Prelude.rnf entityArns+      `Prelude.seq` Prelude.rnf entityValues+      `Prelude.seq` Prelude.rnf lastUpdatedTimes+      `Prelude.seq` Prelude.rnf statusCodes+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf eventArns++instance Data.ToJSON EntityFilter where+  toJSON EntityFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("entityArns" Data..=) Prelude.<$> entityArns,+            ("entityValues" Data..=) Prelude.<$> entityValues,+            ("lastUpdatedTimes" Data..=)+              Prelude.<$> lastUpdatedTimes,+            ("statusCodes" Data..=) Prelude.<$> statusCodes,+            ("tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("eventArns" Data..= eventArns)+          ]+      )
+ gen/Amazonka/AWSHealth/Types/EntityStatusCode.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EntityStatusCode+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EntityStatusCode+  ( EntityStatusCode+      ( ..,+        EntityStatusCode_IMPAIRED,+        EntityStatusCode_UNIMPAIRED,+        EntityStatusCode_UNKNOWN+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EntityStatusCode = EntityStatusCode'+  { fromEntityStatusCode ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern EntityStatusCode_IMPAIRED :: EntityStatusCode+pattern EntityStatusCode_IMPAIRED = EntityStatusCode' "IMPAIRED"++pattern EntityStatusCode_UNIMPAIRED :: EntityStatusCode+pattern EntityStatusCode_UNIMPAIRED = EntityStatusCode' "UNIMPAIRED"++pattern EntityStatusCode_UNKNOWN :: EntityStatusCode+pattern EntityStatusCode_UNKNOWN = EntityStatusCode' "UNKNOWN"++{-# COMPLETE+  EntityStatusCode_IMPAIRED,+  EntityStatusCode_UNIMPAIRED,+  EntityStatusCode_UNKNOWN,+  EntityStatusCode'+  #-}
+ gen/Amazonka/AWSHealth/Types/Event.hs view
@@ -0,0 +1,293 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.Event+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.Event where++import Amazonka.AWSHealth.Types.EventScopeCode+import Amazonka.AWSHealth.Types.EventStatusCode+import Amazonka.AWSHealth.Types.EventTypeCategory+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Summary information about an Health event.+--+-- Health events can be public or account-specific:+--+-- -   /Public events/ might be service events that are not specific to an+--     Amazon Web Services account. For example, if there is an issue with+--     an Amazon Web Services Region, Health provides information about the+--     event, even if you don\'t use services or resources in that Region.+--+-- -   /Account-specific/ events are specific to either your Amazon Web+--     Services account or an account in your organization. For example, if+--     there\'s an issue with Amazon Elastic Compute Cloud in a Region that+--     you use, Health provides information about the event and the+--     affected resources in the account.+--+-- You can determine if an event is public or account-specific by using the+-- @eventScopeCode@ parameter. For more information, see+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode eventScopeCode>.+--+-- /See:/ 'newEvent' smart constructor.+data Event = Event'+  { -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    arn :: Prelude.Maybe Prelude.Text,+    -- | The Amazon Web Services Availability Zone of the event. For example,+    -- us-east-1a.+    availabilityZone :: Prelude.Maybe Prelude.Text,+    -- | The date and time that the event ended.+    endTime :: Prelude.Maybe Data.POSIX,+    -- | This parameter specifies if the Health event is a public Amazon Web+    -- Services service event or an account-specific event.+    --+    -- -   If the @eventScopeCode@ value is @PUBLIC@, then the+    --     @affectedAccounts@ value is always empty.+    --+    -- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+    --     @affectedAccounts@ value lists the affected Amazon Web Services+    --     accounts in your organization. For example, if an event affects a+    --     service such as Amazon Elastic Compute Cloud and you have Amazon Web+    --     Services accounts that use that service, those account IDs appear in+    --     the response.+    --+    -- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+    --     you specified in the request is invalid or doesn\'t exist.+    eventScopeCode :: Prelude.Maybe EventScopeCode,+    -- | A list of event type category codes. Possible values are @issue@,+    -- @accountNotification@, or @scheduledChange@. Currently, the+    -- @investigation@ value isn\'t supported at this time.+    eventTypeCategory :: Prelude.Maybe EventTypeCategory,+    -- | The unique identifier for the event type. The format is+    -- @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+    -- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+    eventTypeCode :: Prelude.Maybe Prelude.Text,+    -- | The most recent date and time that the event was updated.+    lastUpdatedTime :: Prelude.Maybe Data.POSIX,+    -- | The Amazon Web Services Region name of the event.+    region :: Prelude.Maybe Prelude.Text,+    -- | The Amazon Web Services service that is affected by the event. For+    -- example, @EC2@, @RDS@.+    service :: Prelude.Maybe Prelude.Text,+    -- | The date and time that the event began.+    startTime :: Prelude.Maybe Data.POSIX,+    -- | The most recent status of the event. Possible values are @open@,+    -- @closed@, and @upcoming@.+    statusCode :: Prelude.Maybe EventStatusCode+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Event' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'event_arn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+--+-- 'availabilityZone', 'event_availabilityZone' - The Amazon Web Services Availability Zone of the event. For example,+-- us-east-1a.+--+-- 'endTime', 'event_endTime' - The date and time that the event ended.+--+-- 'eventScopeCode', 'event_eventScopeCode' - This parameter specifies if the Health event is a public Amazon Web+-- Services service event or an account-specific event.+--+-- -   If the @eventScopeCode@ value is @PUBLIC@, then the+--     @affectedAccounts@ value is always empty.+--+-- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+--     @affectedAccounts@ value lists the affected Amazon Web Services+--     accounts in your organization. For example, if an event affects a+--     service such as Amazon Elastic Compute Cloud and you have Amazon Web+--     Services accounts that use that service, those account IDs appear in+--     the response.+--+-- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+--     you specified in the request is invalid or doesn\'t exist.+--+-- 'eventTypeCategory', 'event_eventTypeCategory' - A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+--+-- 'eventTypeCode', 'event_eventTypeCode' - The unique identifier for the event type. The format is+-- @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+--+-- 'lastUpdatedTime', 'event_lastUpdatedTime' - The most recent date and time that the event was updated.+--+-- 'region', 'event_region' - The Amazon Web Services Region name of the event.+--+-- 'service', 'event_service' - The Amazon Web Services service that is affected by the event. For+-- example, @EC2@, @RDS@.+--+-- 'startTime', 'event_startTime' - The date and time that the event began.+--+-- 'statusCode', 'event_statusCode' - The most recent status of the event. Possible values are @open@,+-- @closed@, and @upcoming@.+newEvent ::+  Event+newEvent =+  Event'+    { arn = Prelude.Nothing,+      availabilityZone = Prelude.Nothing,+      endTime = Prelude.Nothing,+      eventScopeCode = Prelude.Nothing,+      eventTypeCategory = Prelude.Nothing,+      eventTypeCode = Prelude.Nothing,+      lastUpdatedTime = Prelude.Nothing,+      region = Prelude.Nothing,+      service = Prelude.Nothing,+      startTime = Prelude.Nothing,+      statusCode = Prelude.Nothing+    }++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+event_arn :: Lens.Lens' Event (Prelude.Maybe Prelude.Text)+event_arn = Lens.lens (\Event' {arn} -> arn) (\s@Event' {} a -> s {arn = a} :: Event)++-- | The Amazon Web Services Availability Zone of the event. For example,+-- us-east-1a.+event_availabilityZone :: Lens.Lens' Event (Prelude.Maybe Prelude.Text)+event_availabilityZone = Lens.lens (\Event' {availabilityZone} -> availabilityZone) (\s@Event' {} a -> s {availabilityZone = a} :: Event)++-- | The date and time that the event ended.+event_endTime :: Lens.Lens' Event (Prelude.Maybe Prelude.UTCTime)+event_endTime = Lens.lens (\Event' {endTime} -> endTime) (\s@Event' {} a -> s {endTime = a} :: Event) Prelude.. Lens.mapping Data._Time++-- | This parameter specifies if the Health event is a public Amazon Web+-- Services service event or an account-specific event.+--+-- -   If the @eventScopeCode@ value is @PUBLIC@, then the+--     @affectedAccounts@ value is always empty.+--+-- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+--     @affectedAccounts@ value lists the affected Amazon Web Services+--     accounts in your organization. For example, if an event affects a+--     service such as Amazon Elastic Compute Cloud and you have Amazon Web+--     Services accounts that use that service, those account IDs appear in+--     the response.+--+-- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+--     you specified in the request is invalid or doesn\'t exist.+event_eventScopeCode :: Lens.Lens' Event (Prelude.Maybe EventScopeCode)+event_eventScopeCode = Lens.lens (\Event' {eventScopeCode} -> eventScopeCode) (\s@Event' {} a -> s {eventScopeCode = a} :: Event)++-- | A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+event_eventTypeCategory :: Lens.Lens' Event (Prelude.Maybe EventTypeCategory)+event_eventTypeCategory = Lens.lens (\Event' {eventTypeCategory} -> eventTypeCategory) (\s@Event' {} a -> s {eventTypeCategory = a} :: Event)++-- | The unique identifier for the event type. The format is+-- @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+event_eventTypeCode :: Lens.Lens' Event (Prelude.Maybe Prelude.Text)+event_eventTypeCode = Lens.lens (\Event' {eventTypeCode} -> eventTypeCode) (\s@Event' {} a -> s {eventTypeCode = a} :: Event)++-- | The most recent date and time that the event was updated.+event_lastUpdatedTime :: Lens.Lens' Event (Prelude.Maybe Prelude.UTCTime)+event_lastUpdatedTime = Lens.lens (\Event' {lastUpdatedTime} -> lastUpdatedTime) (\s@Event' {} a -> s {lastUpdatedTime = a} :: Event) Prelude.. Lens.mapping Data._Time++-- | The Amazon Web Services Region name of the event.+event_region :: Lens.Lens' Event (Prelude.Maybe Prelude.Text)+event_region = Lens.lens (\Event' {region} -> region) (\s@Event' {} a -> s {region = a} :: Event)++-- | The Amazon Web Services service that is affected by the event. For+-- example, @EC2@, @RDS@.+event_service :: Lens.Lens' Event (Prelude.Maybe Prelude.Text)+event_service = Lens.lens (\Event' {service} -> service) (\s@Event' {} a -> s {service = a} :: Event)++-- | The date and time that the event began.+event_startTime :: Lens.Lens' Event (Prelude.Maybe Prelude.UTCTime)+event_startTime = Lens.lens (\Event' {startTime} -> startTime) (\s@Event' {} a -> s {startTime = a} :: Event) Prelude.. Lens.mapping Data._Time++-- | The most recent status of the event. Possible values are @open@,+-- @closed@, and @upcoming@.+event_statusCode :: Lens.Lens' Event (Prelude.Maybe EventStatusCode)+event_statusCode = Lens.lens (\Event' {statusCode} -> statusCode) (\s@Event' {} a -> s {statusCode = a} :: Event)++instance Data.FromJSON Event where+  parseJSON =+    Data.withObject+      "Event"+      ( \x ->+          Event'+            Prelude.<$> (x Data..:? "arn")+            Prelude.<*> (x Data..:? "availabilityZone")+            Prelude.<*> (x Data..:? "endTime")+            Prelude.<*> (x Data..:? "eventScopeCode")+            Prelude.<*> (x Data..:? "eventTypeCategory")+            Prelude.<*> (x Data..:? "eventTypeCode")+            Prelude.<*> (x Data..:? "lastUpdatedTime")+            Prelude.<*> (x Data..:? "region")+            Prelude.<*> (x Data..:? "service")+            Prelude.<*> (x Data..:? "startTime")+            Prelude.<*> (x Data..:? "statusCode")+      )++instance Prelude.Hashable Event where+  hashWithSalt _salt Event' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` availabilityZone+      `Prelude.hashWithSalt` endTime+      `Prelude.hashWithSalt` eventScopeCode+      `Prelude.hashWithSalt` eventTypeCategory+      `Prelude.hashWithSalt` eventTypeCode+      `Prelude.hashWithSalt` lastUpdatedTime+      `Prelude.hashWithSalt` region+      `Prelude.hashWithSalt` service+      `Prelude.hashWithSalt` startTime+      `Prelude.hashWithSalt` statusCode++instance Prelude.NFData Event where+  rnf Event' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf availabilityZone+      `Prelude.seq` Prelude.rnf endTime+      `Prelude.seq` Prelude.rnf eventScopeCode+      `Prelude.seq` Prelude.rnf eventTypeCategory+      `Prelude.seq` Prelude.rnf eventTypeCode+      `Prelude.seq` Prelude.rnf lastUpdatedTime+      `Prelude.seq` Prelude.rnf region+      `Prelude.seq` Prelude.rnf service+      `Prelude.seq` Prelude.rnf startTime+      `Prelude.seq` Prelude.rnf statusCode
+ gen/Amazonka/AWSHealth/Types/EventAccountFilter.hs view
@@ -0,0 +1,110 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventAccountFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventAccountFilter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The values used to filter results from the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html DescribeEventDetailsForOrganization>+-- and+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html DescribeAffectedEntitiesForOrganization>+-- operations.+--+-- /See:/ 'newEventAccountFilter' smart constructor.+data EventAccountFilter = EventAccountFilter'+  { -- | The 12-digit Amazon Web Services account numbers that contains the+    -- affected entities.+    awsAccountId :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    eventArn :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventAccountFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsAccountId', 'eventAccountFilter_awsAccountId' - The 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+--+-- 'eventArn', 'eventAccountFilter_eventArn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+newEventAccountFilter ::+  -- | 'eventArn'+  Prelude.Text ->+  EventAccountFilter+newEventAccountFilter pEventArn_ =+  EventAccountFilter'+    { awsAccountId = Prelude.Nothing,+      eventArn = pEventArn_+    }++-- | The 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+eventAccountFilter_awsAccountId :: Lens.Lens' EventAccountFilter (Prelude.Maybe Prelude.Text)+eventAccountFilter_awsAccountId = Lens.lens (\EventAccountFilter' {awsAccountId} -> awsAccountId) (\s@EventAccountFilter' {} a -> s {awsAccountId = a} :: EventAccountFilter)++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+eventAccountFilter_eventArn :: Lens.Lens' EventAccountFilter Prelude.Text+eventAccountFilter_eventArn = Lens.lens (\EventAccountFilter' {eventArn} -> eventArn) (\s@EventAccountFilter' {} a -> s {eventArn = a} :: EventAccountFilter)++instance Prelude.Hashable EventAccountFilter where+  hashWithSalt _salt EventAccountFilter' {..} =+    _salt+      `Prelude.hashWithSalt` awsAccountId+      `Prelude.hashWithSalt` eventArn++instance Prelude.NFData EventAccountFilter where+  rnf EventAccountFilter' {..} =+    Prelude.rnf awsAccountId+      `Prelude.seq` Prelude.rnf eventArn++instance Data.ToJSON EventAccountFilter where+  toJSON EventAccountFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("awsAccountId" Data..=) Prelude.<$> awsAccountId,+            Prelude.Just ("eventArn" Data..= eventArn)+          ]+      )
+ gen/Amazonka/AWSHealth/Types/EventAggregate.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventAggregate+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventAggregate where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The number of events of each issue type. Returned by the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html DescribeEventAggregates>+-- operation.+--+-- /See:/ 'newEventAggregate' smart constructor.+data EventAggregate = EventAggregate'+  { -- | The issue type for the associated count.+    aggregateValue :: Prelude.Maybe Prelude.Text,+    -- | The number of events of the associated issue type.+    count :: Prelude.Maybe Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventAggregate' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'aggregateValue', 'eventAggregate_aggregateValue' - The issue type for the associated count.+--+-- 'count', 'eventAggregate_count' - The number of events of the associated issue type.+newEventAggregate ::+  EventAggregate+newEventAggregate =+  EventAggregate'+    { aggregateValue = Prelude.Nothing,+      count = Prelude.Nothing+    }++-- | The issue type for the associated count.+eventAggregate_aggregateValue :: Lens.Lens' EventAggregate (Prelude.Maybe Prelude.Text)+eventAggregate_aggregateValue = Lens.lens (\EventAggregate' {aggregateValue} -> aggregateValue) (\s@EventAggregate' {} a -> s {aggregateValue = a} :: EventAggregate)++-- | The number of events of the associated issue type.+eventAggregate_count :: Lens.Lens' EventAggregate (Prelude.Maybe Prelude.Int)+eventAggregate_count = Lens.lens (\EventAggregate' {count} -> count) (\s@EventAggregate' {} a -> s {count = a} :: EventAggregate)++instance Data.FromJSON EventAggregate where+  parseJSON =+    Data.withObject+      "EventAggregate"+      ( \x ->+          EventAggregate'+            Prelude.<$> (x Data..:? "aggregateValue")+            Prelude.<*> (x Data..:? "count")+      )++instance Prelude.Hashable EventAggregate where+  hashWithSalt _salt EventAggregate' {..} =+    _salt+      `Prelude.hashWithSalt` aggregateValue+      `Prelude.hashWithSalt` count++instance Prelude.NFData EventAggregate where+  rnf EventAggregate' {..} =+    Prelude.rnf aggregateValue+      `Prelude.seq` Prelude.rnf count
+ gen/Amazonka/AWSHealth/Types/EventAggregateField.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventAggregateField+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventAggregateField+  ( EventAggregateField+      ( ..,+        EventAggregateField_EventTypeCategory+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EventAggregateField = EventAggregateField'+  { fromEventAggregateField ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern EventAggregateField_EventTypeCategory :: EventAggregateField+pattern EventAggregateField_EventTypeCategory = EventAggregateField' "eventTypeCategory"++{-# COMPLETE+  EventAggregateField_EventTypeCategory,+  EventAggregateField'+  #-}
+ gen/Amazonka/AWSHealth/Types/EventDescription.hs view
@@ -0,0 +1,75 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventDescription+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventDescription where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The detailed description of the event. Included in the information+-- returned by the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html DescribeEventDetails>+-- operation.+--+-- /See:/ 'newEventDescription' smart constructor.+data EventDescription = EventDescription'+  { -- | The most recent description of the event.+    latestDescription :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventDescription' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'latestDescription', 'eventDescription_latestDescription' - The most recent description of the event.+newEventDescription ::+  EventDescription+newEventDescription =+  EventDescription'+    { latestDescription =+        Prelude.Nothing+    }++-- | The most recent description of the event.+eventDescription_latestDescription :: Lens.Lens' EventDescription (Prelude.Maybe Prelude.Text)+eventDescription_latestDescription = Lens.lens (\EventDescription' {latestDescription} -> latestDescription) (\s@EventDescription' {} a -> s {latestDescription = a} :: EventDescription)++instance Data.FromJSON EventDescription where+  parseJSON =+    Data.withObject+      "EventDescription"+      ( \x ->+          EventDescription'+            Prelude.<$> (x Data..:? "latestDescription")+      )++instance Prelude.Hashable EventDescription where+  hashWithSalt _salt EventDescription' {..} =+    _salt `Prelude.hashWithSalt` latestDescription++instance Prelude.NFData EventDescription where+  rnf EventDescription' {..} =+    Prelude.rnf latestDescription
+ gen/Amazonka/AWSHealth/Types/EventDetails.hs view
@@ -0,0 +1,104 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventDetails+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventDetails where++import Amazonka.AWSHealth.Types.Event+import Amazonka.AWSHealth.Types.EventDescription+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Detailed information about an event. A combination of an+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html Event>+-- object, an+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EventDescription.html EventDescription>+-- object, and additional metadata about the event. Returned by the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html DescribeEventDetails>+-- operation.+--+-- /See:/ 'newEventDetails' smart constructor.+data EventDetails = EventDetails'+  { -- | Summary information about the event.+    event :: Prelude.Maybe Event,+    -- | The most recent description of the event.+    eventDescription :: Prelude.Maybe EventDescription,+    -- | Additional metadata about the event.+    eventMetadata :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventDetails' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'event', 'eventDetails_event' - Summary information about the event.+--+-- 'eventDescription', 'eventDetails_eventDescription' - The most recent description of the event.+--+-- 'eventMetadata', 'eventDetails_eventMetadata' - Additional metadata about the event.+newEventDetails ::+  EventDetails+newEventDetails =+  EventDetails'+    { event = Prelude.Nothing,+      eventDescription = Prelude.Nothing,+      eventMetadata = Prelude.Nothing+    }++-- | Summary information about the event.+eventDetails_event :: Lens.Lens' EventDetails (Prelude.Maybe Event)+eventDetails_event = Lens.lens (\EventDetails' {event} -> event) (\s@EventDetails' {} a -> s {event = a} :: EventDetails)++-- | The most recent description of the event.+eventDetails_eventDescription :: Lens.Lens' EventDetails (Prelude.Maybe EventDescription)+eventDetails_eventDescription = Lens.lens (\EventDetails' {eventDescription} -> eventDescription) (\s@EventDetails' {} a -> s {eventDescription = a} :: EventDetails)++-- | Additional metadata about the event.+eventDetails_eventMetadata :: Lens.Lens' EventDetails (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+eventDetails_eventMetadata = Lens.lens (\EventDetails' {eventMetadata} -> eventMetadata) (\s@EventDetails' {} a -> s {eventMetadata = a} :: EventDetails) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON EventDetails where+  parseJSON =+    Data.withObject+      "EventDetails"+      ( \x ->+          EventDetails'+            Prelude.<$> (x Data..:? "event")+            Prelude.<*> (x Data..:? "eventDescription")+            Prelude.<*> (x Data..:? "eventMetadata" Data..!= Prelude.mempty)+      )++instance Prelude.Hashable EventDetails where+  hashWithSalt _salt EventDetails' {..} =+    _salt+      `Prelude.hashWithSalt` event+      `Prelude.hashWithSalt` eventDescription+      `Prelude.hashWithSalt` eventMetadata++instance Prelude.NFData EventDetails where+  rnf EventDetails' {..} =+    Prelude.rnf event+      `Prelude.seq` Prelude.rnf eventDescription+      `Prelude.seq` Prelude.rnf eventMetadata
+ gen/Amazonka/AWSHealth/Types/EventDetailsErrorItem.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventDetailsErrorItem+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventDetailsErrorItem where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Error information returned when a+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetails.html DescribeEventDetails>+-- operation can\'t find a specified event.+--+-- /See:/ 'newEventDetailsErrorItem' smart constructor.+data EventDetailsErrorItem = EventDetailsErrorItem'+  { -- | A message that describes the error.+    errorMessage :: Prelude.Maybe Prelude.Text,+    -- | The name of the error.+    errorName :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    eventArn :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventDetailsErrorItem' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorMessage', 'eventDetailsErrorItem_errorMessage' - A message that describes the error.+--+-- 'errorName', 'eventDetailsErrorItem_errorName' - The name of the error.+--+-- 'eventArn', 'eventDetailsErrorItem_eventArn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+newEventDetailsErrorItem ::+  EventDetailsErrorItem+newEventDetailsErrorItem =+  EventDetailsErrorItem'+    { errorMessage =+        Prelude.Nothing,+      errorName = Prelude.Nothing,+      eventArn = Prelude.Nothing+    }++-- | A message that describes the error.+eventDetailsErrorItem_errorMessage :: Lens.Lens' EventDetailsErrorItem (Prelude.Maybe Prelude.Text)+eventDetailsErrorItem_errorMessage = Lens.lens (\EventDetailsErrorItem' {errorMessage} -> errorMessage) (\s@EventDetailsErrorItem' {} a -> s {errorMessage = a} :: EventDetailsErrorItem)++-- | The name of the error.+eventDetailsErrorItem_errorName :: Lens.Lens' EventDetailsErrorItem (Prelude.Maybe Prelude.Text)+eventDetailsErrorItem_errorName = Lens.lens (\EventDetailsErrorItem' {errorName} -> errorName) (\s@EventDetailsErrorItem' {} a -> s {errorName = a} :: EventDetailsErrorItem)++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+eventDetailsErrorItem_eventArn :: Lens.Lens' EventDetailsErrorItem (Prelude.Maybe Prelude.Text)+eventDetailsErrorItem_eventArn = Lens.lens (\EventDetailsErrorItem' {eventArn} -> eventArn) (\s@EventDetailsErrorItem' {} a -> s {eventArn = a} :: EventDetailsErrorItem)++instance Data.FromJSON EventDetailsErrorItem where+  parseJSON =+    Data.withObject+      "EventDetailsErrorItem"+      ( \x ->+          EventDetailsErrorItem'+            Prelude.<$> (x Data..:? "errorMessage")+            Prelude.<*> (x Data..:? "errorName")+            Prelude.<*> (x Data..:? "eventArn")+      )++instance Prelude.Hashable EventDetailsErrorItem where+  hashWithSalt _salt EventDetailsErrorItem' {..} =+    _salt+      `Prelude.hashWithSalt` errorMessage+      `Prelude.hashWithSalt` errorName+      `Prelude.hashWithSalt` eventArn++instance Prelude.NFData EventDetailsErrorItem where+  rnf EventDetailsErrorItem' {..} =+    Prelude.rnf errorMessage+      `Prelude.seq` Prelude.rnf errorName+      `Prelude.seq` Prelude.rnf eventArn
+ gen/Amazonka/AWSHealth/Types/EventFilter.hs view
@@ -0,0 +1,251 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventFilter where++import Amazonka.AWSHealth.Types.DateTimeRange+import Amazonka.AWSHealth.Types.EventStatusCode+import Amazonka.AWSHealth.Types.EventTypeCategory+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The values to use to filter results from the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html DescribeEvents>+-- and+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html DescribeEventAggregates>+-- operations.+--+-- /See:/ 'newEventFilter' smart constructor.+data EventFilter = EventFilter'+  { -- | A list of Amazon Web Services Availability Zones.+    availabilityZones :: Prelude.Maybe [Prelude.Text],+    -- | A list of dates and times that the event ended.+    endTimes :: Prelude.Maybe (Prelude.NonEmpty DateTimeRange),+    -- | A list of entity ARNs (unique identifiers).+    entityArns :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of entity identifiers, such as EC2 instance IDs (@i-34ab692e@) or+    -- EBS volumes (@vol-426ab23e@).+    entityValues :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of event ARNs (unique identifiers). For example:+    -- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+    eventArns :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of event status codes.+    eventStatusCodes :: Prelude.Maybe (Prelude.NonEmpty EventStatusCode),+    -- | A list of event type category codes. Possible values are @issue@,+    -- @accountNotification@, or @scheduledChange@. Currently, the+    -- @investigation@ value isn\'t supported at this time.+    eventTypeCategories :: Prelude.Maybe (Prelude.NonEmpty EventTypeCategory),+    -- | A list of unique identifiers for event types. For example,+    -- @\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".@+    eventTypeCodes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of dates and times that the event was last updated.+    lastUpdatedTimes :: Prelude.Maybe (Prelude.NonEmpty DateTimeRange),+    -- | A list of Amazon Web Services Regions.+    regions :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | The Amazon Web Services services associated with the event. For example,+    -- @EC2@, @RDS@.+    services :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of dates and times that the event began.+    startTimes :: Prelude.Maybe (Prelude.NonEmpty DateTimeRange),+    -- | A map of entity tags attached to the affected entity.+    --+    -- Currently, the @tags@ property isn\'t supported.+    tags :: Prelude.Maybe [Prelude.HashMap Prelude.Text Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'availabilityZones', 'eventFilter_availabilityZones' - A list of Amazon Web Services Availability Zones.+--+-- 'endTimes', 'eventFilter_endTimes' - A list of dates and times that the event ended.+--+-- 'entityArns', 'eventFilter_entityArns' - A list of entity ARNs (unique identifiers).+--+-- 'entityValues', 'eventFilter_entityValues' - A list of entity identifiers, such as EC2 instance IDs (@i-34ab692e@) or+-- EBS volumes (@vol-426ab23e@).+--+-- 'eventArns', 'eventFilter_eventArns' - A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+--+-- 'eventStatusCodes', 'eventFilter_eventStatusCodes' - A list of event status codes.+--+-- 'eventTypeCategories', 'eventFilter_eventTypeCategories' - A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+--+-- 'eventTypeCodes', 'eventFilter_eventTypeCodes' - A list of unique identifiers for event types. For example,+-- @\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".@+--+-- 'lastUpdatedTimes', 'eventFilter_lastUpdatedTimes' - A list of dates and times that the event was last updated.+--+-- 'regions', 'eventFilter_regions' - A list of Amazon Web Services Regions.+--+-- 'services', 'eventFilter_services' - The Amazon Web Services services associated with the event. For example,+-- @EC2@, @RDS@.+--+-- 'startTimes', 'eventFilter_startTimes' - A list of dates and times that the event began.+--+-- 'tags', 'eventFilter_tags' - A map of entity tags attached to the affected entity.+--+-- Currently, the @tags@ property isn\'t supported.+newEventFilter ::+  EventFilter+newEventFilter =+  EventFilter'+    { availabilityZones = Prelude.Nothing,+      endTimes = Prelude.Nothing,+      entityArns = Prelude.Nothing,+      entityValues = Prelude.Nothing,+      eventArns = Prelude.Nothing,+      eventStatusCodes = Prelude.Nothing,+      eventTypeCategories = Prelude.Nothing,+      eventTypeCodes = Prelude.Nothing,+      lastUpdatedTimes = Prelude.Nothing,+      regions = Prelude.Nothing,+      services = Prelude.Nothing,+      startTimes = Prelude.Nothing,+      tags = Prelude.Nothing+    }++-- | A list of Amazon Web Services Availability Zones.+eventFilter_availabilityZones :: Lens.Lens' EventFilter (Prelude.Maybe [Prelude.Text])+eventFilter_availabilityZones = Lens.lens (\EventFilter' {availabilityZones} -> availabilityZones) (\s@EventFilter' {} a -> s {availabilityZones = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of dates and times that the event ended.+eventFilter_endTimes :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty DateTimeRange))+eventFilter_endTimes = Lens.lens (\EventFilter' {endTimes} -> endTimes) (\s@EventFilter' {} a -> s {endTimes = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of entity ARNs (unique identifiers).+eventFilter_entityArns :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventFilter_entityArns = Lens.lens (\EventFilter' {entityArns} -> entityArns) (\s@EventFilter' {} a -> s {entityArns = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of entity identifiers, such as EC2 instance IDs (@i-34ab692e@) or+-- EBS volumes (@vol-426ab23e@).+eventFilter_entityValues :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventFilter_entityValues = Lens.lens (\EventFilter' {entityValues} -> entityValues) (\s@EventFilter' {} a -> s {entityValues = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of event ARNs (unique identifiers). For example:+-- @\"arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456\", \"arn:aws:health:us-west-1::event\/EBS\/AWS_EBS_LOST_VOLUME\/AWS_EBS_LOST_VOLUME_CHI789_JKL101\"@+eventFilter_eventArns :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventFilter_eventArns = Lens.lens (\EventFilter' {eventArns} -> eventArns) (\s@EventFilter' {} a -> s {eventArns = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of event status codes.+eventFilter_eventStatusCodes :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty EventStatusCode))+eventFilter_eventStatusCodes = Lens.lens (\EventFilter' {eventStatusCodes} -> eventStatusCodes) (\s@EventFilter' {} a -> s {eventStatusCodes = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+eventFilter_eventTypeCategories :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty EventTypeCategory))+eventFilter_eventTypeCategories = Lens.lens (\EventFilter' {eventTypeCategories} -> eventTypeCategories) (\s@EventFilter' {} a -> s {eventTypeCategories = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of unique identifiers for event types. For example,+-- @\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".@+eventFilter_eventTypeCodes :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventFilter_eventTypeCodes = Lens.lens (\EventFilter' {eventTypeCodes} -> eventTypeCodes) (\s@EventFilter' {} a -> s {eventTypeCodes = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of dates and times that the event was last updated.+eventFilter_lastUpdatedTimes :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty DateTimeRange))+eventFilter_lastUpdatedTimes = Lens.lens (\EventFilter' {lastUpdatedTimes} -> lastUpdatedTimes) (\s@EventFilter' {} a -> s {lastUpdatedTimes = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of Amazon Web Services Regions.+eventFilter_regions :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventFilter_regions = Lens.lens (\EventFilter' {regions} -> regions) (\s@EventFilter' {} a -> s {regions = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Web Services services associated with the event. For example,+-- @EC2@, @RDS@.+eventFilter_services :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventFilter_services = Lens.lens (\EventFilter' {services} -> services) (\s@EventFilter' {} a -> s {services = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of dates and times that the event began.+eventFilter_startTimes :: Lens.Lens' EventFilter (Prelude.Maybe (Prelude.NonEmpty DateTimeRange))+eventFilter_startTimes = Lens.lens (\EventFilter' {startTimes} -> startTimes) (\s@EventFilter' {} a -> s {startTimes = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A map of entity tags attached to the affected entity.+--+-- Currently, the @tags@ property isn\'t supported.+eventFilter_tags :: Lens.Lens' EventFilter (Prelude.Maybe [Prelude.HashMap Prelude.Text Prelude.Text])+eventFilter_tags = Lens.lens (\EventFilter' {tags} -> tags) (\s@EventFilter' {} a -> s {tags = a} :: EventFilter) Prelude.. Lens.mapping Lens.coerced++instance Prelude.Hashable EventFilter where+  hashWithSalt _salt EventFilter' {..} =+    _salt+      `Prelude.hashWithSalt` availabilityZones+      `Prelude.hashWithSalt` endTimes+      `Prelude.hashWithSalt` entityArns+      `Prelude.hashWithSalt` entityValues+      `Prelude.hashWithSalt` eventArns+      `Prelude.hashWithSalt` eventStatusCodes+      `Prelude.hashWithSalt` eventTypeCategories+      `Prelude.hashWithSalt` eventTypeCodes+      `Prelude.hashWithSalt` lastUpdatedTimes+      `Prelude.hashWithSalt` regions+      `Prelude.hashWithSalt` services+      `Prelude.hashWithSalt` startTimes+      `Prelude.hashWithSalt` tags++instance Prelude.NFData EventFilter where+  rnf EventFilter' {..} =+    Prelude.rnf availabilityZones+      `Prelude.seq` Prelude.rnf endTimes+      `Prelude.seq` Prelude.rnf entityArns+      `Prelude.seq` Prelude.rnf entityValues+      `Prelude.seq` Prelude.rnf eventArns+      `Prelude.seq` Prelude.rnf eventStatusCodes+      `Prelude.seq` Prelude.rnf eventTypeCategories+      `Prelude.seq` Prelude.rnf eventTypeCodes+      `Prelude.seq` Prelude.rnf lastUpdatedTimes+      `Prelude.seq` Prelude.rnf regions+      `Prelude.seq` Prelude.rnf services+      `Prelude.seq` Prelude.rnf startTimes+      `Prelude.seq` Prelude.rnf tags++instance Data.ToJSON EventFilter where+  toJSON EventFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("availabilityZones" Data..=)+              Prelude.<$> availabilityZones,+            ("endTimes" Data..=) Prelude.<$> endTimes,+            ("entityArns" Data..=) Prelude.<$> entityArns,+            ("entityValues" Data..=) Prelude.<$> entityValues,+            ("eventArns" Data..=) Prelude.<$> eventArns,+            ("eventStatusCodes" Data..=)+              Prelude.<$> eventStatusCodes,+            ("eventTypeCategories" Data..=)+              Prelude.<$> eventTypeCategories,+            ("eventTypeCodes" Data..=)+              Prelude.<$> eventTypeCodes,+            ("lastUpdatedTimes" Data..=)+              Prelude.<$> lastUpdatedTimes,+            ("regions" Data..=) Prelude.<$> regions,+            ("services" Data..=) Prelude.<$> services,+            ("startTimes" Data..=) Prelude.<$> startTimes,+            ("tags" Data..=) Prelude.<$> tags+          ]+      )
+ gen/Amazonka/AWSHealth/Types/EventScopeCode.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventScopeCode+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventScopeCode+  ( EventScopeCode+      ( ..,+        EventScopeCode_ACCOUNT_SPECIFIC,+        EventScopeCode_NONE,+        EventScopeCode_PUBLIC+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EventScopeCode = EventScopeCode'+  { fromEventScopeCode ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern EventScopeCode_ACCOUNT_SPECIFIC :: EventScopeCode+pattern EventScopeCode_ACCOUNT_SPECIFIC = EventScopeCode' "ACCOUNT_SPECIFIC"++pattern EventScopeCode_NONE :: EventScopeCode+pattern EventScopeCode_NONE = EventScopeCode' "NONE"++pattern EventScopeCode_PUBLIC :: EventScopeCode+pattern EventScopeCode_PUBLIC = EventScopeCode' "PUBLIC"++{-# COMPLETE+  EventScopeCode_ACCOUNT_SPECIFIC,+  EventScopeCode_NONE,+  EventScopeCode_PUBLIC,+  EventScopeCode'+  #-}
+ gen/Amazonka/AWSHealth/Types/EventStatusCode.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventStatusCode+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventStatusCode+  ( EventStatusCode+      ( ..,+        EventStatusCode_Closed,+        EventStatusCode_Open,+        EventStatusCode_Upcoming+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EventStatusCode = EventStatusCode'+  { fromEventStatusCode ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern EventStatusCode_Closed :: EventStatusCode+pattern EventStatusCode_Closed = EventStatusCode' "closed"++pattern EventStatusCode_Open :: EventStatusCode+pattern EventStatusCode_Open = EventStatusCode' "open"++pattern EventStatusCode_Upcoming :: EventStatusCode+pattern EventStatusCode_Upcoming = EventStatusCode' "upcoming"++{-# COMPLETE+  EventStatusCode_Closed,+  EventStatusCode_Open,+  EventStatusCode_Upcoming,+  EventStatusCode'+  #-}
+ gen/Amazonka/AWSHealth/Types/EventType.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventType where++import Amazonka.AWSHealth.Types.EventTypeCategory+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the metadata about a type of event that is reported by Health.+-- The @EventType@ shows the category, service, and the event type code of+-- the event. For example, an @issue@ might be the category, @EC2@ the+-- service, and @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@ the event type code.+--+-- You can use the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventTypes.html DescribeEventTypes>+-- API operation to return this information about an event.+--+-- You can also use the Amazon CloudWatch Events console to create a rule+-- so that you can get notified or take action when Health delivers a+-- specific event to your Amazon Web Services account. For more+-- information, see+-- <https://docs.aws.amazon.com/health/latest/ug/cloudwatch-events-health.html Monitor for Health events with Amazon CloudWatch Events>+-- in the /Health User Guide/.+--+-- /See:/ 'newEventType' smart constructor.+data EventType = EventType'+  { -- | A list of event type category codes. Possible values are @issue@,+    -- @accountNotification@, or @scheduledChange@. Currently, the+    -- @investigation@ value isn\'t supported at this time.+    category :: Prelude.Maybe EventTypeCategory,+    -- | The unique identifier for the event type. The format is+    -- @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+    -- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+    code :: Prelude.Maybe Prelude.Text,+    -- | The Amazon Web Services service that is affected by the event. For+    -- example, @EC2@, @RDS@.+    service :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventType' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'category', 'eventType_category' - A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+--+-- 'code', 'eventType_code' - The unique identifier for the event type. The format is+-- @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+--+-- 'service', 'eventType_service' - The Amazon Web Services service that is affected by the event. For+-- example, @EC2@, @RDS@.+newEventType ::+  EventType+newEventType =+  EventType'+    { category = Prelude.Nothing,+      code = Prelude.Nothing,+      service = Prelude.Nothing+    }++-- | A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+eventType_category :: Lens.Lens' EventType (Prelude.Maybe EventTypeCategory)+eventType_category = Lens.lens (\EventType' {category} -> category) (\s@EventType' {} a -> s {category = a} :: EventType)++-- | The unique identifier for the event type. The format is+-- @AWS_@/@SERVICE@/@_@/@DESCRIPTION@/@ @; for example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+eventType_code :: Lens.Lens' EventType (Prelude.Maybe Prelude.Text)+eventType_code = Lens.lens (\EventType' {code} -> code) (\s@EventType' {} a -> s {code = a} :: EventType)++-- | The Amazon Web Services service that is affected by the event. For+-- example, @EC2@, @RDS@.+eventType_service :: Lens.Lens' EventType (Prelude.Maybe Prelude.Text)+eventType_service = Lens.lens (\EventType' {service} -> service) (\s@EventType' {} a -> s {service = a} :: EventType)++instance Data.FromJSON EventType where+  parseJSON =+    Data.withObject+      "EventType"+      ( \x ->+          EventType'+            Prelude.<$> (x Data..:? "category")+            Prelude.<*> (x Data..:? "code")+            Prelude.<*> (x Data..:? "service")+      )++instance Prelude.Hashable EventType where+  hashWithSalt _salt EventType' {..} =+    _salt+      `Prelude.hashWithSalt` category+      `Prelude.hashWithSalt` code+      `Prelude.hashWithSalt` service++instance Prelude.NFData EventType where+  rnf EventType' {..} =+    Prelude.rnf category+      `Prelude.seq` Prelude.rnf code+      `Prelude.seq` Prelude.rnf service
+ gen/Amazonka/AWSHealth/Types/EventTypeCategory.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventTypeCategory+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventTypeCategory+  ( EventTypeCategory+      ( ..,+        EventTypeCategory_AccountNotification,+        EventTypeCategory_Investigation,+        EventTypeCategory_Issue,+        EventTypeCategory_ScheduledChange+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EventTypeCategory = EventTypeCategory'+  { fromEventTypeCategory ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern EventTypeCategory_AccountNotification :: EventTypeCategory+pattern EventTypeCategory_AccountNotification = EventTypeCategory' "accountNotification"++pattern EventTypeCategory_Investigation :: EventTypeCategory+pattern EventTypeCategory_Investigation = EventTypeCategory' "investigation"++pattern EventTypeCategory_Issue :: EventTypeCategory+pattern EventTypeCategory_Issue = EventTypeCategory' "issue"++pattern EventTypeCategory_ScheduledChange :: EventTypeCategory+pattern EventTypeCategory_ScheduledChange = EventTypeCategory' "scheduledChange"++{-# COMPLETE+  EventTypeCategory_AccountNotification,+  EventTypeCategory_Investigation,+  EventTypeCategory_Issue,+  EventTypeCategory_ScheduledChange,+  EventTypeCategory'+  #-}
+ gen/Amazonka/AWSHealth/Types/EventTypeFilter.hs view
@@ -0,0 +1,110 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.EventTypeFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.EventTypeFilter where++import Amazonka.AWSHealth.Types.EventTypeCategory+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The values to use to filter results from the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventTypes.html DescribeEventTypes>+-- operation.+--+-- /See:/ 'newEventTypeFilter' smart constructor.+data EventTypeFilter = EventTypeFilter'+  { -- | A list of event type category codes. Possible values are @issue@,+    -- @accountNotification@, or @scheduledChange@. Currently, the+    -- @investigation@ value isn\'t supported at this time.+    eventTypeCategories :: Prelude.Maybe (Prelude.NonEmpty EventTypeCategory),+    -- | A list of event type codes.+    eventTypeCodes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | The Amazon Web Services services associated with the event. For example,+    -- @EC2@, @RDS@.+    services :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text)+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventTypeFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventTypeCategories', 'eventTypeFilter_eventTypeCategories' - A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+--+-- 'eventTypeCodes', 'eventTypeFilter_eventTypeCodes' - A list of event type codes.+--+-- 'services', 'eventTypeFilter_services' - The Amazon Web Services services associated with the event. For example,+-- @EC2@, @RDS@.+newEventTypeFilter ::+  EventTypeFilter+newEventTypeFilter =+  EventTypeFilter'+    { eventTypeCategories =+        Prelude.Nothing,+      eventTypeCodes = Prelude.Nothing,+      services = Prelude.Nothing+    }++-- | A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+eventTypeFilter_eventTypeCategories :: Lens.Lens' EventTypeFilter (Prelude.Maybe (Prelude.NonEmpty EventTypeCategory))+eventTypeFilter_eventTypeCategories = Lens.lens (\EventTypeFilter' {eventTypeCategories} -> eventTypeCategories) (\s@EventTypeFilter' {} a -> s {eventTypeCategories = a} :: EventTypeFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of event type codes.+eventTypeFilter_eventTypeCodes :: Lens.Lens' EventTypeFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventTypeFilter_eventTypeCodes = Lens.lens (\EventTypeFilter' {eventTypeCodes} -> eventTypeCodes) (\s@EventTypeFilter' {} a -> s {eventTypeCodes = a} :: EventTypeFilter) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Web Services services associated with the event. For example,+-- @EC2@, @RDS@.+eventTypeFilter_services :: Lens.Lens' EventTypeFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+eventTypeFilter_services = Lens.lens (\EventTypeFilter' {services} -> services) (\s@EventTypeFilter' {} a -> s {services = a} :: EventTypeFilter) Prelude.. Lens.mapping Lens.coerced++instance Prelude.Hashable EventTypeFilter where+  hashWithSalt _salt EventTypeFilter' {..} =+    _salt+      `Prelude.hashWithSalt` eventTypeCategories+      `Prelude.hashWithSalt` eventTypeCodes+      `Prelude.hashWithSalt` services++instance Prelude.NFData EventTypeFilter where+  rnf EventTypeFilter' {..} =+    Prelude.rnf eventTypeCategories+      `Prelude.seq` Prelude.rnf eventTypeCodes+      `Prelude.seq` Prelude.rnf services++instance Data.ToJSON EventTypeFilter where+  toJSON EventTypeFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("eventTypeCategories" Data..=)+              Prelude.<$> eventTypeCategories,+            ("eventTypeCodes" Data..=)+              Prelude.<$> eventTypeCodes,+            ("services" Data..=) Prelude.<$> services+          ]+      )
+ gen/Amazonka/AWSHealth/Types/OrganizationAffectedEntitiesErrorItem.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.OrganizationAffectedEntitiesErrorItem where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Error information returned when a+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html DescribeAffectedEntitiesForOrganization>+-- operation can\'t find or process a specific entity.+--+-- /See:/ 'newOrganizationAffectedEntitiesErrorItem' smart constructor.+data OrganizationAffectedEntitiesErrorItem = OrganizationAffectedEntitiesErrorItem'+  { -- | The 12-digit Amazon Web Services account numbers that contains the+    -- affected entities.+    awsAccountId :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier for the event type. The format is+    -- @AWS_SERVICE_DESCRIPTION@. For example,+    -- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+    errorMessage :: Prelude.Maybe Prelude.Text,+    -- | The name of the error.+    errorName :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    eventArn :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OrganizationAffectedEntitiesErrorItem' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsAccountId', 'organizationAffectedEntitiesErrorItem_awsAccountId' - The 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+--+-- 'errorMessage', 'organizationAffectedEntitiesErrorItem_errorMessage' - The unique identifier for the event type. The format is+-- @AWS_SERVICE_DESCRIPTION@. For example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+--+-- 'errorName', 'organizationAffectedEntitiesErrorItem_errorName' - The name of the error.+--+-- 'eventArn', 'organizationAffectedEntitiesErrorItem_eventArn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+newOrganizationAffectedEntitiesErrorItem ::+  OrganizationAffectedEntitiesErrorItem+newOrganizationAffectedEntitiesErrorItem =+  OrganizationAffectedEntitiesErrorItem'+    { awsAccountId =+        Prelude.Nothing,+      errorMessage = Prelude.Nothing,+      errorName = Prelude.Nothing,+      eventArn = Prelude.Nothing+    }++-- | The 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+organizationAffectedEntitiesErrorItem_awsAccountId :: Lens.Lens' OrganizationAffectedEntitiesErrorItem (Prelude.Maybe Prelude.Text)+organizationAffectedEntitiesErrorItem_awsAccountId = Lens.lens (\OrganizationAffectedEntitiesErrorItem' {awsAccountId} -> awsAccountId) (\s@OrganizationAffectedEntitiesErrorItem' {} a -> s {awsAccountId = a} :: OrganizationAffectedEntitiesErrorItem)++-- | The unique identifier for the event type. The format is+-- @AWS_SERVICE_DESCRIPTION@. For example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+organizationAffectedEntitiesErrorItem_errorMessage :: Lens.Lens' OrganizationAffectedEntitiesErrorItem (Prelude.Maybe Prelude.Text)+organizationAffectedEntitiesErrorItem_errorMessage = Lens.lens (\OrganizationAffectedEntitiesErrorItem' {errorMessage} -> errorMessage) (\s@OrganizationAffectedEntitiesErrorItem' {} a -> s {errorMessage = a} :: OrganizationAffectedEntitiesErrorItem)++-- | The name of the error.+organizationAffectedEntitiesErrorItem_errorName :: Lens.Lens' OrganizationAffectedEntitiesErrorItem (Prelude.Maybe Prelude.Text)+organizationAffectedEntitiesErrorItem_errorName = Lens.lens (\OrganizationAffectedEntitiesErrorItem' {errorName} -> errorName) (\s@OrganizationAffectedEntitiesErrorItem' {} a -> s {errorName = a} :: OrganizationAffectedEntitiesErrorItem)++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+organizationAffectedEntitiesErrorItem_eventArn :: Lens.Lens' OrganizationAffectedEntitiesErrorItem (Prelude.Maybe Prelude.Text)+organizationAffectedEntitiesErrorItem_eventArn = Lens.lens (\OrganizationAffectedEntitiesErrorItem' {eventArn} -> eventArn) (\s@OrganizationAffectedEntitiesErrorItem' {} a -> s {eventArn = a} :: OrganizationAffectedEntitiesErrorItem)++instance+  Data.FromJSON+    OrganizationAffectedEntitiesErrorItem+  where+  parseJSON =+    Data.withObject+      "OrganizationAffectedEntitiesErrorItem"+      ( \x ->+          OrganizationAffectedEntitiesErrorItem'+            Prelude.<$> (x Data..:? "awsAccountId")+            Prelude.<*> (x Data..:? "errorMessage")+            Prelude.<*> (x Data..:? "errorName")+            Prelude.<*> (x Data..:? "eventArn")+      )++instance+  Prelude.Hashable+    OrganizationAffectedEntitiesErrorItem+  where+  hashWithSalt+    _salt+    OrganizationAffectedEntitiesErrorItem' {..} =+      _salt+        `Prelude.hashWithSalt` awsAccountId+        `Prelude.hashWithSalt` errorMessage+        `Prelude.hashWithSalt` errorName+        `Prelude.hashWithSalt` eventArn++instance+  Prelude.NFData+    OrganizationAffectedEntitiesErrorItem+  where+  rnf OrganizationAffectedEntitiesErrorItem' {..} =+    Prelude.rnf awsAccountId+      `Prelude.seq` Prelude.rnf errorMessage+      `Prelude.seq` Prelude.rnf errorName+      `Prelude.seq` Prelude.rnf eventArn
+ gen/Amazonka/AWSHealth/Types/OrganizationEvent.hs view
@@ -0,0 +1,263 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.OrganizationEvent+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.OrganizationEvent where++import Amazonka.AWSHealth.Types.EventScopeCode+import Amazonka.AWSHealth.Types.EventStatusCode+import Amazonka.AWSHealth.Types.EventTypeCategory+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Summary information about an event, returned by the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html DescribeEventsForOrganization>+-- operation.+--+-- /See:/ 'newOrganizationEvent' smart constructor.+data OrganizationEvent = OrganizationEvent'+  { -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    arn :: Prelude.Maybe Prelude.Text,+    -- | The date and time that the event ended.+    endTime :: Prelude.Maybe Data.POSIX,+    -- | This parameter specifies if the Health event is a public Amazon Web+    -- Services service event or an account-specific event.+    --+    -- -   If the @eventScopeCode@ value is @PUBLIC@, then the+    --     @affectedAccounts@ value is always empty.+    --+    -- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+    --     @affectedAccounts@ value lists the affected Amazon Web Services+    --     accounts in your organization. For example, if an event affects a+    --     service such as Amazon Elastic Compute Cloud and you have Amazon Web+    --     Services accounts that use that service, those account IDs appear in+    --     the response.+    --+    -- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+    --     you specified in the request is invalid or doesn\'t exist.+    eventScopeCode :: Prelude.Maybe EventScopeCode,+    -- | A list of event type category codes. Possible values are @issue@,+    -- @accountNotification@, or @scheduledChange@. Currently, the+    -- @investigation@ value isn\'t supported at this time.+    eventTypeCategory :: Prelude.Maybe EventTypeCategory,+    -- | The unique identifier for the event type. The format is+    -- @AWS_SERVICE_DESCRIPTION@. For example,+    -- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+    eventTypeCode :: Prelude.Maybe Prelude.Text,+    -- | The most recent date and time that the event was updated.+    lastUpdatedTime :: Prelude.Maybe Data.POSIX,+    -- | The Amazon Web Services Region name of the event.+    region :: Prelude.Maybe Prelude.Text,+    -- | The Amazon Web Services service that is affected by the event, such as+    -- EC2 and RDS.+    service :: Prelude.Maybe Prelude.Text,+    -- | The date and time that the event began.+    startTime :: Prelude.Maybe Data.POSIX,+    -- | The most recent status of the event. Possible values are @open@,+    -- @closed@, and @upcoming@.+    statusCode :: Prelude.Maybe EventStatusCode+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OrganizationEvent' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'organizationEvent_arn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+--+-- 'endTime', 'organizationEvent_endTime' - The date and time that the event ended.+--+-- 'eventScopeCode', 'organizationEvent_eventScopeCode' - This parameter specifies if the Health event is a public Amazon Web+-- Services service event or an account-specific event.+--+-- -   If the @eventScopeCode@ value is @PUBLIC@, then the+--     @affectedAccounts@ value is always empty.+--+-- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+--     @affectedAccounts@ value lists the affected Amazon Web Services+--     accounts in your organization. For example, if an event affects a+--     service such as Amazon Elastic Compute Cloud and you have Amazon Web+--     Services accounts that use that service, those account IDs appear in+--     the response.+--+-- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+--     you specified in the request is invalid or doesn\'t exist.+--+-- 'eventTypeCategory', 'organizationEvent_eventTypeCategory' - A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+--+-- 'eventTypeCode', 'organizationEvent_eventTypeCode' - The unique identifier for the event type. The format is+-- @AWS_SERVICE_DESCRIPTION@. For example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+--+-- 'lastUpdatedTime', 'organizationEvent_lastUpdatedTime' - The most recent date and time that the event was updated.+--+-- 'region', 'organizationEvent_region' - The Amazon Web Services Region name of the event.+--+-- 'service', 'organizationEvent_service' - The Amazon Web Services service that is affected by the event, such as+-- EC2 and RDS.+--+-- 'startTime', 'organizationEvent_startTime' - The date and time that the event began.+--+-- 'statusCode', 'organizationEvent_statusCode' - The most recent status of the event. Possible values are @open@,+-- @closed@, and @upcoming@.+newOrganizationEvent ::+  OrganizationEvent+newOrganizationEvent =+  OrganizationEvent'+    { arn = Prelude.Nothing,+      endTime = Prelude.Nothing,+      eventScopeCode = Prelude.Nothing,+      eventTypeCategory = Prelude.Nothing,+      eventTypeCode = Prelude.Nothing,+      lastUpdatedTime = Prelude.Nothing,+      region = Prelude.Nothing,+      service = Prelude.Nothing,+      startTime = Prelude.Nothing,+      statusCode = Prelude.Nothing+    }++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+organizationEvent_arn :: Lens.Lens' OrganizationEvent (Prelude.Maybe Prelude.Text)+organizationEvent_arn = Lens.lens (\OrganizationEvent' {arn} -> arn) (\s@OrganizationEvent' {} a -> s {arn = a} :: OrganizationEvent)++-- | The date and time that the event ended.+organizationEvent_endTime :: Lens.Lens' OrganizationEvent (Prelude.Maybe Prelude.UTCTime)+organizationEvent_endTime = Lens.lens (\OrganizationEvent' {endTime} -> endTime) (\s@OrganizationEvent' {} a -> s {endTime = a} :: OrganizationEvent) Prelude.. Lens.mapping Data._Time++-- | This parameter specifies if the Health event is a public Amazon Web+-- Services service event or an account-specific event.+--+-- -   If the @eventScopeCode@ value is @PUBLIC@, then the+--     @affectedAccounts@ value is always empty.+--+-- -   If the @eventScopeCode@ value is @ACCOUNT_SPECIFIC@, then the+--     @affectedAccounts@ value lists the affected Amazon Web Services+--     accounts in your organization. For example, if an event affects a+--     service such as Amazon Elastic Compute Cloud and you have Amazon Web+--     Services accounts that use that service, those account IDs appear in+--     the response.+--+-- -   If the @eventScopeCode@ value is @NONE@, then the @eventArn@ that+--     you specified in the request is invalid or doesn\'t exist.+organizationEvent_eventScopeCode :: Lens.Lens' OrganizationEvent (Prelude.Maybe EventScopeCode)+organizationEvent_eventScopeCode = Lens.lens (\OrganizationEvent' {eventScopeCode} -> eventScopeCode) (\s@OrganizationEvent' {} a -> s {eventScopeCode = a} :: OrganizationEvent)++-- | A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+organizationEvent_eventTypeCategory :: Lens.Lens' OrganizationEvent (Prelude.Maybe EventTypeCategory)+organizationEvent_eventTypeCategory = Lens.lens (\OrganizationEvent' {eventTypeCategory} -> eventTypeCategory) (\s@OrganizationEvent' {} a -> s {eventTypeCategory = a} :: OrganizationEvent)++-- | The unique identifier for the event type. The format is+-- @AWS_SERVICE_DESCRIPTION@. For example,+-- @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@.+organizationEvent_eventTypeCode :: Lens.Lens' OrganizationEvent (Prelude.Maybe Prelude.Text)+organizationEvent_eventTypeCode = Lens.lens (\OrganizationEvent' {eventTypeCode} -> eventTypeCode) (\s@OrganizationEvent' {} a -> s {eventTypeCode = a} :: OrganizationEvent)++-- | The most recent date and time that the event was updated.+organizationEvent_lastUpdatedTime :: Lens.Lens' OrganizationEvent (Prelude.Maybe Prelude.UTCTime)+organizationEvent_lastUpdatedTime = Lens.lens (\OrganizationEvent' {lastUpdatedTime} -> lastUpdatedTime) (\s@OrganizationEvent' {} a -> s {lastUpdatedTime = a} :: OrganizationEvent) Prelude.. Lens.mapping Data._Time++-- | The Amazon Web Services Region name of the event.+organizationEvent_region :: Lens.Lens' OrganizationEvent (Prelude.Maybe Prelude.Text)+organizationEvent_region = Lens.lens (\OrganizationEvent' {region} -> region) (\s@OrganizationEvent' {} a -> s {region = a} :: OrganizationEvent)++-- | The Amazon Web Services service that is affected by the event, such as+-- EC2 and RDS.+organizationEvent_service :: Lens.Lens' OrganizationEvent (Prelude.Maybe Prelude.Text)+organizationEvent_service = Lens.lens (\OrganizationEvent' {service} -> service) (\s@OrganizationEvent' {} a -> s {service = a} :: OrganizationEvent)++-- | The date and time that the event began.+organizationEvent_startTime :: Lens.Lens' OrganizationEvent (Prelude.Maybe Prelude.UTCTime)+organizationEvent_startTime = Lens.lens (\OrganizationEvent' {startTime} -> startTime) (\s@OrganizationEvent' {} a -> s {startTime = a} :: OrganizationEvent) Prelude.. Lens.mapping Data._Time++-- | The most recent status of the event. Possible values are @open@,+-- @closed@, and @upcoming@.+organizationEvent_statusCode :: Lens.Lens' OrganizationEvent (Prelude.Maybe EventStatusCode)+organizationEvent_statusCode = Lens.lens (\OrganizationEvent' {statusCode} -> statusCode) (\s@OrganizationEvent' {} a -> s {statusCode = a} :: OrganizationEvent)++instance Data.FromJSON OrganizationEvent where+  parseJSON =+    Data.withObject+      "OrganizationEvent"+      ( \x ->+          OrganizationEvent'+            Prelude.<$> (x Data..:? "arn")+            Prelude.<*> (x Data..:? "endTime")+            Prelude.<*> (x Data..:? "eventScopeCode")+            Prelude.<*> (x Data..:? "eventTypeCategory")+            Prelude.<*> (x Data..:? "eventTypeCode")+            Prelude.<*> (x Data..:? "lastUpdatedTime")+            Prelude.<*> (x Data..:? "region")+            Prelude.<*> (x Data..:? "service")+            Prelude.<*> (x Data..:? "startTime")+            Prelude.<*> (x Data..:? "statusCode")+      )++instance Prelude.Hashable OrganizationEvent where+  hashWithSalt _salt OrganizationEvent' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` endTime+      `Prelude.hashWithSalt` eventScopeCode+      `Prelude.hashWithSalt` eventTypeCategory+      `Prelude.hashWithSalt` eventTypeCode+      `Prelude.hashWithSalt` lastUpdatedTime+      `Prelude.hashWithSalt` region+      `Prelude.hashWithSalt` service+      `Prelude.hashWithSalt` startTime+      `Prelude.hashWithSalt` statusCode++instance Prelude.NFData OrganizationEvent where+  rnf OrganizationEvent' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf endTime+      `Prelude.seq` Prelude.rnf eventScopeCode+      `Prelude.seq` Prelude.rnf eventTypeCategory+      `Prelude.seq` Prelude.rnf eventTypeCode+      `Prelude.seq` Prelude.rnf lastUpdatedTime+      `Prelude.seq` Prelude.rnf region+      `Prelude.seq` Prelude.rnf service+      `Prelude.seq` Prelude.rnf startTime+      `Prelude.seq` Prelude.rnf statusCode
+ gen/Amazonka/AWSHealth/Types/OrganizationEventDetails.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.OrganizationEventDetails+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.OrganizationEventDetails where++import Amazonka.AWSHealth.Types.Event+import Amazonka.AWSHealth.Types.EventDescription+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Detailed information about an event. A combination of an+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html Event>+-- object, an+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_EventDescription.html EventDescription>+-- object, and additional metadata about the event. Returned by the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html DescribeEventDetailsForOrganization>+-- operation.+--+-- /See:/ 'newOrganizationEventDetails' smart constructor.+data OrganizationEventDetails = OrganizationEventDetails'+  { -- | The 12-digit Amazon Web Services account numbers that contains the+    -- affected entities.+    awsAccountId :: Prelude.Maybe Prelude.Text,+    event :: Prelude.Maybe Event,+    eventDescription :: Prelude.Maybe EventDescription,+    -- | Additional metadata about the event.+    eventMetadata :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OrganizationEventDetails' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsAccountId', 'organizationEventDetails_awsAccountId' - The 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+--+-- 'event', 'organizationEventDetails_event' - Undocumented member.+--+-- 'eventDescription', 'organizationEventDetails_eventDescription' - Undocumented member.+--+-- 'eventMetadata', 'organizationEventDetails_eventMetadata' - Additional metadata about the event.+newOrganizationEventDetails ::+  OrganizationEventDetails+newOrganizationEventDetails =+  OrganizationEventDetails'+    { awsAccountId =+        Prelude.Nothing,+      event = Prelude.Nothing,+      eventDescription = Prelude.Nothing,+      eventMetadata = Prelude.Nothing+    }++-- | The 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+organizationEventDetails_awsAccountId :: Lens.Lens' OrganizationEventDetails (Prelude.Maybe Prelude.Text)+organizationEventDetails_awsAccountId = Lens.lens (\OrganizationEventDetails' {awsAccountId} -> awsAccountId) (\s@OrganizationEventDetails' {} a -> s {awsAccountId = a} :: OrganizationEventDetails)++-- | Undocumented member.+organizationEventDetails_event :: Lens.Lens' OrganizationEventDetails (Prelude.Maybe Event)+organizationEventDetails_event = Lens.lens (\OrganizationEventDetails' {event} -> event) (\s@OrganizationEventDetails' {} a -> s {event = a} :: OrganizationEventDetails)++-- | Undocumented member.+organizationEventDetails_eventDescription :: Lens.Lens' OrganizationEventDetails (Prelude.Maybe EventDescription)+organizationEventDetails_eventDescription = Lens.lens (\OrganizationEventDetails' {eventDescription} -> eventDescription) (\s@OrganizationEventDetails' {} a -> s {eventDescription = a} :: OrganizationEventDetails)++-- | Additional metadata about the event.+organizationEventDetails_eventMetadata :: Lens.Lens' OrganizationEventDetails (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+organizationEventDetails_eventMetadata = Lens.lens (\OrganizationEventDetails' {eventMetadata} -> eventMetadata) (\s@OrganizationEventDetails' {} a -> s {eventMetadata = a} :: OrganizationEventDetails) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON OrganizationEventDetails where+  parseJSON =+    Data.withObject+      "OrganizationEventDetails"+      ( \x ->+          OrganizationEventDetails'+            Prelude.<$> (x Data..:? "awsAccountId")+            Prelude.<*> (x Data..:? "event")+            Prelude.<*> (x Data..:? "eventDescription")+            Prelude.<*> (x Data..:? "eventMetadata" Data..!= Prelude.mempty)+      )++instance Prelude.Hashable OrganizationEventDetails where+  hashWithSalt _salt OrganizationEventDetails' {..} =+    _salt+      `Prelude.hashWithSalt` awsAccountId+      `Prelude.hashWithSalt` event+      `Prelude.hashWithSalt` eventDescription+      `Prelude.hashWithSalt` eventMetadata++instance Prelude.NFData OrganizationEventDetails where+  rnf OrganizationEventDetails' {..} =+    Prelude.rnf awsAccountId+      `Prelude.seq` Prelude.rnf event+      `Prelude.seq` Prelude.rnf eventDescription+      `Prelude.seq` Prelude.rnf eventMetadata
+ gen/Amazonka/AWSHealth/Types/OrganizationEventDetailsErrorItem.hs view
@@ -0,0 +1,197 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.OrganizationEventDetailsErrorItem where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Error information returned when a+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html DescribeEventDetailsForOrganization>+-- operation can\'t find a specified event.+--+-- /See:/ 'newOrganizationEventDetailsErrorItem' smart constructor.+data OrganizationEventDetailsErrorItem = OrganizationEventDetailsErrorItem'+  { -- | Error information returned when a+    -- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html DescribeEventDetailsForOrganization>+    -- operation can\'t find a specified event.+    awsAccountId :: Prelude.Maybe Prelude.Text,+    -- | A message that describes the error.+    --+    -- If you call the @DescribeEventDetailsForOrganization@ operation and+    -- receive one of the following errors, follow the recommendations in the+    -- message:+    --+    -- -   We couldn\'t find a public event that matches your request. To find+    --     an event that is account specific, you must enter an Amazon Web+    --     Services account ID in the request.+    --+    -- -   We couldn\'t find an account specific event for the specified Amazon+    --     Web Services account. To find an event that is public, you must+    --     enter a null value for the Amazon Web Services account ID in the+    --     request.+    --+    -- -   Your Amazon Web Services account doesn\'t include the Amazon Web+    --     Services Support plan required to use the Health API. You must have+    --     either a Business, Enterprise On-Ramp, or Enterprise Support plan.+    errorMessage :: Prelude.Maybe Prelude.Text,+    -- | The name of the error.+    errorName :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier for the event. The event ARN has the+    -- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+    -- format.+    --+    -- For example, an event ARN might look like the following:+    --+    -- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+    eventArn :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OrganizationEventDetailsErrorItem' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsAccountId', 'organizationEventDetailsErrorItem_awsAccountId' - Error information returned when a+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html DescribeEventDetailsForOrganization>+-- operation can\'t find a specified event.+--+-- 'errorMessage', 'organizationEventDetailsErrorItem_errorMessage' - A message that describes the error.+--+-- If you call the @DescribeEventDetailsForOrganization@ operation and+-- receive one of the following errors, follow the recommendations in the+-- message:+--+-- -   We couldn\'t find a public event that matches your request. To find+--     an event that is account specific, you must enter an Amazon Web+--     Services account ID in the request.+--+-- -   We couldn\'t find an account specific event for the specified Amazon+--     Web Services account. To find an event that is public, you must+--     enter a null value for the Amazon Web Services account ID in the+--     request.+--+-- -   Your Amazon Web Services account doesn\'t include the Amazon Web+--     Services Support plan required to use the Health API. You must have+--     either a Business, Enterprise On-Ramp, or Enterprise Support plan.+--+-- 'errorName', 'organizationEventDetailsErrorItem_errorName' - The name of the error.+--+-- 'eventArn', 'organizationEventDetailsErrorItem_eventArn' - The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+newOrganizationEventDetailsErrorItem ::+  OrganizationEventDetailsErrorItem+newOrganizationEventDetailsErrorItem =+  OrganizationEventDetailsErrorItem'+    { awsAccountId =+        Prelude.Nothing,+      errorMessage = Prelude.Nothing,+      errorName = Prelude.Nothing,+      eventArn = Prelude.Nothing+    }++-- | Error information returned when a+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html DescribeEventDetailsForOrganization>+-- operation can\'t find a specified event.+organizationEventDetailsErrorItem_awsAccountId :: Lens.Lens' OrganizationEventDetailsErrorItem (Prelude.Maybe Prelude.Text)+organizationEventDetailsErrorItem_awsAccountId = Lens.lens (\OrganizationEventDetailsErrorItem' {awsAccountId} -> awsAccountId) (\s@OrganizationEventDetailsErrorItem' {} a -> s {awsAccountId = a} :: OrganizationEventDetailsErrorItem)++-- | A message that describes the error.+--+-- If you call the @DescribeEventDetailsForOrganization@ operation and+-- receive one of the following errors, follow the recommendations in the+-- message:+--+-- -   We couldn\'t find a public event that matches your request. To find+--     an event that is account specific, you must enter an Amazon Web+--     Services account ID in the request.+--+-- -   We couldn\'t find an account specific event for the specified Amazon+--     Web Services account. To find an event that is public, you must+--     enter a null value for the Amazon Web Services account ID in the+--     request.+--+-- -   Your Amazon Web Services account doesn\'t include the Amazon Web+--     Services Support plan required to use the Health API. You must have+--     either a Business, Enterprise On-Ramp, or Enterprise Support plan.+organizationEventDetailsErrorItem_errorMessage :: Lens.Lens' OrganizationEventDetailsErrorItem (Prelude.Maybe Prelude.Text)+organizationEventDetailsErrorItem_errorMessage = Lens.lens (\OrganizationEventDetailsErrorItem' {errorMessage} -> errorMessage) (\s@OrganizationEventDetailsErrorItem' {} a -> s {errorMessage = a} :: OrganizationEventDetailsErrorItem)++-- | The name of the error.+organizationEventDetailsErrorItem_errorName :: Lens.Lens' OrganizationEventDetailsErrorItem (Prelude.Maybe Prelude.Text)+organizationEventDetailsErrorItem_errorName = Lens.lens (\OrganizationEventDetailsErrorItem' {errorName} -> errorName) (\s@OrganizationEventDetailsErrorItem' {} a -> s {errorName = a} :: OrganizationEventDetailsErrorItem)++-- | The unique identifier for the event. The event ARN has the+-- @arn:aws:health:@/@event-region@/@::event\/@/@SERVICE@/@\/@/@EVENT_TYPE_CODE@/@\/@/@EVENT_TYPE_PLUS_ID@/@ @+-- format.+--+-- For example, an event ARN might look like the following:+--+-- @arn:aws:health:us-east-1::event\/EC2\/EC2_INSTANCE_RETIREMENT_SCHEDULED\/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456@+organizationEventDetailsErrorItem_eventArn :: Lens.Lens' OrganizationEventDetailsErrorItem (Prelude.Maybe Prelude.Text)+organizationEventDetailsErrorItem_eventArn = Lens.lens (\OrganizationEventDetailsErrorItem' {eventArn} -> eventArn) (\s@OrganizationEventDetailsErrorItem' {} a -> s {eventArn = a} :: OrganizationEventDetailsErrorItem)++instance+  Data.FromJSON+    OrganizationEventDetailsErrorItem+  where+  parseJSON =+    Data.withObject+      "OrganizationEventDetailsErrorItem"+      ( \x ->+          OrganizationEventDetailsErrorItem'+            Prelude.<$> (x Data..:? "awsAccountId")+            Prelude.<*> (x Data..:? "errorMessage")+            Prelude.<*> (x Data..:? "errorName")+            Prelude.<*> (x Data..:? "eventArn")+      )++instance+  Prelude.Hashable+    OrganizationEventDetailsErrorItem+  where+  hashWithSalt+    _salt+    OrganizationEventDetailsErrorItem' {..} =+      _salt+        `Prelude.hashWithSalt` awsAccountId+        `Prelude.hashWithSalt` errorMessage+        `Prelude.hashWithSalt` errorName+        `Prelude.hashWithSalt` eventArn++instance+  Prelude.NFData+    OrganizationEventDetailsErrorItem+  where+  rnf OrganizationEventDetailsErrorItem' {..} =+    Prelude.rnf awsAccountId+      `Prelude.seq` Prelude.rnf errorMessage+      `Prelude.seq` Prelude.rnf errorName+      `Prelude.seq` Prelude.rnf eventArn
+ gen/Amazonka/AWSHealth/Types/OrganizationEventFilter.hs view
@@ -0,0 +1,216 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Types.OrganizationEventFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Types.OrganizationEventFilter where++import Amazonka.AWSHealth.Types.DateTimeRange+import Amazonka.AWSHealth.Types.EventStatusCode+import Amazonka.AWSHealth.Types.EventTypeCategory+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The values to filter results from the+-- <https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html DescribeEventsForOrganization>+-- operation.+--+-- /See:/ 'newOrganizationEventFilter' smart constructor.+data OrganizationEventFilter = OrganizationEventFilter'+  { -- | A list of 12-digit Amazon Web Services account numbers that contains the+    -- affected entities.+    awsAccountIds :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    endTime :: Prelude.Maybe DateTimeRange,+    -- | A list of entity ARNs (unique identifiers).+    entityArns :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or+    -- EBS volumes (vol-426ab23e).+    entityValues :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | A list of event status codes.+    eventStatusCodes :: Prelude.Maybe (Prelude.NonEmpty EventStatusCode),+    -- | A list of event type category codes. Possible values are @issue@,+    -- @accountNotification@, or @scheduledChange@. Currently, the+    -- @investigation@ value isn\'t supported at this time.+    eventTypeCategories :: Prelude.Maybe (Prelude.NonEmpty EventTypeCategory),+    -- | A list of unique identifiers for event types. For example,+    -- @\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".@+    eventTypeCodes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    lastUpdatedTime :: Prelude.Maybe DateTimeRange,+    -- | A list of Amazon Web Services Regions.+    regions :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | The Amazon Web Services services associated with the event. For example,+    -- @EC2@, @RDS@.+    services :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    startTime :: Prelude.Maybe DateTimeRange+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OrganizationEventFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsAccountIds', 'organizationEventFilter_awsAccountIds' - A list of 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+--+-- 'endTime', 'organizationEventFilter_endTime' - Undocumented member.+--+-- 'entityArns', 'organizationEventFilter_entityArns' - A list of entity ARNs (unique identifiers).+--+-- 'entityValues', 'organizationEventFilter_entityValues' - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or+-- EBS volumes (vol-426ab23e).+--+-- 'eventStatusCodes', 'organizationEventFilter_eventStatusCodes' - A list of event status codes.+--+-- 'eventTypeCategories', 'organizationEventFilter_eventTypeCategories' - A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+--+-- 'eventTypeCodes', 'organizationEventFilter_eventTypeCodes' - A list of unique identifiers for event types. For example,+-- @\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".@+--+-- 'lastUpdatedTime', 'organizationEventFilter_lastUpdatedTime' - Undocumented member.+--+-- 'regions', 'organizationEventFilter_regions' - A list of Amazon Web Services Regions.+--+-- 'services', 'organizationEventFilter_services' - The Amazon Web Services services associated with the event. For example,+-- @EC2@, @RDS@.+--+-- 'startTime', 'organizationEventFilter_startTime' - Undocumented member.+newOrganizationEventFilter ::+  OrganizationEventFilter+newOrganizationEventFilter =+  OrganizationEventFilter'+    { awsAccountIds =+        Prelude.Nothing,+      endTime = Prelude.Nothing,+      entityArns = Prelude.Nothing,+      entityValues = Prelude.Nothing,+      eventStatusCodes = Prelude.Nothing,+      eventTypeCategories = Prelude.Nothing,+      eventTypeCodes = Prelude.Nothing,+      lastUpdatedTime = Prelude.Nothing,+      regions = Prelude.Nothing,+      services = Prelude.Nothing,+      startTime = Prelude.Nothing+    }++-- | A list of 12-digit Amazon Web Services account numbers that contains the+-- affected entities.+organizationEventFilter_awsAccountIds :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+organizationEventFilter_awsAccountIds = Lens.lens (\OrganizationEventFilter' {awsAccountIds} -> awsAccountIds) (\s@OrganizationEventFilter' {} a -> s {awsAccountIds = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | Undocumented member.+organizationEventFilter_endTime :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe DateTimeRange)+organizationEventFilter_endTime = Lens.lens (\OrganizationEventFilter' {endTime} -> endTime) (\s@OrganizationEventFilter' {} a -> s {endTime = a} :: OrganizationEventFilter)++-- | A list of entity ARNs (unique identifiers).+organizationEventFilter_entityArns :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+organizationEventFilter_entityArns = Lens.lens (\OrganizationEventFilter' {entityArns} -> entityArns) (\s@OrganizationEventFilter' {} a -> s {entityArns = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or+-- EBS volumes (vol-426ab23e).+organizationEventFilter_entityValues :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+organizationEventFilter_entityValues = Lens.lens (\OrganizationEventFilter' {entityValues} -> entityValues) (\s@OrganizationEventFilter' {} a -> s {entityValues = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of event status codes.+organizationEventFilter_eventStatusCodes :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty EventStatusCode))+organizationEventFilter_eventStatusCodes = Lens.lens (\OrganizationEventFilter' {eventStatusCodes} -> eventStatusCodes) (\s@OrganizationEventFilter' {} a -> s {eventStatusCodes = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of event type category codes. Possible values are @issue@,+-- @accountNotification@, or @scheduledChange@. Currently, the+-- @investigation@ value isn\'t supported at this time.+organizationEventFilter_eventTypeCategories :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty EventTypeCategory))+organizationEventFilter_eventTypeCategories = Lens.lens (\OrganizationEventFilter' {eventTypeCategories} -> eventTypeCategories) (\s@OrganizationEventFilter' {} a -> s {eventTypeCategories = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | A list of unique identifiers for event types. For example,+-- @\"AWS_EC2_SYSTEM_MAINTENANCE_EVENT\",\"AWS_RDS_MAINTENANCE_SCHEDULED\".@+organizationEventFilter_eventTypeCodes :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+organizationEventFilter_eventTypeCodes = Lens.lens (\OrganizationEventFilter' {eventTypeCodes} -> eventTypeCodes) (\s@OrganizationEventFilter' {} a -> s {eventTypeCodes = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | Undocumented member.+organizationEventFilter_lastUpdatedTime :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe DateTimeRange)+organizationEventFilter_lastUpdatedTime = Lens.lens (\OrganizationEventFilter' {lastUpdatedTime} -> lastUpdatedTime) (\s@OrganizationEventFilter' {} a -> s {lastUpdatedTime = a} :: OrganizationEventFilter)++-- | A list of Amazon Web Services Regions.+organizationEventFilter_regions :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+organizationEventFilter_regions = Lens.lens (\OrganizationEventFilter' {regions} -> regions) (\s@OrganizationEventFilter' {} a -> s {regions = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Web Services services associated with the event. For example,+-- @EC2@, @RDS@.+organizationEventFilter_services :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+organizationEventFilter_services = Lens.lens (\OrganizationEventFilter' {services} -> services) (\s@OrganizationEventFilter' {} a -> s {services = a} :: OrganizationEventFilter) Prelude.. Lens.mapping Lens.coerced++-- | Undocumented member.+organizationEventFilter_startTime :: Lens.Lens' OrganizationEventFilter (Prelude.Maybe DateTimeRange)+organizationEventFilter_startTime = Lens.lens (\OrganizationEventFilter' {startTime} -> startTime) (\s@OrganizationEventFilter' {} a -> s {startTime = a} :: OrganizationEventFilter)++instance Prelude.Hashable OrganizationEventFilter where+  hashWithSalt _salt OrganizationEventFilter' {..} =+    _salt+      `Prelude.hashWithSalt` awsAccountIds+      `Prelude.hashWithSalt` endTime+      `Prelude.hashWithSalt` entityArns+      `Prelude.hashWithSalt` entityValues+      `Prelude.hashWithSalt` eventStatusCodes+      `Prelude.hashWithSalt` eventTypeCategories+      `Prelude.hashWithSalt` eventTypeCodes+      `Prelude.hashWithSalt` lastUpdatedTime+      `Prelude.hashWithSalt` regions+      `Prelude.hashWithSalt` services+      `Prelude.hashWithSalt` startTime++instance Prelude.NFData OrganizationEventFilter where+  rnf OrganizationEventFilter' {..} =+    Prelude.rnf awsAccountIds+      `Prelude.seq` Prelude.rnf endTime+      `Prelude.seq` Prelude.rnf entityArns+      `Prelude.seq` Prelude.rnf entityValues+      `Prelude.seq` Prelude.rnf eventStatusCodes+      `Prelude.seq` Prelude.rnf eventTypeCategories+      `Prelude.seq` Prelude.rnf eventTypeCodes+      `Prelude.seq` Prelude.rnf lastUpdatedTime+      `Prelude.seq` Prelude.rnf regions+      `Prelude.seq` Prelude.rnf services+      `Prelude.seq` Prelude.rnf startTime++instance Data.ToJSON OrganizationEventFilter where+  toJSON OrganizationEventFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("awsAccountIds" Data..=) Prelude.<$> awsAccountIds,+            ("endTime" Data..=) Prelude.<$> endTime,+            ("entityArns" Data..=) Prelude.<$> entityArns,+            ("entityValues" Data..=) Prelude.<$> entityValues,+            ("eventStatusCodes" Data..=)+              Prelude.<$> eventStatusCodes,+            ("eventTypeCategories" Data..=)+              Prelude.<$> eventTypeCategories,+            ("eventTypeCodes" Data..=)+              Prelude.<$> eventTypeCodes,+            ("lastUpdatedTime" Data..=)+              Prelude.<$> lastUpdatedTime,+            ("regions" Data..=) Prelude.<$> regions,+            ("services" Data..=) Prelude.<$> services,+            ("startTime" Data..=) Prelude.<$> startTime+          ]+      )
+ gen/Amazonka/AWSHealth/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.AWSHealth.Waiters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.AWSHealth.Waiters where++import Amazonka.AWSHealth.Lens+import Amazonka.AWSHealth.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/AWSHealth.hs
@@ -1,243 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ __AWS Health__------ The AWS Health API provides programmatic access to the AWS Health information that is presented in the <https://phd.aws.amazon.com/phd/home#/ AWS Personal Health Dashboard> . You can get information about events that affect your AWS resources:------     * 'DescribeEvents' : Summary information about events.------     * 'DescribeEventDetails' : Detailed information about one or more events.------     * 'DescribeAffectedEntities' : Information about AWS resources that are affected by one or more events.------------ In addition, these operations provide information about event types and summary counts of events or affected entities:------     * 'DescribeEventTypes' : Information about the kinds of events that AWS Health tracks.------     * 'DescribeEventAggregates' : A count of the number of events that meet specified criteria.------     * 'DescribeEntityAggregates' : A count of the number of affected entities that meet specified criteria.------------ The Health API requires a Business or Enterprise support plan from <http://aws.amazon.com/premiumsupport/ 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 <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4 Signing Process> .------ See the <http://docs.aws.amazon.com/health/latest/ug/what-is-aws-health.html AWS Health User Guide> for information about how to use the API.------ __Service Endpoint__------ The HTTP endpoint for the AWS Health API is:------     * https://health.us-east-1.amazonaws.com----------module Network.AWS.AWSHealth-    (-    -- * Service Configuration-      awsHealth--    -- * Errors-    -- $errors--    -- ** InvalidPaginationToken-    , _InvalidPaginationToken--    -- ** UnsupportedLocale-    , _UnsupportedLocale--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** DescribeEntityAggregates-    , module Network.AWS.AWSHealth.DescribeEntityAggregates--    -- ** DescribeEvents (Paginated)-    , module Network.AWS.AWSHealth.DescribeEvents--    -- ** DescribeEventDetails-    , module Network.AWS.AWSHealth.DescribeEventDetails--    -- ** DescribeEventAggregates (Paginated)-    , module Network.AWS.AWSHealth.DescribeEventAggregates--    -- ** DescribeAffectedEntities (Paginated)-    , module Network.AWS.AWSHealth.DescribeAffectedEntities--    -- ** DescribeEventTypes (Paginated)-    , module Network.AWS.AWSHealth.DescribeEventTypes--    -- * Types--    -- ** EntityStatusCode-    , EntityStatusCode (..)--    -- ** EventAggregateField-    , EventAggregateField (..)--    -- ** EventStatusCode-    , EventStatusCode (..)--    -- ** EventTypeCategory-    , EventTypeCategory (..)--    -- ** AffectedEntity-    , AffectedEntity-    , affectedEntity-    , aeLastUpdatedTime-    , aeEntityValue-    , aeAwsAccountId-    , aeEventARN-    , aeEntityARN-    , aeTags-    , aeStatusCode--    -- ** DateTimeRange-    , DateTimeRange-    , dateTimeRange-    , dtrTo-    , dtrFrom--    -- ** EntityAggregate-    , EntityAggregate-    , entityAggregate-    , eCount-    , eEventARN--    -- ** EntityFilter-    , EntityFilter-    , entityFilter-    , eStatusCodes-    , eEntityARNs-    , eEntityValues-    , eTags-    , eLastUpdatedTimes-    , eEventARNs--    -- ** Event-    , Event-    , event-    , eLastUpdatedTime-    , eArn-    , eService-    , eStartTime-    , eEventTypeCode-    , eEventTypeCategory-    , eAvailabilityZone-    , eEndTime-    , eRegion-    , eStatusCode--    -- ** EventAggregate-    , EventAggregate-    , eventAggregate-    , eaCount-    , eaAggregateValue--    -- ** EventDescription-    , EventDescription-    , eventDescription-    , edLatestDescription--    -- ** EventDetails-    , EventDetails-    , eventDetails-    , edEvent-    , edEventDescription-    , edEventMetadata--    -- ** EventDetailsErrorItem-    , EventDetailsErrorItem-    , eventDetailsErrorItem-    , edeiEventARN-    , edeiErrorName-    , edeiErrorMessage--    -- ** EventFilter-    , EventFilter-    , eventFilter-    , efEventARNs-    , efEventTypeCategories-    , efEventTypeCodes-    , efRegions-    , efEventStatusCodes-    , efEndTimes-    , efAvailabilityZones-    , efEntityARNs-    , efEntityValues-    , efStartTimes-    , efServices-    , efTags-    , efLastUpdatedTimes--    -- ** EventType-    , EventType-    , eventType-    , etService-    , etCategory-    , etCode--    -- ** EventTypeFilter-    , EventTypeFilter-    , eventTypeFilter-    , etfEventTypeCategories-    , etfEventTypeCodes-    , etfServices-    ) where--import Network.AWS.AWSHealth.DescribeAffectedEntities-import Network.AWS.AWSHealth.DescribeEntityAggregates-import Network.AWS.AWSHealth.DescribeEventAggregates-import Network.AWS.AWSHealth.DescribeEventDetails-import Network.AWS.AWSHealth.DescribeEvents-import Network.AWS.AWSHealth.DescribeEventTypes-import Network.AWS.AWSHealth.Types-import Network.AWS.AWSHealth.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'AWSHealth'.--}--{- $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.--}--{- $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.--}
− gen/Network/AWS/AWSHealth/DescribeAffectedEntities.hs
@@ -1,192 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.DescribeAffectedEntities--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this.--------- At least one event ARN is required. Results are sorted by the @lastUpdatedTime@ of the entity, starting with the most recent.--------- This operation returns paginated results.-module Network.AWS.AWSHealth.DescribeAffectedEntities-    (-    -- * Creating a Request-      describeAffectedEntities-    , DescribeAffectedEntities-    -- * Request Lenses-    , daeLocale-    , daeNextToken-    , daeMaxResults-    , daeFilter--    -- * Destructuring the Response-    , describeAffectedEntitiesResponse-    , DescribeAffectedEntitiesResponse-    -- * Response Lenses-    , daersEntities-    , daersNextToken-    , daersResponseStatus-    ) where--import Network.AWS.AWSHealth.Types-import Network.AWS.AWSHealth.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeAffectedEntities' smart constructor.-data DescribeAffectedEntities = DescribeAffectedEntities'-  { _daeLocale     :: !(Maybe Text)-  , _daeNextToken  :: !(Maybe Text)-  , _daeMaxResults :: !(Maybe Nat)-  , _daeFilter     :: !EntityFilter-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeAffectedEntities' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'daeLocale' - The locale (language) to return information in. English (en) is the default and the only supported value at this time.------ * 'daeNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'daeMaxResults' - The maximum number of items to return in one batch, between 10 and 100, inclusive.------ * 'daeFilter' - Values to narrow the results returned. At least one event ARN is required.-describeAffectedEntities-    :: EntityFilter -- ^ 'daeFilter'-    -> DescribeAffectedEntities-describeAffectedEntities pFilter_ =-  DescribeAffectedEntities'-    { _daeLocale = Nothing-    , _daeNextToken = Nothing-    , _daeMaxResults = Nothing-    , _daeFilter = pFilter_-    }----- | The locale (language) to return information in. English (en) is the default and the only supported value at this time.-daeLocale :: Lens' DescribeAffectedEntities (Maybe Text)-daeLocale = lens _daeLocale (\ s a -> s{_daeLocale = a})---- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-daeNextToken :: Lens' DescribeAffectedEntities (Maybe Text)-daeNextToken = lens _daeNextToken (\ s a -> s{_daeNextToken = a})---- | The maximum number of items to return in one batch, between 10 and 100, inclusive.-daeMaxResults :: Lens' DescribeAffectedEntities (Maybe Natural)-daeMaxResults = lens _daeMaxResults (\ s a -> s{_daeMaxResults = a}) . mapping _Nat---- | Values to narrow the results returned. At least one event ARN is required.-daeFilter :: Lens' DescribeAffectedEntities EntityFilter-daeFilter = lens _daeFilter (\ s a -> s{_daeFilter = a})--instance AWSPager DescribeAffectedEntities where-        page rq rs-          | stop (rs ^. daersNextToken) = Nothing-          | stop (rs ^. daersEntities) = Nothing-          | otherwise =-            Just $ rq & daeNextToken .~ rs ^. daersNextToken--instance AWSRequest DescribeAffectedEntities where-        type Rs DescribeAffectedEntities =-             DescribeAffectedEntitiesResponse-        request = postJSON awsHealth-        response-          = receiveJSON-              (\ s h x ->-                 DescribeAffectedEntitiesResponse' <$>-                   (x .?> "entities" .!@ mempty) <*> (x .?> "nextToken")-                     <*> (pure (fromEnum s)))--instance Hashable DescribeAffectedEntities where--instance NFData DescribeAffectedEntities where--instance ToHeaders DescribeAffectedEntities where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSHealth_20160804.DescribeAffectedEntities" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeAffectedEntities where-        toJSON DescribeAffectedEntities'{..}-          = object-              (catMaybes-                 [("locale" .=) <$> _daeLocale,-                  ("nextToken" .=) <$> _daeNextToken,-                  ("maxResults" .=) <$> _daeMaxResults,-                  Just ("filter" .= _daeFilter)])--instance ToPath DescribeAffectedEntities where-        toPath = const "/"--instance ToQuery DescribeAffectedEntities where-        toQuery = const mempty---- | /See:/ 'describeAffectedEntitiesResponse' smart constructor.-data DescribeAffectedEntitiesResponse = DescribeAffectedEntitiesResponse'-  { _daersEntities       :: !(Maybe [AffectedEntity])-  , _daersNextToken      :: !(Maybe Text)-  , _daersResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeAffectedEntitiesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'daersEntities' - The entities that match the filter criteria.------ * 'daersNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'daersResponseStatus' - -- | The response status code.-describeAffectedEntitiesResponse-    :: Int -- ^ 'daersResponseStatus'-    -> DescribeAffectedEntitiesResponse-describeAffectedEntitiesResponse pResponseStatus_ =-  DescribeAffectedEntitiesResponse'-    { _daersEntities = Nothing-    , _daersNextToken = Nothing-    , _daersResponseStatus = pResponseStatus_-    }----- | The entities that match the filter criteria.-daersEntities :: Lens' DescribeAffectedEntitiesResponse [AffectedEntity]-daersEntities = lens _daersEntities (\ s a -> s{_daersEntities = a}) . _Default . _Coerce---- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-daersNextToken :: Lens' DescribeAffectedEntitiesResponse (Maybe Text)-daersNextToken = lens _daersNextToken (\ s a -> s{_daersNextToken = a})---- | -- | The response status code.-daersResponseStatus :: Lens' DescribeAffectedEntitiesResponse Int-daersResponseStatus = lens _daersResponseStatus (\ s a -> s{_daersResponseStatus = a})--instance NFData DescribeAffectedEntitiesResponse-         where
− gen/Network/AWS/AWSHealth/DescribeEntityAggregates.hs
@@ -1,134 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.DescribeEntityAggregates--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the number of entities that are affected by each of the specified events. If no events are specified, the counts of all affected entities are returned.-------module Network.AWS.AWSHealth.DescribeEntityAggregates-    (-    -- * Creating a Request-      describeEntityAggregates-    , DescribeEntityAggregates-    -- * Request Lenses-    , deaEventARNs--    -- * Destructuring the Response-    , describeEntityAggregatesResponse-    , DescribeEntityAggregatesResponse-    -- * Response Lenses-    , dearsEntityAggregates-    , dearsResponseStatus-    ) where--import Network.AWS.AWSHealth.Types-import Network.AWS.AWSHealth.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEntityAggregates' smart constructor.-newtype DescribeEntityAggregates = DescribeEntityAggregates'-  { _deaEventARNs :: Maybe (List1 Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEntityAggregates' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'deaEventARNs' - A list of event ARNs (unique identifiers). For example: @"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@-describeEntityAggregates-    :: DescribeEntityAggregates-describeEntityAggregates = DescribeEntityAggregates' {_deaEventARNs = Nothing}----- | A list of event ARNs (unique identifiers). For example: @"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@-deaEventARNs :: Lens' DescribeEntityAggregates (Maybe (NonEmpty Text))-deaEventARNs = lens _deaEventARNs (\ s a -> s{_deaEventARNs = a}) . mapping _List1--instance AWSRequest DescribeEntityAggregates where-        type Rs DescribeEntityAggregates =-             DescribeEntityAggregatesResponse-        request = postJSON awsHealth-        response-          = receiveJSON-              (\ s h x ->-                 DescribeEntityAggregatesResponse' <$>-                   (x .?> "entityAggregates" .!@ mempty) <*>-                     (pure (fromEnum s)))--instance Hashable DescribeEntityAggregates where--instance NFData DescribeEntityAggregates where--instance ToHeaders DescribeEntityAggregates where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSHealth_20160804.DescribeEntityAggregates" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEntityAggregates where-        toJSON DescribeEntityAggregates'{..}-          = object-              (catMaybes [("eventArns" .=) <$> _deaEventARNs])--instance ToPath DescribeEntityAggregates where-        toPath = const "/"--instance ToQuery DescribeEntityAggregates where-        toQuery = const mempty---- | /See:/ 'describeEntityAggregatesResponse' smart constructor.-data DescribeEntityAggregatesResponse = DescribeEntityAggregatesResponse'-  { _dearsEntityAggregates :: !(Maybe [EntityAggregate])-  , _dearsResponseStatus   :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEntityAggregatesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dearsEntityAggregates' - The number of entities that are affected by each of the specified events.------ * 'dearsResponseStatus' - -- | The response status code.-describeEntityAggregatesResponse-    :: Int -- ^ 'dearsResponseStatus'-    -> DescribeEntityAggregatesResponse-describeEntityAggregatesResponse pResponseStatus_ =-  DescribeEntityAggregatesResponse'-    {_dearsEntityAggregates = Nothing, _dearsResponseStatus = pResponseStatus_}----- | The number of entities that are affected by each of the specified events.-dearsEntityAggregates :: Lens' DescribeEntityAggregatesResponse [EntityAggregate]-dearsEntityAggregates = lens _dearsEntityAggregates (\ s a -> s{_dearsEntityAggregates = a}) . _Default . _Coerce---- | -- | The response status code.-dearsResponseStatus :: Lens' DescribeEntityAggregatesResponse Int-dearsResponseStatus = lens _dearsResponseStatus (\ s a -> s{_dearsResponseStatus = a})--instance NFData DescribeEntityAggregatesResponse-         where
− gen/Network/AWS/AWSHealth/DescribeEventAggregates.hs
@@ -1,190 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.DescribeEventAggregates--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned.------------ This operation returns paginated results.-module Network.AWS.AWSHealth.DescribeEventAggregates-    (-    -- * Creating a Request-      describeEventAggregates-    , DescribeEventAggregates-    -- * Request Lenses-    , deaNextToken-    , deaFilter-    , deaMaxResults-    , deaAggregateField--    -- * Destructuring the Response-    , describeEventAggregatesResponse-    , DescribeEventAggregatesResponse-    -- * Response Lenses-    , drsNextToken-    , drsEventAggregates-    , drsResponseStatus-    ) where--import Network.AWS.AWSHealth.Types-import Network.AWS.AWSHealth.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEventAggregates' smart constructor.-data DescribeEventAggregates = DescribeEventAggregates'-  { _deaNextToken      :: !(Maybe Text)-  , _deaFilter         :: !(Maybe EventFilter)-  , _deaMaxResults     :: !(Maybe Nat)-  , _deaAggregateField :: !EventAggregateField-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventAggregates' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'deaNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'deaFilter' - Values to narrow the results returned.------ * 'deaMaxResults' - The maximum number of items to return in one batch, between 10 and 100, inclusive.------ * 'deaAggregateField' - The only currently supported value is @eventTypeCategory@ .-describeEventAggregates-    :: EventAggregateField -- ^ 'deaAggregateField'-    -> DescribeEventAggregates-describeEventAggregates pAggregateField_ =-  DescribeEventAggregates'-    { _deaNextToken = Nothing-    , _deaFilter = Nothing-    , _deaMaxResults = Nothing-    , _deaAggregateField = pAggregateField_-    }----- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-deaNextToken :: Lens' DescribeEventAggregates (Maybe Text)-deaNextToken = lens _deaNextToken (\ s a -> s{_deaNextToken = a})---- | Values to narrow the results returned.-deaFilter :: Lens' DescribeEventAggregates (Maybe EventFilter)-deaFilter = lens _deaFilter (\ s a -> s{_deaFilter = a})---- | The maximum number of items to return in one batch, between 10 and 100, inclusive.-deaMaxResults :: Lens' DescribeEventAggregates (Maybe Natural)-deaMaxResults = lens _deaMaxResults (\ s a -> s{_deaMaxResults = a}) . mapping _Nat---- | The only currently supported value is @eventTypeCategory@ .-deaAggregateField :: Lens' DescribeEventAggregates EventAggregateField-deaAggregateField = lens _deaAggregateField (\ s a -> s{_deaAggregateField = a})--instance AWSPager DescribeEventAggregates where-        page rq rs-          | stop (rs ^. drsNextToken) = Nothing-          | stop (rs ^. drsEventAggregates) = Nothing-          | otherwise =-            Just $ rq & deaNextToken .~ rs ^. drsNextToken--instance AWSRequest DescribeEventAggregates where-        type Rs DescribeEventAggregates =-             DescribeEventAggregatesResponse-        request = postJSON awsHealth-        response-          = receiveJSON-              (\ s h x ->-                 DescribeEventAggregatesResponse' <$>-                   (x .?> "nextToken") <*>-                     (x .?> "eventAggregates" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeEventAggregates where--instance NFData DescribeEventAggregates where--instance ToHeaders DescribeEventAggregates where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSHealth_20160804.DescribeEventAggregates" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEventAggregates where-        toJSON DescribeEventAggregates'{..}-          = object-              (catMaybes-                 [("nextToken" .=) <$> _deaNextToken,-                  ("filter" .=) <$> _deaFilter,-                  ("maxResults" .=) <$> _deaMaxResults,-                  Just ("aggregateField" .= _deaAggregateField)])--instance ToPath DescribeEventAggregates where-        toPath = const "/"--instance ToQuery DescribeEventAggregates where-        toQuery = const mempty---- | /See:/ 'describeEventAggregatesResponse' smart constructor.-data DescribeEventAggregatesResponse = DescribeEventAggregatesResponse'-  { _drsNextToken       :: !(Maybe Text)-  , _drsEventAggregates :: !(Maybe [EventAggregate])-  , _drsResponseStatus  :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventAggregatesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'drsEventAggregates' - The number of events in each category that meet the optional filter criteria.------ * 'drsResponseStatus' - -- | The response status code.-describeEventAggregatesResponse-    :: Int -- ^ 'drsResponseStatus'-    -> DescribeEventAggregatesResponse-describeEventAggregatesResponse pResponseStatus_ =-  DescribeEventAggregatesResponse'-    { _drsNextToken = Nothing-    , _drsEventAggregates = Nothing-    , _drsResponseStatus = pResponseStatus_-    }----- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-drsNextToken :: Lens' DescribeEventAggregatesResponse (Maybe Text)-drsNextToken = lens _drsNextToken (\ s a -> s{_drsNextToken = a})---- | The number of events in each category that meet the optional filter criteria.-drsEventAggregates :: Lens' DescribeEventAggregatesResponse [EventAggregate]-drsEventAggregates = lens _drsEventAggregates (\ s a -> s{_drsEventAggregates = a}) . _Default . _Coerce---- | -- | The response status code.-drsResponseStatus :: Lens' DescribeEventAggregatesResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DescribeEventAggregatesResponse where
− gen/Network/AWS/AWSHealth/DescribeEventDetails.hs
@@ -1,160 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.DescribeEventDetails--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns detailed information about one or more specified events. Information includes standard event data (region, service, etc., as returned by 'DescribeEvents' ), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, use the 'DescribeAffectedEntities' operation.--------- If a specified event cannot be retrieved, an error message is returned for that event.----module Network.AWS.AWSHealth.DescribeEventDetails-    (-    -- * Creating a Request-      describeEventDetails-    , DescribeEventDetails-    -- * Request Lenses-    , dedLocale-    , dedEventARNs--    -- * Destructuring the Response-    , describeEventDetailsResponse-    , DescribeEventDetailsResponse-    -- * Response Lenses-    , dedrsSuccessfulSet-    , dedrsFailedSet-    , dedrsResponseStatus-    ) where--import Network.AWS.AWSHealth.Types-import Network.AWS.AWSHealth.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEventDetails' smart constructor.-data DescribeEventDetails = DescribeEventDetails'-  { _dedLocale    :: !(Maybe Text)-  , _dedEventARNs :: !(List1 Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dedLocale' - The locale (language) to return information in. English (en) is the default and the only supported value at this time.------ * 'dedEventARNs' - A list of event ARNs (unique identifiers). For example: @"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@-describeEventDetails-    :: NonEmpty Text -- ^ 'dedEventARNs'-    -> DescribeEventDetails-describeEventDetails pEventARNs_ =-  DescribeEventDetails'-    {_dedLocale = Nothing, _dedEventARNs = _List1 # pEventARNs_}----- | The locale (language) to return information in. English (en) is the default and the only supported value at this time.-dedLocale :: Lens' DescribeEventDetails (Maybe Text)-dedLocale = lens _dedLocale (\ s a -> s{_dedLocale = a})---- | A list of event ARNs (unique identifiers). For example: @"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@-dedEventARNs :: Lens' DescribeEventDetails (NonEmpty Text)-dedEventARNs = lens _dedEventARNs (\ s a -> s{_dedEventARNs = a}) . _List1--instance AWSRequest DescribeEventDetails where-        type Rs DescribeEventDetails =-             DescribeEventDetailsResponse-        request = postJSON awsHealth-        response-          = receiveJSON-              (\ s h x ->-                 DescribeEventDetailsResponse' <$>-                   (x .?> "successfulSet" .!@ mempty) <*>-                     (x .?> "failedSet" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeEventDetails where--instance NFData DescribeEventDetails where--instance ToHeaders DescribeEventDetails where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSHealth_20160804.DescribeEventDetails" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEventDetails where-        toJSON DescribeEventDetails'{..}-          = object-              (catMaybes-                 [("locale" .=) <$> _dedLocale,-                  Just ("eventArns" .= _dedEventARNs)])--instance ToPath DescribeEventDetails where-        toPath = const "/"--instance ToQuery DescribeEventDetails where-        toQuery = const mempty---- | /See:/ 'describeEventDetailsResponse' smart constructor.-data DescribeEventDetailsResponse = DescribeEventDetailsResponse'-  { _dedrsSuccessfulSet  :: !(Maybe [EventDetails])-  , _dedrsFailedSet      :: !(Maybe [EventDetailsErrorItem])-  , _dedrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventDetailsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dedrsSuccessfulSet' - Information about the events that could be retrieved.------ * 'dedrsFailedSet' - Error messages for any events that could not be retrieved.------ * 'dedrsResponseStatus' - -- | The response status code.-describeEventDetailsResponse-    :: Int -- ^ 'dedrsResponseStatus'-    -> DescribeEventDetailsResponse-describeEventDetailsResponse pResponseStatus_ =-  DescribeEventDetailsResponse'-    { _dedrsSuccessfulSet = Nothing-    , _dedrsFailedSet = Nothing-    , _dedrsResponseStatus = pResponseStatus_-    }----- | Information about the events that could be retrieved.-dedrsSuccessfulSet :: Lens' DescribeEventDetailsResponse [EventDetails]-dedrsSuccessfulSet = lens _dedrsSuccessfulSet (\ s a -> s{_dedrsSuccessfulSet = a}) . _Default . _Coerce---- | Error messages for any events that could not be retrieved.-dedrsFailedSet :: Lens' DescribeEventDetailsResponse [EventDetailsErrorItem]-dedrsFailedSet = lens _dedrsFailedSet (\ s a -> s{_dedrsFailedSet = a}) . _Default . _Coerce---- | -- | The response status code.-dedrsResponseStatus :: Lens' DescribeEventDetailsResponse Int-dedrsResponseStatus = lens _dedrsResponseStatus (\ s a -> s{_dedrsResponseStatus = a})--instance NFData DescribeEventDetailsResponse where
− gen/Network/AWS/AWSHealth/DescribeEventTypes.hs
@@ -1,189 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.DescribeEventTypes--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order.------------ This operation returns paginated results.-module Network.AWS.AWSHealth.DescribeEventTypes-    (-    -- * Creating a Request-      describeEventTypes-    , DescribeEventTypes-    -- * Request Lenses-    , detLocale-    , detNextToken-    , detFilter-    , detMaxResults--    -- * Destructuring the Response-    , describeEventTypesResponse-    , DescribeEventTypesResponse-    -- * Response Lenses-    , detrsEventTypes-    , detrsNextToken-    , detrsResponseStatus-    ) where--import Network.AWS.AWSHealth.Types-import Network.AWS.AWSHealth.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEventTypes' smart constructor.-data DescribeEventTypes = DescribeEventTypes'-  { _detLocale     :: !(Maybe Text)-  , _detNextToken  :: !(Maybe Text)-  , _detFilter     :: !(Maybe EventTypeFilter)-  , _detMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventTypes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'detLocale' - The locale (language) to return information in. English (en) is the default and the only supported value at this time.------ * 'detNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'detFilter' - Values to narrow the results returned.------ * 'detMaxResults' - The maximum number of items to return in one batch, between 10 and 100, inclusive.-describeEventTypes-    :: DescribeEventTypes-describeEventTypes =-  DescribeEventTypes'-    { _detLocale = Nothing-    , _detNextToken = Nothing-    , _detFilter = Nothing-    , _detMaxResults = Nothing-    }----- | The locale (language) to return information in. English (en) is the default and the only supported value at this time.-detLocale :: Lens' DescribeEventTypes (Maybe Text)-detLocale = lens _detLocale (\ s a -> s{_detLocale = a})---- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-detNextToken :: Lens' DescribeEventTypes (Maybe Text)-detNextToken = lens _detNextToken (\ s a -> s{_detNextToken = a})---- | Values to narrow the results returned.-detFilter :: Lens' DescribeEventTypes (Maybe EventTypeFilter)-detFilter = lens _detFilter (\ s a -> s{_detFilter = a})---- | The maximum number of items to return in one batch, between 10 and 100, inclusive.-detMaxResults :: Lens' DescribeEventTypes (Maybe Natural)-detMaxResults = lens _detMaxResults (\ s a -> s{_detMaxResults = a}) . mapping _Nat--instance AWSPager DescribeEventTypes where-        page rq rs-          | stop (rs ^. detrsNextToken) = Nothing-          | stop (rs ^. detrsEventTypes) = Nothing-          | otherwise =-            Just $ rq & detNextToken .~ rs ^. detrsNextToken--instance AWSRequest DescribeEventTypes where-        type Rs DescribeEventTypes =-             DescribeEventTypesResponse-        request = postJSON awsHealth-        response-          = receiveJSON-              (\ s h x ->-                 DescribeEventTypesResponse' <$>-                   (x .?> "eventTypes" .!@ mempty) <*>-                     (x .?> "nextToken")-                     <*> (pure (fromEnum s)))--instance Hashable DescribeEventTypes where--instance NFData DescribeEventTypes where--instance ToHeaders DescribeEventTypes where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSHealth_20160804.DescribeEventTypes" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEventTypes where-        toJSON DescribeEventTypes'{..}-          = object-              (catMaybes-                 [("locale" .=) <$> _detLocale,-                  ("nextToken" .=) <$> _detNextToken,-                  ("filter" .=) <$> _detFilter,-                  ("maxResults" .=) <$> _detMaxResults])--instance ToPath DescribeEventTypes where-        toPath = const "/"--instance ToQuery DescribeEventTypes where-        toQuery = const mempty---- | /See:/ 'describeEventTypesResponse' smart constructor.-data DescribeEventTypesResponse = DescribeEventTypesResponse'-  { _detrsEventTypes     :: !(Maybe [EventType])-  , _detrsNextToken      :: !(Maybe Text)-  , _detrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventTypesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'detrsEventTypes' - A list of event types that match the filter criteria. Event types have a category (@issue@ , @accountNotification@ , or @scheduledChange@ ), a service (for example, @EC2@ , @RDS@ , @DATAPIPELINE@ , @BILLING@ ), and a code (in the format @AWS_/SERVICE/ _/DESCRIPTION/ @ ; for example, @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@ ).------ * 'detrsNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'detrsResponseStatus' - -- | The response status code.-describeEventTypesResponse-    :: Int -- ^ 'detrsResponseStatus'-    -> DescribeEventTypesResponse-describeEventTypesResponse pResponseStatus_ =-  DescribeEventTypesResponse'-    { _detrsEventTypes = Nothing-    , _detrsNextToken = Nothing-    , _detrsResponseStatus = pResponseStatus_-    }----- | A list of event types that match the filter criteria. Event types have a category (@issue@ , @accountNotification@ , or @scheduledChange@ ), a service (for example, @EC2@ , @RDS@ , @DATAPIPELINE@ , @BILLING@ ), and a code (in the format @AWS_/SERVICE/ _/DESCRIPTION/ @ ; for example, @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@ ).-detrsEventTypes :: Lens' DescribeEventTypesResponse [EventType]-detrsEventTypes = lens _detrsEventTypes (\ s a -> s{_detrsEventTypes = a}) . _Default . _Coerce---- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-detrsNextToken :: Lens' DescribeEventTypesResponse (Maybe Text)-detrsNextToken = lens _detrsNextToken (\ s a -> s{_detrsNextToken = a})---- | -- | The response status code.-detrsResponseStatus :: Lens' DescribeEventTypesResponse Int-detrsResponseStatus = lens _detrsResponseStatus (\ s a -> s{_detrsResponseStatus = a})--instance NFData DescribeEventTypesResponse where
− gen/Network/AWS/AWSHealth/DescribeEvents.hs
@@ -1,188 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.DescribeEvents--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the 'DescribeEventDetails' and 'DescribeAffectedEntities' operations.--------- If no filter criteria are specified, all events are returned. Results are sorted by @lastModifiedTime@ , starting with the most recent.--------- This operation returns paginated results.-module Network.AWS.AWSHealth.DescribeEvents-    (-    -- * Creating a Request-      describeEvents-    , DescribeEvents-    -- * Request Lenses-    , deLocale-    , deNextToken-    , deFilter-    , deMaxResults--    -- * Destructuring the Response-    , describeEventsResponse-    , DescribeEventsResponse-    -- * Response Lenses-    , dersNextToken-    , dersEvents-    , dersResponseStatus-    ) where--import Network.AWS.AWSHealth.Types-import Network.AWS.AWSHealth.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEvents' smart constructor.-data DescribeEvents = DescribeEvents'-  { _deLocale     :: !(Maybe Text)-  , _deNextToken  :: !(Maybe Text)-  , _deFilter     :: !(Maybe EventFilter)-  , _deMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEvents' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'deLocale' - The locale (language) to return information in. English (en) is the default and the only supported value at this time.------ * 'deNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'deFilter' - Values to narrow the results returned.------ * 'deMaxResults' - The maximum number of items to return in one batch, between 10 and 100, inclusive.-describeEvents-    :: DescribeEvents-describeEvents =-  DescribeEvents'-    { _deLocale = Nothing-    , _deNextToken = Nothing-    , _deFilter = Nothing-    , _deMaxResults = Nothing-    }----- | The locale (language) to return information in. English (en) is the default and the only supported value at this time.-deLocale :: Lens' DescribeEvents (Maybe Text)-deLocale = lens _deLocale (\ s a -> s{_deLocale = a})---- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-deNextToken :: Lens' DescribeEvents (Maybe Text)-deNextToken = lens _deNextToken (\ s a -> s{_deNextToken = a})---- | Values to narrow the results returned.-deFilter :: Lens' DescribeEvents (Maybe EventFilter)-deFilter = lens _deFilter (\ s a -> s{_deFilter = a})---- | The maximum number of items to return in one batch, between 10 and 100, inclusive.-deMaxResults :: Lens' DescribeEvents (Maybe Natural)-deMaxResults = lens _deMaxResults (\ s a -> s{_deMaxResults = a}) . mapping _Nat--instance AWSPager DescribeEvents where-        page rq rs-          | stop (rs ^. dersNextToken) = Nothing-          | stop (rs ^. dersEvents) = Nothing-          | otherwise =-            Just $ rq & deNextToken .~ rs ^. dersNextToken--instance AWSRequest DescribeEvents where-        type Rs DescribeEvents = DescribeEventsResponse-        request = postJSON awsHealth-        response-          = receiveJSON-              (\ s h x ->-                 DescribeEventsResponse' <$>-                   (x .?> "nextToken") <*> (x .?> "events" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeEvents where--instance NFData DescribeEvents where--instance ToHeaders DescribeEvents where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSHealth_20160804.DescribeEvents" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEvents where-        toJSON DescribeEvents'{..}-          = object-              (catMaybes-                 [("locale" .=) <$> _deLocale,-                  ("nextToken" .=) <$> _deNextToken,-                  ("filter" .=) <$> _deFilter,-                  ("maxResults" .=) <$> _deMaxResults])--instance ToPath DescribeEvents where-        toPath = const "/"--instance ToQuery DescribeEvents where-        toQuery = const mempty---- | /See:/ 'describeEventsResponse' smart constructor.-data DescribeEventsResponse = DescribeEventsResponse'-  { _dersNextToken      :: !(Maybe Text)-  , _dersEvents         :: !(Maybe [Event])-  , _dersResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dersNextToken' - If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.------ * 'dersEvents' - The events that match the specified filter criteria.------ * 'dersResponseStatus' - -- | The response status code.-describeEventsResponse-    :: Int -- ^ 'dersResponseStatus'-    -> DescribeEventsResponse-describeEventsResponse pResponseStatus_ =-  DescribeEventsResponse'-    { _dersNextToken = Nothing-    , _dersEvents = Nothing-    , _dersResponseStatus = pResponseStatus_-    }----- | If the results of a search are large, only a portion of the results are returned, and a @nextToken@ pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.-dersNextToken :: Lens' DescribeEventsResponse (Maybe Text)-dersNextToken = lens _dersNextToken (\ s a -> s{_dersNextToken = a})---- | The events that match the specified filter criteria.-dersEvents :: Lens' DescribeEventsResponse [Event]-dersEvents = lens _dersEvents (\ s a -> s{_dersEvents = a}) . _Default . _Coerce---- | -- | The response status code.-dersResponseStatus :: Lens' DescribeEventsResponse Int-dersResponseStatus = lens _dersResponseStatus (\ s a -> s{_dersResponseStatus = a})--instance NFData DescribeEventsResponse where
− gen/Network/AWS/AWSHealth/Types.hs
@@ -1,195 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.Types--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.AWSHealth.Types-    (-    -- * Service Configuration-      awsHealth--    -- * Errors-    , _InvalidPaginationToken-    , _UnsupportedLocale--    -- * EntityStatusCode-    , EntityStatusCode (..)--    -- * EventAggregateField-    , EventAggregateField (..)--    -- * EventStatusCode-    , EventStatusCode (..)--    -- * EventTypeCategory-    , EventTypeCategory (..)--    -- * AffectedEntity-    , AffectedEntity-    , affectedEntity-    , aeLastUpdatedTime-    , aeEntityValue-    , aeAwsAccountId-    , aeEventARN-    , aeEntityARN-    , aeTags-    , aeStatusCode--    -- * DateTimeRange-    , DateTimeRange-    , dateTimeRange-    , dtrTo-    , dtrFrom--    -- * EntityAggregate-    , EntityAggregate-    , entityAggregate-    , eCount-    , eEventARN--    -- * EntityFilter-    , EntityFilter-    , entityFilter-    , eStatusCodes-    , eEntityARNs-    , eEntityValues-    , eTags-    , eLastUpdatedTimes-    , eEventARNs--    -- * Event-    , Event-    , event-    , eLastUpdatedTime-    , eArn-    , eService-    , eStartTime-    , eEventTypeCode-    , eEventTypeCategory-    , eAvailabilityZone-    , eEndTime-    , eRegion-    , eStatusCode--    -- * EventAggregate-    , EventAggregate-    , eventAggregate-    , eaCount-    , eaAggregateValue--    -- * EventDescription-    , EventDescription-    , eventDescription-    , edLatestDescription--    -- * EventDetails-    , EventDetails-    , eventDetails-    , edEvent-    , edEventDescription-    , edEventMetadata--    -- * EventDetailsErrorItem-    , EventDetailsErrorItem-    , eventDetailsErrorItem-    , edeiEventARN-    , edeiErrorName-    , edeiErrorMessage--    -- * EventFilter-    , EventFilter-    , eventFilter-    , efEventARNs-    , efEventTypeCategories-    , efEventTypeCodes-    , efRegions-    , efEventStatusCodes-    , efEndTimes-    , efAvailabilityZones-    , efEntityARNs-    , efEntityValues-    , efStartTimes-    , efServices-    , efTags-    , efLastUpdatedTimes--    -- * EventType-    , EventType-    , eventType-    , etService-    , etCategory-    , etCode--    -- * EventTypeFilter-    , EventTypeFilter-    , eventTypeFilter-    , etfEventTypeCategories-    , etfEventTypeCodes-    , etfServices-    ) where--import Network.AWS.AWSHealth.Types.Product-import Network.AWS.AWSHealth.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2016-08-04@ of the Amazon Health APIs and Notifications SDK configuration.-awsHealth :: Service-awsHealth =-  Service-    { _svcAbbrev = "AWSHealth"-    , _svcSigner = v4-    , _svcPrefix = "health"-    , _svcVersion = "2016-08-04"-    , _svcEndpoint = defaultEndpoint awsHealth-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseJSONError "AWSHealth"-    , _svcRetry = retry-    }-  where-    retry =-      Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }-    check e-      | has (hasCode "ThrottledException" . hasStatus 400) e =-        Just "throttled_exception"-      | has (hasStatus 429) e = Just "too_many_requests"-      | has (hasCode "ThrottlingException" . hasStatus 400) e =-        Just "throttling_exception"-      | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"-      | has (hasStatus 504) e = Just "gateway_timeout"-      | has (hasCode "RequestThrottledException" . hasStatus 400) e =-        Just "request_throttled_exception"-      | has (hasStatus 502) e = Just "bad_gateway"-      | has (hasStatus 503) e = Just "service_unavailable"-      | has (hasStatus 500) e = Just "general_server_error"-      | has (hasStatus 509) e = Just "limit_exceeded"-      | otherwise = Nothing----- | The specified pagination token (@nextToken@ ) is not valid.-------_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidPaginationToken = _MatchServiceError awsHealth "InvalidPaginationToken"----- | The specified locale is not supported.-------_UnsupportedLocale :: AsError a => Getting (First ServiceError) a ServiceError-_UnsupportedLocale = _MatchServiceError awsHealth "UnsupportedLocale"-
− gen/Network/AWS/AWSHealth/Types/Product.hs
@@ -1,837 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.Types.Product--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.AWSHealth.Types.Product where--import Network.AWS.AWSHealth.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | Information about an entity that is affected by a Health event.------------ /See:/ 'affectedEntity' smart constructor.-data AffectedEntity = AffectedEntity'-  { _aeLastUpdatedTime :: !(Maybe POSIX)-  , _aeEntityValue     :: !(Maybe Text)-  , _aeAwsAccountId    :: !(Maybe Text)-  , _aeEventARN        :: !(Maybe Text)-  , _aeEntityARN       :: !(Maybe Text)-  , _aeTags            :: !(Maybe (Map Text Text))-  , _aeStatusCode      :: !(Maybe EntityStatusCode)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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@ .-affectedEntity-    :: AffectedEntity-affectedEntity =-  AffectedEntity'-    { _aeLastUpdatedTime = Nothing-    , _aeEntityValue = Nothing-    , _aeAwsAccountId = Nothing-    , _aeEventARN = Nothing-    , _aeEntityARN = Nothing-    , _aeTags = Nothing-    , _aeStatusCode = Nothing-    }----- | The most recent time that the entity was updated.-aeLastUpdatedTime :: Lens' AffectedEntity (Maybe UTCTime)-aeLastUpdatedTime = lens _aeLastUpdatedTime (\ s a -> s{_aeLastUpdatedTime = a}) . mapping _Time---- | The ID of the affected entity.-aeEntityValue :: Lens' AffectedEntity (Maybe Text)-aeEntityValue = lens _aeEntityValue (\ s a -> s{_aeEntityValue = a})---- | The 12-digit AWS account number that contains the affected entity.-aeAwsAccountId :: Lens' AffectedEntity (Maybe Text)-aeAwsAccountId = lens _aeAwsAccountId (\ s a -> s{_aeAwsAccountId = a})---- | 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@-aeEventARN :: Lens' AffectedEntity (Maybe Text)-aeEventARN = lens _aeEventARN (\ s a -> s{_aeEventARN = a})---- | 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@-aeEntityARN :: Lens' AffectedEntity (Maybe Text)-aeEntityARN = lens _aeEntityARN (\ s a -> s{_aeEntityARN = a})---- | A map of entity tags attached to the affected entity.-aeTags :: Lens' AffectedEntity (HashMap Text Text)-aeTags = lens _aeTags (\ s a -> s{_aeTags = a}) . _Default . _Map---- | The most recent status of the entity affected by the event. The possible values are @IMPAIRED@ , @UNIMPAIRED@ , and @UNKNOWN@ .-aeStatusCode :: Lens' AffectedEntity (Maybe EntityStatusCode)-aeStatusCode = lens _aeStatusCode (\ s a -> s{_aeStatusCode = a})--instance FromJSON AffectedEntity where-        parseJSON-          = withObject "AffectedEntity"-              (\ x ->-                 AffectedEntity' <$>-                   (x .:? "lastUpdatedTime") <*> (x .:? "entityValue")-                     <*> (x .:? "awsAccountId")-                     <*> (x .:? "eventArn")-                     <*> (x .:? "entityArn")-                     <*> (x .:? "tags" .!= mempty)-                     <*> (x .:? "statusCode"))--instance Hashable AffectedEntity where--instance NFData AffectedEntity where---- | 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.-data DateTimeRange = DateTimeRange'-  { _dtrTo   :: !(Maybe POSIX)-  , _dtrFrom :: !(Maybe POSIX)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-dateTimeRange-    :: DateTimeRange-dateTimeRange = DateTimeRange' {_dtrTo = Nothing, _dtrFrom = Nothing}----- | The ending date and time of a time range.-dtrTo :: Lens' DateTimeRange (Maybe UTCTime)-dtrTo = lens _dtrTo (\ s a -> s{_dtrTo = a}) . mapping _Time---- | The starting date and time of a time range.-dtrFrom :: Lens' DateTimeRange (Maybe UTCTime)-dtrFrom = lens _dtrFrom (\ s a -> s{_dtrFrom = a}) . mapping _Time--instance Hashable DateTimeRange where--instance NFData DateTimeRange where--instance ToJSON DateTimeRange where-        toJSON DateTimeRange'{..}-          = object-              (catMaybes-                 [("to" .=) <$> _dtrTo, ("from" .=) <$> _dtrFrom])---- | The number of entities that are affected by one or more events. Returned by the 'DescribeEntityAggregates' operation.------------ /See:/ 'entityAggregate' smart constructor.-data EntityAggregate = EntityAggregate'-  { _eCount    :: !(Maybe Int)-  , _eEventARN :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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@-entityAggregate-    :: EntityAggregate-entityAggregate = EntityAggregate' {_eCount = Nothing, _eEventARN = Nothing}----- | The number entities that match the criteria for the specified events.-eCount :: Lens' EntityAggregate (Maybe Int)-eCount = lens _eCount (\ s a -> s{_eCount = a})---- | 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@-eEventARN :: Lens' EntityAggregate (Maybe Text)-eEventARN = lens _eEventARN (\ s a -> s{_eEventARN = a})--instance FromJSON EntityAggregate where-        parseJSON-          = withObject "EntityAggregate"-              (\ x ->-                 EntityAggregate' <$>-                   (x .:? "count") <*> (x .:? "eventArn"))--instance Hashable EntityAggregate where--instance NFData EntityAggregate where---- | The values to use to filter results from the 'DescribeAffectedEntities' operation.------------ /See:/ 'entityFilter' smart constructor.-data EntityFilter = EntityFilter'-  { _eStatusCodes      :: !(Maybe (List1 EntityStatusCode))-  , _eEntityARNs       :: !(Maybe (List1 Text))-  , _eEntityValues     :: !(Maybe (List1 Text))-  , _eTags             :: !(Maybe [Map Text Text])-  , _eLastUpdatedTimes :: !(Maybe (List1 DateTimeRange))-  , _eEventARNs        :: !(List1 Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@-entityFilter-    :: NonEmpty Text -- ^ 'eEventARNs'-    -> EntityFilter-entityFilter pEventARNs_ =-  EntityFilter'-    { _eStatusCodes = Nothing-    , _eEntityARNs = Nothing-    , _eEntityValues = Nothing-    , _eTags = Nothing-    , _eLastUpdatedTimes = Nothing-    , _eEventARNs = _List1 # pEventARNs_-    }----- | A list of entity status codes (@IMPAIRED@ , @UNIMPAIRED@ , or @UNKNOWN@ ).-eStatusCodes :: Lens' EntityFilter (Maybe (NonEmpty EntityStatusCode))-eStatusCodes = lens _eStatusCodes (\ s a -> s{_eStatusCodes = a}) . mapping _List1---- | A list of entity ARNs (unique identifiers).-eEntityARNs :: Lens' EntityFilter (Maybe (NonEmpty Text))-eEntityARNs = lens _eEntityARNs (\ s a -> s{_eEntityARNs = a}) . mapping _List1---- | A list of IDs for affected entities.-eEntityValues :: Lens' EntityFilter (Maybe (NonEmpty Text))-eEntityValues = lens _eEntityValues (\ s a -> s{_eEntityValues = a}) . mapping _List1---- | A map of entity tags attached to the affected entity.-eTags :: Lens' EntityFilter [HashMap Text Text]-eTags = lens _eTags (\ s a -> s{_eTags = a}) . _Default . _Coerce---- | A list of the most recent dates and times that the entity was updated.-eLastUpdatedTimes :: Lens' EntityFilter (Maybe (NonEmpty DateTimeRange))-eLastUpdatedTimes = lens _eLastUpdatedTimes (\ s a -> s{_eLastUpdatedTimes = a}) . mapping _List1---- | A list of event ARNs (unique identifiers). For example: @"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@-eEventARNs :: Lens' EntityFilter (NonEmpty Text)-eEventARNs = lens _eEventARNs (\ s a -> s{_eEventARNs = a}) . _List1--instance Hashable EntityFilter where--instance NFData EntityFilter where--instance ToJSON EntityFilter where-        toJSON EntityFilter'{..}-          = object-              (catMaybes-                 [("statusCodes" .=) <$> _eStatusCodes,-                  ("entityArns" .=) <$> _eEntityARNs,-                  ("entityValues" .=) <$> _eEntityValues,-                  ("tags" .=) <$> _eTags,-                  ("lastUpdatedTimes" .=) <$> _eLastUpdatedTimes,-                  Just ("eventArns" .= _eEventARNs)])---- | 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.-data Event = Event'-  { _eLastUpdatedTime   :: !(Maybe POSIX)-  , _eArn               :: !(Maybe Text)-  , _eService           :: !(Maybe Text)-  , _eStartTime         :: !(Maybe POSIX)-  , _eEventTypeCode     :: !(Maybe Text)-  , _eEventTypeCategory :: !(Maybe EventTypeCategory)-  , _eAvailabilityZone  :: !(Maybe Text)-  , _eEndTime           :: !(Maybe POSIX)-  , _eRegion            :: !(Maybe Text)-  , _eStatusCode        :: !(Maybe EventStatusCode)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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@ .-event-    :: Event-event =-  Event'-    { _eLastUpdatedTime = Nothing-    , _eArn = Nothing-    , _eService = Nothing-    , _eStartTime = Nothing-    , _eEventTypeCode = Nothing-    , _eEventTypeCategory = Nothing-    , _eAvailabilityZone = Nothing-    , _eEndTime = Nothing-    , _eRegion = Nothing-    , _eStatusCode = Nothing-    }----- | The most recent date and time that the event was updated.-eLastUpdatedTime :: Lens' Event (Maybe UTCTime)-eLastUpdatedTime = lens _eLastUpdatedTime (\ s a -> s{_eLastUpdatedTime = a}) . mapping _Time---- | 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@-eArn :: Lens' Event (Maybe Text)-eArn = lens _eArn (\ s a -> s{_eArn = a})---- | The AWS service that is affected by the event. For example, @EC2@ , @RDS@ .-eService :: Lens' Event (Maybe Text)-eService = lens _eService (\ s a -> s{_eService = a})---- | The date and time that the event began.-eStartTime :: Lens' Event (Maybe UTCTime)-eStartTime = lens _eStartTime (\ s a -> s{_eStartTime = a}) . mapping _Time---- | The unique identifier for the event type. The format is @AWS_/SERVICE/ _/DESCRIPTION/ @ ; for example, @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@ .-eEventTypeCode :: Lens' Event (Maybe Text)-eEventTypeCode = lens _eEventTypeCode (\ s a -> s{_eEventTypeCode = a})---- | The-eEventTypeCategory :: Lens' Event (Maybe EventTypeCategory)-eEventTypeCategory = lens _eEventTypeCategory (\ s a -> s{_eEventTypeCategory = a})---- | The AWS Availability Zone of the event. For example, us-east-1a.-eAvailabilityZone :: Lens' Event (Maybe Text)-eAvailabilityZone = lens _eAvailabilityZone (\ s a -> s{_eAvailabilityZone = a})---- | The date and time that the event ended.-eEndTime :: Lens' Event (Maybe UTCTime)-eEndTime = lens _eEndTime (\ s a -> s{_eEndTime = a}) . mapping _Time---- | The AWS region name of the event.-eRegion :: Lens' Event (Maybe Text)-eRegion = lens _eRegion (\ s a -> s{_eRegion = a})---- | The most recent status of the event. Possible values are @open@ , @closed@ , and @upcoming@ .-eStatusCode :: Lens' Event (Maybe EventStatusCode)-eStatusCode = lens _eStatusCode (\ s a -> s{_eStatusCode = a})--instance FromJSON Event where-        parseJSON-          = withObject "Event"-              (\ x ->-                 Event' <$>-                   (x .:? "lastUpdatedTime") <*> (x .:? "arn") <*>-                     (x .:? "service")-                     <*> (x .:? "startTime")-                     <*> (x .:? "eventTypeCode")-                     <*> (x .:? "eventTypeCategory")-                     <*> (x .:? "availabilityZone")-                     <*> (x .:? "endTime")-                     <*> (x .:? "region")-                     <*> (x .:? "statusCode"))--instance Hashable Event where--instance NFData Event where---- | The number of events of each issue type. Returned by the 'DescribeEventAggregates' operation.------------ /See:/ 'eventAggregate' smart constructor.-data EventAggregate = EventAggregate'-  { _eaCount          :: !(Maybe Int)-  , _eaAggregateValue :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-eventAggregate-    :: EventAggregate-eventAggregate =-  EventAggregate' {_eaCount = Nothing, _eaAggregateValue = Nothing}----- | The number of events of the associated issue type.-eaCount :: Lens' EventAggregate (Maybe Int)-eaCount = lens _eaCount (\ s a -> s{_eaCount = a})---- | The issue type for the associated count.-eaAggregateValue :: Lens' EventAggregate (Maybe Text)-eaAggregateValue = lens _eaAggregateValue (\ s a -> s{_eaAggregateValue = a})--instance FromJSON EventAggregate where-        parseJSON-          = withObject "EventAggregate"-              (\ x ->-                 EventAggregate' <$>-                   (x .:? "count") <*> (x .:? "aggregateValue"))--instance Hashable EventAggregate where--instance NFData EventAggregate where---- | The detailed description of the event. Included in the information returned by the 'DescribeEventDetails' operation.------------ /See:/ 'eventDescription' smart constructor.-newtype EventDescription = EventDescription'-  { _edLatestDescription :: Maybe Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The most recent description of the event.-eventDescription-    :: EventDescription-eventDescription = EventDescription' {_edLatestDescription = Nothing}----- | The most recent description of the event.-edLatestDescription :: Lens' EventDescription (Maybe Text)-edLatestDescription = lens _edLatestDescription (\ s a -> s{_edLatestDescription = a})--instance FromJSON EventDescription where-        parseJSON-          = withObject "EventDescription"-              (\ x ->-                 EventDescription' <$> (x .:? "latestDescription"))--instance Hashable EventDescription where--instance NFData EventDescription where---- | 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.-data EventDetails = EventDetails'-  { _edEvent            :: !(Maybe Event)-  , _edEventDescription :: !(Maybe EventDescription)-  , _edEventMetadata    :: !(Maybe (Map Text Text))-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - Summary information about the event.------ * 'edEventDescription' - The most recent description of the event.------ * 'edEventMetadata' - Additional metadata about the event.-eventDetails-    :: EventDetails-eventDetails =-  EventDetails'-    { _edEvent = Nothing-    , _edEventDescription = Nothing-    , _edEventMetadata = Nothing-    }----- | Summary information about the event.-edEvent :: Lens' EventDetails (Maybe Event)-edEvent = lens _edEvent (\ s a -> s{_edEvent = a})---- | The most recent description of the event.-edEventDescription :: Lens' EventDetails (Maybe EventDescription)-edEventDescription = lens _edEventDescription (\ s a -> s{_edEventDescription = a})---- | Additional metadata about the event.-edEventMetadata :: Lens' EventDetails (HashMap Text Text)-edEventMetadata = lens _edEventMetadata (\ s a -> s{_edEventMetadata = a}) . _Default . _Map--instance FromJSON EventDetails where-        parseJSON-          = withObject "EventDetails"-              (\ x ->-                 EventDetails' <$>-                   (x .:? "event") <*> (x .:? "eventDescription") <*>-                     (x .:? "eventMetadata" .!= mempty))--instance Hashable EventDetails where--instance NFData EventDetails where---- | Error information returned when a 'DescribeEventDetails' operation cannot find a specified event.------------ /See:/ 'eventDetailsErrorItem' smart constructor.-data EventDetailsErrorItem = EventDetailsErrorItem'-  { _edeiEventARN     :: !(Maybe Text)-  , _edeiErrorName    :: !(Maybe Text)-  , _edeiErrorMessage :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-eventDetailsErrorItem-    :: EventDetailsErrorItem-eventDetailsErrorItem =-  EventDetailsErrorItem'-    { _edeiEventARN = Nothing-    , _edeiErrorName = Nothing-    , _edeiErrorMessage = Nothing-    }----- | 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@-edeiEventARN :: Lens' EventDetailsErrorItem (Maybe Text)-edeiEventARN = lens _edeiEventARN (\ s a -> s{_edeiEventARN = a})---- | The name of the error.-edeiErrorName :: Lens' EventDetailsErrorItem (Maybe Text)-edeiErrorName = lens _edeiErrorName (\ s a -> s{_edeiErrorName = a})---- | A message that describes the error.-edeiErrorMessage :: Lens' EventDetailsErrorItem (Maybe Text)-edeiErrorMessage = lens _edeiErrorMessage (\ s a -> s{_edeiErrorMessage = a})--instance FromJSON EventDetailsErrorItem where-        parseJSON-          = withObject "EventDetailsErrorItem"-              (\ x ->-                 EventDetailsErrorItem' <$>-                   (x .:? "eventArn") <*> (x .:? "errorName") <*>-                     (x .:? "errorMessage"))--instance Hashable EventDetailsErrorItem where--instance NFData EventDetailsErrorItem where---- | The values to use to filter results from the 'DescribeEvents' and 'DescribeEventAggregates' operations.------------ /See:/ 'eventFilter' smart constructor.-data EventFilter = EventFilter'-  { _efEventARNs           :: !(Maybe (List1 Text))-  , _efEventTypeCategories :: !(Maybe (List1 EventTypeCategory))-  , _efEventTypeCodes      :: !(Maybe (List1 Text))-  , _efRegions             :: !(Maybe (List1 Text))-  , _efEventStatusCodes    :: !(Maybe (List1 EventStatusCode))-  , _efEndTimes            :: !(Maybe (List1 DateTimeRange))-  , _efAvailabilityZones   :: !(Maybe [Text])-  , _efEntityARNs          :: !(Maybe (List1 Text))-  , _efEntityValues        :: !(Maybe (List1 Text))-  , _efStartTimes          :: !(Maybe (List1 DateTimeRange))-  , _efServices            :: !(Maybe (List1 Text))-  , _efTags                :: !(Maybe [Map Text Text])-  , _efLastUpdatedTimes    :: !(Maybe (List1 DateTimeRange))-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - A list of event ARNs (unique identifiers). For example: @"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@------ * 'efEventTypeCategories' - A list of event type category codes (@issue@ , @scheduledChange@ , or @accountNotification@ ).------ * 'efEventTypeCodes' - A list of unique identifiers for event types. For example, @"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"@------ * 'efRegions' - A list of AWS regions.------ * 'efEventStatusCodes' - A list of event status codes.------ * 'efEndTimes' - A list of dates and times that the event ended.------ * 'efAvailabilityZones' - A list of AWS availability zones.------ * 'efEntityARNs' - A list of entity ARNs (unique identifiers).------ * 'efEntityValues' - A list of entity identifiers, such as EC2 instance IDs (@i-34ab692e@ ) or EBS volumes (@vol-426ab23e@ ).------ * 'efStartTimes' - A list of dates and times that the event began.------ * 'efServices' - The AWS services associated with the event. For example, @EC2@ , @RDS@ .------ * 'efTags' - A map of entity tags attached to the affected entity.------ * 'efLastUpdatedTimes' - A list of dates and times that the event was last updated.-eventFilter-    :: EventFilter-eventFilter =-  EventFilter'-    { _efEventARNs = Nothing-    , _efEventTypeCategories = Nothing-    , _efEventTypeCodes = Nothing-    , _efRegions = Nothing-    , _efEventStatusCodes = Nothing-    , _efEndTimes = Nothing-    , _efAvailabilityZones = Nothing-    , _efEntityARNs = Nothing-    , _efEntityValues = Nothing-    , _efStartTimes = Nothing-    , _efServices = Nothing-    , _efTags = Nothing-    , _efLastUpdatedTimes = Nothing-    }----- | A list of event ARNs (unique identifiers). For example: @"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"@-efEventARNs :: Lens' EventFilter (Maybe (NonEmpty Text))-efEventARNs = lens _efEventARNs (\ s a -> s{_efEventARNs = a}) . mapping _List1---- | A list of event type category codes (@issue@ , @scheduledChange@ , or @accountNotification@ ).-efEventTypeCategories :: Lens' EventFilter (Maybe (NonEmpty EventTypeCategory))-efEventTypeCategories = lens _efEventTypeCategories (\ s a -> s{_efEventTypeCategories = a}) . mapping _List1---- | A list of unique identifiers for event types. For example, @"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED"@-efEventTypeCodes :: Lens' EventFilter (Maybe (NonEmpty Text))-efEventTypeCodes = lens _efEventTypeCodes (\ s a -> s{_efEventTypeCodes = a}) . mapping _List1---- | A list of AWS regions.-efRegions :: Lens' EventFilter (Maybe (NonEmpty Text))-efRegions = lens _efRegions (\ s a -> s{_efRegions = a}) . mapping _List1---- | A list of event status codes.-efEventStatusCodes :: Lens' EventFilter (Maybe (NonEmpty EventStatusCode))-efEventStatusCodes = lens _efEventStatusCodes (\ s a -> s{_efEventStatusCodes = a}) . mapping _List1---- | A list of dates and times that the event ended.-efEndTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))-efEndTimes = lens _efEndTimes (\ s a -> s{_efEndTimes = a}) . mapping _List1---- | A list of AWS availability zones.-efAvailabilityZones :: Lens' EventFilter [Text]-efAvailabilityZones = lens _efAvailabilityZones (\ s a -> s{_efAvailabilityZones = a}) . _Default . _Coerce---- | A list of entity ARNs (unique identifiers).-efEntityARNs :: Lens' EventFilter (Maybe (NonEmpty Text))-efEntityARNs = lens _efEntityARNs (\ s a -> s{_efEntityARNs = a}) . mapping _List1---- | A list of entity identifiers, such as EC2 instance IDs (@i-34ab692e@ ) or EBS volumes (@vol-426ab23e@ ).-efEntityValues :: Lens' EventFilter (Maybe (NonEmpty Text))-efEntityValues = lens _efEntityValues (\ s a -> s{_efEntityValues = a}) . mapping _List1---- | A list of dates and times that the event began.-efStartTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))-efStartTimes = lens _efStartTimes (\ s a -> s{_efStartTimes = a}) . mapping _List1---- | The AWS services associated with the event. For example, @EC2@ , @RDS@ .-efServices :: Lens' EventFilter (Maybe (NonEmpty Text))-efServices = lens _efServices (\ s a -> s{_efServices = a}) . mapping _List1---- | A map of entity tags attached to the affected entity.-efTags :: Lens' EventFilter [HashMap Text Text]-efTags = lens _efTags (\ s a -> s{_efTags = a}) . _Default . _Coerce---- | A list of dates and times that the event was last updated.-efLastUpdatedTimes :: Lens' EventFilter (Maybe (NonEmpty DateTimeRange))-efLastUpdatedTimes = lens _efLastUpdatedTimes (\ s a -> s{_efLastUpdatedTimes = a}) . mapping _List1--instance Hashable EventFilter where--instance NFData EventFilter where--instance ToJSON EventFilter where-        toJSON EventFilter'{..}-          = object-              (catMaybes-                 [("eventArns" .=) <$> _efEventARNs,-                  ("eventTypeCategories" .=) <$>-                    _efEventTypeCategories,-                  ("eventTypeCodes" .=) <$> _efEventTypeCodes,-                  ("regions" .=) <$> _efRegions,-                  ("eventStatusCodes" .=) <$> _efEventStatusCodes,-                  ("endTimes" .=) <$> _efEndTimes,-                  ("availabilityZones" .=) <$> _efAvailabilityZones,-                  ("entityArns" .=) <$> _efEntityARNs,-                  ("entityValues" .=) <$> _efEntityValues,-                  ("startTimes" .=) <$> _efStartTimes,-                  ("services" .=) <$> _efServices,-                  ("tags" .=) <$> _efTags,-                  ("lastUpdatedTimes" .=) <$> _efLastUpdatedTimes])---- | 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.-data EventType = EventType'-  { _etService  :: !(Maybe Text)-  , _etCategory :: !(Maybe EventTypeCategory)-  , _etCode     :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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@ .-eventType-    :: EventType-eventType =-  EventType' {_etService = Nothing, _etCategory = Nothing, _etCode = Nothing}----- | The AWS service that is affected by the event. For example, @EC2@ , @RDS@ .-etService :: Lens' EventType (Maybe Text)-etService = lens _etService (\ s a -> s{_etService = a})---- | A list of event type category codes (@issue@ , @scheduledChange@ , or @accountNotification@ ).-etCategory :: Lens' EventType (Maybe EventTypeCategory)-etCategory = lens _etCategory (\ s a -> s{_etCategory = a})---- | The unique identifier for the event type. The format is @AWS_/SERVICE/ _/DESCRIPTION/ @ ; for example, @AWS_EC2_SYSTEM_MAINTENANCE_EVENT@ .-etCode :: Lens' EventType (Maybe Text)-etCode = lens _etCode (\ s a -> s{_etCode = a})--instance FromJSON EventType where-        parseJSON-          = withObject "EventType"-              (\ x ->-                 EventType' <$>-                   (x .:? "service") <*> (x .:? "category") <*>-                     (x .:? "code"))--instance Hashable EventType where--instance NFData EventType where---- | The values to use to filter results from the 'DescribeEventTypes' operation.------------ /See:/ 'eventTypeFilter' smart constructor.-data EventTypeFilter = EventTypeFilter'-  { _etfEventTypeCategories :: !(Maybe (List1 EventTypeCategory))-  , _etfEventTypeCodes      :: !(Maybe (List1 Text))-  , _etfServices            :: !(Maybe (List1 Text))-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - A list of event type category codes (@issue@ , @scheduledChange@ , or @accountNotification@ ).------ * 'etfEventTypeCodes' - A list of event type codes.------ * 'etfServices' - The AWS services associated with the event. For example, @EC2@ , @RDS@ .-eventTypeFilter-    :: EventTypeFilter-eventTypeFilter =-  EventTypeFilter'-    { _etfEventTypeCategories = Nothing-    , _etfEventTypeCodes = Nothing-    , _etfServices = Nothing-    }----- | A list of event type category codes (@issue@ , @scheduledChange@ , or @accountNotification@ ).-etfEventTypeCategories :: Lens' EventTypeFilter (Maybe (NonEmpty EventTypeCategory))-etfEventTypeCategories = lens _etfEventTypeCategories (\ s a -> s{_etfEventTypeCategories = a}) . mapping _List1---- | A list of event type codes.-etfEventTypeCodes :: Lens' EventTypeFilter (Maybe (NonEmpty Text))-etfEventTypeCodes = lens _etfEventTypeCodes (\ s a -> s{_etfEventTypeCodes = a}) . mapping _List1---- | The AWS services associated with the event. For example, @EC2@ , @RDS@ .-etfServices :: Lens' EventTypeFilter (Maybe (NonEmpty Text))-etfServices = lens _etfServices (\ s a -> s{_etfServices = a}) . mapping _List1--instance Hashable EventTypeFilter where--instance NFData EventTypeFilter where--instance ToJSON EventTypeFilter where-        toJSON EventTypeFilter'{..}-          = object-              (catMaybes-                 [("eventTypeCategories" .=) <$>-                    _etfEventTypeCategories,-                  ("eventTypeCodes" .=) <$> _etfEventTypeCodes,-                  ("services" .=) <$> _etfServices])
− gen/Network/AWS/AWSHealth/Types/Sum.hs
@@ -1,143 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.Types.Sum--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.AWSHealth.Types.Sum where--import Network.AWS.Prelude--data EntityStatusCode-  = Impaired-  | Unimpaired-  | Unknown-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EntityStatusCode where-    parser = takeLowerText >>= \case-        "impaired" -> pure Impaired-        "unimpaired" -> pure Unimpaired-        "unknown" -> pure Unknown-        e -> fromTextError $ "Failure parsing EntityStatusCode from value: '" <> e-           <> "'. Accepted values: impaired, unimpaired, unknown"--instance ToText EntityStatusCode where-    toText = \case-        Impaired -> "IMPAIRED"-        Unimpaired -> "UNIMPAIRED"-        Unknown -> "UNKNOWN"--instance Hashable     EntityStatusCode-instance NFData       EntityStatusCode-instance ToByteString EntityStatusCode-instance ToQuery      EntityStatusCode-instance ToHeader     EntityStatusCode--instance ToJSON EntityStatusCode where-    toJSON = toJSONText--instance FromJSON EntityStatusCode where-    parseJSON = parseJSONText "EntityStatusCode"--data EventAggregateField =-  EventTypeCategory-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EventAggregateField where-    parser = takeLowerText >>= \case-        "eventtypecategory" -> pure EventTypeCategory-        e -> fromTextError $ "Failure parsing EventAggregateField from value: '" <> e-           <> "'. Accepted values: eventtypecategory"--instance ToText EventAggregateField where-    toText = \case-        EventTypeCategory -> "eventTypeCategory"--instance Hashable     EventAggregateField-instance NFData       EventAggregateField-instance ToByteString EventAggregateField-instance ToQuery      EventAggregateField-instance ToHeader     EventAggregateField--instance ToJSON EventAggregateField where-    toJSON = toJSONText--data EventStatusCode-  = Closed-  | Open-  | Upcoming-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EventStatusCode where-    parser = takeLowerText >>= \case-        "closed" -> pure Closed-        "open" -> pure Open-        "upcoming" -> pure Upcoming-        e -> fromTextError $ "Failure parsing EventStatusCode from value: '" <> e-           <> "'. Accepted values: closed, open, upcoming"--instance ToText EventStatusCode where-    toText = \case-        Closed -> "closed"-        Open -> "open"-        Upcoming -> "upcoming"--instance Hashable     EventStatusCode-instance NFData       EventStatusCode-instance ToByteString EventStatusCode-instance ToQuery      EventStatusCode-instance ToHeader     EventStatusCode--instance ToJSON EventStatusCode where-    toJSON = toJSONText--instance FromJSON EventStatusCode where-    parseJSON = parseJSONText "EventStatusCode"--data EventTypeCategory-  = AccountNotification-  | Issue-  | ScheduledChange-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EventTypeCategory where-    parser = takeLowerText >>= \case-        "accountnotification" -> pure AccountNotification-        "issue" -> pure Issue-        "scheduledchange" -> pure ScheduledChange-        e -> fromTextError $ "Failure parsing EventTypeCategory from value: '" <> e-           <> "'. Accepted values: accountnotification, issue, scheduledchange"--instance ToText EventTypeCategory where-    toText = \case-        AccountNotification -> "accountNotification"-        Issue -> "issue"-        ScheduledChange -> "scheduledChange"--instance Hashable     EventTypeCategory-instance NFData       EventTypeCategory-instance ToByteString EventTypeCategory-instance ToQuery      EventTypeCategory-instance ToHeader     EventTypeCategory--instance ToJSON EventTypeCategory where-    toJSON = toJSONText--instance FromJSON EventTypeCategory where-    parseJSON = parseJSONText "EventTypeCategory"
− gen/Network/AWS/AWSHealth/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies      #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AWSHealth.Waiters--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.AWSHealth.Waiters where--import Network.AWS.AWSHealth.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2018 Brendan Hay+-- Copyright   : (c) 2013-2023 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer  : Brendan Hay -- Stability   : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.AWSHealth+import Test.Amazonka.AWSHealth.Internal import Test.Tasty-import Test.AWS.AWSHealth-import Test.AWS.AWSHealth.Internal  main :: IO ()-main = defaultMain $ testGroup "AWSHealth"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "AWSHealth"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/AWSHealth.hs
@@ -1,20 +0,0 @@--- |--- Module      : Test.AWS.AWSHealth--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.AWSHealth-    ( tests-    , fixtures-    ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/AWSHealth/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module      : Test.AWS.AWSHealth.Internal--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.AWSHealth.Internal where
− test/Test/AWS/Gen/AWSHealth.hs
@@ -1,147 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans        #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Test.AWS.Gen.AWSHealth--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.AWSHealth where--import Data.Proxy-import Network.AWS.AWSHealth-import Test.AWS.AWSHealth.Internal-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =---     [ testGroup "request"---         [ requestDescribeEntityAggregates $---             describeEntityAggregates------         , requestDescribeEvents $---             describeEvents------         , requestDescribeEventDetails $---             describeEventDetails------         , requestDescribeEventAggregates $---             describeEventAggregates------         , requestDescribeAffectedEntities $---             describeAffectedEntities------         , requestDescribeEventTypes $---             describeEventTypes------           ]----     , testGroup "response"---         [ responseDescribeEntityAggregates $---             describeEntityAggregatesResponse------         , responseDescribeEvents $---             describeEventsResponse------         , responseDescribeEventDetails $---             describeEventDetailsResponse------         , responseDescribeEventAggregates $---             describeEventAggregatesResponse------         , responseDescribeAffectedEntities $---             describeAffectedEntitiesResponse------         , responseDescribeEventTypes $---             describeEventTypesResponse------           ]---     ]---- Requests--requestDescribeEntityAggregates :: DescribeEntityAggregates -> TestTree-requestDescribeEntityAggregates = req-    "DescribeEntityAggregates"-    "fixture/DescribeEntityAggregates.yaml"--requestDescribeEvents :: DescribeEvents -> TestTree-requestDescribeEvents = req-    "DescribeEvents"-    "fixture/DescribeEvents.yaml"--requestDescribeEventDetails :: DescribeEventDetails -> TestTree-requestDescribeEventDetails = req-    "DescribeEventDetails"-    "fixture/DescribeEventDetails.yaml"--requestDescribeEventAggregates :: DescribeEventAggregates -> TestTree-requestDescribeEventAggregates = req-    "DescribeEventAggregates"-    "fixture/DescribeEventAggregates.yaml"--requestDescribeAffectedEntities :: DescribeAffectedEntities -> TestTree-requestDescribeAffectedEntities = req-    "DescribeAffectedEntities"-    "fixture/DescribeAffectedEntities.yaml"--requestDescribeEventTypes :: DescribeEventTypes -> TestTree-requestDescribeEventTypes = req-    "DescribeEventTypes"-    "fixture/DescribeEventTypes.yaml"---- Responses--responseDescribeEntityAggregates :: DescribeEntityAggregatesResponse -> TestTree-responseDescribeEntityAggregates = res-    "DescribeEntityAggregatesResponse"-    "fixture/DescribeEntityAggregatesResponse.proto"-    awsHealth-    (Proxy :: Proxy DescribeEntityAggregates)--responseDescribeEvents :: DescribeEventsResponse -> TestTree-responseDescribeEvents = res-    "DescribeEventsResponse"-    "fixture/DescribeEventsResponse.proto"-    awsHealth-    (Proxy :: Proxy DescribeEvents)--responseDescribeEventDetails :: DescribeEventDetailsResponse -> TestTree-responseDescribeEventDetails = res-    "DescribeEventDetailsResponse"-    "fixture/DescribeEventDetailsResponse.proto"-    awsHealth-    (Proxy :: Proxy DescribeEventDetails)--responseDescribeEventAggregates :: DescribeEventAggregatesResponse -> TestTree-responseDescribeEventAggregates = res-    "DescribeEventAggregatesResponse"-    "fixture/DescribeEventAggregatesResponse.proto"-    awsHealth-    (Proxy :: Proxy DescribeEventAggregates)--responseDescribeAffectedEntities :: DescribeAffectedEntitiesResponse -> TestTree-responseDescribeAffectedEntities = res-    "DescribeAffectedEntitiesResponse"-    "fixture/DescribeAffectedEntitiesResponse.proto"-    awsHealth-    (Proxy :: Proxy DescribeAffectedEntities)--responseDescribeEventTypes :: DescribeEventTypesResponse -> TestTree-responseDescribeEventTypes = res-    "DescribeEventTypesResponse"-    "fixture/DescribeEventTypesResponse.proto"-    awsHealth-    (Proxy :: Proxy DescribeEventTypes)
+ test/Test/Amazonka/AWSHealth.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.AWSHealth+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.AWSHealth+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/AWSHealth/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.AWSHealth.Internal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.AWSHealth.Internal where
+ test/Test/Amazonka/Gen/AWSHealth.hs view
@@ -0,0 +1,298 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Test.Amazonka.Gen.AWSHealth+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.AWSHealth where++import Amazonka.AWSHealth+import qualified Data.Proxy as Proxy+import Test.Amazonka.AWSHealth.Internal+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+--     [ testGroup "request"+--         [ requestDescribeAffectedAccountsForOrganization $+--             newDescribeAffectedAccountsForOrganization+--+--         , requestDescribeAffectedEntities $+--             newDescribeAffectedEntities+--+--         , requestDescribeAffectedEntitiesForOrganization $+--             newDescribeAffectedEntitiesForOrganization+--+--         , requestDescribeEntityAggregates $+--             newDescribeEntityAggregates+--+--         , requestDescribeEventAggregates $+--             newDescribeEventAggregates+--+--         , requestDescribeEventDetails $+--             newDescribeEventDetails+--+--         , requestDescribeEventDetailsForOrganization $+--             newDescribeEventDetailsForOrganization+--+--         , requestDescribeEventTypes $+--             newDescribeEventTypes+--+--         , requestDescribeEvents $+--             newDescribeEvents+--+--         , requestDescribeEventsForOrganization $+--             newDescribeEventsForOrganization+--+--         , requestDescribeHealthServiceStatusForOrganization $+--             newDescribeHealthServiceStatusForOrganization+--+--         , requestDisableHealthServiceAccessForOrganization $+--             newDisableHealthServiceAccessForOrganization+--+--         , requestEnableHealthServiceAccessForOrganization $+--             newEnableHealthServiceAccessForOrganization+--+--           ]++--     , testGroup "response"+--         [ responseDescribeAffectedAccountsForOrganization $+--             newDescribeAffectedAccountsForOrganizationResponse+--+--         , responseDescribeAffectedEntities $+--             newDescribeAffectedEntitiesResponse+--+--         , responseDescribeAffectedEntitiesForOrganization $+--             newDescribeAffectedEntitiesForOrganizationResponse+--+--         , responseDescribeEntityAggregates $+--             newDescribeEntityAggregatesResponse+--+--         , responseDescribeEventAggregates $+--             newDescribeEventAggregatesResponse+--+--         , responseDescribeEventDetails $+--             newDescribeEventDetailsResponse+--+--         , responseDescribeEventDetailsForOrganization $+--             newDescribeEventDetailsForOrganizationResponse+--+--         , responseDescribeEventTypes $+--             newDescribeEventTypesResponse+--+--         , responseDescribeEvents $+--             newDescribeEventsResponse+--+--         , responseDescribeEventsForOrganization $+--             newDescribeEventsForOrganizationResponse+--+--         , responseDescribeHealthServiceStatusForOrganization $+--             newDescribeHealthServiceStatusForOrganizationResponse+--+--         , responseDisableHealthServiceAccessForOrganization $+--             newDisableHealthServiceAccessForOrganizationResponse+--+--         , responseEnableHealthServiceAccessForOrganization $+--             newEnableHealthServiceAccessForOrganizationResponse+--+--           ]+--     ]++-- Requests++requestDescribeAffectedAccountsForOrganization :: DescribeAffectedAccountsForOrganization -> TestTree+requestDescribeAffectedAccountsForOrganization =+  req+    "DescribeAffectedAccountsForOrganization"+    "fixture/DescribeAffectedAccountsForOrganization.yaml"++requestDescribeAffectedEntities :: DescribeAffectedEntities -> TestTree+requestDescribeAffectedEntities =+  req+    "DescribeAffectedEntities"+    "fixture/DescribeAffectedEntities.yaml"++requestDescribeAffectedEntitiesForOrganization :: DescribeAffectedEntitiesForOrganization -> TestTree+requestDescribeAffectedEntitiesForOrganization =+  req+    "DescribeAffectedEntitiesForOrganization"+    "fixture/DescribeAffectedEntitiesForOrganization.yaml"++requestDescribeEntityAggregates :: DescribeEntityAggregates -> TestTree+requestDescribeEntityAggregates =+  req+    "DescribeEntityAggregates"+    "fixture/DescribeEntityAggregates.yaml"++requestDescribeEventAggregates :: DescribeEventAggregates -> TestTree+requestDescribeEventAggregates =+  req+    "DescribeEventAggregates"+    "fixture/DescribeEventAggregates.yaml"++requestDescribeEventDetails :: DescribeEventDetails -> TestTree+requestDescribeEventDetails =+  req+    "DescribeEventDetails"+    "fixture/DescribeEventDetails.yaml"++requestDescribeEventDetailsForOrganization :: DescribeEventDetailsForOrganization -> TestTree+requestDescribeEventDetailsForOrganization =+  req+    "DescribeEventDetailsForOrganization"+    "fixture/DescribeEventDetailsForOrganization.yaml"++requestDescribeEventTypes :: DescribeEventTypes -> TestTree+requestDescribeEventTypes =+  req+    "DescribeEventTypes"+    "fixture/DescribeEventTypes.yaml"++requestDescribeEvents :: DescribeEvents -> TestTree+requestDescribeEvents =+  req+    "DescribeEvents"+    "fixture/DescribeEvents.yaml"++requestDescribeEventsForOrganization :: DescribeEventsForOrganization -> TestTree+requestDescribeEventsForOrganization =+  req+    "DescribeEventsForOrganization"+    "fixture/DescribeEventsForOrganization.yaml"++requestDescribeHealthServiceStatusForOrganization :: DescribeHealthServiceStatusForOrganization -> TestTree+requestDescribeHealthServiceStatusForOrganization =+  req+    "DescribeHealthServiceStatusForOrganization"+    "fixture/DescribeHealthServiceStatusForOrganization.yaml"++requestDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganization -> TestTree+requestDisableHealthServiceAccessForOrganization =+  req+    "DisableHealthServiceAccessForOrganization"+    "fixture/DisableHealthServiceAccessForOrganization.yaml"++requestEnableHealthServiceAccessForOrganization :: EnableHealthServiceAccessForOrganization -> TestTree+requestEnableHealthServiceAccessForOrganization =+  req+    "EnableHealthServiceAccessForOrganization"+    "fixture/EnableHealthServiceAccessForOrganization.yaml"++-- Responses++responseDescribeAffectedAccountsForOrganization :: DescribeAffectedAccountsForOrganizationResponse -> TestTree+responseDescribeAffectedAccountsForOrganization =+  res+    "DescribeAffectedAccountsForOrganizationResponse"+    "fixture/DescribeAffectedAccountsForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeAffectedAccountsForOrganization)++responseDescribeAffectedEntities :: DescribeAffectedEntitiesResponse -> TestTree+responseDescribeAffectedEntities =+  res+    "DescribeAffectedEntitiesResponse"+    "fixture/DescribeAffectedEntitiesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeAffectedEntities)++responseDescribeAffectedEntitiesForOrganization :: DescribeAffectedEntitiesForOrganizationResponse -> TestTree+responseDescribeAffectedEntitiesForOrganization =+  res+    "DescribeAffectedEntitiesForOrganizationResponse"+    "fixture/DescribeAffectedEntitiesForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeAffectedEntitiesForOrganization)++responseDescribeEntityAggregates :: DescribeEntityAggregatesResponse -> TestTree+responseDescribeEntityAggregates =+  res+    "DescribeEntityAggregatesResponse"+    "fixture/DescribeEntityAggregatesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEntityAggregates)++responseDescribeEventAggregates :: DescribeEventAggregatesResponse -> TestTree+responseDescribeEventAggregates =+  res+    "DescribeEventAggregatesResponse"+    "fixture/DescribeEventAggregatesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEventAggregates)++responseDescribeEventDetails :: DescribeEventDetailsResponse -> TestTree+responseDescribeEventDetails =+  res+    "DescribeEventDetailsResponse"+    "fixture/DescribeEventDetailsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEventDetails)++responseDescribeEventDetailsForOrganization :: DescribeEventDetailsForOrganizationResponse -> TestTree+responseDescribeEventDetailsForOrganization =+  res+    "DescribeEventDetailsForOrganizationResponse"+    "fixture/DescribeEventDetailsForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEventDetailsForOrganization)++responseDescribeEventTypes :: DescribeEventTypesResponse -> TestTree+responseDescribeEventTypes =+  res+    "DescribeEventTypesResponse"+    "fixture/DescribeEventTypesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEventTypes)++responseDescribeEvents :: DescribeEventsResponse -> TestTree+responseDescribeEvents =+  res+    "DescribeEventsResponse"+    "fixture/DescribeEventsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEvents)++responseDescribeEventsForOrganization :: DescribeEventsForOrganizationResponse -> TestTree+responseDescribeEventsForOrganization =+  res+    "DescribeEventsForOrganizationResponse"+    "fixture/DescribeEventsForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeEventsForOrganization)++responseDescribeHealthServiceStatusForOrganization :: DescribeHealthServiceStatusForOrganizationResponse -> TestTree+responseDescribeHealthServiceStatusForOrganization =+  res+    "DescribeHealthServiceStatusForOrganizationResponse"+    "fixture/DescribeHealthServiceStatusForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeHealthServiceStatusForOrganization)++responseDisableHealthServiceAccessForOrganization :: DisableHealthServiceAccessForOrganizationResponse -> TestTree+responseDisableHealthServiceAccessForOrganization =+  res+    "DisableHealthServiceAccessForOrganizationResponse"+    "fixture/DisableHealthServiceAccessForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DisableHealthServiceAccessForOrganization)++responseEnableHealthServiceAccessForOrganization :: EnableHealthServiceAccessForOrganizationResponse -> TestTree+responseEnableHealthServiceAccessForOrganization =+  res+    "EnableHealthServiceAccessForOrganizationResponse"+    "fixture/EnableHealthServiceAccessForOrganizationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy EnableHealthServiceAccessForOrganization)