-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon DevOps Guru SDK.
--
-- Derived from API version 2020-12-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- 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 generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.DevOpsGuru.Lens and
-- are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.DevOpsGuru and the AWS documentation to get
-- started.
@package amazonka-devops-guru
@version 2.0
module Amazonka.DevOpsGuru.Types.AccountInsightHealth
-- | Information about the number of open reactive and proactive insights
-- that can be used to gauge the health of your system.
--
-- See: newAccountInsightHealth smart constructor.
data AccountInsightHealth
AccountInsightHealth' :: Maybe Int -> Maybe Int -> AccountInsightHealth
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
[$sel:openProactiveInsights:AccountInsightHealth'] :: AccountInsightHealth -> Maybe Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
[$sel:openReactiveInsights:AccountInsightHealth'] :: AccountInsightHealth -> Maybe Int
-- | Create a value of AccountInsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:openProactiveInsights:AccountInsightHealth',
-- accountInsightHealth_openProactiveInsights - An integer that
-- specifies the number of open proactive insights in your Amazon Web
-- Services account.
--
-- $sel:openReactiveInsights:AccountInsightHealth',
-- accountInsightHealth_openReactiveInsights - An integer that
-- specifies the number of open reactive insights in your Amazon Web
-- Services account.
newAccountInsightHealth :: AccountInsightHealth
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
accountInsightHealth_openProactiveInsights :: Lens' AccountInsightHealth (Maybe Int)
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
accountInsightHealth_openReactiveInsights :: Lens' AccountInsightHealth (Maybe Int)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AccountInsightHealth.AccountInsightHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AccountInsightHealth.AccountInsightHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AccountInsightHealth.AccountInsightHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AccountInsightHealth.AccountInsightHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AccountInsightHealth.AccountInsightHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AccountInsightHealth.AccountInsightHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AccountInsightHealth.AccountInsightHealth
module Amazonka.DevOpsGuru.Types.AccountHealth
-- | Returns the number of open reactive insights, the number of open
-- proactive insights, and the number of metrics analyzed in your Amazon
-- Web Services account. Use these numbers to gauge the health of
-- operations in your Amazon Web Services account.
--
-- See: newAccountHealth smart constructor.
data AccountHealth
AccountHealth' :: Maybe Text -> Maybe AccountInsightHealth -> AccountHealth
-- | The ID of the Amazon Web Services account.
[$sel:accountId:AccountHealth'] :: AccountHealth -> Maybe Text
-- | Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
[$sel:insight:AccountHealth'] :: AccountHealth -> Maybe AccountInsightHealth
-- | Create a value of AccountHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:AccountHealth', accountHealth_accountId -
-- The ID of the Amazon Web Services account.
--
-- $sel:insight:AccountHealth', accountHealth_insight -
-- Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
newAccountHealth :: AccountHealth
-- | The ID of the Amazon Web Services account.
accountHealth_accountId :: Lens' AccountHealth (Maybe Text)
-- | Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
accountHealth_insight :: Lens' AccountHealth (Maybe AccountInsightHealth)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AccountHealth.AccountHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AccountHealth.AccountHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AccountHealth.AccountHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AccountHealth.AccountHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AccountHealth.AccountHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AccountHealth.AccountHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AccountHealth.AccountHealth
module Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange
-- | A time range that specifies when DevOps Guru opens and then closes an
-- anomaly. This is different from AnomalyTimeRange, which
-- specifies the time range when DevOps Guru actually observes the
-- anomalous behavior.
--
-- See: newAnomalyReportedTimeRange smart constructor.
data AnomalyReportedTimeRange
AnomalyReportedTimeRange' :: Maybe POSIX -> POSIX -> AnomalyReportedTimeRange
-- | The time when an anomaly is closed.
[$sel:closeTime:AnomalyReportedTimeRange'] :: AnomalyReportedTimeRange -> Maybe POSIX
-- | The time when an anomaly is opened.
[$sel:openTime:AnomalyReportedTimeRange'] :: AnomalyReportedTimeRange -> POSIX
-- | Create a value of AnomalyReportedTimeRange with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:closeTime:AnomalyReportedTimeRange',
-- anomalyReportedTimeRange_closeTime - The time when an anomaly
-- is closed.
--
-- $sel:openTime:AnomalyReportedTimeRange',
-- anomalyReportedTimeRange_openTime - The time when an anomaly is
-- opened.
newAnomalyReportedTimeRange :: UTCTime -> AnomalyReportedTimeRange
-- | The time when an anomaly is closed.
anomalyReportedTimeRange_closeTime :: Lens' AnomalyReportedTimeRange (Maybe UTCTime)
-- | The time when an anomaly is opened.
anomalyReportedTimeRange_openTime :: Lens' AnomalyReportedTimeRange UTCTime
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange.AnomalyReportedTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange.AnomalyReportedTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange.AnomalyReportedTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange.AnomalyReportedTimeRange
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange.AnomalyReportedTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange.AnomalyReportedTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalyReportedTimeRange.AnomalyReportedTimeRange
module Amazonka.DevOpsGuru.Types.AnomalyResource
-- | The Amazon Web Services resources in which DevOps Guru detected
-- unusual behavior that resulted in the generation of an anomaly. When
-- DevOps Guru detects multiple related anomalies, it creates and insight
-- with details about the anomalous behavior and suggestions about how to
-- correct the problem.
--
-- See: newAnomalyResource smart constructor.
data AnomalyResource
AnomalyResource' :: Maybe Text -> Maybe Text -> AnomalyResource
-- | The name of the Amazon Web Services resource.
[$sel:name:AnomalyResource'] :: AnomalyResource -> Maybe Text
-- | The type of the Amazon Web Services resource.
[$sel:type':AnomalyResource'] :: AnomalyResource -> Maybe Text
-- | Create a value of AnomalyResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:AnomalyResource', anomalyResource_name - The
-- name of the Amazon Web Services resource.
--
-- $sel:type':AnomalyResource', anomalyResource_type - The
-- type of the Amazon Web Services resource.
newAnomalyResource :: AnomalyResource
-- | The name of the Amazon Web Services resource.
anomalyResource_name :: Lens' AnomalyResource (Maybe Text)
-- | The type of the Amazon Web Services resource.
anomalyResource_type :: Lens' AnomalyResource (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalyResource.AnomalyResource
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalyResource.AnomalyResource
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalyResource.AnomalyResource
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalyResource.AnomalyResource
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalyResource.AnomalyResource
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalyResource.AnomalyResource
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalyResource.AnomalyResource
module Amazonka.DevOpsGuru.Types.AnomalySeverity
newtype AnomalySeverity
AnomalySeverity' :: Text -> AnomalySeverity
[fromAnomalySeverity] :: AnomalySeverity -> Text
pattern AnomalySeverity_HIGH :: AnomalySeverity
pattern AnomalySeverity_LOW :: AnomalySeverity
pattern AnomalySeverity_MEDIUM :: AnomalySeverity
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalySeverity.AnomalySeverity
module Amazonka.DevOpsGuru.Types.AnomalySourceMetadata
-- | Metadata about the detection source that generates proactive
-- anomalies. The anomaly is detected using analysis of the metric data
-- over a period of time
--
-- See: newAnomalySourceMetadata smart constructor.
data AnomalySourceMetadata
AnomalySourceMetadata' :: Maybe Text -> Maybe Text -> Maybe Text -> AnomalySourceMetadata
-- | The source of the anomaly.
[$sel:source:AnomalySourceMetadata'] :: AnomalySourceMetadata -> Maybe Text
-- | The name of the anomaly's resource.
[$sel:sourceResourceName:AnomalySourceMetadata'] :: AnomalySourceMetadata -> Maybe Text
-- | The anomaly's resource type.
[$sel:sourceResourceType:AnomalySourceMetadata'] :: AnomalySourceMetadata -> Maybe Text
-- | Create a value of AnomalySourceMetadata with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:source:AnomalySourceMetadata',
-- anomalySourceMetadata_source - The source of the anomaly.
--
-- $sel:sourceResourceName:AnomalySourceMetadata',
-- anomalySourceMetadata_sourceResourceName - The name of the
-- anomaly's resource.
--
-- $sel:sourceResourceType:AnomalySourceMetadata',
-- anomalySourceMetadata_sourceResourceType - The anomaly's
-- resource type.
newAnomalySourceMetadata :: AnomalySourceMetadata
-- | The source of the anomaly.
anomalySourceMetadata_source :: Lens' AnomalySourceMetadata (Maybe Text)
-- | The name of the anomaly's resource.
anomalySourceMetadata_sourceResourceName :: Lens' AnomalySourceMetadata (Maybe Text)
-- | The anomaly's resource type.
anomalySourceMetadata_sourceResourceType :: Lens' AnomalySourceMetadata (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalySourceMetadata.AnomalySourceMetadata
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalySourceMetadata.AnomalySourceMetadata
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalySourceMetadata.AnomalySourceMetadata
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalySourceMetadata.AnomalySourceMetadata
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalySourceMetadata.AnomalySourceMetadata
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalySourceMetadata.AnomalySourceMetadata
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalySourceMetadata.AnomalySourceMetadata
module Amazonka.DevOpsGuru.Types.AnomalyStatus
newtype AnomalyStatus
AnomalyStatus' :: Text -> AnomalyStatus
[fromAnomalyStatus] :: AnomalyStatus -> Text
pattern AnomalyStatus_CLOSED :: AnomalyStatus
pattern AnomalyStatus_ONGOING :: AnomalyStatus
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalyStatus.AnomalyStatus
module Amazonka.DevOpsGuru.Types.AnomalyTimeRange
-- | A time range that specifies when the observed unusual behavior in an
-- anomaly started and ended. This is different from
-- AnomalyReportedTimeRange, which specifies the time range when
-- DevOps Guru opens and then closes an anomaly.
--
-- See: newAnomalyTimeRange smart constructor.
data AnomalyTimeRange
AnomalyTimeRange' :: Maybe POSIX -> POSIX -> AnomalyTimeRange
-- | The time when the anomalous behavior ended.
[$sel:endTime:AnomalyTimeRange'] :: AnomalyTimeRange -> Maybe POSIX
-- | The time when the anomalous behavior started.
[$sel:startTime:AnomalyTimeRange'] :: AnomalyTimeRange -> POSIX
-- | Create a value of AnomalyTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:AnomalyTimeRange', anomalyTimeRange_endTime
-- - The time when the anomalous behavior ended.
--
-- $sel:startTime:AnomalyTimeRange',
-- anomalyTimeRange_startTime - The time when the anomalous
-- behavior started.
newAnomalyTimeRange :: UTCTime -> AnomalyTimeRange
-- | The time when the anomalous behavior ended.
anomalyTimeRange_endTime :: Lens' AnomalyTimeRange (Maybe UTCTime)
-- | The time when the anomalous behavior started.
anomalyTimeRange_startTime :: Lens' AnomalyTimeRange UTCTime
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalyTimeRange.AnomalyTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalyTimeRange.AnomalyTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalyTimeRange.AnomalyTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalyTimeRange.AnomalyTimeRange
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalyTimeRange.AnomalyTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalyTimeRange.AnomalyTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalyTimeRange.AnomalyTimeRange
module Amazonka.DevOpsGuru.Types.AnomalyType
newtype AnomalyType
AnomalyType' :: Text -> AnomalyType
[fromAnomalyType] :: AnomalyType -> Text
pattern AnomalyType_CAUSAL :: AnomalyType
pattern AnomalyType_CONTEXTUAL :: AnomalyType
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalyType.AnomalyType
module Amazonka.DevOpsGuru.Types.CloudFormationCollection
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
--
-- See: newCloudFormationCollection smart constructor.
data CloudFormationCollection
CloudFormationCollection' :: Maybe [Text] -> CloudFormationCollection
-- | An array of CloudFormation stack names.
[$sel:stackNames:CloudFormationCollection'] :: CloudFormationCollection -> Maybe [Text]
-- | Create a value of CloudFormationCollection with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:CloudFormationCollection',
-- cloudFormationCollection_stackNames - An array of
-- CloudFormation stack names.
newCloudFormationCollection :: CloudFormationCollection
-- | An array of CloudFormation stack names.
cloudFormationCollection_stackNames :: Lens' CloudFormationCollection (Maybe [Text])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.CloudFormationCollection.CloudFormationCollection
module Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
--
-- See: newCloudFormationCollectionFilter smart
-- constructor.
data CloudFormationCollectionFilter
CloudFormationCollectionFilter' :: Maybe [Text] -> CloudFormationCollectionFilter
-- | An array of CloudFormation stack names.
[$sel:stackNames:CloudFormationCollectionFilter'] :: CloudFormationCollectionFilter -> Maybe [Text]
-- | Create a value of CloudFormationCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:CloudFormationCollectionFilter',
-- cloudFormationCollectionFilter_stackNames - An array of
-- CloudFormation stack names.
newCloudFormationCollectionFilter :: CloudFormationCollectionFilter
-- | An array of CloudFormation stack names.
cloudFormationCollectionFilter_stackNames :: Lens' CloudFormationCollectionFilter (Maybe [Text])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter.CloudFormationCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter.CloudFormationCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter.CloudFormationCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter.CloudFormationCollectionFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter.CloudFormationCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter.CloudFormationCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudFormationCollectionFilter.CloudFormationCollectionFilter
module Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter
-- | Information about an Amazon Web Services CloudFormation stack used to
-- create a monthly cost estimate for DevOps Guru to analyze Amazon Web
-- Services resources. The maximum number of stacks you can specify for a
-- cost estimate is one. The estimate created is for the cost to analyze
-- the Amazon Web Services resources defined by the stack. For more
-- information, see Stacks in the Amazon Web Services
-- CloudFormation User Guide.
--
-- See:
-- newCloudFormationCostEstimationResourceCollectionFilter smart
-- constructor.
data CloudFormationCostEstimationResourceCollectionFilter
CloudFormationCostEstimationResourceCollectionFilter' :: Maybe (NonEmpty Text) -> CloudFormationCostEstimationResourceCollectionFilter
-- | An array of CloudFormation stack names. Its size is fixed at 1 item.
[$sel:stackNames:CloudFormationCostEstimationResourceCollectionFilter'] :: CloudFormationCostEstimationResourceCollectionFilter -> Maybe (NonEmpty Text)
-- | Create a value of
-- CloudFormationCostEstimationResourceCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:stackNames:CloudFormationCostEstimationResourceCollectionFilter',
-- cloudFormationCostEstimationResourceCollectionFilter_stackNames
-- - An array of CloudFormation stack names. Its size is fixed at 1 item.
newCloudFormationCostEstimationResourceCollectionFilter :: CloudFormationCostEstimationResourceCollectionFilter
-- | An array of CloudFormation stack names. Its size is fixed at 1 item.
cloudFormationCostEstimationResourceCollectionFilter_stackNames :: Lens' CloudFormationCostEstimationResourceCollectionFilter (Maybe (NonEmpty Text))
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.CloudFormationCostEstimationResourceCollectionFilter.CloudFormationCostEstimationResourceCollectionFilter
module Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode
newtype CloudWatchMetricDataStatusCode
CloudWatchMetricDataStatusCode' :: Text -> CloudWatchMetricDataStatusCode
[fromCloudWatchMetricDataStatusCode] :: CloudWatchMetricDataStatusCode -> Text
pattern CloudWatchMetricDataStatusCode_Complete :: CloudWatchMetricDataStatusCode
pattern CloudWatchMetricDataStatusCode_InternalError :: CloudWatchMetricDataStatusCode
pattern CloudWatchMetricDataStatusCode_PartialData :: CloudWatchMetricDataStatusCode
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudWatchMetricDataStatusCode.CloudWatchMetricDataStatusCode
module Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension
-- | The dimension of an Amazon CloudWatch metric that is used when DevOps
-- Guru analyzes the resources in your account for operational problems
-- and anomalous behavior. A dimension is a name/value pair that is part
-- of the identity of a metric. A metric can have up to 10 dimensions.
-- For more information, see Dimensions in the Amazon
-- CloudWatch User Guide.
--
-- See: newCloudWatchMetricsDimension smart constructor.
data CloudWatchMetricsDimension
CloudWatchMetricsDimension' :: Maybe Text -> Maybe Text -> CloudWatchMetricsDimension
-- | The name of the CloudWatch dimension.
[$sel:name:CloudWatchMetricsDimension'] :: CloudWatchMetricsDimension -> Maybe Text
-- | The value of the CloudWatch dimension.
[$sel:value:CloudWatchMetricsDimension'] :: CloudWatchMetricsDimension -> Maybe Text
-- | Create a value of CloudWatchMetricsDimension with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:CloudWatchMetricsDimension',
-- cloudWatchMetricsDimension_name - The name of the CloudWatch
-- dimension.
--
-- $sel:value:CloudWatchMetricsDimension',
-- cloudWatchMetricsDimension_value - The value of the CloudWatch
-- dimension.
newCloudWatchMetricsDimension :: CloudWatchMetricsDimension
-- | The name of the CloudWatch dimension.
cloudWatchMetricsDimension_name :: Lens' CloudWatchMetricsDimension (Maybe Text)
-- | The value of the CloudWatch dimension.
cloudWatchMetricsDimension_value :: Lens' CloudWatchMetricsDimension (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension.CloudWatchMetricsDimension
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension.CloudWatchMetricsDimension
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension.CloudWatchMetricsDimension
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension.CloudWatchMetricsDimension
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension.CloudWatchMetricsDimension
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension.CloudWatchMetricsDimension
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudWatchMetricsDimension.CloudWatchMetricsDimension
module Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat
newtype CloudWatchMetricsStat
CloudWatchMetricsStat' :: Text -> CloudWatchMetricsStat
[fromCloudWatchMetricsStat] :: CloudWatchMetricsStat -> Text
pattern CloudWatchMetricsStat_Average :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Maximum :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Minimum :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P50 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P90 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P99 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_SampleCount :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Sum :: CloudWatchMetricsStat
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudWatchMetricsStat.CloudWatchMetricsStat
module Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState
newtype CostEstimationServiceResourceState
CostEstimationServiceResourceState' :: Text -> CostEstimationServiceResourceState
[fromCostEstimationServiceResourceState] :: CostEstimationServiceResourceState -> Text
pattern CostEstimationServiceResourceState_ACTIVE :: CostEstimationServiceResourceState
pattern CostEstimationServiceResourceState_INACTIVE :: CostEstimationServiceResourceState
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CostEstimationServiceResourceState.CostEstimationServiceResourceState
module Amazonka.DevOpsGuru.Types.CostEstimationStatus
newtype CostEstimationStatus
CostEstimationStatus' :: Text -> CostEstimationStatus
[fromCostEstimationStatus] :: CostEstimationStatus -> Text
pattern CostEstimationStatus_COMPLETED :: CostEstimationStatus
pattern CostEstimationStatus_ONGOING :: CostEstimationStatus
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CostEstimationStatus.CostEstimationStatus
module Amazonka.DevOpsGuru.Types.CostEstimationTimeRange
-- | The time range of a cost estimation.
--
-- See: newCostEstimationTimeRange smart constructor.
data CostEstimationTimeRange
CostEstimationTimeRange' :: Maybe POSIX -> Maybe POSIX -> CostEstimationTimeRange
-- | The end time of the cost estimation.
[$sel:endTime:CostEstimationTimeRange'] :: CostEstimationTimeRange -> Maybe POSIX
-- | The start time of the cost estimation.
[$sel:startTime:CostEstimationTimeRange'] :: CostEstimationTimeRange -> Maybe POSIX
-- | Create a value of CostEstimationTimeRange with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:CostEstimationTimeRange',
-- costEstimationTimeRange_endTime - The end time of the cost
-- estimation.
--
-- $sel:startTime:CostEstimationTimeRange',
-- costEstimationTimeRange_startTime - The start time of the cost
-- estimation.
newCostEstimationTimeRange :: CostEstimationTimeRange
-- | The end time of the cost estimation.
costEstimationTimeRange_endTime :: Lens' CostEstimationTimeRange (Maybe UTCTime)
-- | The start time of the cost estimation.
costEstimationTimeRange_startTime :: Lens' CostEstimationTimeRange (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CostEstimationTimeRange.CostEstimationTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CostEstimationTimeRange.CostEstimationTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CostEstimationTimeRange.CostEstimationTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CostEstimationTimeRange.CostEstimationTimeRange
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CostEstimationTimeRange.CostEstimationTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CostEstimationTimeRange.CostEstimationTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CostEstimationTimeRange.CostEstimationTimeRange
module Amazonka.DevOpsGuru.Types.EndTimeRange
-- | A range of time that specifies when anomalous behavior in an anomaly
-- or insight ended.
--
-- See: newEndTimeRange smart constructor.
data EndTimeRange
EndTimeRange' :: Maybe POSIX -> Maybe POSIX -> EndTimeRange
-- | The earliest end time in the time range.
[$sel:fromTime:EndTimeRange'] :: EndTimeRange -> Maybe POSIX
-- | The latest end time in the time range.
[$sel:toTime:EndTimeRange'] :: EndTimeRange -> Maybe POSIX
-- | Create a value of EndTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:EndTimeRange', endTimeRange_fromTime - The
-- earliest end time in the time range.
--
-- $sel:toTime:EndTimeRange', endTimeRange_toTime - The
-- latest end time in the time range.
newEndTimeRange :: EndTimeRange
-- | The earliest end time in the time range.
endTimeRange_fromTime :: Lens' EndTimeRange (Maybe UTCTime)
-- | The latest end time in the time range.
endTimeRange_toTime :: Lens' EndTimeRange (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.EndTimeRange.EndTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.EndTimeRange.EndTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.EndTimeRange.EndTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.EndTimeRange.EndTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.EndTimeRange.EndTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.EndTimeRange.EndTimeRange
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.EndTimeRange.EndTimeRange
module Amazonka.DevOpsGuru.Types.EventClass
newtype EventClass
EventClass' :: Text -> EventClass
[fromEventClass] :: EventClass -> Text
pattern EventClass_CONFIG_CHANGE :: EventClass
pattern EventClass_DEPLOYMENT :: EventClass
pattern EventClass_INFRASTRUCTURE :: EventClass
pattern EventClass_SCHEMA_CHANGE :: EventClass
pattern EventClass_SECURITY_CHANGE :: EventClass
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.EventClass.EventClass
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.EventClass.EventClass
module Amazonka.DevOpsGuru.Types.EventDataSource
newtype EventDataSource
EventDataSource' :: Text -> EventDataSource
[fromEventDataSource] :: EventDataSource -> Text
pattern EventDataSource_AWS_CLOUD_TRAIL :: EventDataSource
pattern EventDataSource_AWS_CODE_DEPLOY :: EventDataSource
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.EventDataSource.EventDataSource
module Amazonka.DevOpsGuru.Types.EventResource
-- | The Amazon Web Services resource that emitted an event. Amazon Web
-- Services resource events and metrics are analyzed by DevOps Guru to
-- find anomalous behavior and provide recommendations to improve your
-- operational solutions.
--
-- See: newEventResource smart constructor.
data EventResource
EventResource' :: Maybe Text -> Maybe Text -> Maybe Text -> EventResource
-- | The Amazon Resource Name (ARN) of the resource that emitted an event.
[$sel:arn:EventResource'] :: EventResource -> Maybe Text
-- | The name of the resource that emitted an event.
[$sel:name:EventResource'] :: EventResource -> Maybe Text
-- | The type of resource that emitted an event.
[$sel:type':EventResource'] :: EventResource -> Maybe Text
-- | Create a value of EventResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:EventResource', eventResource_arn - The Amazon
-- Resource Name (ARN) of the resource that emitted an event.
--
-- $sel:name:EventResource', eventResource_name - The name
-- of the resource that emitted an event.
--
-- $sel:type':EventResource', eventResource_type - The type
-- of resource that emitted an event.
newEventResource :: EventResource
-- | The Amazon Resource Name (ARN) of the resource that emitted an event.
eventResource_arn :: Lens' EventResource (Maybe Text)
-- | The name of the resource that emitted an event.
eventResource_name :: Lens' EventResource (Maybe Text)
-- | The type of resource that emitted an event.
eventResource_type :: Lens' EventResource (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.EventResource.EventResource
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.EventResource.EventResource
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.EventResource.EventResource
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.EventResource.EventResource
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.EventResource.EventResource
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.EventResource.EventResource
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.EventResource.EventResource
module Amazonka.DevOpsGuru.Types.EventSourceOptInStatus
newtype EventSourceOptInStatus
EventSourceOptInStatus' :: Text -> EventSourceOptInStatus
[fromEventSourceOptInStatus] :: EventSourceOptInStatus -> Text
pattern EventSourceOptInStatus_DISABLED :: EventSourceOptInStatus
pattern EventSourceOptInStatus_ENABLED :: EventSourceOptInStatus
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.EventSourceOptInStatus.EventSourceOptInStatus
module Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration
-- | Information about your account's integration with Amazon CodeGuru
-- Profiler. This returns whether DevOps Guru is configured to consume
-- recommendations generated from Amazon CodeGuru Profiler.
--
-- See: newAmazonCodeGuruProfilerIntegration smart
-- constructor.
data AmazonCodeGuruProfilerIntegration
AmazonCodeGuruProfilerIntegration' :: Maybe EventSourceOptInStatus -> AmazonCodeGuruProfilerIntegration
-- | The status of the CodeGuru Profiler integration. Specifies if DevOps
-- Guru is enabled to consume recommendations that are generated from
-- Amazon CodeGuru Profiler.
[$sel:status:AmazonCodeGuruProfilerIntegration'] :: AmazonCodeGuruProfilerIntegration -> Maybe EventSourceOptInStatus
-- | Create a value of AmazonCodeGuruProfilerIntegration with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:AmazonCodeGuruProfilerIntegration',
-- amazonCodeGuruProfilerIntegration_status - The status of the
-- CodeGuru Profiler integration. Specifies if DevOps Guru is enabled to
-- consume recommendations that are generated from Amazon CodeGuru
-- Profiler.
newAmazonCodeGuruProfilerIntegration :: AmazonCodeGuruProfilerIntegration
-- | The status of the CodeGuru Profiler integration. Specifies if DevOps
-- Guru is enabled to consume recommendations that are generated from
-- Amazon CodeGuru Profiler.
amazonCodeGuruProfilerIntegration_status :: Lens' AmazonCodeGuruProfilerIntegration (Maybe EventSourceOptInStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.AmazonCodeGuruProfilerIntegration.AmazonCodeGuruProfilerIntegration
module Amazonka.DevOpsGuru.Types.EventSourcesConfig
-- | Information about the integration of DevOps Guru as consumer with
-- another AWS service, such as AWS CodeGuru Profiler via EventBridge.
--
-- See: newEventSourcesConfig smart constructor.
data EventSourcesConfig
EventSourcesConfig' :: Maybe AmazonCodeGuruProfilerIntegration -> EventSourcesConfig
-- | Information about whether DevOps Guru is configured to consume
-- recommendations which are generated from AWS CodeGuru Profiler.
[$sel:amazonCodeGuruProfiler:EventSourcesConfig'] :: EventSourcesConfig -> Maybe AmazonCodeGuruProfilerIntegration
-- | Create a value of EventSourcesConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:amazonCodeGuruProfiler:EventSourcesConfig',
-- eventSourcesConfig_amazonCodeGuruProfiler - Information about
-- whether DevOps Guru is configured to consume recommendations which are
-- generated from AWS CodeGuru Profiler.
newEventSourcesConfig :: EventSourcesConfig
-- | Information about whether DevOps Guru is configured to consume
-- recommendations which are generated from AWS CodeGuru Profiler.
eventSourcesConfig_amazonCodeGuruProfiler :: Lens' EventSourcesConfig (Maybe AmazonCodeGuruProfilerIntegration)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.EventSourcesConfig.EventSourcesConfig
module Amazonka.DevOpsGuru.Types.EventTimeRange
-- | The time range during which an Amazon Web Services event occurred.
-- Amazon Web Services resource events and metrics are analyzed by DevOps
-- Guru to find anomalous behavior and provide recommendations to improve
-- your operational solutions.
--
-- See: newEventTimeRange smart constructor.
data EventTimeRange
EventTimeRange' :: POSIX -> POSIX -> EventTimeRange
-- | The time when the event started.
[$sel:fromTime:EventTimeRange'] :: EventTimeRange -> POSIX
-- | The time when the event ended.
[$sel:toTime:EventTimeRange'] :: EventTimeRange -> POSIX
-- | Create a value of EventTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:EventTimeRange', eventTimeRange_fromTime -
-- The time when the event started.
--
-- $sel:toTime:EventTimeRange', eventTimeRange_toTime - The
-- time when the event ended.
newEventTimeRange :: UTCTime -> UTCTime -> EventTimeRange
-- | The time when the event started.
eventTimeRange_fromTime :: Lens' EventTimeRange UTCTime
-- | The time when the event ended.
eventTimeRange_toTime :: Lens' EventTimeRange UTCTime
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.EventTimeRange.EventTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.EventTimeRange.EventTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.EventTimeRange.EventTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.EventTimeRange.EventTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.EventTimeRange.EventTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.EventTimeRange.EventTimeRange
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.EventTimeRange.EventTimeRange
module Amazonka.DevOpsGuru.Types.InsightFeedbackOption
newtype InsightFeedbackOption
InsightFeedbackOption' :: Text -> InsightFeedbackOption
[fromInsightFeedbackOption] :: InsightFeedbackOption -> Text
pattern InsightFeedbackOption_ALERT_TOO_SENSITIVE :: InsightFeedbackOption
pattern InsightFeedbackOption_DATA_INCORRECT :: InsightFeedbackOption
pattern InsightFeedbackOption_DATA_NOISY_ANOMALY :: InsightFeedbackOption
pattern InsightFeedbackOption_RECOMMENDATION_USEFUL :: InsightFeedbackOption
pattern InsightFeedbackOption_VALID_COLLECTION :: InsightFeedbackOption
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.InsightFeedbackOption.InsightFeedbackOption
module Amazonka.DevOpsGuru.Types.InsightFeedback
-- | Information about insight feedback received from a customer.
--
-- See: newInsightFeedback smart constructor.
data InsightFeedback
InsightFeedback' :: Maybe InsightFeedbackOption -> Maybe Text -> InsightFeedback
-- | The feedback provided by the customer.
[$sel:feedback:InsightFeedback'] :: InsightFeedback -> Maybe InsightFeedbackOption
-- | The insight feedback ID.
[$sel:id:InsightFeedback'] :: InsightFeedback -> Maybe Text
-- | Create a value of InsightFeedback with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:feedback:InsightFeedback', insightFeedback_feedback
-- - The feedback provided by the customer.
--
-- $sel:id:InsightFeedback', insightFeedback_id - The
-- insight feedback ID.
newInsightFeedback :: InsightFeedback
-- | The feedback provided by the customer.
insightFeedback_feedback :: Lens' InsightFeedback (Maybe InsightFeedbackOption)
-- | The insight feedback ID.
insightFeedback_id :: Lens' InsightFeedback (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.InsightFeedback.InsightFeedback
module Amazonka.DevOpsGuru.Types.InsightHealth
-- | Information about the number of open reactive and proactive insights
-- that can be used to gauge the health of your system.
--
-- See: newInsightHealth smart constructor.
data InsightHealth
InsightHealth' :: Maybe Integer -> Maybe Int -> Maybe Int -> InsightHealth
-- | The Meant Time to Recover (MTTR) for the insight.
[$sel:meanTimeToRecoverInMilliseconds:InsightHealth'] :: InsightHealth -> Maybe Integer
-- | The number of open proactive insights.
[$sel:openProactiveInsights:InsightHealth'] :: InsightHealth -> Maybe Int
-- | The number of open reactive insights.
[$sel:openReactiveInsights:InsightHealth'] :: InsightHealth -> Maybe Int
-- | Create a value of InsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:meanTimeToRecoverInMilliseconds:InsightHealth',
-- insightHealth_meanTimeToRecoverInMilliseconds - The Meant Time
-- to Recover (MTTR) for the insight.
--
-- $sel:openProactiveInsights:InsightHealth',
-- insightHealth_openProactiveInsights - The number of open
-- proactive insights.
--
-- $sel:openReactiveInsights:InsightHealth',
-- insightHealth_openReactiveInsights - The number of open
-- reactive insights.
newInsightHealth :: InsightHealth
-- | The Meant Time to Recover (MTTR) for the insight.
insightHealth_meanTimeToRecoverInMilliseconds :: Lens' InsightHealth (Maybe Integer)
-- | The number of open proactive insights.
insightHealth_openProactiveInsights :: Lens' InsightHealth (Maybe Int)
-- | The number of open reactive insights.
insightHealth_openReactiveInsights :: Lens' InsightHealth (Maybe Int)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.InsightHealth.InsightHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.InsightHealth.InsightHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.InsightHealth.InsightHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.InsightHealth.InsightHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.InsightHealth.InsightHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.InsightHealth.InsightHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.InsightHealth.InsightHealth
module Amazonka.DevOpsGuru.Types.CloudFormationHealth
-- | Information about the health of Amazon Web Services resources in your
-- account that are specified by an Amazon Web Services CloudFormation
-- stack.
--
-- See: newCloudFormationHealth smart constructor.
data CloudFormationHealth
CloudFormationHealth' :: Maybe Integer -> Maybe InsightHealth -> Maybe Text -> CloudFormationHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services CloudFormation stack.
[$sel:analyzedResourceCount:CloudFormationHealth'] :: CloudFormationHealth -> Maybe Integer
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services
-- CloudFormation stack, including the number of open proactive, open
-- reactive insights, and the Mean Time to Recover (MTTR) of closed
-- insights.
[$sel:insight:CloudFormationHealth'] :: CloudFormationHealth -> Maybe InsightHealth
-- | The name of the CloudFormation stack.
[$sel:stackName:CloudFormationHealth'] :: CloudFormationHealth -> Maybe Text
-- | Create a value of CloudFormationHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:CloudFormationHealth',
-- cloudFormationHealth_analyzedResourceCount - Number of
-- resources that DevOps Guru is monitoring in your account that are
-- specified by an Amazon Web Services CloudFormation stack.
--
-- $sel:insight:CloudFormationHealth',
-- cloudFormationHealth_insight - Information about the health of
-- the Amazon Web Services resources in your account that are specified
-- by an Amazon Web Services CloudFormation stack, including the number
-- of open proactive, open reactive insights, and the Mean Time to
-- Recover (MTTR) of closed insights.
--
-- $sel:stackName:CloudFormationHealth',
-- cloudFormationHealth_stackName - The name of the CloudFormation
-- stack.
newCloudFormationHealth :: CloudFormationHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services CloudFormation stack.
cloudFormationHealth_analyzedResourceCount :: Lens' CloudFormationHealth (Maybe Integer)
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services
-- CloudFormation stack, including the number of open proactive, open
-- reactive insights, and the Mean Time to Recover (MTTR) of closed
-- insights.
cloudFormationHealth_insight :: Lens' CloudFormationHealth (Maybe InsightHealth)
-- | The name of the CloudFormation stack.
cloudFormationHealth_stackName :: Lens' CloudFormationHealth (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudFormationHealth.CloudFormationHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudFormationHealth.CloudFormationHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudFormationHealth.CloudFormationHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudFormationHealth.CloudFormationHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudFormationHealth.CloudFormationHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudFormationHealth.CloudFormationHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudFormationHealth.CloudFormationHealth
module Amazonka.DevOpsGuru.Types.InsightSeverity
newtype InsightSeverity
InsightSeverity' :: Text -> InsightSeverity
[fromInsightSeverity] :: InsightSeverity -> Text
pattern InsightSeverity_HIGH :: InsightSeverity
pattern InsightSeverity_LOW :: InsightSeverity
pattern InsightSeverity_MEDIUM :: InsightSeverity
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.InsightSeverity.InsightSeverity
module Amazonka.DevOpsGuru.Types.InsightStatus
newtype InsightStatus
InsightStatus' :: Text -> InsightStatus
[fromInsightStatus] :: InsightStatus -> Text
pattern InsightStatus_CLOSED :: InsightStatus
pattern InsightStatus_ONGOING :: InsightStatus
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.InsightStatus.InsightStatus
module Amazonka.DevOpsGuru.Types.InsightTimeRange
-- | A time ranged that specifies when the observed behavior in an insight
-- started and ended.
--
-- See: newInsightTimeRange smart constructor.
data InsightTimeRange
InsightTimeRange' :: Maybe POSIX -> POSIX -> InsightTimeRange
-- | The time when the behavior described in an insight ended.
[$sel:endTime:InsightTimeRange'] :: InsightTimeRange -> Maybe POSIX
-- | The time when the behavior described in an insight started.
[$sel:startTime:InsightTimeRange'] :: InsightTimeRange -> POSIX
-- | Create a value of InsightTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:InsightTimeRange', insightTimeRange_endTime
-- - The time when the behavior described in an insight ended.
--
-- $sel:startTime:InsightTimeRange',
-- insightTimeRange_startTime - The time when the behavior
-- described in an insight started.
newInsightTimeRange :: UTCTime -> InsightTimeRange
-- | The time when the behavior described in an insight ended.
insightTimeRange_endTime :: Lens' InsightTimeRange (Maybe UTCTime)
-- | The time when the behavior described in an insight started.
insightTimeRange_startTime :: Lens' InsightTimeRange UTCTime
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.InsightTimeRange.InsightTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.InsightTimeRange.InsightTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.InsightTimeRange.InsightTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.InsightTimeRange.InsightTimeRange
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.InsightTimeRange.InsightTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.InsightTimeRange.InsightTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.InsightTimeRange.InsightTimeRange
module Amazonka.DevOpsGuru.Types.InsightType
newtype InsightType
InsightType' :: Text -> InsightType
[fromInsightType] :: InsightType -> Text
pattern InsightType_PROACTIVE :: InsightType
pattern InsightType_REACTIVE :: InsightType
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.InsightType.InsightType
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.InsightType.InsightType
module Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter
-- | Used to filter for insights that have the status CLOSED.
--
-- See: newListInsightsClosedStatusFilter smart
-- constructor.
data ListInsightsClosedStatusFilter
ListInsightsClosedStatusFilter' :: InsightType -> EndTimeRange -> ListInsightsClosedStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
[$sel:type':ListInsightsClosedStatusFilter'] :: ListInsightsClosedStatusFilter -> InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights ended.
[$sel:endTimeRange:ListInsightsClosedStatusFilter'] :: ListInsightsClosedStatusFilter -> EndTimeRange
-- | Create a value of ListInsightsClosedStatusFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsClosedStatusFilter',
-- listInsightsClosedStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
--
-- $sel:endTimeRange:ListInsightsClosedStatusFilter',
-- listInsightsClosedStatusFilter_endTimeRange - A time range used
-- to specify when the behavior of the filtered insights ended.
newListInsightsClosedStatusFilter :: InsightType -> EndTimeRange -> ListInsightsClosedStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsClosedStatusFilter_type :: Lens' ListInsightsClosedStatusFilter InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights ended.
listInsightsClosedStatusFilter_endTimeRange :: Lens' ListInsightsClosedStatusFilter EndTimeRange
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter.ListInsightsClosedStatusFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter.ListInsightsClosedStatusFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter.ListInsightsClosedStatusFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter.ListInsightsClosedStatusFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter.ListInsightsClosedStatusFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter.ListInsightsClosedStatusFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ListInsightsClosedStatusFilter.ListInsightsClosedStatusFilter
module Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter
-- | Used to filter for insights that have the status ONGOING.
--
-- See: newListInsightsOngoingStatusFilter smart
-- constructor.
data ListInsightsOngoingStatusFilter
ListInsightsOngoingStatusFilter' :: InsightType -> ListInsightsOngoingStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
[$sel:type':ListInsightsOngoingStatusFilter'] :: ListInsightsOngoingStatusFilter -> InsightType
-- | Create a value of ListInsightsOngoingStatusFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsOngoingStatusFilter',
-- listInsightsOngoingStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
newListInsightsOngoingStatusFilter :: InsightType -> ListInsightsOngoingStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsOngoingStatusFilter_type :: Lens' ListInsightsOngoingStatusFilter InsightType
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter.ListInsightsOngoingStatusFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter.ListInsightsOngoingStatusFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter.ListInsightsOngoingStatusFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter.ListInsightsOngoingStatusFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter.ListInsightsOngoingStatusFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter.ListInsightsOngoingStatusFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ListInsightsOngoingStatusFilter.ListInsightsOngoingStatusFilter
module Amazonka.DevOpsGuru.Types.Locale
newtype Locale
Locale' :: Text -> Locale
[fromLocale] :: Locale -> Text
pattern Locale_DE_DE :: Locale
pattern Locale_EN_GB :: Locale
pattern Locale_EN_US :: Locale
pattern Locale_ES_ES :: Locale
pattern Locale_FR_FR :: Locale
pattern Locale_IT_IT :: Locale
pattern Locale_JA_JP :: Locale
pattern Locale_KO_KR :: Locale
pattern Locale_PT_BR :: Locale
pattern Locale_ZH_CN :: Locale
pattern Locale_ZH_TW :: Locale
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.Locale.Locale
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.Locale.Locale
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.Locale.Locale
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.Locale.Locale
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.Locale.Locale
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.Locale.Locale
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.Locale.Locale
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.Locale.Locale
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.Locale.Locale
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.Locale.Locale
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.Locale.Locale
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.Locale.Locale
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.Locale.Locale
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.Locale.Locale
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.Locale.Locale
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.Locale.Locale
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.Locale.Locale
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.Locale.Locale
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.Locale.Locale
module Amazonka.DevOpsGuru.Types.LogAnomalyType
newtype LogAnomalyType
LogAnomalyType' :: Text -> LogAnomalyType
[fromLogAnomalyType] :: LogAnomalyType -> Text
pattern LogAnomalyType_BLOCK_FORMAT :: LogAnomalyType
pattern LogAnomalyType_FORMAT :: LogAnomalyType
pattern LogAnomalyType_HTTP_CODE :: LogAnomalyType
pattern LogAnomalyType_KEYWORD :: LogAnomalyType
pattern LogAnomalyType_KEYWORD_TOKEN :: LogAnomalyType
pattern LogAnomalyType_NEW_FIELD_NAME :: LogAnomalyType
pattern LogAnomalyType_NUMERICAL_NAN :: LogAnomalyType
pattern LogAnomalyType_NUMERICAL_POINT :: LogAnomalyType
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.LogAnomalyType.LogAnomalyType
module Amazonka.DevOpsGuru.Types.LogAnomalyClass
-- | Information about an anomalous log event found within a log group.
--
-- See: newLogAnomalyClass smart constructor.
data LogAnomalyClass
LogAnomalyClass' :: Maybe Text -> Maybe Text -> Maybe LogAnomalyType -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Int -> LogAnomalyClass
-- | The explanation for why the log event is considered an anomaly.
[$sel:explanation:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The token where the anomaly was detected. This may refer to an
-- exception or another location, or it may be blank for log anomalies
-- such as format anomalies.
[$sel:logAnomalyToken:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The type of log anomaly that has been detected.
[$sel:logAnomalyType:LogAnomalyClass'] :: LogAnomalyClass -> Maybe LogAnomalyType
-- | The ID of the log event.
[$sel:logEventId:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The time of the first occurrence of the anomalous log event.
[$sel:logEventTimestamp:LogAnomalyClass'] :: LogAnomalyClass -> Maybe POSIX
-- | The name of the Amazon CloudWatch log stream that the anomalous log
-- event belongs to. A log stream is a sequence of log events that share
-- the same source.
[$sel:logStreamName:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The number of log lines where this anomalous log event occurs.
[$sel:numberOfLogLinesOccurrences:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Int
-- | Create a value of LogAnomalyClass with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:explanation:LogAnomalyClass',
-- logAnomalyClass_explanation - The explanation for why the log
-- event is considered an anomaly.
--
-- $sel:logAnomalyToken:LogAnomalyClass',
-- logAnomalyClass_logAnomalyToken - The token where the anomaly
-- was detected. This may refer to an exception or another location, or
-- it may be blank for log anomalies such as format anomalies.
--
-- $sel:logAnomalyType:LogAnomalyClass',
-- logAnomalyClass_logAnomalyType - The type of log anomaly that
-- has been detected.
--
-- $sel:logEventId:LogAnomalyClass',
-- logAnomalyClass_logEventId - The ID of the log event.
--
-- $sel:logEventTimestamp:LogAnomalyClass',
-- logAnomalyClass_logEventTimestamp - The time of the first
-- occurrence of the anomalous log event.
--
-- $sel:logStreamName:LogAnomalyClass',
-- logAnomalyClass_logStreamName - The name of the Amazon
-- CloudWatch log stream that the anomalous log event belongs to. A log
-- stream is a sequence of log events that share the same source.
--
-- $sel:numberOfLogLinesOccurrences:LogAnomalyClass',
-- logAnomalyClass_numberOfLogLinesOccurrences - The number of log
-- lines where this anomalous log event occurs.
newLogAnomalyClass :: LogAnomalyClass
-- | The explanation for why the log event is considered an anomaly.
logAnomalyClass_explanation :: Lens' LogAnomalyClass (Maybe Text)
-- | The token where the anomaly was detected. This may refer to an
-- exception or another location, or it may be blank for log anomalies
-- such as format anomalies.
logAnomalyClass_logAnomalyToken :: Lens' LogAnomalyClass (Maybe Text)
-- | The type of log anomaly that has been detected.
logAnomalyClass_logAnomalyType :: Lens' LogAnomalyClass (Maybe LogAnomalyType)
-- | The ID of the log event.
logAnomalyClass_logEventId :: Lens' LogAnomalyClass (Maybe Text)
-- | The time of the first occurrence of the anomalous log event.
logAnomalyClass_logEventTimestamp :: Lens' LogAnomalyClass (Maybe UTCTime)
-- | The name of the Amazon CloudWatch log stream that the anomalous log
-- event belongs to. A log stream is a sequence of log events that share
-- the same source.
logAnomalyClass_logStreamName :: Lens' LogAnomalyClass (Maybe Text)
-- | The number of log lines where this anomalous log event occurs.
logAnomalyClass_numberOfLogLinesOccurrences :: Lens' LogAnomalyClass (Maybe Int)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.LogAnomalyClass.LogAnomalyClass
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.LogAnomalyClass.LogAnomalyClass
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.LogAnomalyClass.LogAnomalyClass
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.LogAnomalyClass.LogAnomalyClass
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.LogAnomalyClass.LogAnomalyClass
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.LogAnomalyClass.LogAnomalyClass
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.LogAnomalyClass.LogAnomalyClass
module Amazonka.DevOpsGuru.Types.LogAnomalyShowcase
-- | A cluster of similar anomalous log events found within a log group.
--
-- See: newLogAnomalyShowcase smart constructor.
data LogAnomalyShowcase
LogAnomalyShowcase' :: Maybe [LogAnomalyClass] -> LogAnomalyShowcase
-- | A list of anomalous log events that may be related.
[$sel:logAnomalyClasses:LogAnomalyShowcase'] :: LogAnomalyShowcase -> Maybe [LogAnomalyClass]
-- | Create a value of LogAnomalyShowcase with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logAnomalyClasses:LogAnomalyShowcase',
-- logAnomalyShowcase_logAnomalyClasses - A list of anomalous log
-- events that may be related.
newLogAnomalyShowcase :: LogAnomalyShowcase
-- | A list of anomalous log events that may be related.
logAnomalyShowcase_logAnomalyClasses :: Lens' LogAnomalyShowcase (Maybe [LogAnomalyClass])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.LogAnomalyShowcase.LogAnomalyShowcase
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.LogAnomalyShowcase.LogAnomalyShowcase
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.LogAnomalyShowcase.LogAnomalyShowcase
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.LogAnomalyShowcase.LogAnomalyShowcase
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.LogAnomalyShowcase.LogAnomalyShowcase
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.LogAnomalyShowcase.LogAnomalyShowcase
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.LogAnomalyShowcase.LogAnomalyShowcase
module Amazonka.DevOpsGuru.Types.AnomalousLogGroup
-- | An Amazon CloudWatch log group that contains log anomalies and is used
-- to generate an insight.
--
-- See: newAnomalousLogGroup smart constructor.
data AnomalousLogGroup
AnomalousLogGroup' :: Maybe POSIX -> Maybe POSIX -> Maybe [LogAnomalyShowcase] -> Maybe Text -> Maybe Int -> AnomalousLogGroup
-- | The time the anomalous log events stopped.
[$sel:impactEndTime:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe POSIX
-- | The time the anomalous log events began. The impact start time
-- indicates the time of the first log anomaly event that occurs.
[$sel:impactStartTime:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe POSIX
-- | The log anomalies in the log group. Each log anomaly displayed
-- represents a cluster of similar anomalous log events.
[$sel:logAnomalyShowcases:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe [LogAnomalyShowcase]
-- | The name of the CloudWatch log group.
[$sel:logGroupName:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe Text
-- | The number of log lines that were scanned for anomalous log events.
[$sel:numberOfLogLinesScanned:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe Int
-- | Create a value of AnomalousLogGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:impactEndTime:AnomalousLogGroup',
-- anomalousLogGroup_impactEndTime - The time the anomalous log
-- events stopped.
--
-- $sel:impactStartTime:AnomalousLogGroup',
-- anomalousLogGroup_impactStartTime - The time the anomalous log
-- events began. The impact start time indicates the time of the first
-- log anomaly event that occurs.
--
-- $sel:logAnomalyShowcases:AnomalousLogGroup',
-- anomalousLogGroup_logAnomalyShowcases - The log anomalies in
-- the log group. Each log anomaly displayed represents a cluster of
-- similar anomalous log events.
--
-- $sel:logGroupName:AnomalousLogGroup',
-- anomalousLogGroup_logGroupName - The name of the CloudWatch log
-- group.
--
-- $sel:numberOfLogLinesScanned:AnomalousLogGroup',
-- anomalousLogGroup_numberOfLogLinesScanned - The number of log
-- lines that were scanned for anomalous log events.
newAnomalousLogGroup :: AnomalousLogGroup
-- | The time the anomalous log events stopped.
anomalousLogGroup_impactEndTime :: Lens' AnomalousLogGroup (Maybe UTCTime)
-- | The time the anomalous log events began. The impact start time
-- indicates the time of the first log anomaly event that occurs.
anomalousLogGroup_impactStartTime :: Lens' AnomalousLogGroup (Maybe UTCTime)
-- | The log anomalies in the log group. Each log anomaly displayed
-- represents a cluster of similar anomalous log events.
anomalousLogGroup_logAnomalyShowcases :: Lens' AnomalousLogGroup (Maybe [LogAnomalyShowcase])
-- | The name of the CloudWatch log group.
anomalousLogGroup_logGroupName :: Lens' AnomalousLogGroup (Maybe Text)
-- | The number of log lines that were scanned for anomalous log events.
anomalousLogGroup_numberOfLogLinesScanned :: Lens' AnomalousLogGroup (Maybe Int)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalousLogGroup.AnomalousLogGroup
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalousLogGroup.AnomalousLogGroup
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalousLogGroup.AnomalousLogGroup
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalousLogGroup.AnomalousLogGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalousLogGroup.AnomalousLogGroup
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalousLogGroup.AnomalousLogGroup
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalousLogGroup.AnomalousLogGroup
module Amazonka.DevOpsGuru.Types.NotificationMessageType
newtype NotificationMessageType
NotificationMessageType' :: Text -> NotificationMessageType
[fromNotificationMessageType] :: NotificationMessageType -> Text
pattern NotificationMessageType_CLOSED_INSIGHT :: NotificationMessageType
pattern NotificationMessageType_NEW_ASSOCIATION :: NotificationMessageType
pattern NotificationMessageType_NEW_INSIGHT :: NotificationMessageType
pattern NotificationMessageType_NEW_RECOMMENDATION :: NotificationMessageType
pattern NotificationMessageType_SEVERITY_UPGRADED :: NotificationMessageType
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.NotificationMessageType.NotificationMessageType
module Amazonka.DevOpsGuru.Types.NotificationFilterConfig
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. You can choose to specify which events or
-- message types to receive notifications for. You can also choose to
-- specify which severity levels to receive notifications for.
--
-- See: newNotificationFilterConfig smart constructor.
data NotificationFilterConfig
NotificationFilterConfig' :: Maybe [NotificationMessageType] -> Maybe [InsightSeverity] -> NotificationFilterConfig
-- | The events that you want to receive notifications for. For example,
-- you can choose to receive notifications only when the severity level
-- is upgraded or a new insight is created.
[$sel:messageTypes:NotificationFilterConfig'] :: NotificationFilterConfig -> Maybe [NotificationMessageType]
-- | The severity levels that you want to receive notifications for. For
-- example, you can choose to receive notifications only for insights
-- with HIGH and MEDIUM severity levels. For more
-- information, see Understanding insight severities.
[$sel:severities:NotificationFilterConfig'] :: NotificationFilterConfig -> Maybe [InsightSeverity]
-- | Create a value of NotificationFilterConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:messageTypes:NotificationFilterConfig',
-- notificationFilterConfig_messageTypes - The events that you
-- want to receive notifications for. For example, you can choose to
-- receive notifications only when the severity level is upgraded or a
-- new insight is created.
--
-- $sel:severities:NotificationFilterConfig',
-- notificationFilterConfig_severities - The severity levels that
-- you want to receive notifications for. For example, you can choose to
-- receive notifications only for insights with HIGH and
-- MEDIUM severity levels. For more information, see
-- Understanding insight severities.
newNotificationFilterConfig :: NotificationFilterConfig
-- | The events that you want to receive notifications for. For example,
-- you can choose to receive notifications only when the severity level
-- is upgraded or a new insight is created.
notificationFilterConfig_messageTypes :: Lens' NotificationFilterConfig (Maybe [NotificationMessageType])
-- | The severity levels that you want to receive notifications for. For
-- example, you can choose to receive notifications only for insights
-- with HIGH and MEDIUM severity levels. For more
-- information, see Understanding insight severities.
notificationFilterConfig_severities :: Lens' NotificationFilterConfig (Maybe [InsightSeverity])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.NotificationFilterConfig.NotificationFilterConfig
module Amazonka.DevOpsGuru.Types.OptInStatus
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
newtype OptInStatus
OptInStatus' :: Text -> OptInStatus
[fromOptInStatus] :: OptInStatus -> Text
pattern OptInStatus_DISABLED :: OptInStatus
pattern OptInStatus_ENABLED :: OptInStatus
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.OptInStatus.OptInStatus
module Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight. You can use this to update the configuration.
--
-- See: newOpsCenterIntegrationConfig smart constructor.
data OpsCenterIntegrationConfig
OpsCenterIntegrationConfig' :: Maybe OptInStatus -> OpsCenterIntegrationConfig
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
[$sel:optInStatus:OpsCenterIntegrationConfig'] :: OpsCenterIntegrationConfig -> Maybe OptInStatus
-- | Create a value of OpsCenterIntegrationConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:OpsCenterIntegrationConfig',
-- opsCenterIntegrationConfig_optInStatus - Specifies if DevOps
-- Guru is enabled to create an Amazon Web Services Systems Manager
-- OpsItem for each created insight.
newOpsCenterIntegrationConfig :: OpsCenterIntegrationConfig
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
opsCenterIntegrationConfig_optInStatus :: Lens' OpsCenterIntegrationConfig (Maybe OptInStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig.OpsCenterIntegrationConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig.OpsCenterIntegrationConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig.OpsCenterIntegrationConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig.OpsCenterIntegrationConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig.OpsCenterIntegrationConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig.OpsCenterIntegrationConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.OpsCenterIntegrationConfig.OpsCenterIntegrationConfig
module Amazonka.DevOpsGuru.Types.OpsCenterIntegration
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
--
-- See: newOpsCenterIntegration smart constructor.
data OpsCenterIntegration
OpsCenterIntegration' :: Maybe OptInStatus -> OpsCenterIntegration
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
[$sel:optInStatus:OpsCenterIntegration'] :: OpsCenterIntegration -> Maybe OptInStatus
-- | Create a value of OpsCenterIntegration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:OpsCenterIntegration',
-- opsCenterIntegration_optInStatus - Specifies if DevOps Guru is
-- enabled to create an Amazon Web Services Systems Manager OpsItem for
-- each created insight.
newOpsCenterIntegration :: OpsCenterIntegration
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
opsCenterIntegration_optInStatus :: Lens' OpsCenterIntegration (Maybe OptInStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.OpsCenterIntegration.OpsCenterIntegration
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.OpsCenterIntegration.OpsCenterIntegration
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.OpsCenterIntegration.OpsCenterIntegration
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.OpsCenterIntegration.OpsCenterIntegration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.OpsCenterIntegration.OpsCenterIntegration
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.OpsCenterIntegration.OpsCenterIntegration
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.OpsCenterIntegration.OpsCenterIntegration
module Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig
-- | Information about the integration of DevOps Guru with CloudWatch log
-- groups for log anomaly detection. You can use this to update the
-- configuration.
--
-- See: newLogsAnomalyDetectionIntegrationConfig smart
-- constructor.
data LogsAnomalyDetectionIntegrationConfig
LogsAnomalyDetectionIntegrationConfig' :: Maybe OptInStatus -> LogsAnomalyDetectionIntegrationConfig
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
[$sel:optInStatus:LogsAnomalyDetectionIntegrationConfig'] :: LogsAnomalyDetectionIntegrationConfig -> Maybe OptInStatus
-- | Create a value of LogsAnomalyDetectionIntegrationConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:LogsAnomalyDetectionIntegrationConfig',
-- logsAnomalyDetectionIntegrationConfig_optInStatus - Specifies
-- if DevOps Guru is configured to perform log anomaly detection on
-- CloudWatch log groups.
newLogsAnomalyDetectionIntegrationConfig :: LogsAnomalyDetectionIntegrationConfig
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
logsAnomalyDetectionIntegrationConfig_optInStatus :: Lens' LogsAnomalyDetectionIntegrationConfig (Maybe OptInStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig.LogsAnomalyDetectionIntegrationConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig.LogsAnomalyDetectionIntegrationConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig.LogsAnomalyDetectionIntegrationConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig.LogsAnomalyDetectionIntegrationConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig.LogsAnomalyDetectionIntegrationConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig.LogsAnomalyDetectionIntegrationConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegrationConfig.LogsAnomalyDetectionIntegrationConfig
module Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration
-- | Information about the integration of DevOps Guru with CloudWatch log
-- groups for log anomaly detection.
--
-- See: newLogsAnomalyDetectionIntegration smart
-- constructor.
data LogsAnomalyDetectionIntegration
LogsAnomalyDetectionIntegration' :: Maybe OptInStatus -> LogsAnomalyDetectionIntegration
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
[$sel:optInStatus:LogsAnomalyDetectionIntegration'] :: LogsAnomalyDetectionIntegration -> Maybe OptInStatus
-- | Create a value of LogsAnomalyDetectionIntegration with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:LogsAnomalyDetectionIntegration',
-- logsAnomalyDetectionIntegration_optInStatus - Specifies if
-- DevOps Guru is configured to perform log anomaly detection on
-- CloudWatch log groups.
newLogsAnomalyDetectionIntegration :: LogsAnomalyDetectionIntegration
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
logsAnomalyDetectionIntegration_optInStatus :: Lens' LogsAnomalyDetectionIntegration (Maybe OptInStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration.LogsAnomalyDetectionIntegration
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration.LogsAnomalyDetectionIntegration
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration.LogsAnomalyDetectionIntegration
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration.LogsAnomalyDetectionIntegration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration.LogsAnomalyDetectionIntegration
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration.LogsAnomalyDetectionIntegration
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.LogsAnomalyDetectionIntegration.LogsAnomalyDetectionIntegration
module Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType
newtype OrganizationResourceCollectionType
OrganizationResourceCollectionType' :: Text -> OrganizationResourceCollectionType
[fromOrganizationResourceCollectionType] :: OrganizationResourceCollectionType -> Text
pattern OrganizationResourceCollectionType_AWS_ACCOUNT :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_CLOUD_FORMATION :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_SERVICE :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_TAGS :: OrganizationResourceCollectionType
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.OrganizationResourceCollectionType.OrganizationResourceCollectionType
module Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup
-- | A logical grouping of Performance Insights metrics for a related
-- subject area. For example, the db.sql dimension group
-- consists of the following dimensions: db.sql.id,
-- db.sql.db_id, db.sql.statement, and
-- db.sql.tokenized_id.
--
-- Each response element returns a maximum of 500 bytes. For larger
-- elements, such as SQL statements, only the first 500 bytes are
-- returned.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricDimensionGroup smart
-- constructor.
data PerformanceInsightsMetricDimensionGroup
PerformanceInsightsMetricDimensionGroup' :: Maybe [Text] -> Maybe Text -> Maybe Natural -> PerformanceInsightsMetricDimensionGroup
-- | A list of specific dimensions from a dimension group. If this
-- parameter is not present, then it signifies that all of the dimensions
-- in the group were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
[$sel:dimensions:PerformanceInsightsMetricDimensionGroup'] :: PerformanceInsightsMetricDimensionGroup -> Maybe [Text]
-- | The name of the dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
[$sel:group':PerformanceInsightsMetricDimensionGroup'] :: PerformanceInsightsMetricDimensionGroup -> Maybe Text
-- | The maximum number of items to fetch for this dimension group.
[$sel:limit:PerformanceInsightsMetricDimensionGroup'] :: PerformanceInsightsMetricDimensionGroup -> Maybe Natural
-- | Create a value of PerformanceInsightsMetricDimensionGroup with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dimensions:PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_dimensions - A list of
-- specific dimensions from a dimension group. If this parameter is not
-- present, then it signifies that all of the dimensions in the group
-- were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
--
-- $sel:group':PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_group - The name of the
-- dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
--
-- $sel:limit:PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_limit - The maximum
-- number of items to fetch for this dimension group.
newPerformanceInsightsMetricDimensionGroup :: PerformanceInsightsMetricDimensionGroup
-- | A list of specific dimensions from a dimension group. If this
-- parameter is not present, then it signifies that all of the dimensions
-- in the group were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
performanceInsightsMetricDimensionGroup_dimensions :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe [Text])
-- | The name of the dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
performanceInsightsMetricDimensionGroup_group :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe Text)
-- | The maximum number of items to fetch for this dimension group.
performanceInsightsMetricDimensionGroup_limit :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe Natural)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup.PerformanceInsightsMetricDimensionGroup
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup.PerformanceInsightsMetricDimensionGroup
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup.PerformanceInsightsMetricDimensionGroup
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup.PerformanceInsightsMetricDimensionGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup.PerformanceInsightsMetricDimensionGroup
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup.PerformanceInsightsMetricDimensionGroup
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricDimensionGroup.PerformanceInsightsMetricDimensionGroup
module Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery
-- | A single query to be processed. Use these parameters to query the
-- Performance Insights GetResourceMetrics API to retrieve the
-- metrics for an anomaly. For more information, see
-- GetResourceMetrics in the Amazon RDS
-- Performance Insights API Reference.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricQuery smart
-- constructor.
data PerformanceInsightsMetricQuery
PerformanceInsightsMetricQuery' :: Maybe (HashMap Text Text) -> Maybe PerformanceInsightsMetricDimensionGroup -> Maybe Text -> PerformanceInsightsMetricQuery
-- | One or more filters to apply to a Performance Insights
-- GetResourceMetrics API query. Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
[$sel:filter':PerformanceInsightsMetricQuery'] :: PerformanceInsightsMetricQuery -> Maybe (HashMap Text Text)
-- | The specification for how to aggregate the data points from a
-- Performance Insights GetResourceMetrics API query. The
-- Performance Insights query returns all of the dimensions within that
-- group, unless you provide the names of specific dimensions within that
-- group. You can also request that Performance Insights return a limited
-- number of values for a dimension.
[$sel:groupBy:PerformanceInsightsMetricQuery'] :: PerformanceInsightsMetricQuery -> Maybe PerformanceInsightsMetricDimensionGroup
-- | The name of the meteric used used when querying an Performance
-- Insights GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
[$sel:metric:PerformanceInsightsMetricQuery'] :: PerformanceInsightsMetricQuery -> Maybe Text
-- | Create a value of PerformanceInsightsMetricQuery with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_filter - One or more filters to
-- apply to a Performance Insights GetResourceMetrics API query.
-- Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
--
-- $sel:groupBy:PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_groupBy - The specification for
-- how to aggregate the data points from a Performance Insights
-- GetResourceMetrics API query. The Performance Insights query
-- returns all of the dimensions within that group, unless you provide
-- the names of specific dimensions within that group. You can also
-- request that Performance Insights return a limited number of values
-- for a dimension.
--
-- $sel:metric:PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_metric - The name of the meteric
-- used used when querying an Performance Insights
-- GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
newPerformanceInsightsMetricQuery :: PerformanceInsightsMetricQuery
-- | One or more filters to apply to a Performance Insights
-- GetResourceMetrics API query. Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
performanceInsightsMetricQuery_filter :: Lens' PerformanceInsightsMetricQuery (Maybe (HashMap Text Text))
-- | The specification for how to aggregate the data points from a
-- Performance Insights GetResourceMetrics API query. The
-- Performance Insights query returns all of the dimensions within that
-- group, unless you provide the names of specific dimensions within that
-- group. You can also request that Performance Insights return a limited
-- number of values for a dimension.
performanceInsightsMetricQuery_groupBy :: Lens' PerformanceInsightsMetricQuery (Maybe PerformanceInsightsMetricDimensionGroup)
-- | The name of the meteric used used when querying an Performance
-- Insights GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
performanceInsightsMetricQuery_metric :: Lens' PerformanceInsightsMetricQuery (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery.PerformanceInsightsMetricQuery
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery.PerformanceInsightsMetricQuery
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery.PerformanceInsightsMetricQuery
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery.PerformanceInsightsMetricQuery
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery.PerformanceInsightsMetricQuery
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery.PerformanceInsightsMetricQuery
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricQuery.PerformanceInsightsMetricQuery
module Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric
-- | Information about a reference metric used to evaluate Performance
-- Insights.
--
-- See: newPerformanceInsightsReferenceMetric smart
-- constructor.
data PerformanceInsightsReferenceMetric
PerformanceInsightsReferenceMetric' :: Maybe PerformanceInsightsMetricQuery -> PerformanceInsightsReferenceMetric
-- | A query to be processed on the metric.
[$sel:metricQuery:PerformanceInsightsReferenceMetric'] :: PerformanceInsightsReferenceMetric -> Maybe PerformanceInsightsMetricQuery
-- | Create a value of PerformanceInsightsReferenceMetric with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricQuery:PerformanceInsightsReferenceMetric',
-- performanceInsightsReferenceMetric_metricQuery - A query to be
-- processed on the metric.
newPerformanceInsightsReferenceMetric :: PerformanceInsightsReferenceMetric
-- | A query to be processed on the metric.
performanceInsightsReferenceMetric_metricQuery :: Lens' PerformanceInsightsReferenceMetric (Maybe PerformanceInsightsMetricQuery)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric.PerformanceInsightsReferenceMetric
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric.PerformanceInsightsReferenceMetric
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric.PerformanceInsightsReferenceMetric
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric.PerformanceInsightsReferenceMetric
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric.PerformanceInsightsReferenceMetric
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric.PerformanceInsightsReferenceMetric
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceMetric.PerformanceInsightsReferenceMetric
module Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar
-- | A reference value to compare Performance Insights metrics against to
-- determine if the metrics demonstrate anomalous behavior.
--
-- See: newPerformanceInsightsReferenceScalar smart
-- constructor.
data PerformanceInsightsReferenceScalar
PerformanceInsightsReferenceScalar' :: Maybe Double -> PerformanceInsightsReferenceScalar
-- | The reference value.
[$sel:value:PerformanceInsightsReferenceScalar'] :: PerformanceInsightsReferenceScalar -> Maybe Double
-- | Create a value of PerformanceInsightsReferenceScalar with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:value:PerformanceInsightsReferenceScalar',
-- performanceInsightsReferenceScalar_value - The reference value.
newPerformanceInsightsReferenceScalar :: PerformanceInsightsReferenceScalar
-- | The reference value.
performanceInsightsReferenceScalar_value :: Lens' PerformanceInsightsReferenceScalar (Maybe Double)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar.PerformanceInsightsReferenceScalar
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar.PerformanceInsightsReferenceScalar
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar.PerformanceInsightsReferenceScalar
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar.PerformanceInsightsReferenceScalar
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar.PerformanceInsightsReferenceScalar
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar.PerformanceInsightsReferenceScalar
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceScalar.PerformanceInsightsReferenceScalar
module Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues
-- | Reference scalar values and other metrics that DevOps Guru displays on
-- a graph in its console along with the actual metrics it analyzed.
-- Compare these reference values to your actual metrics to help you
-- understand anomalous behavior that DevOps Guru detected.
--
-- See: newPerformanceInsightsReferenceComparisonValues
-- smart constructor.
data PerformanceInsightsReferenceComparisonValues
PerformanceInsightsReferenceComparisonValues' :: Maybe PerformanceInsightsReferenceMetric -> Maybe PerformanceInsightsReferenceScalar -> PerformanceInsightsReferenceComparisonValues
-- | A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
[$sel:referenceMetric:PerformanceInsightsReferenceComparisonValues'] :: PerformanceInsightsReferenceComparisonValues -> Maybe PerformanceInsightsReferenceMetric
-- | A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
[$sel:referenceScalar:PerformanceInsightsReferenceComparisonValues'] :: PerformanceInsightsReferenceComparisonValues -> Maybe PerformanceInsightsReferenceScalar
-- | Create a value of PerformanceInsightsReferenceComparisonValues
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:referenceMetric:PerformanceInsightsReferenceComparisonValues',
-- performanceInsightsReferenceComparisonValues_referenceMetric -
-- A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
--
--
-- $sel:referenceScalar:PerformanceInsightsReferenceComparisonValues',
-- performanceInsightsReferenceComparisonValues_referenceScalar -
-- A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
newPerformanceInsightsReferenceComparisonValues :: PerformanceInsightsReferenceComparisonValues
-- | A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
performanceInsightsReferenceComparisonValues_referenceMetric :: Lens' PerformanceInsightsReferenceComparisonValues (Maybe PerformanceInsightsReferenceMetric)
-- | A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
performanceInsightsReferenceComparisonValues_referenceScalar :: Lens' PerformanceInsightsReferenceComparisonValues (Maybe PerformanceInsightsReferenceScalar)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues.PerformanceInsightsReferenceComparisonValues
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues.PerformanceInsightsReferenceComparisonValues
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues.PerformanceInsightsReferenceComparisonValues
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues.PerformanceInsightsReferenceComparisonValues
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues.PerformanceInsightsReferenceComparisonValues
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues.PerformanceInsightsReferenceComparisonValues
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceComparisonValues.PerformanceInsightsReferenceComparisonValues
module Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData
-- | Reference data used to evaluate Performance Insights to determine if
-- its performance is anomalous or not.
--
-- See: newPerformanceInsightsReferenceData smart
-- constructor.
data PerformanceInsightsReferenceData
PerformanceInsightsReferenceData' :: Maybe PerformanceInsightsReferenceComparisonValues -> Maybe Text -> PerformanceInsightsReferenceData
-- | The specific reference values used to evaluate the Performance
-- Insights. For more information, see
-- PerformanceInsightsReferenceComparisonValues .
[$sel:comparisonValues:PerformanceInsightsReferenceData'] :: PerformanceInsightsReferenceData -> Maybe PerformanceInsightsReferenceComparisonValues
-- | The name of the reference data.
[$sel:name:PerformanceInsightsReferenceData'] :: PerformanceInsightsReferenceData -> Maybe Text
-- | Create a value of PerformanceInsightsReferenceData with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comparisonValues:PerformanceInsightsReferenceData',
-- performanceInsightsReferenceData_comparisonValues - The
-- specific reference values used to evaluate the Performance Insights.
-- For more information, see
-- PerformanceInsightsReferenceComparisonValues .
--
-- $sel:name:PerformanceInsightsReferenceData',
-- performanceInsightsReferenceData_name - The name of the
-- reference data.
newPerformanceInsightsReferenceData :: PerformanceInsightsReferenceData
-- | The specific reference values used to evaluate the Performance
-- Insights. For more information, see
-- PerformanceInsightsReferenceComparisonValues .
performanceInsightsReferenceData_comparisonValues :: Lens' PerformanceInsightsReferenceData (Maybe PerformanceInsightsReferenceComparisonValues)
-- | The name of the reference data.
performanceInsightsReferenceData_name :: Lens' PerformanceInsightsReferenceData (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData.PerformanceInsightsReferenceData
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData.PerformanceInsightsReferenceData
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData.PerformanceInsightsReferenceData
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData.PerformanceInsightsReferenceData
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData.PerformanceInsightsReferenceData
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData.PerformanceInsightsReferenceData
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsReferenceData.PerformanceInsightsReferenceData
module Amazonka.DevOpsGuru.Types.PerformanceInsightsStat
-- | A statistic in a Performance Insights collection.
--
-- See: newPerformanceInsightsStat smart constructor.
data PerformanceInsightsStat
PerformanceInsightsStat' :: Maybe Text -> Maybe Double -> PerformanceInsightsStat
-- | The statistic type.
[$sel:type':PerformanceInsightsStat'] :: PerformanceInsightsStat -> Maybe Text
-- | The value of the statistic.
[$sel:value:PerformanceInsightsStat'] :: PerformanceInsightsStat -> Maybe Double
-- | Create a value of PerformanceInsightsStat with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':PerformanceInsightsStat',
-- performanceInsightsStat_type - The statistic type.
--
-- $sel:value:PerformanceInsightsStat',
-- performanceInsightsStat_value - The value of the statistic.
newPerformanceInsightsStat :: PerformanceInsightsStat
-- | The statistic type.
performanceInsightsStat_type :: Lens' PerformanceInsightsStat (Maybe Text)
-- | The value of the statistic.
performanceInsightsStat_value :: Lens' PerformanceInsightsStat (Maybe Double)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsStat.PerformanceInsightsStat
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsStat.PerformanceInsightsStat
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsStat.PerformanceInsightsStat
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsStat.PerformanceInsightsStat
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsStat.PerformanceInsightsStat
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsStat.PerformanceInsightsStat
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsStat.PerformanceInsightsStat
module Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail
-- | Details about Performance Insights metrics.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricsDetail smart
-- constructor.
data PerformanceInsightsMetricsDetail
PerformanceInsightsMetricsDetail' :: Maybe Text -> Maybe PerformanceInsightsMetricQuery -> Maybe [PerformanceInsightsReferenceData] -> Maybe [PerformanceInsightsStat] -> Maybe [PerformanceInsightsStat] -> Maybe Text -> PerformanceInsightsMetricsDetail
-- | The name used for a specific Performance Insights metric.
[$sel:metricDisplayName:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe Text
-- | A single query to be processed for the metric. For more information,
-- see PerformanceInsightsMetricQuery .
[$sel:metricQuery:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe PerformanceInsightsMetricQuery
-- | For more information, see
-- PerformanceInsightsReferenceData .
[$sel:referenceData:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe [PerformanceInsightsReferenceData]
-- | The metric statistics during the anomalous period detected by DevOps
-- Guru;
[$sel:statsAtAnomaly:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe [PerformanceInsightsStat]
-- | Typical metric statistics that are not considered anomalous. When
-- DevOps Guru analyzes metrics, it compares them to
-- StatsAtBaseline to help determine if they are anomalous.
[$sel:statsAtBaseline:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe [PerformanceInsightsStat]
-- | The unit of measure for a metric. For example, a session or a process.
[$sel:unit:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe Text
-- | Create a value of PerformanceInsightsMetricsDetail with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricDisplayName:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_metricDisplayName - The name
-- used for a specific Performance Insights metric.
--
-- $sel:metricQuery:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_metricQuery - A single query
-- to be processed for the metric. For more information, see
-- PerformanceInsightsMetricQuery .
--
-- $sel:referenceData:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_referenceData - For more
-- information, see PerformanceInsightsReferenceData
-- .
--
-- $sel:statsAtAnomaly:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_statsAtAnomaly - The metric
-- statistics during the anomalous period detected by DevOps Guru;
--
-- $sel:statsAtBaseline:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_statsAtBaseline - Typical
-- metric statistics that are not considered anomalous. When DevOps Guru
-- analyzes metrics, it compares them to StatsAtBaseline to help
-- determine if they are anomalous.
--
-- $sel:unit:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_unit - The unit of measure for
-- a metric. For example, a session or a process.
newPerformanceInsightsMetricsDetail :: PerformanceInsightsMetricsDetail
-- | The name used for a specific Performance Insights metric.
performanceInsightsMetricsDetail_metricDisplayName :: Lens' PerformanceInsightsMetricsDetail (Maybe Text)
-- | A single query to be processed for the metric. For more information,
-- see PerformanceInsightsMetricQuery .
performanceInsightsMetricsDetail_metricQuery :: Lens' PerformanceInsightsMetricsDetail (Maybe PerformanceInsightsMetricQuery)
-- | For more information, see
-- PerformanceInsightsReferenceData .
performanceInsightsMetricsDetail_referenceData :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsReferenceData])
-- | The metric statistics during the anomalous period detected by DevOps
-- Guru;
performanceInsightsMetricsDetail_statsAtAnomaly :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsStat])
-- | Typical metric statistics that are not considered anomalous. When
-- DevOps Guru analyzes metrics, it compares them to
-- StatsAtBaseline to help determine if they are anomalous.
performanceInsightsMetricsDetail_statsAtBaseline :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsStat])
-- | The unit of measure for a metric. For example, a session or a process.
performanceInsightsMetricsDetail_unit :: Lens' PerformanceInsightsMetricsDetail (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail.PerformanceInsightsMetricsDetail
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail.PerformanceInsightsMetricsDetail
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail.PerformanceInsightsMetricsDetail
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail.PerformanceInsightsMetricsDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail.PerformanceInsightsMetricsDetail
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail.PerformanceInsightsMetricsDetail
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PerformanceInsightsMetricsDetail.PerformanceInsightsMetricsDetail
module Amazonka.DevOpsGuru.Types.PredictionTimeRange
-- | The time range during which anomalous behavior in a proactive anomaly
-- or an insight is expected to occur.
--
-- See: newPredictionTimeRange smart constructor.
data PredictionTimeRange
PredictionTimeRange' :: Maybe POSIX -> POSIX -> PredictionTimeRange
-- | The time when the behavior in a proactive insight is expected to end.
[$sel:endTime:PredictionTimeRange'] :: PredictionTimeRange -> Maybe POSIX
-- | The time range during which a metric limit is expected to be exceeded.
-- This applies to proactive insights only.
[$sel:startTime:PredictionTimeRange'] :: PredictionTimeRange -> POSIX
-- | Create a value of PredictionTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:PredictionTimeRange',
-- predictionTimeRange_endTime - The time when the behavior in a
-- proactive insight is expected to end.
--
-- $sel:startTime:PredictionTimeRange',
-- predictionTimeRange_startTime - The time range during which a
-- metric limit is expected to be exceeded. This applies to proactive
-- insights only.
newPredictionTimeRange :: UTCTime -> PredictionTimeRange
-- | The time when the behavior in a proactive insight is expected to end.
predictionTimeRange_endTime :: Lens' PredictionTimeRange (Maybe UTCTime)
-- | The time range during which a metric limit is expected to be exceeded.
-- This applies to proactive insights only.
predictionTimeRange_startTime :: Lens' PredictionTimeRange UTCTime
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.PredictionTimeRange.PredictionTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.PredictionTimeRange.PredictionTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.PredictionTimeRange.PredictionTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.PredictionTimeRange.PredictionTimeRange
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.PredictionTimeRange.PredictionTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.PredictionTimeRange.PredictionTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.PredictionTimeRange.PredictionTimeRange
module Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
--
-- See: newRecommendationRelatedAnomalyResource smart
-- constructor.
data RecommendationRelatedAnomalyResource
RecommendationRelatedAnomalyResource' :: Maybe Text -> Maybe Text -> RecommendationRelatedAnomalyResource
-- | The name of the resource.
[$sel:name:RecommendationRelatedAnomalyResource'] :: RecommendationRelatedAnomalyResource -> Maybe Text
-- | The type of the resource. Resource types take the same form that is
-- used by Amazon Web Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
[$sel:type':RecommendationRelatedAnomalyResource'] :: RecommendationRelatedAnomalyResource -> Maybe Text
-- | Create a value of RecommendationRelatedAnomalyResource with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:RecommendationRelatedAnomalyResource',
-- recommendationRelatedAnomalyResource_name - The name of the
-- resource.
--
-- $sel:type':RecommendationRelatedAnomalyResource',
-- recommendationRelatedAnomalyResource_type - The type of the
-- resource. Resource types take the same form that is used by Amazon Web
-- Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
newRecommendationRelatedAnomalyResource :: RecommendationRelatedAnomalyResource
-- | The name of the resource.
recommendationRelatedAnomalyResource_name :: Lens' RecommendationRelatedAnomalyResource (Maybe Text)
-- | The type of the resource. Resource types take the same form that is
-- used by Amazon Web Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
recommendationRelatedAnomalyResource_type :: Lens' RecommendationRelatedAnomalyResource (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource.RecommendationRelatedAnomalyResource
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource.RecommendationRelatedAnomalyResource
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource.RecommendationRelatedAnomalyResource
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource.RecommendationRelatedAnomalyResource
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource.RecommendationRelatedAnomalyResource
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource.RecommendationRelatedAnomalyResource
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalyResource.RecommendationRelatedAnomalyResource
module Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail
-- | Information about an Amazon CloudWatch metric that is analyzed by
-- DevOps Guru. It is one of many analyzed metrics that are used to
-- generate insights.
--
-- See:
-- newRecommendationRelatedCloudWatchMetricsSourceDetail smart
-- constructor.
data RecommendationRelatedCloudWatchMetricsSourceDetail
RecommendationRelatedCloudWatchMetricsSourceDetail' :: Maybe Text -> Maybe Text -> RecommendationRelatedCloudWatchMetricsSourceDetail
-- | The name of the CloudWatch metric.
[$sel:metricName:RecommendationRelatedCloudWatchMetricsSourceDetail'] :: RecommendationRelatedCloudWatchMetricsSourceDetail -> Maybe Text
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
[$sel:namespace:RecommendationRelatedCloudWatchMetricsSourceDetail'] :: RecommendationRelatedCloudWatchMetricsSourceDetail -> Maybe Text
-- | Create a value of
-- RecommendationRelatedCloudWatchMetricsSourceDetail with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:metricName:RecommendationRelatedCloudWatchMetricsSourceDetail',
-- recommendationRelatedCloudWatchMetricsSourceDetail_metricName -
-- The name of the CloudWatch metric.
--
--
-- $sel:namespace:RecommendationRelatedCloudWatchMetricsSourceDetail',
-- recommendationRelatedCloudWatchMetricsSourceDetail_namespace -
-- The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
newRecommendationRelatedCloudWatchMetricsSourceDetail :: RecommendationRelatedCloudWatchMetricsSourceDetail
-- | The name of the CloudWatch metric.
recommendationRelatedCloudWatchMetricsSourceDetail_metricName :: Lens' RecommendationRelatedCloudWatchMetricsSourceDetail (Maybe Text)
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
recommendationRelatedCloudWatchMetricsSourceDetail_namespace :: Lens' RecommendationRelatedCloudWatchMetricsSourceDetail (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail.RecommendationRelatedCloudWatchMetricsSourceDetail
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail.RecommendationRelatedCloudWatchMetricsSourceDetail
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail.RecommendationRelatedCloudWatchMetricsSourceDetail
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail.RecommendationRelatedCloudWatchMetricsSourceDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail.RecommendationRelatedCloudWatchMetricsSourceDetail
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail.RecommendationRelatedCloudWatchMetricsSourceDetail
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.RecommendationRelatedCloudWatchMetricsSourceDetail.RecommendationRelatedCloudWatchMetricsSourceDetail
module Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail
-- | Contains an array of
-- RecommendationRelatedCloudWatchMetricsSourceDetail objects
-- that contain the name and namespace of an Amazon CloudWatch metric.
--
-- See: newRecommendationRelatedAnomalySourceDetail smart
-- constructor.
data RecommendationRelatedAnomalySourceDetail
RecommendationRelatedAnomalySourceDetail' :: Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail] -> RecommendationRelatedAnomalySourceDetail
-- | An array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
[$sel:cloudWatchMetrics:RecommendationRelatedAnomalySourceDetail'] :: RecommendationRelatedAnomalySourceDetail -> Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail]
-- | Create a value of RecommendationRelatedAnomalySourceDetail with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudWatchMetrics:RecommendationRelatedAnomalySourceDetail',
-- recommendationRelatedAnomalySourceDetail_cloudWatchMetrics - An
-- array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
newRecommendationRelatedAnomalySourceDetail :: RecommendationRelatedAnomalySourceDetail
-- | An array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
recommendationRelatedAnomalySourceDetail_cloudWatchMetrics :: Lens' RecommendationRelatedAnomalySourceDetail (Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail.RecommendationRelatedAnomalySourceDetail
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail.RecommendationRelatedAnomalySourceDetail
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail.RecommendationRelatedAnomalySourceDetail
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail.RecommendationRelatedAnomalySourceDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail.RecommendationRelatedAnomalySourceDetail
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail.RecommendationRelatedAnomalySourceDetail
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomalySourceDetail.RecommendationRelatedAnomalySourceDetail
module Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly
-- | Information about an anomaly that is related to a recommendation.
--
-- See: newRecommendationRelatedAnomaly smart constructor.
data RecommendationRelatedAnomaly
RecommendationRelatedAnomaly' :: Maybe Text -> Maybe [RecommendationRelatedAnomalyResource] -> Maybe [RecommendationRelatedAnomalySourceDetail] -> RecommendationRelatedAnomaly
-- | The ID of an anomaly that generated the insight with this
-- recommendation.
[$sel:anomalyId:RecommendationRelatedAnomaly'] :: RecommendationRelatedAnomaly -> Maybe Text
-- | An array of objects that represent resources in which DevOps Guru
-- detected anomalous behavior. Each object contains the name and type of
-- the resource.
[$sel:resources:RecommendationRelatedAnomaly'] :: RecommendationRelatedAnomaly -> Maybe [RecommendationRelatedAnomalyResource]
-- | Information about where the anomalous behavior related the
-- recommendation was found. For example, details in Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:RecommendationRelatedAnomaly'] :: RecommendationRelatedAnomaly -> Maybe [RecommendationRelatedAnomalySourceDetail]
-- | Create a value of RecommendationRelatedAnomaly with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyId:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_anomalyId - The ID of an anomaly
-- that generated the insight with this recommendation.
--
-- $sel:resources:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_resources - An array of objects
-- that represent resources in which DevOps Guru detected anomalous
-- behavior. Each object contains the name and type of the resource.
--
-- $sel:sourceDetails:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_sourceDetails - Information about
-- where the anomalous behavior related the recommendation was found. For
-- example, details in Amazon CloudWatch metrics.
newRecommendationRelatedAnomaly :: RecommendationRelatedAnomaly
-- | The ID of an anomaly that generated the insight with this
-- recommendation.
recommendationRelatedAnomaly_anomalyId :: Lens' RecommendationRelatedAnomaly (Maybe Text)
-- | An array of objects that represent resources in which DevOps Guru
-- detected anomalous behavior. Each object contains the name and type of
-- the resource.
recommendationRelatedAnomaly_resources :: Lens' RecommendationRelatedAnomaly (Maybe [RecommendationRelatedAnomalyResource])
-- | Information about where the anomalous behavior related the
-- recommendation was found. For example, details in Amazon CloudWatch
-- metrics.
recommendationRelatedAnomaly_sourceDetails :: Lens' RecommendationRelatedAnomaly (Maybe [RecommendationRelatedAnomalySourceDetail])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly.RecommendationRelatedAnomaly
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly.RecommendationRelatedAnomaly
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly.RecommendationRelatedAnomaly
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly.RecommendationRelatedAnomaly
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly.RecommendationRelatedAnomaly
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly.RecommendationRelatedAnomaly
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.RecommendationRelatedAnomaly.RecommendationRelatedAnomaly
module Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource
-- | Information about an Amazon Web Services resource that emitted and
-- event that is related to a recommendation in an insight.
--
-- See: newRecommendationRelatedEventResource smart
-- constructor.
data RecommendationRelatedEventResource
RecommendationRelatedEventResource' :: Maybe Text -> Maybe Text -> RecommendationRelatedEventResource
-- | The name of the resource that emitted the event. This corresponds to
-- the Name field in an EventResource object.
[$sel:name:RecommendationRelatedEventResource'] :: RecommendationRelatedEventResource -> Maybe Text
-- | The type of the resource that emitted the event. This corresponds to
-- the Type field in an EventResource object.
[$sel:type':RecommendationRelatedEventResource'] :: RecommendationRelatedEventResource -> Maybe Text
-- | Create a value of RecommendationRelatedEventResource with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:RecommendationRelatedEventResource',
-- recommendationRelatedEventResource_name - The name of the
-- resource that emitted the event. This corresponds to the Name
-- field in an EventResource object.
--
-- $sel:type':RecommendationRelatedEventResource',
-- recommendationRelatedEventResource_type - The type of the
-- resource that emitted the event. This corresponds to the Type
-- field in an EventResource object.
newRecommendationRelatedEventResource :: RecommendationRelatedEventResource
-- | The name of the resource that emitted the event. This corresponds to
-- the Name field in an EventResource object.
recommendationRelatedEventResource_name :: Lens' RecommendationRelatedEventResource (Maybe Text)
-- | The type of the resource that emitted the event. This corresponds to
-- the Type field in an EventResource object.
recommendationRelatedEventResource_type :: Lens' RecommendationRelatedEventResource (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource.RecommendationRelatedEventResource
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource.RecommendationRelatedEventResource
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource.RecommendationRelatedEventResource
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource.RecommendationRelatedEventResource
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource.RecommendationRelatedEventResource
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource.RecommendationRelatedEventResource
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.RecommendationRelatedEventResource.RecommendationRelatedEventResource
module Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent
-- | Information about an event that is related to a recommendation.
--
-- See: newRecommendationRelatedEvent smart constructor.
data RecommendationRelatedEvent
RecommendationRelatedEvent' :: Maybe Text -> Maybe [RecommendationRelatedEventResource] -> RecommendationRelatedEvent
-- | The name of the event. This corresponds to the Name field in
-- an Event object.
[$sel:name:RecommendationRelatedEvent'] :: RecommendationRelatedEvent -> Maybe Text
-- | A ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
[$sel:resources:RecommendationRelatedEvent'] :: RecommendationRelatedEvent -> Maybe [RecommendationRelatedEventResource]
-- | Create a value of RecommendationRelatedEvent with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RecommendationRelatedEvent,
-- recommendationRelatedEvent_name - The name of the event. This
-- corresponds to the Name field in an Event object.
--
-- $sel:resources:RecommendationRelatedEvent',
-- recommendationRelatedEvent_resources - A
-- ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
newRecommendationRelatedEvent :: RecommendationRelatedEvent
-- | The name of the event. This corresponds to the Name field in
-- an Event object.
recommendationRelatedEvent_name :: Lens' RecommendationRelatedEvent (Maybe Text)
-- | A ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
recommendationRelatedEvent_resources :: Lens' RecommendationRelatedEvent (Maybe [RecommendationRelatedEventResource])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent.RecommendationRelatedEvent
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent.RecommendationRelatedEvent
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent.RecommendationRelatedEvent
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent.RecommendationRelatedEvent
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent.RecommendationRelatedEvent
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent.RecommendationRelatedEvent
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.RecommendationRelatedEvent.RecommendationRelatedEvent
module Amazonka.DevOpsGuru.Types.Recommendation
-- | Recommendation information to help you remediate detected anomalous
-- behavior that generated an insight.
--
-- See: newRecommendation smart constructor.
data Recommendation
Recommendation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [RecommendationRelatedAnomaly] -> Maybe [RecommendationRelatedEvent] -> Recommendation
-- | The category type of the recommendation.
[$sel:category:Recommendation'] :: Recommendation -> Maybe Text
-- | A description of the problem.
[$sel:description:Recommendation'] :: Recommendation -> Maybe Text
-- | A hyperlink to information to help you address the problem.
[$sel:link:Recommendation'] :: Recommendation -> Maybe Text
-- | The name of the recommendation.
[$sel:name:Recommendation'] :: Recommendation -> Maybe Text
-- | The reason DevOps Guru flagged the anomalous behavior as a problem.
[$sel:reason:Recommendation'] :: Recommendation -> Maybe Text
-- | Anomalies that are related to the problem. Use these Anomalies to
-- learn more about what's happening and to help address the issue.
[$sel:relatedAnomalies:Recommendation'] :: Recommendation -> Maybe [RecommendationRelatedAnomaly]
-- | Events that are related to the problem. Use these events to learn more
-- about what's happening and to help address the issue.
[$sel:relatedEvents:Recommendation'] :: Recommendation -> Maybe [RecommendationRelatedEvent]
-- | Create a value of Recommendation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:category:Recommendation', recommendation_category -
-- The category type of the recommendation.
--
-- $sel:description:Recommendation',
-- recommendation_description - A description of the problem.
--
-- $sel:link:Recommendation', recommendation_link - A
-- hyperlink to information to help you address the problem.
--
-- Recommendation, recommendation_name - The name of the
-- recommendation.
--
-- $sel:reason:Recommendation', recommendation_reason - The
-- reason DevOps Guru flagged the anomalous behavior as a problem.
--
-- $sel:relatedAnomalies:Recommendation',
-- recommendation_relatedAnomalies - Anomalies that are related to
-- the problem. Use these Anomalies to learn more about what's happening
-- and to help address the issue.
--
-- $sel:relatedEvents:Recommendation',
-- recommendation_relatedEvents - Events that are related to the
-- problem. Use these events to learn more about what's happening and to
-- help address the issue.
newRecommendation :: Recommendation
-- | The category type of the recommendation.
recommendation_category :: Lens' Recommendation (Maybe Text)
-- | A description of the problem.
recommendation_description :: Lens' Recommendation (Maybe Text)
-- | A hyperlink to information to help you address the problem.
recommendation_link :: Lens' Recommendation (Maybe Text)
-- | The name of the recommendation.
recommendation_name :: Lens' Recommendation (Maybe Text)
-- | The reason DevOps Guru flagged the anomalous behavior as a problem.
recommendation_reason :: Lens' Recommendation (Maybe Text)
-- | Anomalies that are related to the problem. Use these Anomalies to
-- learn more about what's happening and to help address the issue.
recommendation_relatedAnomalies :: Lens' Recommendation (Maybe [RecommendationRelatedAnomaly])
-- | Events that are related to the problem. Use these events to learn more
-- about what's happening and to help address the issue.
recommendation_relatedEvents :: Lens' Recommendation (Maybe [RecommendationRelatedEvent])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.Recommendation.Recommendation
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.Recommendation.Recommendation
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.Recommendation.Recommendation
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.Recommendation.Recommendation
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.Recommendation.Recommendation
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.Recommendation.Recommendation
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.Recommendation.Recommendation
module Amazonka.DevOpsGuru.Types.ResourceCollectionType
newtype ResourceCollectionType
ResourceCollectionType' :: Text -> ResourceCollectionType
[fromResourceCollectionType] :: ResourceCollectionType -> Text
pattern ResourceCollectionType_AWS_CLOUD_FORMATION :: ResourceCollectionType
pattern ResourceCollectionType_AWS_SERVICE :: ResourceCollectionType
pattern ResourceCollectionType_AWS_TAGS :: ResourceCollectionType
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ResourceCollectionType.ResourceCollectionType
module Amazonka.DevOpsGuru.Types.ResourcePermission
newtype ResourcePermission
ResourcePermission' :: Text -> ResourcePermission
[fromResourcePermission] :: ResourcePermission -> Text
pattern ResourcePermission_FULL_PERMISSION :: ResourcePermission
pattern ResourcePermission_MISSING_PERMISSION :: ResourcePermission
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ResourcePermission.ResourcePermission
module Amazonka.DevOpsGuru.Types.ResourceTypeFilter
newtype ResourceTypeFilter
ResourceTypeFilter' :: Text -> ResourceTypeFilter
[fromResourceTypeFilter] :: ResourceTypeFilter -> Text
pattern ResourceTypeFilter_CLOUDFRONT_DISTRIBUTION :: ResourceTypeFilter
pattern ResourceTypeFilter_DYNAMODB_TABLE :: ResourceTypeFilter
pattern ResourceTypeFilter_EC2_NAT_GATEWAY :: ResourceTypeFilter
pattern ResourceTypeFilter_ECS_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ECS_SERVICE :: ResourceTypeFilter
pattern ResourceTypeFilter_EKS_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTICACHE_CACHE_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTICSEARCH_DOMAIN :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_BEANSTALK_ENVIRONMENT :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCER_LOAD_BALANCER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP :: ResourceTypeFilter
pattern ResourceTypeFilter_KINESIS_STREAM :: ResourceTypeFilter
pattern ResourceTypeFilter_LAMBDA_FUNCTION :: ResourceTypeFilter
pattern ResourceTypeFilter_LOG_GROUPS :: ResourceTypeFilter
pattern ResourceTypeFilter_OPEN_SEARCH_SERVICE_DOMAIN :: ResourceTypeFilter
pattern ResourceTypeFilter_RDS_DB_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_RDS_DB_INSTANCE :: ResourceTypeFilter
pattern ResourceTypeFilter_REDSHIFT_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ROUTE53_HEALTH_CHECK :: ResourceTypeFilter
pattern ResourceTypeFilter_ROUTE53_HOSTED_ZONE :: ResourceTypeFilter
pattern ResourceTypeFilter_S3_BUCKET :: ResourceTypeFilter
pattern ResourceTypeFilter_SAGEMAKER_ENDPOINT :: ResourceTypeFilter
pattern ResourceTypeFilter_SNS_TOPIC :: ResourceTypeFilter
pattern ResourceTypeFilter_SQS_QUEUE :: ResourceTypeFilter
pattern ResourceTypeFilter_STEP_FUNCTIONS_ACTIVITY :: ResourceTypeFilter
pattern ResourceTypeFilter_STEP_FUNCTIONS_STATE_MACHINE :: ResourceTypeFilter
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ResourceTypeFilter.ResourceTypeFilter
module Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters
-- | Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
--
-- See: newListMonitoredResourcesFilters smart constructor.
data ListMonitoredResourcesFilters
ListMonitoredResourcesFilters' :: ResourcePermission -> [ResourceTypeFilter] -> ListMonitoredResourcesFilters
-- | The permission status of a resource.
[$sel:resourcePermission:ListMonitoredResourcesFilters'] :: ListMonitoredResourcesFilters -> ResourcePermission
-- | The type of resource that you wish to retrieve, such as log groups.
[$sel:resourceTypeFilters:ListMonitoredResourcesFilters'] :: ListMonitoredResourcesFilters -> [ResourceTypeFilter]
-- | Create a value of ListMonitoredResourcesFilters with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourcePermission:ListMonitoredResourcesFilters',
-- listMonitoredResourcesFilters_resourcePermission - The
-- permission status of a resource.
--
-- $sel:resourceTypeFilters:ListMonitoredResourcesFilters',
-- listMonitoredResourcesFilters_resourceTypeFilters - The type of
-- resource that you wish to retrieve, such as log groups.
newListMonitoredResourcesFilters :: ResourcePermission -> ListMonitoredResourcesFilters
-- | The permission status of a resource.
listMonitoredResourcesFilters_resourcePermission :: Lens' ListMonitoredResourcesFilters ResourcePermission
-- | The type of resource that you wish to retrieve, such as log groups.
listMonitoredResourcesFilters_resourceTypeFilters :: Lens' ListMonitoredResourcesFilters [ResourceTypeFilter]
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters.ListMonitoredResourcesFilters
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters.ListMonitoredResourcesFilters
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters.ListMonitoredResourcesFilters
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters.ListMonitoredResourcesFilters
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters.ListMonitoredResourcesFilters
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters.ListMonitoredResourcesFilters
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ListMonitoredResourcesFilters.ListMonitoredResourcesFilters
module Amazonka.DevOpsGuru.Types.ServiceInsightHealth
-- | Contains the number of open proactive and reactive insights in an
-- analyzed Amazon Web Services service.
--
-- See: newServiceInsightHealth smart constructor.
data ServiceInsightHealth
ServiceInsightHealth' :: Maybe Int -> Maybe Int -> ServiceInsightHealth
-- | The number of open proactive insights in the Amazon Web Services
-- service
[$sel:openProactiveInsights:ServiceInsightHealth'] :: ServiceInsightHealth -> Maybe Int
-- | The number of open reactive insights in the Amazon Web Services
-- service
[$sel:openReactiveInsights:ServiceInsightHealth'] :: ServiceInsightHealth -> Maybe Int
-- | Create a value of ServiceInsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:openProactiveInsights:ServiceInsightHealth',
-- serviceInsightHealth_openProactiveInsights - The number of open
-- proactive insights in the Amazon Web Services service
--
-- $sel:openReactiveInsights:ServiceInsightHealth',
-- serviceInsightHealth_openReactiveInsights - The number of open
-- reactive insights in the Amazon Web Services service
newServiceInsightHealth :: ServiceInsightHealth
-- | The number of open proactive insights in the Amazon Web Services
-- service
serviceInsightHealth_openProactiveInsights :: Lens' ServiceInsightHealth (Maybe Int)
-- | The number of open reactive insights in the Amazon Web Services
-- service
serviceInsightHealth_openReactiveInsights :: Lens' ServiceInsightHealth (Maybe Int)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ServiceInsightHealth.ServiceInsightHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ServiceInsightHealth.ServiceInsightHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ServiceInsightHealth.ServiceInsightHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ServiceInsightHealth.ServiceInsightHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ServiceInsightHealth.ServiceInsightHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ServiceInsightHealth.ServiceInsightHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ServiceInsightHealth.ServiceInsightHealth
module Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig
-- | Information about the integration of DevOps Guru with another Amazon
-- Web Services service, such as Amazon Web Services Systems Manager.
--
-- See: newServiceIntegrationConfig smart constructor.
data ServiceIntegrationConfig
ServiceIntegrationConfig' :: Maybe LogsAnomalyDetectionIntegration -> Maybe OpsCenterIntegration -> ServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
[$sel:logsAnomalyDetection:ServiceIntegrationConfig'] :: ServiceIntegrationConfig -> Maybe LogsAnomalyDetectionIntegration
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
[$sel:opsCenter:ServiceIntegrationConfig'] :: ServiceIntegrationConfig -> Maybe OpsCenterIntegration
-- | Create a value of ServiceIntegrationConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logsAnomalyDetection:ServiceIntegrationConfig',
-- serviceIntegrationConfig_logsAnomalyDetection - Information
-- about whether DevOps Guru is configured to perform log anomaly
-- detection on Amazon CloudWatch log groups.
--
-- $sel:opsCenter:ServiceIntegrationConfig',
-- serviceIntegrationConfig_opsCenter - Information about whether
-- DevOps Guru is configured to create an OpsItem in Amazon Web Services
-- Systems Manager OpsCenter for each created insight.
newServiceIntegrationConfig :: ServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
serviceIntegrationConfig_logsAnomalyDetection :: Lens' ServiceIntegrationConfig (Maybe LogsAnomalyDetectionIntegration)
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
serviceIntegrationConfig_opsCenter :: Lens' ServiceIntegrationConfig (Maybe OpsCenterIntegration)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig.ServiceIntegrationConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig.ServiceIntegrationConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig.ServiceIntegrationConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig.ServiceIntegrationConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig.ServiceIntegrationConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig.ServiceIntegrationConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ServiceIntegrationConfig.ServiceIntegrationConfig
module Amazonka.DevOpsGuru.Types.ServiceName
newtype ServiceName
ServiceName' :: Text -> ServiceName
[fromServiceName] :: ServiceName -> Text
pattern ServiceName_API_GATEWAY :: ServiceName
pattern ServiceName_APPLICATION_ELB :: ServiceName
pattern ServiceName_AUTO_SCALING_GROUP :: ServiceName
pattern ServiceName_CLOUD_FRONT :: ServiceName
pattern ServiceName_DYNAMO_DB :: ServiceName
pattern ServiceName_EC2 :: ServiceName
pattern ServiceName_ECS :: ServiceName
pattern ServiceName_EKS :: ServiceName
pattern ServiceName_ELASTIC_BEANSTALK :: ServiceName
pattern ServiceName_ELASTI_CACHE :: ServiceName
pattern ServiceName_ELB :: ServiceName
pattern ServiceName_ES :: ServiceName
pattern ServiceName_KINESIS :: ServiceName
pattern ServiceName_LAMBDA :: ServiceName
pattern ServiceName_NAT_GATEWAY :: ServiceName
pattern ServiceName_NETWORK_ELB :: ServiceName
pattern ServiceName_RDS :: ServiceName
pattern ServiceName_REDSHIFT :: ServiceName
pattern ServiceName_ROUTE_53 :: ServiceName
pattern ServiceName_S3 :: ServiceName
pattern ServiceName_SAGE_MAKER :: ServiceName
pattern ServiceName_SNS :: ServiceName
pattern ServiceName_SQS :: ServiceName
pattern ServiceName_STEP_FUNCTIONS :: ServiceName
pattern ServiceName_SWF :: ServiceName
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ServiceName.ServiceName
module Amazonka.DevOpsGuru.Types.ServiceHealth
-- | Represents the health of an Amazon Web Services service.
--
-- See: newServiceHealth smart constructor.
data ServiceHealth
ServiceHealth' :: Maybe Integer -> Maybe ServiceInsightHealth -> Maybe ServiceName -> ServiceHealth
-- | Number of resources that DevOps Guru is monitoring in an analyzed
-- Amazon Web Services service.
[$sel:analyzedResourceCount:ServiceHealth'] :: ServiceHealth -> Maybe Integer
-- | Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
[$sel:insight:ServiceHealth'] :: ServiceHealth -> Maybe ServiceInsightHealth
-- | The name of the Amazon Web Services service.
[$sel:serviceName:ServiceHealth'] :: ServiceHealth -> Maybe ServiceName
-- | Create a value of ServiceHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:ServiceHealth',
-- serviceHealth_analyzedResourceCount - Number of resources that
-- DevOps Guru is monitoring in an analyzed Amazon Web Services service.
--
-- $sel:insight:ServiceHealth', serviceHealth_insight -
-- Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
--
-- $sel:serviceName:ServiceHealth',
-- serviceHealth_serviceName - The name of the Amazon Web Services
-- service.
newServiceHealth :: ServiceHealth
-- | Number of resources that DevOps Guru is monitoring in an analyzed
-- Amazon Web Services service.
serviceHealth_analyzedResourceCount :: Lens' ServiceHealth (Maybe Integer)
-- | Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
serviceHealth_insight :: Lens' ServiceHealth (Maybe ServiceInsightHealth)
-- | The name of the Amazon Web Services service.
serviceHealth_serviceName :: Lens' ServiceHealth (Maybe ServiceName)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ServiceHealth.ServiceHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ServiceHealth.ServiceHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ServiceHealth.ServiceHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ServiceHealth.ServiceHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ServiceHealth.ServiceHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ServiceHealth.ServiceHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ServiceHealth.ServiceHealth
module Amazonka.DevOpsGuru.Types.ServiceCollection
-- | A collection of the names of Amazon Web Services services.
--
-- See: newServiceCollection smart constructor.
data ServiceCollection
ServiceCollection' :: Maybe [ServiceName] -> ServiceCollection
-- | An array of strings that each specifies the name of an Amazon Web
-- Services service.
[$sel:serviceNames:ServiceCollection'] :: ServiceCollection -> Maybe [ServiceName]
-- | Create a value of ServiceCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceNames:ServiceCollection',
-- serviceCollection_serviceNames - An array of strings that each
-- specifies the name of an Amazon Web Services service.
newServiceCollection :: ServiceCollection
-- | An array of strings that each specifies the name of an Amazon Web
-- Services service.
serviceCollection_serviceNames :: Lens' ServiceCollection (Maybe [ServiceName])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ServiceCollection.ServiceCollection
module Amazonka.DevOpsGuru.Types.ServiceResourceCost
-- | An object that contains information about the estimated monthly cost
-- to analyze an Amazon Web Services resource. For more information, see
-- Estimate your Amazon DevOps Guru costs and Amazon DevOps
-- Guru pricing.
--
-- See: newServiceResourceCost smart constructor.
data ServiceResourceCost
ServiceResourceCost' :: Maybe Double -> Maybe Int -> Maybe CostEstimationServiceResourceState -> Maybe Text -> Maybe Double -> ServiceResourceCost
-- | The total estimated monthly cost to analyze the active resources for
-- this resource.
[$sel:cost:ServiceResourceCost'] :: ServiceResourceCost -> Maybe Double
-- | The number of active resources analyzed for this service to create a
-- monthly cost estimate.
[$sel:count:ServiceResourceCost'] :: ServiceResourceCost -> Maybe Int
-- | The state of the resource. The resource is ACTIVE if it
-- produces metrics, events, or logs within an hour, otherwise it is
-- INACTIVE. You pay for the number of active Amazon Web
-- Services resource hours analyzed for each resource. Inactive resources
-- are not charged.
[$sel:state:ServiceResourceCost'] :: ServiceResourceCost -> Maybe CostEstimationServiceResourceState
-- | The type of the Amazon Web Services resource.
[$sel:type':ServiceResourceCost'] :: ServiceResourceCost -> Maybe Text
-- | The price per hour to analyze the resources in the service. For more
-- information, see Estimate your Amazon DevOps Guru costs and
-- Amazon DevOps Guru pricing.
[$sel:unitCost:ServiceResourceCost'] :: ServiceResourceCost -> Maybe Double
-- | Create a value of ServiceResourceCost with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cost:ServiceResourceCost', serviceResourceCost_cost
-- - The total estimated monthly cost to analyze the active resources for
-- this resource.
--
-- $sel:count:ServiceResourceCost',
-- serviceResourceCost_count - The number of active resources
-- analyzed for this service to create a monthly cost estimate.
--
-- $sel:state:ServiceResourceCost',
-- serviceResourceCost_state - The state of the resource. The
-- resource is ACTIVE if it produces metrics, events, or logs
-- within an hour, otherwise it is INACTIVE. You pay for the
-- number of active Amazon Web Services resource hours analyzed for each
-- resource. Inactive resources are not charged.
--
-- $sel:type':ServiceResourceCost',
-- serviceResourceCost_type - The type of the Amazon Web Services
-- resource.
--
-- $sel:unitCost:ServiceResourceCost',
-- serviceResourceCost_unitCost - The price per hour to analyze
-- the resources in the service. For more information, see Estimate
-- your Amazon DevOps Guru costs and Amazon DevOps Guru
-- pricing.
newServiceResourceCost :: ServiceResourceCost
-- | The total estimated monthly cost to analyze the active resources for
-- this resource.
serviceResourceCost_cost :: Lens' ServiceResourceCost (Maybe Double)
-- | The number of active resources analyzed for this service to create a
-- monthly cost estimate.
serviceResourceCost_count :: Lens' ServiceResourceCost (Maybe Int)
-- | The state of the resource. The resource is ACTIVE if it
-- produces metrics, events, or logs within an hour, otherwise it is
-- INACTIVE. You pay for the number of active Amazon Web
-- Services resource hours analyzed for each resource. Inactive resources
-- are not charged.
serviceResourceCost_state :: Lens' ServiceResourceCost (Maybe CostEstimationServiceResourceState)
-- | The type of the Amazon Web Services resource.
serviceResourceCost_type :: Lens' ServiceResourceCost (Maybe Text)
-- | The price per hour to analyze the resources in the service. For more
-- information, see Estimate your Amazon DevOps Guru costs and
-- Amazon DevOps Guru pricing.
serviceResourceCost_unitCost :: Lens' ServiceResourceCost (Maybe Double)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ServiceResourceCost.ServiceResourceCost
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ServiceResourceCost.ServiceResourceCost
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ServiceResourceCost.ServiceResourceCost
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ServiceResourceCost.ServiceResourceCost
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ServiceResourceCost.ServiceResourceCost
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ServiceResourceCost.ServiceResourceCost
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ServiceResourceCost.ServiceResourceCost
module Amazonka.DevOpsGuru.Types.SnsChannelConfig
-- | Contains the Amazon Resource Name (ARN) of an Amazon Simple
-- Notification Service topic.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
--
-- See: newSnsChannelConfig smart constructor.
data SnsChannelConfig
SnsChannelConfig' :: Maybe Text -> SnsChannelConfig
-- | The Amazon Resource Name (ARN) of an Amazon Simple Notification
-- Service topic.
[$sel:topicArn:SnsChannelConfig'] :: SnsChannelConfig -> Maybe Text
-- | Create a value of SnsChannelConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:topicArn:SnsChannelConfig',
-- snsChannelConfig_topicArn - The Amazon Resource Name (ARN) of
-- an Amazon Simple Notification Service topic.
newSnsChannelConfig :: SnsChannelConfig
-- | The Amazon Resource Name (ARN) of an Amazon Simple Notification
-- Service topic.
snsChannelConfig_topicArn :: Lens' SnsChannelConfig (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.SnsChannelConfig.SnsChannelConfig
module Amazonka.DevOpsGuru.Types.NotificationChannelConfig
-- | Information about notification channels you have configured with
-- DevOps Guru. The one supported notification channel is Amazon Simple
-- Notification Service (Amazon SNS).
--
-- See: newNotificationChannelConfig smart constructor.
data NotificationChannelConfig
NotificationChannelConfig' :: Maybe NotificationFilterConfig -> SnsChannelConfig -> NotificationChannelConfig
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. If you do not provide filter configurations, the
-- default configurations are to receive notifications for all message
-- types of High or Medium severity.
[$sel:filters:NotificationChannelConfig'] :: NotificationChannelConfig -> Maybe NotificationFilterConfig
-- | Information about a notification channel configured in DevOps Guru to
-- send notifications when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
[$sel:sns:NotificationChannelConfig'] :: NotificationChannelConfig -> SnsChannelConfig
-- | Create a value of NotificationChannelConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filters:NotificationChannelConfig',
-- notificationChannelConfig_filters - The filter configurations
-- for the Amazon SNS notification topic you use with DevOps Guru. If you
-- do not provide filter configurations, the default configurations are
-- to receive notifications for all message types of High or
-- Medium severity.
--
-- $sel:sns:NotificationChannelConfig',
-- notificationChannelConfig_sns - Information about a
-- notification channel configured in DevOps Guru to send notifications
-- when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
newNotificationChannelConfig :: SnsChannelConfig -> NotificationChannelConfig
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. If you do not provide filter configurations, the
-- default configurations are to receive notifications for all message
-- types of High or Medium severity.
notificationChannelConfig_filters :: Lens' NotificationChannelConfig (Maybe NotificationFilterConfig)
-- | Information about a notification channel configured in DevOps Guru to
-- send notifications when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
notificationChannelConfig_sns :: Lens' NotificationChannelConfig SnsChannelConfig
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.NotificationChannelConfig.NotificationChannelConfig
module Amazonka.DevOpsGuru.Types.NotificationChannel
-- | Information about a notification channel. A notification channel is
-- used to notify you when DevOps Guru creates an insight. The one
-- supported notification channel is Amazon Simple Notification Service
-- (Amazon SNS).
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
--
-- See: newNotificationChannel smart constructor.
data NotificationChannel
NotificationChannel' :: Maybe NotificationChannelConfig -> Maybe Text -> NotificationChannel
-- | A NotificationChannelConfig object that contains information
-- about configured notification channels.
[$sel:config:NotificationChannel'] :: NotificationChannel -> Maybe NotificationChannelConfig
-- | The ID of a notification channel.
[$sel:id:NotificationChannel'] :: NotificationChannel -> Maybe Text
-- | Create a value of NotificationChannel with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:config:NotificationChannel',
-- notificationChannel_config - A
-- NotificationChannelConfig object that contains information
-- about configured notification channels.
--
-- $sel:id:NotificationChannel', notificationChannel_id -
-- The ID of a notification channel.
newNotificationChannel :: NotificationChannel
-- | A NotificationChannelConfig object that contains information
-- about configured notification channels.
notificationChannel_config :: Lens' NotificationChannel (Maybe NotificationChannelConfig)
-- | The ID of a notification channel.
notificationChannel_id :: Lens' NotificationChannel (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.NotificationChannel.NotificationChannel
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.NotificationChannel.NotificationChannel
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.NotificationChannel.NotificationChannel
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.NotificationChannel.NotificationChannel
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.NotificationChannel.NotificationChannel
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.NotificationChannel.NotificationChannel
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.NotificationChannel.NotificationChannel
module Amazonka.DevOpsGuru.Types.StartTimeRange
-- | A time range used to specify when the behavior of an insight or
-- anomaly started.
--
-- See: newStartTimeRange smart constructor.
data StartTimeRange
StartTimeRange' :: Maybe POSIX -> Maybe POSIX -> StartTimeRange
-- | The start time of the time range.
[$sel:fromTime:StartTimeRange'] :: StartTimeRange -> Maybe POSIX
-- | The end time of the time range.
[$sel:toTime:StartTimeRange'] :: StartTimeRange -> Maybe POSIX
-- | Create a value of StartTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:StartTimeRange', startTimeRange_fromTime -
-- The start time of the time range.
--
-- $sel:toTime:StartTimeRange', startTimeRange_toTime - The
-- end time of the time range.
newStartTimeRange :: StartTimeRange
-- | The start time of the time range.
startTimeRange_fromTime :: Lens' StartTimeRange (Maybe UTCTime)
-- | The end time of the time range.
startTimeRange_toTime :: Lens' StartTimeRange (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.StartTimeRange.StartTimeRange
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.StartTimeRange.StartTimeRange
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.StartTimeRange.StartTimeRange
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.StartTimeRange.StartTimeRange
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.StartTimeRange.StartTimeRange
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.StartTimeRange.StartTimeRange
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.StartTimeRange.StartTimeRange
module Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter
-- | Used to filter for insights that have any status.
--
-- See: newListInsightsAnyStatusFilter smart constructor.
data ListInsightsAnyStatusFilter
ListInsightsAnyStatusFilter' :: InsightType -> StartTimeRange -> ListInsightsAnyStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
[$sel:type':ListInsightsAnyStatusFilter'] :: ListInsightsAnyStatusFilter -> InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights started.
[$sel:startTimeRange:ListInsightsAnyStatusFilter'] :: ListInsightsAnyStatusFilter -> StartTimeRange
-- | Create a value of ListInsightsAnyStatusFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsAnyStatusFilter',
-- listInsightsAnyStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
--
-- $sel:startTimeRange:ListInsightsAnyStatusFilter',
-- listInsightsAnyStatusFilter_startTimeRange - A time range used
-- to specify when the behavior of the filtered insights started.
newListInsightsAnyStatusFilter :: InsightType -> StartTimeRange -> ListInsightsAnyStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsAnyStatusFilter_type :: Lens' ListInsightsAnyStatusFilter InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights started.
listInsightsAnyStatusFilter_startTimeRange :: Lens' ListInsightsAnyStatusFilter StartTimeRange
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter.ListInsightsAnyStatusFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter.ListInsightsAnyStatusFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter.ListInsightsAnyStatusFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter.ListInsightsAnyStatusFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter.ListInsightsAnyStatusFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter.ListInsightsAnyStatusFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ListInsightsAnyStatusFilter.ListInsightsAnyStatusFilter
module Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter
-- | A filter used by ListInsights to specify which insights to
-- return.
--
-- See: newListInsightsStatusFilter smart constructor.
data ListInsightsStatusFilter
ListInsightsStatusFilter' :: Maybe ListInsightsAnyStatusFilter -> Maybe ListInsightsClosedStatusFilter -> Maybe ListInsightsOngoingStatusFilter -> ListInsightsStatusFilter
-- | A ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
[$sel:any:ListInsightsStatusFilter'] :: ListInsightsStatusFilter -> Maybe ListInsightsAnyStatusFilter
-- | A ListInsightsClosedStatusFilter that specifies closed
-- insights that are either REACTIVE or PROACTIVE.
[$sel:closed:ListInsightsStatusFilter'] :: ListInsightsStatusFilter -> Maybe ListInsightsClosedStatusFilter
-- | A ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
[$sel:ongoing:ListInsightsStatusFilter'] :: ListInsightsStatusFilter -> Maybe ListInsightsOngoingStatusFilter
-- | Create a value of ListInsightsStatusFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:any:ListInsightsStatusFilter',
-- listInsightsStatusFilter_any - A
-- ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
--
-- $sel:closed:ListInsightsStatusFilter',
-- listInsightsStatusFilter_closed - A
-- ListInsightsClosedStatusFilter that specifies closed insights
-- that are either REACTIVE or PROACTIVE.
--
-- $sel:ongoing:ListInsightsStatusFilter',
-- listInsightsStatusFilter_ongoing - A
-- ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
newListInsightsStatusFilter :: ListInsightsStatusFilter
-- | A ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_any :: Lens' ListInsightsStatusFilter (Maybe ListInsightsAnyStatusFilter)
-- | A ListInsightsClosedStatusFilter that specifies closed
-- insights that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_closed :: Lens' ListInsightsStatusFilter (Maybe ListInsightsClosedStatusFilter)
-- | A ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_ongoing :: Lens' ListInsightsStatusFilter (Maybe ListInsightsOngoingStatusFilter)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter.ListInsightsStatusFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter.ListInsightsStatusFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter.ListInsightsStatusFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter.ListInsightsStatusFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter.ListInsightsStatusFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter.ListInsightsStatusFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ListInsightsStatusFilter.ListInsightsStatusFilter
module Amazonka.DevOpsGuru.Types.TagCollection
-- | A collection of Amazon Web Services tags.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- See: newTagCollection smart constructor.
data TagCollection
TagCollection' :: Text -> [Text] -> TagCollection
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagCollection'] :: TagCollection -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:TagCollection'] :: TagCollection -> [Text]
-- | Create a value of TagCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCollection',
-- tagCollection_appBoundaryKey - An Amazon Web Services tag
-- key that is used to identify the Amazon Web Services resources
-- that DevOps Guru analyzes. All Amazon Web Services resources in your
-- account and Region tagged with this key make up your DevOps
-- Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCollection', tagCollection_tagValues -
-- The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCollection :: Text -> TagCollection
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCollection_appBoundaryKey :: Lens' TagCollection Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCollection_tagValues :: Lens' TagCollection [Text]
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.TagCollection.TagCollection
module Amazonka.DevOpsGuru.Types.ResourceCollection
-- | A collection of Amazon Web Services resources supported by DevOps
-- Guru. The two types of Amazon Web Services resource collections
-- supported are Amazon Web Services CloudFormation stacks and Amazon Web
-- Services resources that contain the same Amazon Web Services tag.
-- DevOps Guru can be configured to analyze the Amazon Web Services
-- resources that are defined in the stacks or that are tagged using the
-- same tag key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
--
-- See: newResourceCollection smart constructor.
data ResourceCollection
ResourceCollection' :: Maybe CloudFormationCollection -> Maybe [TagCollection] -> ResourceCollection
-- | An array of the names of Amazon Web Services CloudFormation stacks.
-- The stacks define Amazon Web Services resources that DevOps Guru
-- analyzes. You can specify up to 500 Amazon Web Services CloudFormation
-- stacks.
[$sel:cloudFormation:ResourceCollection'] :: ResourceCollection -> Maybe CloudFormationCollection
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:ResourceCollection'] :: ResourceCollection -> Maybe [TagCollection]
-- | Create a value of ResourceCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:ResourceCollection',
-- resourceCollection_cloudFormation - An array of the names of
-- Amazon Web Services CloudFormation stacks. The stacks define Amazon
-- Web Services resources that DevOps Guru analyzes. You can specify up
-- to 500 Amazon Web Services CloudFormation stacks.
--
-- $sel:tags:ResourceCollection', resourceCollection_tags -
-- The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newResourceCollection :: ResourceCollection
-- | An array of the names of Amazon Web Services CloudFormation stacks.
-- The stacks define Amazon Web Services resources that DevOps Guru
-- analyzes. You can specify up to 500 Amazon Web Services CloudFormation
-- stacks.
resourceCollection_cloudFormation :: Lens' ResourceCollection (Maybe CloudFormationCollection)
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
resourceCollection_tags :: Lens' ResourceCollection (Maybe [TagCollection])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ResourceCollection.ResourceCollection
module Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters
-- | Filters you can use to specify which events are returned when
-- ListEvents is called.
--
-- See: newSearchOrganizationInsightsFilters smart
-- constructor.
data SearchOrganizationInsightsFilters
SearchOrganizationInsightsFilters' :: Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe [InsightSeverity] -> Maybe [InsightStatus] -> SearchOrganizationInsightsFilters
[$sel:resourceCollection:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe ResourceCollection
[$sel:serviceCollection:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe ServiceCollection
-- | An array of severity values used to search for insights.
[$sel:severities:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe [InsightSeverity]
-- | An array of status values used to search for insights.
[$sel:statuses:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe [InsightStatus]
-- | Create a value of SearchOrganizationInsightsFilters with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceCollection:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_serviceCollection -
-- Undocumented member.
--
-- $sel:severities:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_severities - An array of
-- severity values used to search for insights.
--
-- $sel:statuses:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_statuses - An array of status
-- values used to search for insights.
newSearchOrganizationInsightsFilters :: SearchOrganizationInsightsFilters
-- | Undocumented member.
searchOrganizationInsightsFilters_resourceCollection :: Lens' SearchOrganizationInsightsFilters (Maybe ResourceCollection)
-- | Undocumented member.
searchOrganizationInsightsFilters_serviceCollection :: Lens' SearchOrganizationInsightsFilters (Maybe ServiceCollection)
-- | An array of severity values used to search for insights.
searchOrganizationInsightsFilters_severities :: Lens' SearchOrganizationInsightsFilters (Maybe [InsightSeverity])
-- | An array of status values used to search for insights.
searchOrganizationInsightsFilters_statuses :: Lens' SearchOrganizationInsightsFilters (Maybe [InsightStatus])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters.SearchOrganizationInsightsFilters
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters.SearchOrganizationInsightsFilters
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters.SearchOrganizationInsightsFilters
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters.SearchOrganizationInsightsFilters
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters.SearchOrganizationInsightsFilters
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters.SearchOrganizationInsightsFilters
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.SearchOrganizationInsightsFilters.SearchOrganizationInsightsFilters
module Amazonka.DevOpsGuru.Types.SearchInsightsFilters
-- | Specifies one or more severity values and one or more status values
-- that are used to search for insights.
--
-- See: newSearchInsightsFilters smart constructor.
data SearchInsightsFilters
SearchInsightsFilters' :: Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe [InsightSeverity] -> Maybe [InsightStatus] -> SearchInsightsFilters
[$sel:resourceCollection:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe ResourceCollection
-- | A collection of the names of Amazon Web Services services.
[$sel:serviceCollection:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe ServiceCollection
-- | An array of severity values used to search for insights.
[$sel:severities:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe [InsightSeverity]
-- | An array of status values used to search for insights.
[$sel:statuses:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe [InsightStatus]
-- | Create a value of SearchInsightsFilters with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceCollection:SearchInsightsFilters',
-- searchInsightsFilters_resourceCollection - Undocumented member.
--
-- $sel:serviceCollection:SearchInsightsFilters',
-- searchInsightsFilters_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severities:SearchInsightsFilters',
-- searchInsightsFilters_severities - An array of severity values
-- used to search for insights.
--
-- $sel:statuses:SearchInsightsFilters',
-- searchInsightsFilters_statuses - An array of status values used
-- to search for insights.
newSearchInsightsFilters :: SearchInsightsFilters
-- | Undocumented member.
searchInsightsFilters_resourceCollection :: Lens' SearchInsightsFilters (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
searchInsightsFilters_serviceCollection :: Lens' SearchInsightsFilters (Maybe ServiceCollection)
-- | An array of severity values used to search for insights.
searchInsightsFilters_severities :: Lens' SearchInsightsFilters (Maybe [InsightSeverity])
-- | An array of status values used to search for insights.
searchInsightsFilters_statuses :: Lens' SearchInsightsFilters (Maybe [InsightStatus])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.SearchInsightsFilters.SearchInsightsFilters
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.SearchInsightsFilters.SearchInsightsFilters
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.SearchInsightsFilters.SearchInsightsFilters
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.SearchInsightsFilters.SearchInsightsFilters
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.SearchInsightsFilters.SearchInsightsFilters
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.SearchInsightsFilters.SearchInsightsFilters
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.SearchInsightsFilters.SearchInsightsFilters
module Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary
-- | Information about a reactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newReactiveOrganizationInsightSummary smart
-- constructor.
data ReactiveOrganizationInsightSummary
ReactiveOrganizationInsightSummary' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ReactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
[$sel:accountId:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the insight summary.
[$sel:id:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
[$sel:insightTimeRange:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe InsightTimeRange
-- | The name of the insight summary.
[$sel:name:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the organizational unit.
[$sel:organizationalUnitId:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
[$sel:resourceCollection:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe ResourceCollection
[$sel:serviceCollection:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe ServiceCollection
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
[$sel:severity:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe InsightSeverity
-- | An array of status values used to search for insights.
[$sel:status:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe InsightStatus
-- | Create a value of ReactiveOrganizationInsightSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_accountId - The ID of the
-- Amazon Web Services account.
--
-- $sel:id:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_id - The ID of the insight
-- summary.
--
-- $sel:insightTimeRange:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_insightTimeRange -
-- Undocumented member.
--
-- $sel:name:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_name - The name of the
-- insight summary.
--
-- $sel:organizationalUnitId:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_organizationalUnitId - The
-- ID of the organizational unit.
--
-- $sel:resourceCollection:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_serviceCollection -
-- Undocumented member.
--
-- $sel:severity:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_severity - An array of
-- severity values used to search for insights. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:status:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_status - An array of status
-- values used to search for insights.
newReactiveOrganizationInsightSummary :: ReactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
reactiveOrganizationInsightSummary_accountId :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the insight summary.
reactiveOrganizationInsightSummary_id :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveOrganizationInsightSummary_insightTimeRange :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightTimeRange)
-- | The name of the insight summary.
reactiveOrganizationInsightSummary_name :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the organizational unit.
reactiveOrganizationInsightSummary_organizationalUnitId :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveOrganizationInsightSummary_resourceCollection :: Lens' ReactiveOrganizationInsightSummary (Maybe ResourceCollection)
-- | Undocumented member.
reactiveOrganizationInsightSummary_serviceCollection :: Lens' ReactiveOrganizationInsightSummary (Maybe ServiceCollection)
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
reactiveOrganizationInsightSummary_severity :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightSeverity)
-- | An array of status values used to search for insights.
reactiveOrganizationInsightSummary_status :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary.ReactiveOrganizationInsightSummary
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary.ReactiveOrganizationInsightSummary
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary.ReactiveOrganizationInsightSummary
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary.ReactiveOrganizationInsightSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary.ReactiveOrganizationInsightSummary
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary.ReactiveOrganizationInsightSummary
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ReactiveOrganizationInsightSummary.ReactiveOrganizationInsightSummary
module Amazonka.DevOpsGuru.Types.ReactiveInsightSummary
-- | Information about a reactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newReactiveInsightSummary smart constructor.
data ReactiveInsightSummary
ReactiveInsightSummary' :: Maybe [Text] -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ReactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
[$sel:associatedResourceArns:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe [Text]
-- | The ID of a reactive summary.
[$sel:id:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe Text
[$sel:insightTimeRange:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe InsightTimeRange
-- | The name of a reactive insight.
[$sel:name:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe Text
[$sel:resourceCollection:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe ResourceCollection
-- | A collection of the names of Amazon Web Services services.
[$sel:serviceCollection:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe ServiceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe InsightSeverity
-- | The status of a reactive insight.
[$sel:status:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe InsightStatus
-- | Create a value of ReactiveInsightSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:associatedResourceArns:ReactiveInsightSummary',
-- reactiveInsightSummary_associatedResourceArns - The Amazon
-- Resource Names (ARNs) of the Amazon Web Services resources that
-- generated this insight.
--
-- $sel:id:ReactiveInsightSummary',
-- reactiveInsightSummary_id - The ID of a reactive summary.
--
-- $sel:insightTimeRange:ReactiveInsightSummary',
-- reactiveInsightSummary_insightTimeRange - Undocumented member.
--
-- $sel:name:ReactiveInsightSummary',
-- reactiveInsightSummary_name - The name of a reactive insight.
--
-- $sel:resourceCollection:ReactiveInsightSummary',
-- reactiveInsightSummary_resourceCollection - Undocumented
-- member.
--
-- $sel:serviceCollection:ReactiveInsightSummary',
-- reactiveInsightSummary_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severity:ReactiveInsightSummary',
-- reactiveInsightSummary_severity - The severity of the insight.
-- For more information, see Understanding insight severities in
-- the Amazon DevOps Guru User Guide.
--
-- $sel:status:ReactiveInsightSummary',
-- reactiveInsightSummary_status - The status of a reactive
-- insight.
newReactiveInsightSummary :: ReactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
reactiveInsightSummary_associatedResourceArns :: Lens' ReactiveInsightSummary (Maybe [Text])
-- | The ID of a reactive summary.
reactiveInsightSummary_id :: Lens' ReactiveInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveInsightSummary_insightTimeRange :: Lens' ReactiveInsightSummary (Maybe InsightTimeRange)
-- | The name of a reactive insight.
reactiveInsightSummary_name :: Lens' ReactiveInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveInsightSummary_resourceCollection :: Lens' ReactiveInsightSummary (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
reactiveInsightSummary_serviceCollection :: Lens' ReactiveInsightSummary (Maybe ServiceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
reactiveInsightSummary_severity :: Lens' ReactiveInsightSummary (Maybe InsightSeverity)
-- | The status of a reactive insight.
reactiveInsightSummary_status :: Lens' ReactiveInsightSummary (Maybe InsightStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ReactiveInsightSummary.ReactiveInsightSummary
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ReactiveInsightSummary.ReactiveInsightSummary
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ReactiveInsightSummary.ReactiveInsightSummary
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ReactiveInsightSummary.ReactiveInsightSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ReactiveInsightSummary.ReactiveInsightSummary
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ReactiveInsightSummary.ReactiveInsightSummary
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ReactiveInsightSummary.ReactiveInsightSummary
module Amazonka.DevOpsGuru.Types.ReactiveInsight
-- | Information about a reactive insight. This object is returned by
-- ListInsights.
--
-- See: newReactiveInsight smart constructor.
data ReactiveInsight
ReactiveInsight' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe ResourceCollection -> Maybe InsightSeverity -> Maybe Text -> Maybe InsightStatus -> ReactiveInsight
-- | Describes the reactive insight.
[$sel:description:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
-- | The ID of a reactive insight.
[$sel:id:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
[$sel:insightTimeRange:ReactiveInsight'] :: ReactiveInsight -> Maybe InsightTimeRange
-- | The name of a reactive insight.
[$sel:name:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
[$sel:resourceCollection:ReactiveInsight'] :: ReactiveInsight -> Maybe ResourceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ReactiveInsight'] :: ReactiveInsight -> Maybe InsightSeverity
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
[$sel:ssmOpsItemId:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
-- | The status of a reactive insight.
[$sel:status:ReactiveInsight'] :: ReactiveInsight -> Maybe InsightStatus
-- | Create a value of ReactiveInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:ReactiveInsight',
-- reactiveInsight_description - Describes the reactive insight.
--
-- $sel:id:ReactiveInsight', reactiveInsight_id - The ID of
-- a reactive insight.
--
-- $sel:insightTimeRange:ReactiveInsight',
-- reactiveInsight_insightTimeRange - Undocumented member.
--
-- $sel:name:ReactiveInsight', reactiveInsight_name - The
-- name of a reactive insight.
--
-- $sel:resourceCollection:ReactiveInsight',
-- reactiveInsight_resourceCollection - Undocumented member.
--
-- $sel:severity:ReactiveInsight', reactiveInsight_severity
-- - The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:ssmOpsItemId:ReactiveInsight',
-- reactiveInsight_ssmOpsItemId - The ID of the Amazon Web
-- Services System Manager OpsItem created for this insight. You must
-- enable the creation of OpstItems insights before they are created for
-- each insight.
--
-- $sel:status:ReactiveInsight', reactiveInsight_status -
-- The status of a reactive insight.
newReactiveInsight :: ReactiveInsight
-- | Describes the reactive insight.
reactiveInsight_description :: Lens' ReactiveInsight (Maybe Text)
-- | The ID of a reactive insight.
reactiveInsight_id :: Lens' ReactiveInsight (Maybe Text)
-- | Undocumented member.
reactiveInsight_insightTimeRange :: Lens' ReactiveInsight (Maybe InsightTimeRange)
-- | The name of a reactive insight.
reactiveInsight_name :: Lens' ReactiveInsight (Maybe Text)
-- | Undocumented member.
reactiveInsight_resourceCollection :: Lens' ReactiveInsight (Maybe ResourceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
reactiveInsight_severity :: Lens' ReactiveInsight (Maybe InsightSeverity)
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
reactiveInsight_ssmOpsItemId :: Lens' ReactiveInsight (Maybe Text)
-- | The status of a reactive insight.
reactiveInsight_status :: Lens' ReactiveInsight (Maybe InsightStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ReactiveInsight.ReactiveInsight
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ReactiveInsight.ReactiveInsight
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ReactiveInsight.ReactiveInsight
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ReactiveInsight.ReactiveInsight
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ReactiveInsight.ReactiveInsight
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ReactiveInsight.ReactiveInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ReactiveInsight.ReactiveInsight
module Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary
-- | Details about a proactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newProactiveOrganizationInsightSummary smart
-- constructor.
data ProactiveOrganizationInsightSummary
ProactiveOrganizationInsightSummary' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ProactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
[$sel:accountId:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the insight summary.
[$sel:id:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
[$sel:insightTimeRange:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe InsightTimeRange
-- | The name of the insight summary.
[$sel:name:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the organizational unit.
[$sel:organizationalUnitId:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
[$sel:predictionTimeRange:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe ResourceCollection
[$sel:serviceCollection:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe ServiceCollection
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
[$sel:severity:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe InsightSeverity
-- | An array of status values used to search for insights.
[$sel:status:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe InsightStatus
-- | Create a value of ProactiveOrganizationInsightSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_accountId - The ID of the
-- Amazon Web Services account.
--
-- $sel:id:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_id - The ID of the insight
-- summary.
--
-- $sel:insightTimeRange:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_insightTimeRange -
-- Undocumented member.
--
-- $sel:name:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_name - The name of the
-- insight summary.
--
-- $sel:organizationalUnitId:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_organizationalUnitId - The
-- ID of the organizational unit.
--
-- $sel:predictionTimeRange:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_predictionTimeRange -
-- Undocumented member.
--
-- $sel:resourceCollection:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_serviceCollection -
-- Undocumented member.
--
-- $sel:severity:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_severity - An array of
-- severity values used to search for insights. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:status:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_status - An array of status
-- values used to search for insights.
newProactiveOrganizationInsightSummary :: ProactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
proactiveOrganizationInsightSummary_accountId :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the insight summary.
proactiveOrganizationInsightSummary_id :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveOrganizationInsightSummary_insightTimeRange :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightTimeRange)
-- | The name of the insight summary.
proactiveOrganizationInsightSummary_name :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the organizational unit.
proactiveOrganizationInsightSummary_organizationalUnitId :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveOrganizationInsightSummary_predictionTimeRange :: Lens' ProactiveOrganizationInsightSummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveOrganizationInsightSummary_resourceCollection :: Lens' ProactiveOrganizationInsightSummary (Maybe ResourceCollection)
-- | Undocumented member.
proactiveOrganizationInsightSummary_serviceCollection :: Lens' ProactiveOrganizationInsightSummary (Maybe ServiceCollection)
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
proactiveOrganizationInsightSummary_severity :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightSeverity)
-- | An array of status values used to search for insights.
proactiveOrganizationInsightSummary_status :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary.ProactiveOrganizationInsightSummary
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary.ProactiveOrganizationInsightSummary
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary.ProactiveOrganizationInsightSummary
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary.ProactiveOrganizationInsightSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary.ProactiveOrganizationInsightSummary
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary.ProactiveOrganizationInsightSummary
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ProactiveOrganizationInsightSummary.ProactiveOrganizationInsightSummary
module Amazonka.DevOpsGuru.Types.ProactiveInsightSummary
-- | Details about a proactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newProactiveInsightSummary smart constructor.
data ProactiveInsightSummary
ProactiveInsightSummary' :: Maybe [Text] -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ProactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
[$sel:associatedResourceArns:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe [Text]
-- | The ID of the proactive insight.
[$sel:id:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe Text
[$sel:insightTimeRange:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe InsightTimeRange
-- | The name of the proactive insight.
[$sel:name:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe Text
[$sel:predictionTimeRange:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe ResourceCollection
-- | A collection of the names of Amazon Web Services services.
[$sel:serviceCollection:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe ServiceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe InsightSeverity
-- | The status of the proactive insight.
[$sel:status:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe InsightStatus
-- | Create a value of ProactiveInsightSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:associatedResourceArns:ProactiveInsightSummary',
-- proactiveInsightSummary_associatedResourceArns - The Amazon
-- Resource Names (ARNs) of the Amazon Web Services resources that
-- generated this insight.
--
-- $sel:id:ProactiveInsightSummary',
-- proactiveInsightSummary_id - The ID of the proactive insight.
--
-- $sel:insightTimeRange:ProactiveInsightSummary',
-- proactiveInsightSummary_insightTimeRange - Undocumented member.
--
-- $sel:name:ProactiveInsightSummary',
-- proactiveInsightSummary_name - The name of the proactive
-- insight.
--
-- $sel:predictionTimeRange:ProactiveInsightSummary',
-- proactiveInsightSummary_predictionTimeRange - Undocumented
-- member.
--
-- $sel:resourceCollection:ProactiveInsightSummary',
-- proactiveInsightSummary_resourceCollection - Undocumented
-- member.
--
-- $sel:serviceCollection:ProactiveInsightSummary',
-- proactiveInsightSummary_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severity:ProactiveInsightSummary',
-- proactiveInsightSummary_severity - The severity of the insight.
-- For more information, see Understanding insight severities in
-- the Amazon DevOps Guru User Guide.
--
-- $sel:status:ProactiveInsightSummary',
-- proactiveInsightSummary_status - The status of the proactive
-- insight.
newProactiveInsightSummary :: ProactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
proactiveInsightSummary_associatedResourceArns :: Lens' ProactiveInsightSummary (Maybe [Text])
-- | The ID of the proactive insight.
proactiveInsightSummary_id :: Lens' ProactiveInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveInsightSummary_insightTimeRange :: Lens' ProactiveInsightSummary (Maybe InsightTimeRange)
-- | The name of the proactive insight.
proactiveInsightSummary_name :: Lens' ProactiveInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveInsightSummary_predictionTimeRange :: Lens' ProactiveInsightSummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveInsightSummary_resourceCollection :: Lens' ProactiveInsightSummary (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
proactiveInsightSummary_serviceCollection :: Lens' ProactiveInsightSummary (Maybe ServiceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
proactiveInsightSummary_severity :: Lens' ProactiveInsightSummary (Maybe InsightSeverity)
-- | The status of the proactive insight.
proactiveInsightSummary_status :: Lens' ProactiveInsightSummary (Maybe InsightStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ProactiveInsightSummary.ProactiveInsightSummary
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ProactiveInsightSummary.ProactiveInsightSummary
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ProactiveInsightSummary.ProactiveInsightSummary
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ProactiveInsightSummary.ProactiveInsightSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ProactiveInsightSummary.ProactiveInsightSummary
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ProactiveInsightSummary.ProactiveInsightSummary
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ProactiveInsightSummary.ProactiveInsightSummary
module Amazonka.DevOpsGuru.Types.ProactiveInsight
-- | Details about a proactive insight. This object is returned by
-- ListInsights.
--
-- See: newProactiveInsight smart constructor.
data ProactiveInsight
ProactiveInsight' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe InsightSeverity -> Maybe Text -> Maybe InsightStatus -> ProactiveInsight
-- | Describes the proactive insight.
[$sel:description:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
-- | The ID of the proactive insight.
[$sel:id:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
[$sel:insightTimeRange:ProactiveInsight'] :: ProactiveInsight -> Maybe InsightTimeRange
-- | The name of the proactive insight.
[$sel:name:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
[$sel:predictionTimeRange:ProactiveInsight'] :: ProactiveInsight -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveInsight'] :: ProactiveInsight -> Maybe ResourceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ProactiveInsight'] :: ProactiveInsight -> Maybe InsightSeverity
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
[$sel:ssmOpsItemId:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
-- | The status of the proactive insight.
[$sel:status:ProactiveInsight'] :: ProactiveInsight -> Maybe InsightStatus
-- | Create a value of ProactiveInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:ProactiveInsight',
-- proactiveInsight_description - Describes the proactive insight.
--
-- $sel:id:ProactiveInsight', proactiveInsight_id - The ID
-- of the proactive insight.
--
-- $sel:insightTimeRange:ProactiveInsight',
-- proactiveInsight_insightTimeRange - Undocumented member.
--
-- $sel:name:ProactiveInsight', proactiveInsight_name - The
-- name of the proactive insight.
--
-- $sel:predictionTimeRange:ProactiveInsight',
-- proactiveInsight_predictionTimeRange - Undocumented member.
--
-- $sel:resourceCollection:ProactiveInsight',
-- proactiveInsight_resourceCollection - Undocumented member.
--
-- $sel:severity:ProactiveInsight',
-- proactiveInsight_severity - The severity of the insight. For
-- more information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
--
-- $sel:ssmOpsItemId:ProactiveInsight',
-- proactiveInsight_ssmOpsItemId - The ID of the Amazon Web
-- Services System Manager OpsItem created for this insight. You must
-- enable the creation of OpstItems insights before they are created for
-- each insight.
--
-- $sel:status:ProactiveInsight', proactiveInsight_status -
-- The status of the proactive insight.
newProactiveInsight :: ProactiveInsight
-- | Describes the proactive insight.
proactiveInsight_description :: Lens' ProactiveInsight (Maybe Text)
-- | The ID of the proactive insight.
proactiveInsight_id :: Lens' ProactiveInsight (Maybe Text)
-- | Undocumented member.
proactiveInsight_insightTimeRange :: Lens' ProactiveInsight (Maybe InsightTimeRange)
-- | The name of the proactive insight.
proactiveInsight_name :: Lens' ProactiveInsight (Maybe Text)
-- | Undocumented member.
proactiveInsight_predictionTimeRange :: Lens' ProactiveInsight (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveInsight_resourceCollection :: Lens' ProactiveInsight (Maybe ResourceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
proactiveInsight_severity :: Lens' ProactiveInsight (Maybe InsightSeverity)
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
proactiveInsight_ssmOpsItemId :: Lens' ProactiveInsight (Maybe Text)
-- | The status of the proactive insight.
proactiveInsight_status :: Lens' ProactiveInsight (Maybe InsightStatus)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ProactiveInsight.ProactiveInsight
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ProactiveInsight.ProactiveInsight
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ProactiveInsight.ProactiveInsight
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ProactiveInsight.ProactiveInsight
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ProactiveInsight.ProactiveInsight
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ProactiveInsight.ProactiveInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ProactiveInsight.ProactiveInsight
module Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier
-- | Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
--
-- See: newMonitoredResourceIdentifier smart constructor.
data MonitoredResourceIdentifier
MonitoredResourceIdentifier' :: Maybe POSIX -> Maybe Text -> Maybe ResourceCollection -> Maybe ResourcePermission -> Maybe Text -> MonitoredResourceIdentifier
-- | The time at which DevOps Guru last updated this resource.
[$sel:lastUpdated:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe POSIX
-- | The name of the resource being monitored.
[$sel:monitoredResourceName:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe Text
[$sel:resourceCollection:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe ResourceCollection
-- | The permission status of a resource.
[$sel:resourcePermission:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe ResourcePermission
-- | The type of resource being monitored.
[$sel:type':MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe Text
-- | Create a value of MonitoredResourceIdentifier with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastUpdated:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_lastUpdated - The time at which
-- DevOps Guru last updated this resource.
--
-- $sel:monitoredResourceName:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_monitoredResourceName - The name of
-- the resource being monitored.
--
-- $sel:resourceCollection:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_resourceCollection - Undocumented
-- member.
--
-- $sel:resourcePermission:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_resourcePermission - The permission
-- status of a resource.
--
-- $sel:type':MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_type - The type of resource being
-- monitored.
newMonitoredResourceIdentifier :: MonitoredResourceIdentifier
-- | The time at which DevOps Guru last updated this resource.
monitoredResourceIdentifier_lastUpdated :: Lens' MonitoredResourceIdentifier (Maybe UTCTime)
-- | The name of the resource being monitored.
monitoredResourceIdentifier_monitoredResourceName :: Lens' MonitoredResourceIdentifier (Maybe Text)
-- | Undocumented member.
monitoredResourceIdentifier_resourceCollection :: Lens' MonitoredResourceIdentifier (Maybe ResourceCollection)
-- | The permission status of a resource.
monitoredResourceIdentifier_resourcePermission :: Lens' MonitoredResourceIdentifier (Maybe ResourcePermission)
-- | The type of resource being monitored.
monitoredResourceIdentifier_type :: Lens' MonitoredResourceIdentifier (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier.MonitoredResourceIdentifier
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier.MonitoredResourceIdentifier
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier.MonitoredResourceIdentifier
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier.MonitoredResourceIdentifier
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier.MonitoredResourceIdentifier
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier.MonitoredResourceIdentifier
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.MonitoredResourceIdentifier.MonitoredResourceIdentifier
module Amazonka.DevOpsGuru.Types.ListEventsFilters
-- | Filters you can use to specify which events are returned when
-- ListEvents is called.
--
-- See: newListEventsFilters smart constructor.
data ListEventsFilters
ListEventsFilters' :: Maybe EventDataSource -> Maybe EventClass -> Maybe Text -> Maybe EventTimeRange -> Maybe Text -> Maybe ResourceCollection -> ListEventsFilters
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of
-- the events you want returned.
[$sel:dataSource:ListEventsFilters'] :: ListEventsFilters -> Maybe EventDataSource
-- | The class of the events you want to filter for, such as an
-- infrastructure change, a deployment, or a schema change.
[$sel:eventClass:ListEventsFilters'] :: ListEventsFilters -> Maybe EventClass
-- | The Amazon Web Services source that emitted the events you want to
-- filter for.
[$sel:eventSource:ListEventsFilters'] :: ListEventsFilters -> Maybe Text
-- | A time range during which you want the filtered events to have
-- occurred.
[$sel:eventTimeRange:ListEventsFilters'] :: ListEventsFilters -> Maybe EventTimeRange
-- | An ID of an insight that is related to the events you want to filter
-- for.
[$sel:insightId:ListEventsFilters'] :: ListEventsFilters -> Maybe Text
[$sel:resourceCollection:ListEventsFilters'] :: ListEventsFilters -> Maybe ResourceCollection
-- | Create a value of ListEventsFilters with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dataSource:ListEventsFilters',
-- listEventsFilters_dataSource - The source,
-- AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of the events
-- you want returned.
--
-- $sel:eventClass:ListEventsFilters',
-- listEventsFilters_eventClass - The class of the events you want
-- to filter for, such as an infrastructure change, a deployment, or a
-- schema change.
--
-- $sel:eventSource:ListEventsFilters',
-- listEventsFilters_eventSource - The Amazon Web Services source
-- that emitted the events you want to filter for.
--
-- $sel:eventTimeRange:ListEventsFilters',
-- listEventsFilters_eventTimeRange - A time range during which
-- you want the filtered events to have occurred.
--
-- $sel:insightId:ListEventsFilters',
-- listEventsFilters_insightId - An ID of an insight that is
-- related to the events you want to filter for.
--
-- $sel:resourceCollection:ListEventsFilters',
-- listEventsFilters_resourceCollection - Undocumented member.
newListEventsFilters :: ListEventsFilters
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of
-- the events you want returned.
listEventsFilters_dataSource :: Lens' ListEventsFilters (Maybe EventDataSource)
-- | The class of the events you want to filter for, such as an
-- infrastructure change, a deployment, or a schema change.
listEventsFilters_eventClass :: Lens' ListEventsFilters (Maybe EventClass)
-- | The Amazon Web Services source that emitted the events you want to
-- filter for.
listEventsFilters_eventSource :: Lens' ListEventsFilters (Maybe Text)
-- | A time range during which you want the filtered events to have
-- occurred.
listEventsFilters_eventTimeRange :: Lens' ListEventsFilters (Maybe EventTimeRange)
-- | An ID of an insight that is related to the events you want to filter
-- for.
listEventsFilters_insightId :: Lens' ListEventsFilters (Maybe Text)
-- | Undocumented member.
listEventsFilters_resourceCollection :: Lens' ListEventsFilters (Maybe ResourceCollection)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ListEventsFilters.ListEventsFilters
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ListEventsFilters.ListEventsFilters
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ListEventsFilters.ListEventsFilters
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ListEventsFilters.ListEventsFilters
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ListEventsFilters.ListEventsFilters
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ListEventsFilters.ListEventsFilters
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.ListEventsFilters.ListEventsFilters
module Amazonka.DevOpsGuru.Types.Event
-- | An Amazon Web Services resource event. Amazon Web Services resource
-- events and metrics are analyzed by DevOps Guru to find anomalous
-- behavior and provide recommendations to improve your operational
-- solutions.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe EventDataSource -> Maybe EventClass -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe [EventResource] -> Maybe POSIX -> Event
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY,
-- where DevOps Guru analysis found the event.
[$sel:dataSource:Event'] :: Event -> Maybe EventDataSource
-- | The class of the event. The class specifies what the event is related
-- to, such as an infrastructure change, a deployment, or a schema
-- change.
[$sel:eventClass:Event'] :: Event -> Maybe EventClass
-- | The Amazon Web Services source that emitted the event.
[$sel:eventSource:Event'] :: Event -> Maybe Text
-- | The ID of the event.
[$sel:id:Event'] :: Event -> Maybe Text
-- | The name of the event.
[$sel:name:Event'] :: Event -> Maybe Text
[$sel:resourceCollection:Event'] :: Event -> Maybe ResourceCollection
-- | An EventResource object that contains information about the
-- resource that emitted the event.
[$sel:resources:Event'] :: Event -> Maybe [EventResource]
-- | A Timestamp that specifies the time the event occurred.
[$sel:time:Event'] :: Event -> Maybe POSIX
-- | Create a value of Event with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dataSource:Event', event_dataSource - The source,
-- AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps
-- Guru analysis found the event.
--
-- $sel:eventClass:Event', event_eventClass - The class of
-- the event. The class specifies what the event is related to, such as
-- an infrastructure change, a deployment, or a schema change.
--
-- $sel:eventSource:Event', event_eventSource - The Amazon
-- Web Services source that emitted the event.
--
-- $sel:id:Event', event_id - The ID of the event.
--
-- Event, event_name - The name of the event.
--
-- $sel:resourceCollection:Event', event_resourceCollection
-- - Undocumented member.
--
-- $sel:resources:Event', event_resources - An
-- EventResource object that contains information about the
-- resource that emitted the event.
--
-- $sel:time:Event', event_time - A Timestamp that
-- specifies the time the event occurred.
newEvent :: Event
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY,
-- where DevOps Guru analysis found the event.
event_dataSource :: Lens' Event (Maybe EventDataSource)
-- | The class of the event. The class specifies what the event is related
-- to, such as an infrastructure change, a deployment, or a schema
-- change.
event_eventClass :: Lens' Event (Maybe EventClass)
-- | The Amazon Web Services source that emitted the event.
event_eventSource :: Lens' Event (Maybe Text)
-- | The ID of the event.
event_id :: Lens' Event (Maybe Text)
-- | The name of the event.
event_name :: Lens' Event (Maybe Text)
-- | Undocumented member.
event_resourceCollection :: Lens' Event (Maybe ResourceCollection)
-- | An EventResource object that contains information about the
-- resource that emitted the event.
event_resources :: Lens' Event (Maybe [EventResource])
-- | A Timestamp that specifies the time the event occurred.
event_time :: Lens' Event (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.Event.Event
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.Event.Event
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.Event.Event
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.Event.Event
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.Event.Event
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.Event.Event
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.Event.Event
module Amazonka.DevOpsGuru.Types.TagCollectionFilter
-- | A collection of Amazon Web Services tags used to filter insights. This
-- is used to return insights generated from only resources that contain
-- the tags in the tag collection.
--
-- See: newTagCollectionFilter smart constructor.
data TagCollectionFilter
TagCollectionFilter' :: Text -> [Text] -> TagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagCollectionFilter'] :: TagCollectionFilter -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:TagCollectionFilter'] :: TagCollectionFilter -> [Text]
-- | Create a value of TagCollectionFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCollectionFilter',
-- tagCollectionFilter_appBoundaryKey - An Amazon Web Services tag
-- key that is used to identify the Amazon Web Services resources
-- that DevOps Guru analyzes. All Amazon Web Services resources in your
-- account and Region tagged with this key make up your DevOps
-- Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCollectionFilter',
-- tagCollectionFilter_tagValues - The values in an Amazon Web
-- Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCollectionFilter :: Text -> TagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCollectionFilter_appBoundaryKey :: Lens' TagCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCollectionFilter_tagValues :: Lens' TagCollectionFilter [Text]
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.TagCollectionFilter.TagCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.TagCollectionFilter.TagCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.TagCollectionFilter.TagCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.TagCollectionFilter.TagCollectionFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.TagCollectionFilter.TagCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.TagCollectionFilter.TagCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.TagCollectionFilter.TagCollectionFilter
module Amazonka.DevOpsGuru.Types.ResourceCollectionFilter
-- | Information about a filter used to specify which Amazon Web Services
-- resources are analyzed for anomalous behavior by DevOps Guru.
--
-- See: newResourceCollectionFilter smart constructor.
data ResourceCollectionFilter
ResourceCollectionFilter' :: Maybe CloudFormationCollectionFilter -> Maybe [TagCollectionFilter] -> ResourceCollectionFilter
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
[$sel:cloudFormation:ResourceCollectionFilter'] :: ResourceCollectionFilter -> Maybe CloudFormationCollectionFilter
-- | The Amazon Web Services tags used to filter the resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:ResourceCollectionFilter'] :: ResourceCollectionFilter -> Maybe [TagCollectionFilter]
-- | Create a value of ResourceCollectionFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:ResourceCollectionFilter',
-- resourceCollectionFilter_cloudFormation - Information about
-- Amazon Web Services CloudFormation stacks. You can use up to 500
-- stacks to specify which Amazon Web Services resources in your account
-- to analyze. For more information, see Stacks in the Amazon
-- Web Services CloudFormation User Guide.
--
-- $sel:tags:ResourceCollectionFilter',
-- resourceCollectionFilter_tags - The Amazon Web Services tags
-- used to filter the resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newResourceCollectionFilter :: ResourceCollectionFilter
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
resourceCollectionFilter_cloudFormation :: Lens' ResourceCollectionFilter (Maybe CloudFormationCollectionFilter)
-- | The Amazon Web Services tags used to filter the resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
resourceCollectionFilter_tags :: Lens' ResourceCollectionFilter (Maybe [TagCollectionFilter])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ResourceCollectionFilter.ResourceCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ResourceCollectionFilter.ResourceCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ResourceCollectionFilter.ResourceCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ResourceCollectionFilter.ResourceCollectionFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ResourceCollectionFilter.ResourceCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ResourceCollectionFilter.ResourceCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ResourceCollectionFilter.ResourceCollectionFilter
module Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter
-- | Information about a collection of Amazon Web Services resources that
-- are identified by an Amazon Web Services tag. This collection of
-- resources is used to create a monthly cost estimate for DevOps Guru to
-- analyze Amazon Web Services resources. The maximum number of tags you
-- can specify for a cost estimate is one. The estimate created is for
-- the cost to analyze the Amazon Web Services resources defined by the
-- tag. For more information, see Stacks in the Amazon Web
-- Services CloudFormation User Guide.
--
-- See: newTagCostEstimationResourceCollectionFilter smart
-- constructor.
data TagCostEstimationResourceCollectionFilter
TagCostEstimationResourceCollectionFilter' :: Text -> NonEmpty Text -> TagCostEstimationResourceCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagCostEstimationResourceCollectionFilter'] :: TagCostEstimationResourceCollectionFilter -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:TagCostEstimationResourceCollectionFilter'] :: TagCostEstimationResourceCollectionFilter -> NonEmpty Text
-- | Create a value of TagCostEstimationResourceCollectionFilter
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCostEstimationResourceCollectionFilter',
-- tagCostEstimationResourceCollectionFilter_appBoundaryKey - An
-- Amazon Web Services tag key that is used to identify the Amazon
-- Web Services resources that DevOps Guru analyzes. All Amazon Web
-- Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCostEstimationResourceCollectionFilter',
-- tagCostEstimationResourceCollectionFilter_tagValues - The
-- values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCostEstimationResourceCollectionFilter :: Text -> NonEmpty Text -> TagCostEstimationResourceCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCostEstimationResourceCollectionFilter_appBoundaryKey :: Lens' TagCostEstimationResourceCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCostEstimationResourceCollectionFilter_tagValues :: Lens' TagCostEstimationResourceCollectionFilter (NonEmpty Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.TagCostEstimationResourceCollectionFilter.TagCostEstimationResourceCollectionFilter
module Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter
-- | Information about a filter used to specify which Amazon Web Services
-- resources are analyzed to create a monthly DevOps Guru cost estimate.
-- For more information, see Estimate your Amazon DevOps Guru
-- costs and Amazon DevOps Guru pricing.
--
-- See: newCostEstimationResourceCollectionFilter smart
-- constructor.
data CostEstimationResourceCollectionFilter
CostEstimationResourceCollectionFilter' :: Maybe CloudFormationCostEstimationResourceCollectionFilter -> Maybe [TagCostEstimationResourceCollectionFilter] -> CostEstimationResourceCollectionFilter
-- | An object that specifies the CloudFormation stack that defines the
-- Amazon Web Services resources used to create a monthly estimate for
-- DevOps Guru.
[$sel:cloudFormation:CostEstimationResourceCollectionFilter'] :: CostEstimationResourceCollectionFilter -> Maybe CloudFormationCostEstimationResourceCollectionFilter
-- | The Amazon Web Services tags used to filter the resource collection
-- that is used for a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:CostEstimationResourceCollectionFilter'] :: CostEstimationResourceCollectionFilter -> Maybe [TagCostEstimationResourceCollectionFilter]
-- | Create a value of CostEstimationResourceCollectionFilter with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:CostEstimationResourceCollectionFilter',
-- costEstimationResourceCollectionFilter_cloudFormation - An
-- object that specifies the CloudFormation stack that defines the Amazon
-- Web Services resources used to create a monthly estimate for DevOps
-- Guru.
--
-- $sel:tags:CostEstimationResourceCollectionFilter',
-- costEstimationResourceCollectionFilter_tags - The Amazon Web
-- Services tags used to filter the resource collection that is used for
-- a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newCostEstimationResourceCollectionFilter :: CostEstimationResourceCollectionFilter
-- | An object that specifies the CloudFormation stack that defines the
-- Amazon Web Services resources used to create a monthly estimate for
-- DevOps Guru.
costEstimationResourceCollectionFilter_cloudFormation :: Lens' CostEstimationResourceCollectionFilter (Maybe CloudFormationCostEstimationResourceCollectionFilter)
-- | The Amazon Web Services tags used to filter the resource collection
-- that is used for a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
costEstimationResourceCollectionFilter_tags :: Lens' CostEstimationResourceCollectionFilter (Maybe [TagCostEstimationResourceCollectionFilter])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.CostEstimationResourceCollectionFilter.CostEstimationResourceCollectionFilter
module Amazonka.DevOpsGuru.Types.TagHealth
-- | Information about the health of Amazon Web Services resources in your
-- account that are specified by an Amazon Web Services tag key.
--
-- See: newTagHealth smart constructor.
data TagHealth
TagHealth' :: Maybe Integer -> Maybe Text -> Maybe InsightHealth -> Maybe Text -> TagHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services tag.
[$sel:analyzedResourceCount:TagHealth'] :: TagHealth -> Maybe Integer
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagHealth'] :: TagHealth -> Maybe Text
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services tag,
-- including the number of open proactive, open reactive insights, and
-- the Mean Time to Recover (MTTR) of closed insights.
[$sel:insight:TagHealth'] :: TagHealth -> Maybe InsightHealth
-- | The value in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValue:TagHealth'] :: TagHealth -> Maybe Text
-- | Create a value of TagHealth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:TagHealth',
-- tagHealth_analyzedResourceCount - Number of resources that
-- DevOps Guru is monitoring in your account that are specified by an
-- Amazon Web Services tag.
--
-- $sel:appBoundaryKey:TagHealth', tagHealth_appBoundaryKey
-- - An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:insight:TagHealth', tagHealth_insight - Information
-- about the health of the Amazon Web Services resources in your account
-- that are specified by an Amazon Web Services tag, including the number
-- of open proactive, open reactive insights, and the Mean Time to
-- Recover (MTTR) of closed insights.
--
-- $sel:tagValue:TagHealth', tagHealth_tagValue - The value
-- in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagHealth :: TagHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services tag.
tagHealth_analyzedResourceCount :: Lens' TagHealth (Maybe Integer)
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagHealth_appBoundaryKey :: Lens' TagHealth (Maybe Text)
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services tag,
-- including the number of open proactive, open reactive insights, and
-- the Mean Time to Recover (MTTR) of closed insights.
tagHealth_insight :: Lens' TagHealth (Maybe InsightHealth)
-- | The value in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagHealth_tagValue :: Lens' TagHealth (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.TagHealth.TagHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.TagHealth.TagHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.TagHealth.TagHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.TagHealth.TagHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.TagHealth.TagHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.TagHealth.TagHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.TagHealth.TagHealth
module Amazonka.DevOpsGuru.Types.TimestampMetricValuePair
-- | A pair that contains metric values at the respective timestamp.
--
-- See: newTimestampMetricValuePair smart constructor.
data TimestampMetricValuePair
TimestampMetricValuePair' :: Maybe Double -> Maybe POSIX -> TimestampMetricValuePair
-- | Value of the anomalous metric data point at respective Timestamp.
[$sel:metricValue:TimestampMetricValuePair'] :: TimestampMetricValuePair -> Maybe Double
-- | A Timestamp that specifies the time the event occurred.
[$sel:timestamp:TimestampMetricValuePair'] :: TimestampMetricValuePair -> Maybe POSIX
-- | Create a value of TimestampMetricValuePair with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricValue:TimestampMetricValuePair',
-- timestampMetricValuePair_metricValue - Value of the anomalous
-- metric data point at respective Timestamp.
--
-- $sel:timestamp:TimestampMetricValuePair',
-- timestampMetricValuePair_timestamp - A Timestamp that
-- specifies the time the event occurred.
newTimestampMetricValuePair :: TimestampMetricValuePair
-- | Value of the anomalous metric data point at respective Timestamp.
timestampMetricValuePair_metricValue :: Lens' TimestampMetricValuePair (Maybe Double)
-- | A Timestamp that specifies the time the event occurred.
timestampMetricValuePair_timestamp :: Lens' TimestampMetricValuePair (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.TimestampMetricValuePair.TimestampMetricValuePair
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.TimestampMetricValuePair.TimestampMetricValuePair
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.TimestampMetricValuePair.TimestampMetricValuePair
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.TimestampMetricValuePair.TimestampMetricValuePair
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.TimestampMetricValuePair.TimestampMetricValuePair
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.TimestampMetricValuePair.TimestampMetricValuePair
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.TimestampMetricValuePair.TimestampMetricValuePair
module Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary
-- | Contains information about the analyzed metrics that displayed
-- anomalous behavior.
--
-- See: newCloudWatchMetricsDataSummary smart constructor.
data CloudWatchMetricsDataSummary
CloudWatchMetricsDataSummary' :: Maybe CloudWatchMetricDataStatusCode -> Maybe [TimestampMetricValuePair] -> CloudWatchMetricsDataSummary
-- | This is an enum of the status showing whether the metric value pair
-- list has partial or complete data, or if there was an error.
[$sel:statusCode:CloudWatchMetricsDataSummary'] :: CloudWatchMetricsDataSummary -> Maybe CloudWatchMetricDataStatusCode
-- | This is a list of Amazon CloudWatch metric values at given timestamp.
[$sel:timestampMetricValuePairList:CloudWatchMetricsDataSummary'] :: CloudWatchMetricsDataSummary -> Maybe [TimestampMetricValuePair]
-- | Create a value of CloudWatchMetricsDataSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:statusCode:CloudWatchMetricsDataSummary',
-- cloudWatchMetricsDataSummary_statusCode - This is an enum of
-- the status showing whether the metric value pair list has partial or
-- complete data, or if there was an error.
--
--
-- $sel:timestampMetricValuePairList:CloudWatchMetricsDataSummary',
-- cloudWatchMetricsDataSummary_timestampMetricValuePairList -
-- This is a list of Amazon CloudWatch metric values at given timestamp.
newCloudWatchMetricsDataSummary :: CloudWatchMetricsDataSummary
-- | This is an enum of the status showing whether the metric value pair
-- list has partial or complete data, or if there was an error.
cloudWatchMetricsDataSummary_statusCode :: Lens' CloudWatchMetricsDataSummary (Maybe CloudWatchMetricDataStatusCode)
-- | This is a list of Amazon CloudWatch metric values at given timestamp.
cloudWatchMetricsDataSummary_timestampMetricValuePairList :: Lens' CloudWatchMetricsDataSummary (Maybe [TimestampMetricValuePair])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary.CloudWatchMetricsDataSummary
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary.CloudWatchMetricsDataSummary
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary.CloudWatchMetricsDataSummary
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary.CloudWatchMetricsDataSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary.CloudWatchMetricsDataSummary
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary.CloudWatchMetricsDataSummary
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudWatchMetricsDataSummary.CloudWatchMetricsDataSummary
module Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail
-- | Information about an Amazon CloudWatch metric.
--
-- See: newCloudWatchMetricsDetail smart constructor.
data CloudWatchMetricsDetail
CloudWatchMetricsDetail' :: Maybe [CloudWatchMetricsDimension] -> Maybe CloudWatchMetricsDataSummary -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe CloudWatchMetricsStat -> Maybe Text -> CloudWatchMetricsDetail
-- | An array of CloudWatch dimensions associated with
[$sel:dimensions:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe [CloudWatchMetricsDimension]
-- | This object returns anomaly metric data.
[$sel:metricDataSummary:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe CloudWatchMetricsDataSummary
-- | The name of the CloudWatch metric.
[$sel:metricName:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Text
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
[$sel:namespace:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Text
-- | The length of time associated with the CloudWatch metric in number of
-- seconds.
[$sel:period:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Int
-- | The type of statistic associated with the CloudWatch metric. For more
-- information, see Statistics in the Amazon CloudWatch User
-- Guide.
[$sel:stat:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe CloudWatchMetricsStat
-- | The unit of measure used for the CloudWatch metric. For example,
-- Bytes, Seconds, Count, and
-- Percent.
[$sel:unit:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Text
-- | Create a value of CloudWatchMetricsDetail with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dimensions:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_dimensions - An array of CloudWatch
-- dimensions associated with
--
-- $sel:metricDataSummary:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_metricDataSummary - This object returns
-- anomaly metric data.
--
-- $sel:metricName:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_metricName - The name of the CloudWatch
-- metric.
--
-- $sel:namespace:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_namespace - The namespace of the
-- CloudWatch metric. A namespace is a container for CloudWatch metrics.
--
-- $sel:period:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_period - The length of time associated
-- with the CloudWatch metric in number of seconds.
--
-- $sel:stat:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_stat - The type of statistic associated
-- with the CloudWatch metric. For more information, see
-- Statistics in the Amazon CloudWatch User Guide.
--
-- $sel:unit:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_unit - The unit of measure used for the
-- CloudWatch metric. For example, Bytes, Seconds,
-- Count, and Percent.
newCloudWatchMetricsDetail :: CloudWatchMetricsDetail
-- | An array of CloudWatch dimensions associated with
cloudWatchMetricsDetail_dimensions :: Lens' CloudWatchMetricsDetail (Maybe [CloudWatchMetricsDimension])
-- | This object returns anomaly metric data.
cloudWatchMetricsDetail_metricDataSummary :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsDataSummary)
-- | The name of the CloudWatch metric.
cloudWatchMetricsDetail_metricName :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
cloudWatchMetricsDetail_namespace :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The length of time associated with the CloudWatch metric in number of
-- seconds.
cloudWatchMetricsDetail_period :: Lens' CloudWatchMetricsDetail (Maybe Int)
-- | The type of statistic associated with the CloudWatch metric. For more
-- information, see Statistics in the Amazon CloudWatch User
-- Guide.
cloudWatchMetricsDetail_stat :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsStat)
-- | The unit of measure used for the CloudWatch metric. For example,
-- Bytes, Seconds, Count, and
-- Percent.
cloudWatchMetricsDetail_unit :: Lens' CloudWatchMetricsDetail (Maybe Text)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail.CloudWatchMetricsDetail
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail.CloudWatchMetricsDetail
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail.CloudWatchMetricsDetail
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail.CloudWatchMetricsDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail.CloudWatchMetricsDetail
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail.CloudWatchMetricsDetail
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail.CloudWatchMetricsDetail
module Amazonka.DevOpsGuru.Types.AnomalySourceDetails
-- | Details about the source of the anomalous operational data that
-- triggered the anomaly.
--
-- See: newAnomalySourceDetails smart constructor.
data AnomalySourceDetails
AnomalySourceDetails' :: Maybe [CloudWatchMetricsDetail] -> Maybe [PerformanceInsightsMetricsDetail] -> AnomalySourceDetails
-- | An array of CloudWatchMetricsDetail objects that contain
-- information about analyzed CloudWatch metrics that show anomalous
-- behavior.
[$sel:cloudWatchMetrics:AnomalySourceDetails'] :: AnomalySourceDetails -> Maybe [CloudWatchMetricsDetail]
-- | An array of PerformanceInsightsMetricsDetail objects that
-- contain information about analyzed Performance Insights metrics that
-- show anomalous behavior.
[$sel:performanceInsightsMetrics:AnomalySourceDetails'] :: AnomalySourceDetails -> Maybe [PerformanceInsightsMetricsDetail]
-- | Create a value of AnomalySourceDetails with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchMetrics:AnomalySourceDetails',
-- anomalySourceDetails_cloudWatchMetrics - An array of
-- CloudWatchMetricsDetail objects that contain information
-- about analyzed CloudWatch metrics that show anomalous behavior.
--
-- $sel:performanceInsightsMetrics:AnomalySourceDetails',
-- anomalySourceDetails_performanceInsightsMetrics - An array of
-- PerformanceInsightsMetricsDetail objects that contain
-- information about analyzed Performance Insights metrics that show
-- anomalous behavior.
newAnomalySourceDetails :: AnomalySourceDetails
-- | An array of CloudWatchMetricsDetail objects that contain
-- information about analyzed CloudWatch metrics that show anomalous
-- behavior.
anomalySourceDetails_cloudWatchMetrics :: Lens' AnomalySourceDetails (Maybe [CloudWatchMetricsDetail])
-- | An array of PerformanceInsightsMetricsDetail objects that
-- contain information about analyzed Performance Insights metrics that
-- show anomalous behavior.
anomalySourceDetails_performanceInsightsMetrics :: Lens' AnomalySourceDetails (Maybe [PerformanceInsightsMetricsDetail])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.AnomalySourceDetails.AnomalySourceDetails
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.AnomalySourceDetails.AnomalySourceDetails
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.AnomalySourceDetails.AnomalySourceDetails
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.AnomalySourceDetails.AnomalySourceDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.AnomalySourceDetails.AnomalySourceDetails
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.AnomalySourceDetails.AnomalySourceDetails
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.AnomalySourceDetails.AnomalySourceDetails
module Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary
-- | Details about a reactive anomaly. This object is returned by
-- DescribeAnomaly.
--
-- See: newReactiveAnomalySummary smart constructor.
data ReactiveAnomalySummary
ReactiveAnomalySummary' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalyStatus -> Maybe AnomalyType -> ReactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyReportedTimeRange
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
[$sel:anomalyResources:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
[$sel:causalAnomalyId:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | A description of the reactive anomaly.
[$sel:description:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | The ID of the reactive anomaly.
[$sel:id:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | The name of the reactive anomaly.
[$sel:name:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
[$sel:resourceCollection:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalySourceDetails
-- | The status of the reactive anomaly.
[$sel:status:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyStatus
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
[$sel:type':ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyType
-- | Create a value of ReactiveAnomalySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyResources - The Amazon Web
-- Services resources in which anomalous behavior was detected by DevOps
-- Guru.
--
-- $sel:anomalyTimeRange:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ReactiveAnomalySummary',
-- reactiveAnomalySummary_associatedInsightId - The ID of the
-- insight that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:causalAnomalyId:ReactiveAnomalySummary',
-- reactiveAnomalySummary_causalAnomalyId - The ID of the causal
-- anomaly that is associated with this reactive anomaly. The ID of a
-- `CAUSAL` anomaly is always `NULL`.
--
-- $sel:description:ReactiveAnomalySummary',
-- reactiveAnomalySummary_description - A description of the
-- reactive anomaly.
--
-- $sel:id:ReactiveAnomalySummary',
-- reactiveAnomalySummary_id - The ID of the reactive anomaly.
--
-- ReactiveAnomalySummary, reactiveAnomalySummary_name -
-- The name of the reactive anomaly.
--
-- $sel:resourceCollection:ReactiveAnomalySummary',
-- reactiveAnomalySummary_resourceCollection - Undocumented
-- member.
--
-- $sel:severity:ReactiveAnomalySummary',
-- reactiveAnomalySummary_severity - The severity of the anomaly.
-- The severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ReactiveAnomalySummary',
-- reactiveAnomalySummary_sourceDetails - Details about the source
-- of the analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:status:ReactiveAnomalySummary',
-- reactiveAnomalySummary_status - The status of the reactive
-- anomaly.
--
-- ReactiveAnomalySummary, reactiveAnomalySummary_type -
-- The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
newReactiveAnomalySummary :: ReactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
reactiveAnomalySummary_anomalyReportedTimeRange :: Lens' ReactiveAnomalySummary (Maybe AnomalyReportedTimeRange)
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
reactiveAnomalySummary_anomalyResources :: Lens' ReactiveAnomalySummary (Maybe [AnomalyResource])
-- | Undocumented member.
reactiveAnomalySummary_anomalyTimeRange :: Lens' ReactiveAnomalySummary (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
reactiveAnomalySummary_associatedInsightId :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
reactiveAnomalySummary_causalAnomalyId :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | A description of the reactive anomaly.
reactiveAnomalySummary_description :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The ID of the reactive anomaly.
reactiveAnomalySummary_id :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The name of the reactive anomaly.
reactiveAnomalySummary_name :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | Undocumented member.
reactiveAnomalySummary_resourceCollection :: Lens' ReactiveAnomalySummary (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
reactiveAnomalySummary_severity :: Lens' ReactiveAnomalySummary (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
reactiveAnomalySummary_sourceDetails :: Lens' ReactiveAnomalySummary (Maybe AnomalySourceDetails)
-- | The status of the reactive anomaly.
reactiveAnomalySummary_status :: Lens' ReactiveAnomalySummary (Maybe AnomalyStatus)
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
reactiveAnomalySummary_type :: Lens' ReactiveAnomalySummary (Maybe AnomalyType)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary.ReactiveAnomalySummary
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary.ReactiveAnomalySummary
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary.ReactiveAnomalySummary
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary.ReactiveAnomalySummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary.ReactiveAnomalySummary
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary.ReactiveAnomalySummary
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ReactiveAnomalySummary.ReactiveAnomalySummary
module Amazonka.DevOpsGuru.Types.ReactiveAnomaly
-- | Details about a reactive anomaly. This object is returned by
-- ListAnomalies.
--
-- See: newReactiveAnomaly smart constructor.
data ReactiveAnomaly
ReactiveAnomaly' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalyStatus -> Maybe AnomalyType -> ReactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyReportedTimeRange
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
[$sel:anomalyResources:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
[$sel:causalAnomalyId:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | A description of the reactive anomaly.
[$sel:description:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | The ID of the reactive anomaly.
[$sel:id:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | The name of the reactive anomaly.
[$sel:name:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
[$sel:resourceCollection:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalySourceDetails
-- | The status of the anomaly.
[$sel:status:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyStatus
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
[$sel:type':ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyType
-- | Create a value of ReactiveAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ReactiveAnomaly',
-- reactiveAnomaly_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ReactiveAnomaly',
-- reactiveAnomaly_anomalyResources - The Amazon Web Services
-- resources in which anomalous behavior was detected by DevOps Guru.
--
-- $sel:anomalyTimeRange:ReactiveAnomaly',
-- reactiveAnomaly_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ReactiveAnomaly',
-- reactiveAnomaly_associatedInsightId - The ID of the insight
-- that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:causalAnomalyId:ReactiveAnomaly',
-- reactiveAnomaly_causalAnomalyId - The ID of the causal anomaly
-- that is associated with this reactive anomaly. The ID of a `CAUSAL`
-- anomaly is always `NULL`.
--
-- $sel:description:ReactiveAnomaly',
-- reactiveAnomaly_description - A description of the reactive
-- anomaly.
--
-- $sel:id:ReactiveAnomaly', reactiveAnomaly_id - The ID of
-- the reactive anomaly.
--
-- ReactiveAnomaly, reactiveAnomaly_name - The name of the
-- reactive anomaly.
--
-- $sel:resourceCollection:ReactiveAnomaly',
-- reactiveAnomaly_resourceCollection - Undocumented member.
--
-- $sel:severity:ReactiveAnomaly', reactiveAnomaly_severity
-- - The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
--
-- $sel:sourceDetails:ReactiveAnomaly',
-- reactiveAnomaly_sourceDetails - Details about the source of the
-- analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:status:ReactiveAnomaly', reactiveAnomaly_status -
-- The status of the anomaly.
--
-- ReactiveAnomaly, reactiveAnomaly_type - The type of the
-- reactive anomaly. It can be one of the following types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
newReactiveAnomaly :: ReactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
reactiveAnomaly_anomalyReportedTimeRange :: Lens' ReactiveAnomaly (Maybe AnomalyReportedTimeRange)
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
reactiveAnomaly_anomalyResources :: Lens' ReactiveAnomaly (Maybe [AnomalyResource])
-- | Undocumented member.
reactiveAnomaly_anomalyTimeRange :: Lens' ReactiveAnomaly (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
reactiveAnomaly_associatedInsightId :: Lens' ReactiveAnomaly (Maybe Text)
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
reactiveAnomaly_causalAnomalyId :: Lens' ReactiveAnomaly (Maybe Text)
-- | A description of the reactive anomaly.
reactiveAnomaly_description :: Lens' ReactiveAnomaly (Maybe Text)
-- | The ID of the reactive anomaly.
reactiveAnomaly_id :: Lens' ReactiveAnomaly (Maybe Text)
-- | The name of the reactive anomaly.
reactiveAnomaly_name :: Lens' ReactiveAnomaly (Maybe Text)
-- | Undocumented member.
reactiveAnomaly_resourceCollection :: Lens' ReactiveAnomaly (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
reactiveAnomaly_severity :: Lens' ReactiveAnomaly (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
reactiveAnomaly_sourceDetails :: Lens' ReactiveAnomaly (Maybe AnomalySourceDetails)
-- | The status of the anomaly.
reactiveAnomaly_status :: Lens' ReactiveAnomaly (Maybe AnomalyStatus)
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
reactiveAnomaly_type :: Lens' ReactiveAnomaly (Maybe AnomalyType)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ReactiveAnomaly.ReactiveAnomaly
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ReactiveAnomaly.ReactiveAnomaly
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ReactiveAnomaly.ReactiveAnomaly
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ReactiveAnomaly.ReactiveAnomaly
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ReactiveAnomaly.ReactiveAnomaly
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ReactiveAnomaly.ReactiveAnomaly
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ReactiveAnomaly.ReactiveAnomaly
module Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary
-- | Details about a proactive anomaly. This object is returned by
-- DescribeAnomaly.
--
-- See: newProactiveAnomalySummary smart constructor.
data ProactiveAnomalySummary
ProactiveAnomalySummary' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalySourceMetadata -> Maybe AnomalyStatus -> Maybe POSIX -> ProactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalyReportedTimeRange
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
[$sel:anomalyResources:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe Text
-- | The ID of the anomaly.
[$sel:id:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe Text
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
[$sel:limit:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe Double
[$sel:predictionTimeRange:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalySourceDetails
-- | The metadata of the source which detects proactive anomalies.
[$sel:sourceMetadata:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalySourceMetadata
-- | The status of the anomaly.
[$sel:status:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalyStatus
-- | The time of the anomaly's most recent update.
[$sel:updateTime:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe POSIX
-- | Create a value of ProactiveAnomalySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyResources - Information about a
-- resource in which DevOps Guru detected anomalous behavior.
--
-- $sel:anomalyTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ProactiveAnomalySummary',
-- proactiveAnomalySummary_associatedInsightId - The ID of the
-- insight that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:id:ProactiveAnomalySummary',
-- proactiveAnomalySummary_id - The ID of the anomaly.
--
-- $sel:limit:ProactiveAnomalySummary',
-- proactiveAnomalySummary_limit - A threshold that was exceeded
-- by behavior in analyzed resources. Exceeding this threshold is related
-- to the anomalous behavior that generated this anomaly.
--
-- $sel:predictionTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_predictionTimeRange - Undocumented
-- member.
--
-- $sel:resourceCollection:ProactiveAnomalySummary',
-- proactiveAnomalySummary_resourceCollection - Undocumented
-- member.
--
-- $sel:severity:ProactiveAnomalySummary',
-- proactiveAnomalySummary_severity - The severity of the anomaly.
-- The severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ProactiveAnomalySummary',
-- proactiveAnomalySummary_sourceDetails - Details about the
-- source of the analyzed operational data that triggered the anomaly.
-- The one supported source is Amazon CloudWatch metrics.
--
-- $sel:sourceMetadata:ProactiveAnomalySummary',
-- proactiveAnomalySummary_sourceMetadata - The metadata of the
-- source which detects proactive anomalies.
--
-- $sel:status:ProactiveAnomalySummary',
-- proactiveAnomalySummary_status - The status of the anomaly.
--
-- $sel:updateTime:ProactiveAnomalySummary',
-- proactiveAnomalySummary_updateTime - The time of the anomaly's
-- most recent update.
newProactiveAnomalySummary :: ProactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
proactiveAnomalySummary_anomalyReportedTimeRange :: Lens' ProactiveAnomalySummary (Maybe AnomalyReportedTimeRange)
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
proactiveAnomalySummary_anomalyResources :: Lens' ProactiveAnomalySummary (Maybe [AnomalyResource])
-- | Undocumented member.
proactiveAnomalySummary_anomalyTimeRange :: Lens' ProactiveAnomalySummary (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
proactiveAnomalySummary_associatedInsightId :: Lens' ProactiveAnomalySummary (Maybe Text)
-- | The ID of the anomaly.
proactiveAnomalySummary_id :: Lens' ProactiveAnomalySummary (Maybe Text)
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
proactiveAnomalySummary_limit :: Lens' ProactiveAnomalySummary (Maybe Double)
-- | Undocumented member.
proactiveAnomalySummary_predictionTimeRange :: Lens' ProactiveAnomalySummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveAnomalySummary_resourceCollection :: Lens' ProactiveAnomalySummary (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
proactiveAnomalySummary_severity :: Lens' ProactiveAnomalySummary (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
proactiveAnomalySummary_sourceDetails :: Lens' ProactiveAnomalySummary (Maybe AnomalySourceDetails)
-- | The metadata of the source which detects proactive anomalies.
proactiveAnomalySummary_sourceMetadata :: Lens' ProactiveAnomalySummary (Maybe AnomalySourceMetadata)
-- | The status of the anomaly.
proactiveAnomalySummary_status :: Lens' ProactiveAnomalySummary (Maybe AnomalyStatus)
-- | The time of the anomaly's most recent update.
proactiveAnomalySummary_updateTime :: Lens' ProactiveAnomalySummary (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary.ProactiveAnomalySummary
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary.ProactiveAnomalySummary
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary.ProactiveAnomalySummary
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary.ProactiveAnomalySummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary.ProactiveAnomalySummary
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary.ProactiveAnomalySummary
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ProactiveAnomalySummary.ProactiveAnomalySummary
module Amazonka.DevOpsGuru.Types.ProactiveAnomaly
-- | Information about an anomaly. This object is returned by
-- ListAnomalies.
--
-- See: newProactiveAnomaly smart constructor.
data ProactiveAnomaly
ProactiveAnomaly' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalySourceMetadata -> Maybe AnomalyStatus -> Maybe POSIX -> ProactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalyReportedTimeRange
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
[$sel:anomalyResources:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe Text
-- | The ID of a proactive anomaly.
[$sel:id:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe Text
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
[$sel:limit:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe Double
[$sel:predictionTimeRange:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalySourceDetails
-- | The metadata for the anomaly.
[$sel:sourceMetadata:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalySourceMetadata
-- | The status of a proactive anomaly.
[$sel:status:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalyStatus
-- | The time of the anomaly's most recent update.
[$sel:updateTime:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe POSIX
-- | Create a value of ProactiveAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ProactiveAnomaly',
-- proactiveAnomaly_anomalyResources - Information about a
-- resource in which DevOps Guru detected anomalous behavior.
--
-- $sel:anomalyTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ProactiveAnomaly',
-- proactiveAnomaly_associatedInsightId - The ID of the insight
-- that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:id:ProactiveAnomaly', proactiveAnomaly_id - The ID
-- of a proactive anomaly.
--
-- $sel:limit:ProactiveAnomaly', proactiveAnomaly_limit - A
-- threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
--
-- $sel:predictionTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_predictionTimeRange - Undocumented member.
--
-- $sel:resourceCollection:ProactiveAnomaly',
-- proactiveAnomaly_resourceCollection - Undocumented member.
--
-- $sel:severity:ProactiveAnomaly',
-- proactiveAnomaly_severity - The severity of the anomaly. The
-- severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ProactiveAnomaly',
-- proactiveAnomaly_sourceDetails - Details about the source of
-- the analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:sourceMetadata:ProactiveAnomaly',
-- proactiveAnomaly_sourceMetadata - The metadata for the anomaly.
--
-- $sel:status:ProactiveAnomaly', proactiveAnomaly_status -
-- The status of a proactive anomaly.
--
-- $sel:updateTime:ProactiveAnomaly',
-- proactiveAnomaly_updateTime - The time of the anomaly's most
-- recent update.
newProactiveAnomaly :: ProactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
proactiveAnomaly_anomalyReportedTimeRange :: Lens' ProactiveAnomaly (Maybe AnomalyReportedTimeRange)
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
proactiveAnomaly_anomalyResources :: Lens' ProactiveAnomaly (Maybe [AnomalyResource])
-- | Undocumented member.
proactiveAnomaly_anomalyTimeRange :: Lens' ProactiveAnomaly (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
proactiveAnomaly_associatedInsightId :: Lens' ProactiveAnomaly (Maybe Text)
-- | The ID of a proactive anomaly.
proactiveAnomaly_id :: Lens' ProactiveAnomaly (Maybe Text)
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
proactiveAnomaly_limit :: Lens' ProactiveAnomaly (Maybe Double)
-- | Undocumented member.
proactiveAnomaly_predictionTimeRange :: Lens' ProactiveAnomaly (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveAnomaly_resourceCollection :: Lens' ProactiveAnomaly (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
proactiveAnomaly_severity :: Lens' ProactiveAnomaly (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
proactiveAnomaly_sourceDetails :: Lens' ProactiveAnomaly (Maybe AnomalySourceDetails)
-- | The metadata for the anomaly.
proactiveAnomaly_sourceMetadata :: Lens' ProactiveAnomaly (Maybe AnomalySourceMetadata)
-- | The status of a proactive anomaly.
proactiveAnomaly_status :: Lens' ProactiveAnomaly (Maybe AnomalyStatus)
-- | The time of the anomaly's most recent update.
proactiveAnomaly_updateTime :: Lens' ProactiveAnomaly (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.ProactiveAnomaly.ProactiveAnomaly
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.ProactiveAnomaly.ProactiveAnomaly
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.ProactiveAnomaly.ProactiveAnomaly
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.ProactiveAnomaly.ProactiveAnomaly
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.ProactiveAnomaly.ProactiveAnomaly
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.ProactiveAnomaly.ProactiveAnomaly
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.ProactiveAnomaly.ProactiveAnomaly
module Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter
-- | Contains the names of Amazon Web Services CloudFormation stacks used
-- to update a collection of stacks. You can specify up to 500 Amazon Web
-- Services CloudFormation stacks.
--
-- See: newUpdateCloudFormationCollectionFilter smart
-- constructor.
data UpdateCloudFormationCollectionFilter
UpdateCloudFormationCollectionFilter' :: Maybe [Text] -> UpdateCloudFormationCollectionFilter
-- | An array of the names of the Amazon Web Services CloudFormation stacks
-- to update. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
[$sel:stackNames:UpdateCloudFormationCollectionFilter'] :: UpdateCloudFormationCollectionFilter -> Maybe [Text]
-- | Create a value of UpdateCloudFormationCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:UpdateCloudFormationCollectionFilter',
-- updateCloudFormationCollectionFilter_stackNames - An array of
-- the names of the Amazon Web Services CloudFormation stacks to update.
-- You can specify up to 500 Amazon Web Services CloudFormation stacks.
newUpdateCloudFormationCollectionFilter :: UpdateCloudFormationCollectionFilter
-- | An array of the names of the Amazon Web Services CloudFormation stacks
-- to update. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
updateCloudFormationCollectionFilter_stackNames :: Lens' UpdateCloudFormationCollectionFilter (Maybe [Text])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter.UpdateCloudFormationCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter.UpdateCloudFormationCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter.UpdateCloudFormationCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter.UpdateCloudFormationCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter.UpdateCloudFormationCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter.UpdateCloudFormationCollectionFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.UpdateCloudFormationCollectionFilter.UpdateCloudFormationCollectionFilter
module Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction
newtype UpdateResourceCollectionAction
UpdateResourceCollectionAction' :: Text -> UpdateResourceCollectionAction
[fromUpdateResourceCollectionAction] :: UpdateResourceCollectionAction -> Text
pattern UpdateResourceCollectionAction_ADD :: UpdateResourceCollectionAction
pattern UpdateResourceCollectionAction_REMOVE :: UpdateResourceCollectionAction
instance Amazonka.Data.XML.ToXML Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Amazonka.Data.XML.FromXML Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Amazonka.Data.Headers.ToHeader Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Amazonka.Data.Log.ToLog Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Amazonka.Data.ByteString.ToByteString Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Amazonka.Data.Text.ToText Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Amazonka.Data.Text.FromText Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance GHC.Classes.Ord Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.UpdateResourceCollectionAction.UpdateResourceCollectionAction
module Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig
-- | Information about updating the integration status of an Amazon Web
-- Services service, such as Amazon Web Services Systems Manager, with
-- DevOps Guru.
--
-- See: newUpdateServiceIntegrationConfig smart
-- constructor.
data UpdateServiceIntegrationConfig
UpdateServiceIntegrationConfig' :: Maybe LogsAnomalyDetectionIntegrationConfig -> Maybe OpsCenterIntegrationConfig -> UpdateServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
[$sel:logsAnomalyDetection:UpdateServiceIntegrationConfig'] :: UpdateServiceIntegrationConfig -> Maybe LogsAnomalyDetectionIntegrationConfig
[$sel:opsCenter:UpdateServiceIntegrationConfig'] :: UpdateServiceIntegrationConfig -> Maybe OpsCenterIntegrationConfig
-- | Create a value of UpdateServiceIntegrationConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logsAnomalyDetection:UpdateServiceIntegrationConfig',
-- updateServiceIntegrationConfig_logsAnomalyDetection -
-- Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
--
-- $sel:opsCenter:UpdateServiceIntegrationConfig',
-- updateServiceIntegrationConfig_opsCenter - Undocumented member.
newUpdateServiceIntegrationConfig :: UpdateServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
updateServiceIntegrationConfig_logsAnomalyDetection :: Lens' UpdateServiceIntegrationConfig (Maybe LogsAnomalyDetectionIntegrationConfig)
-- | Undocumented member.
updateServiceIntegrationConfig_opsCenter :: Lens' UpdateServiceIntegrationConfig (Maybe OpsCenterIntegrationConfig)
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig.UpdateServiceIntegrationConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig.UpdateServiceIntegrationConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig.UpdateServiceIntegrationConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig.UpdateServiceIntegrationConfig
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig.UpdateServiceIntegrationConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig.UpdateServiceIntegrationConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.UpdateServiceIntegrationConfig.UpdateServiceIntegrationConfig
module Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter
-- | A new collection of Amazon Web Services resources that are defined by
-- an Amazon Web Services tag or tag key/value pair.
--
-- See: newUpdateTagCollectionFilter smart constructor.
data UpdateTagCollectionFilter
UpdateTagCollectionFilter' :: Text -> [Text] -> UpdateTagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:UpdateTagCollectionFilter'] :: UpdateTagCollectionFilter -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:UpdateTagCollectionFilter'] :: UpdateTagCollectionFilter -> [Text]
-- | Create a value of UpdateTagCollectionFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:UpdateTagCollectionFilter',
-- updateTagCollectionFilter_appBoundaryKey - An Amazon Web
-- Services tag key that is used to identify the Amazon Web
-- Services resources that DevOps Guru analyzes. All Amazon Web Services
-- resources in your account and Region tagged with this key make
-- up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:UpdateTagCollectionFilter',
-- updateTagCollectionFilter_tagValues - The values in an Amazon
-- Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newUpdateTagCollectionFilter :: Text -> UpdateTagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
updateTagCollectionFilter_appBoundaryKey :: Lens' UpdateTagCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
updateTagCollectionFilter_tagValues :: Lens' UpdateTagCollectionFilter [Text]
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter.UpdateTagCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter.UpdateTagCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter.UpdateTagCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter.UpdateTagCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter.UpdateTagCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter.UpdateTagCollectionFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.UpdateTagCollectionFilter.UpdateTagCollectionFilter
module Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter
-- | Contains information used to update a collection of Amazon Web
-- Services resources.
--
-- See: newUpdateResourceCollectionFilter smart
-- constructor.
data UpdateResourceCollectionFilter
UpdateResourceCollectionFilter' :: Maybe UpdateCloudFormationCollectionFilter -> Maybe [UpdateTagCollectionFilter] -> UpdateResourceCollectionFilter
-- | A collection of Amazon Web Services CloudFormation stacks. You can
-- specify up to 500 Amazon Web Services CloudFormation stacks.
[$sel:cloudFormation:UpdateResourceCollectionFilter'] :: UpdateResourceCollectionFilter -> Maybe UpdateCloudFormationCollectionFilter
-- | The updated Amazon Web Services tags used to filter the resources in
-- the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:UpdateResourceCollectionFilter'] :: UpdateResourceCollectionFilter -> Maybe [UpdateTagCollectionFilter]
-- | Create a value of UpdateResourceCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:UpdateResourceCollectionFilter',
-- updateResourceCollectionFilter_cloudFormation - A collection of
-- Amazon Web Services CloudFormation stacks. You can specify up to 500
-- Amazon Web Services CloudFormation stacks.
--
-- $sel:tags:UpdateResourceCollectionFilter',
-- updateResourceCollectionFilter_tags - The updated Amazon Web
-- Services tags used to filter the resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newUpdateResourceCollectionFilter :: UpdateResourceCollectionFilter
-- | A collection of Amazon Web Services CloudFormation stacks. You can
-- specify up to 500 Amazon Web Services CloudFormation stacks.
updateResourceCollectionFilter_cloudFormation :: Lens' UpdateResourceCollectionFilter (Maybe UpdateCloudFormationCollectionFilter)
-- | The updated Amazon Web Services tags used to filter the resources in
-- the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
updateResourceCollectionFilter_tags :: Lens' UpdateResourceCollectionFilter (Maybe [UpdateTagCollectionFilter])
instance GHC.Generics.Generic Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter.UpdateResourceCollectionFilter
instance GHC.Show.Show Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter.UpdateResourceCollectionFilter
instance GHC.Read.Read Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter.UpdateResourceCollectionFilter
instance GHC.Classes.Eq Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter.UpdateResourceCollectionFilter
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter.UpdateResourceCollectionFilter
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter.UpdateResourceCollectionFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.Types.UpdateResourceCollectionFilter.UpdateResourceCollectionFilter
module Amazonka.DevOpsGuru.Types
-- | API version 2020-12-01 of the Amazon DevOps Guru SDK
-- configuration.
defaultService :: Service
-- | You don't have permissions to perform the requested operation. The
-- user or role that is making the request must have at least one IAM
-- permissions policy attached that grants the required permissions. For
-- more information, see Access Management in the IAM User
-- Guide.
_AccessDeniedException :: AsError a => Fold a ServiceError
-- | An exception that is thrown when a conflict occurs.
_ConflictException :: AsError a => Fold a ServiceError
-- | An internal failure in an Amazon service occurred.
_InternalServerException :: AsError a => Fold a ServiceError
-- | A requested resource could not be found
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | The request contains a value that exceeds a maximum quota.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError
-- | The request was denied due to a request throttling.
_ThrottlingException :: AsError a => Fold a ServiceError
-- | Contains information about data passed in to a field during a request
-- that is not valid.
_ValidationException :: AsError a => Fold a ServiceError
newtype AnomalySeverity
AnomalySeverity' :: Text -> AnomalySeverity
[fromAnomalySeverity] :: AnomalySeverity -> Text
pattern AnomalySeverity_HIGH :: AnomalySeverity
pattern AnomalySeverity_LOW :: AnomalySeverity
pattern AnomalySeverity_MEDIUM :: AnomalySeverity
newtype AnomalyStatus
AnomalyStatus' :: Text -> AnomalyStatus
[fromAnomalyStatus] :: AnomalyStatus -> Text
pattern AnomalyStatus_CLOSED :: AnomalyStatus
pattern AnomalyStatus_ONGOING :: AnomalyStatus
newtype AnomalyType
AnomalyType' :: Text -> AnomalyType
[fromAnomalyType] :: AnomalyType -> Text
pattern AnomalyType_CAUSAL :: AnomalyType
pattern AnomalyType_CONTEXTUAL :: AnomalyType
newtype CloudWatchMetricDataStatusCode
CloudWatchMetricDataStatusCode' :: Text -> CloudWatchMetricDataStatusCode
[fromCloudWatchMetricDataStatusCode] :: CloudWatchMetricDataStatusCode -> Text
pattern CloudWatchMetricDataStatusCode_Complete :: CloudWatchMetricDataStatusCode
pattern CloudWatchMetricDataStatusCode_InternalError :: CloudWatchMetricDataStatusCode
pattern CloudWatchMetricDataStatusCode_PartialData :: CloudWatchMetricDataStatusCode
newtype CloudWatchMetricsStat
CloudWatchMetricsStat' :: Text -> CloudWatchMetricsStat
[fromCloudWatchMetricsStat] :: CloudWatchMetricsStat -> Text
pattern CloudWatchMetricsStat_Average :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Maximum :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Minimum :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P50 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P90 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P99 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_SampleCount :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Sum :: CloudWatchMetricsStat
newtype CostEstimationServiceResourceState
CostEstimationServiceResourceState' :: Text -> CostEstimationServiceResourceState
[fromCostEstimationServiceResourceState] :: CostEstimationServiceResourceState -> Text
pattern CostEstimationServiceResourceState_ACTIVE :: CostEstimationServiceResourceState
pattern CostEstimationServiceResourceState_INACTIVE :: CostEstimationServiceResourceState
newtype CostEstimationStatus
CostEstimationStatus' :: Text -> CostEstimationStatus
[fromCostEstimationStatus] :: CostEstimationStatus -> Text
pattern CostEstimationStatus_COMPLETED :: CostEstimationStatus
pattern CostEstimationStatus_ONGOING :: CostEstimationStatus
newtype EventClass
EventClass' :: Text -> EventClass
[fromEventClass] :: EventClass -> Text
pattern EventClass_CONFIG_CHANGE :: EventClass
pattern EventClass_DEPLOYMENT :: EventClass
pattern EventClass_INFRASTRUCTURE :: EventClass
pattern EventClass_SCHEMA_CHANGE :: EventClass
pattern EventClass_SECURITY_CHANGE :: EventClass
newtype EventDataSource
EventDataSource' :: Text -> EventDataSource
[fromEventDataSource] :: EventDataSource -> Text
pattern EventDataSource_AWS_CLOUD_TRAIL :: EventDataSource
pattern EventDataSource_AWS_CODE_DEPLOY :: EventDataSource
newtype EventSourceOptInStatus
EventSourceOptInStatus' :: Text -> EventSourceOptInStatus
[fromEventSourceOptInStatus] :: EventSourceOptInStatus -> Text
pattern EventSourceOptInStatus_DISABLED :: EventSourceOptInStatus
pattern EventSourceOptInStatus_ENABLED :: EventSourceOptInStatus
newtype InsightFeedbackOption
InsightFeedbackOption' :: Text -> InsightFeedbackOption
[fromInsightFeedbackOption] :: InsightFeedbackOption -> Text
pattern InsightFeedbackOption_ALERT_TOO_SENSITIVE :: InsightFeedbackOption
pattern InsightFeedbackOption_DATA_INCORRECT :: InsightFeedbackOption
pattern InsightFeedbackOption_DATA_NOISY_ANOMALY :: InsightFeedbackOption
pattern InsightFeedbackOption_RECOMMENDATION_USEFUL :: InsightFeedbackOption
pattern InsightFeedbackOption_VALID_COLLECTION :: InsightFeedbackOption
newtype InsightSeverity
InsightSeverity' :: Text -> InsightSeverity
[fromInsightSeverity] :: InsightSeverity -> Text
pattern InsightSeverity_HIGH :: InsightSeverity
pattern InsightSeverity_LOW :: InsightSeverity
pattern InsightSeverity_MEDIUM :: InsightSeverity
newtype InsightStatus
InsightStatus' :: Text -> InsightStatus
[fromInsightStatus] :: InsightStatus -> Text
pattern InsightStatus_CLOSED :: InsightStatus
pattern InsightStatus_ONGOING :: InsightStatus
newtype InsightType
InsightType' :: Text -> InsightType
[fromInsightType] :: InsightType -> Text
pattern InsightType_PROACTIVE :: InsightType
pattern InsightType_REACTIVE :: InsightType
newtype Locale
Locale' :: Text -> Locale
[fromLocale] :: Locale -> Text
pattern Locale_DE_DE :: Locale
pattern Locale_EN_GB :: Locale
pattern Locale_EN_US :: Locale
pattern Locale_ES_ES :: Locale
pattern Locale_FR_FR :: Locale
pattern Locale_IT_IT :: Locale
pattern Locale_JA_JP :: Locale
pattern Locale_KO_KR :: Locale
pattern Locale_PT_BR :: Locale
pattern Locale_ZH_CN :: Locale
pattern Locale_ZH_TW :: Locale
newtype LogAnomalyType
LogAnomalyType' :: Text -> LogAnomalyType
[fromLogAnomalyType] :: LogAnomalyType -> Text
pattern LogAnomalyType_BLOCK_FORMAT :: LogAnomalyType
pattern LogAnomalyType_FORMAT :: LogAnomalyType
pattern LogAnomalyType_HTTP_CODE :: LogAnomalyType
pattern LogAnomalyType_KEYWORD :: LogAnomalyType
pattern LogAnomalyType_KEYWORD_TOKEN :: LogAnomalyType
pattern LogAnomalyType_NEW_FIELD_NAME :: LogAnomalyType
pattern LogAnomalyType_NUMERICAL_NAN :: LogAnomalyType
pattern LogAnomalyType_NUMERICAL_POINT :: LogAnomalyType
newtype NotificationMessageType
NotificationMessageType' :: Text -> NotificationMessageType
[fromNotificationMessageType] :: NotificationMessageType -> Text
pattern NotificationMessageType_CLOSED_INSIGHT :: NotificationMessageType
pattern NotificationMessageType_NEW_ASSOCIATION :: NotificationMessageType
pattern NotificationMessageType_NEW_INSIGHT :: NotificationMessageType
pattern NotificationMessageType_NEW_RECOMMENDATION :: NotificationMessageType
pattern NotificationMessageType_SEVERITY_UPGRADED :: NotificationMessageType
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
newtype OptInStatus
OptInStatus' :: Text -> OptInStatus
[fromOptInStatus] :: OptInStatus -> Text
pattern OptInStatus_DISABLED :: OptInStatus
pattern OptInStatus_ENABLED :: OptInStatus
newtype OrganizationResourceCollectionType
OrganizationResourceCollectionType' :: Text -> OrganizationResourceCollectionType
[fromOrganizationResourceCollectionType] :: OrganizationResourceCollectionType -> Text
pattern OrganizationResourceCollectionType_AWS_ACCOUNT :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_CLOUD_FORMATION :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_SERVICE :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_TAGS :: OrganizationResourceCollectionType
newtype ResourceCollectionType
ResourceCollectionType' :: Text -> ResourceCollectionType
[fromResourceCollectionType] :: ResourceCollectionType -> Text
pattern ResourceCollectionType_AWS_CLOUD_FORMATION :: ResourceCollectionType
pattern ResourceCollectionType_AWS_SERVICE :: ResourceCollectionType
pattern ResourceCollectionType_AWS_TAGS :: ResourceCollectionType
newtype ResourcePermission
ResourcePermission' :: Text -> ResourcePermission
[fromResourcePermission] :: ResourcePermission -> Text
pattern ResourcePermission_FULL_PERMISSION :: ResourcePermission
pattern ResourcePermission_MISSING_PERMISSION :: ResourcePermission
newtype ResourceTypeFilter
ResourceTypeFilter' :: Text -> ResourceTypeFilter
[fromResourceTypeFilter] :: ResourceTypeFilter -> Text
pattern ResourceTypeFilter_CLOUDFRONT_DISTRIBUTION :: ResourceTypeFilter
pattern ResourceTypeFilter_DYNAMODB_TABLE :: ResourceTypeFilter
pattern ResourceTypeFilter_EC2_NAT_GATEWAY :: ResourceTypeFilter
pattern ResourceTypeFilter_ECS_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ECS_SERVICE :: ResourceTypeFilter
pattern ResourceTypeFilter_EKS_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTICACHE_CACHE_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTICSEARCH_DOMAIN :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_BEANSTALK_ENVIRONMENT :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCER_LOAD_BALANCER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP :: ResourceTypeFilter
pattern ResourceTypeFilter_KINESIS_STREAM :: ResourceTypeFilter
pattern ResourceTypeFilter_LAMBDA_FUNCTION :: ResourceTypeFilter
pattern ResourceTypeFilter_LOG_GROUPS :: ResourceTypeFilter
pattern ResourceTypeFilter_OPEN_SEARCH_SERVICE_DOMAIN :: ResourceTypeFilter
pattern ResourceTypeFilter_RDS_DB_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_RDS_DB_INSTANCE :: ResourceTypeFilter
pattern ResourceTypeFilter_REDSHIFT_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ROUTE53_HEALTH_CHECK :: ResourceTypeFilter
pattern ResourceTypeFilter_ROUTE53_HOSTED_ZONE :: ResourceTypeFilter
pattern ResourceTypeFilter_S3_BUCKET :: ResourceTypeFilter
pattern ResourceTypeFilter_SAGEMAKER_ENDPOINT :: ResourceTypeFilter
pattern ResourceTypeFilter_SNS_TOPIC :: ResourceTypeFilter
pattern ResourceTypeFilter_SQS_QUEUE :: ResourceTypeFilter
pattern ResourceTypeFilter_STEP_FUNCTIONS_ACTIVITY :: ResourceTypeFilter
pattern ResourceTypeFilter_STEP_FUNCTIONS_STATE_MACHINE :: ResourceTypeFilter
newtype ServiceName
ServiceName' :: Text -> ServiceName
[fromServiceName] :: ServiceName -> Text
pattern ServiceName_API_GATEWAY :: ServiceName
pattern ServiceName_APPLICATION_ELB :: ServiceName
pattern ServiceName_AUTO_SCALING_GROUP :: ServiceName
pattern ServiceName_CLOUD_FRONT :: ServiceName
pattern ServiceName_DYNAMO_DB :: ServiceName
pattern ServiceName_EC2 :: ServiceName
pattern ServiceName_ECS :: ServiceName
pattern ServiceName_EKS :: ServiceName
pattern ServiceName_ELASTIC_BEANSTALK :: ServiceName
pattern ServiceName_ELASTI_CACHE :: ServiceName
pattern ServiceName_ELB :: ServiceName
pattern ServiceName_ES :: ServiceName
pattern ServiceName_KINESIS :: ServiceName
pattern ServiceName_LAMBDA :: ServiceName
pattern ServiceName_NAT_GATEWAY :: ServiceName
pattern ServiceName_NETWORK_ELB :: ServiceName
pattern ServiceName_RDS :: ServiceName
pattern ServiceName_REDSHIFT :: ServiceName
pattern ServiceName_ROUTE_53 :: ServiceName
pattern ServiceName_S3 :: ServiceName
pattern ServiceName_SAGE_MAKER :: ServiceName
pattern ServiceName_SNS :: ServiceName
pattern ServiceName_SQS :: ServiceName
pattern ServiceName_STEP_FUNCTIONS :: ServiceName
pattern ServiceName_SWF :: ServiceName
newtype UpdateResourceCollectionAction
UpdateResourceCollectionAction' :: Text -> UpdateResourceCollectionAction
[fromUpdateResourceCollectionAction] :: UpdateResourceCollectionAction -> Text
pattern UpdateResourceCollectionAction_ADD :: UpdateResourceCollectionAction
pattern UpdateResourceCollectionAction_REMOVE :: UpdateResourceCollectionAction
-- | Returns the number of open reactive insights, the number of open
-- proactive insights, and the number of metrics analyzed in your Amazon
-- Web Services account. Use these numbers to gauge the health of
-- operations in your Amazon Web Services account.
--
-- See: newAccountHealth smart constructor.
data AccountHealth
AccountHealth' :: Maybe Text -> Maybe AccountInsightHealth -> AccountHealth
-- | The ID of the Amazon Web Services account.
[$sel:accountId:AccountHealth'] :: AccountHealth -> Maybe Text
-- | Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
[$sel:insight:AccountHealth'] :: AccountHealth -> Maybe AccountInsightHealth
-- | Create a value of AccountHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:AccountHealth', accountHealth_accountId -
-- The ID of the Amazon Web Services account.
--
-- $sel:insight:AccountHealth', accountHealth_insight -
-- Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
newAccountHealth :: AccountHealth
-- | The ID of the Amazon Web Services account.
accountHealth_accountId :: Lens' AccountHealth (Maybe Text)
-- | Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
accountHealth_insight :: Lens' AccountHealth (Maybe AccountInsightHealth)
-- | Information about the number of open reactive and proactive insights
-- that can be used to gauge the health of your system.
--
-- See: newAccountInsightHealth smart constructor.
data AccountInsightHealth
AccountInsightHealth' :: Maybe Int -> Maybe Int -> AccountInsightHealth
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
[$sel:openProactiveInsights:AccountInsightHealth'] :: AccountInsightHealth -> Maybe Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
[$sel:openReactiveInsights:AccountInsightHealth'] :: AccountInsightHealth -> Maybe Int
-- | Create a value of AccountInsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:openProactiveInsights:AccountInsightHealth',
-- accountInsightHealth_openProactiveInsights - An integer that
-- specifies the number of open proactive insights in your Amazon Web
-- Services account.
--
-- $sel:openReactiveInsights:AccountInsightHealth',
-- accountInsightHealth_openReactiveInsights - An integer that
-- specifies the number of open reactive insights in your Amazon Web
-- Services account.
newAccountInsightHealth :: AccountInsightHealth
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
accountInsightHealth_openProactiveInsights :: Lens' AccountInsightHealth (Maybe Int)
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
accountInsightHealth_openReactiveInsights :: Lens' AccountInsightHealth (Maybe Int)
-- | Information about your account's integration with Amazon CodeGuru
-- Profiler. This returns whether DevOps Guru is configured to consume
-- recommendations generated from Amazon CodeGuru Profiler.
--
-- See: newAmazonCodeGuruProfilerIntegration smart
-- constructor.
data AmazonCodeGuruProfilerIntegration
AmazonCodeGuruProfilerIntegration' :: Maybe EventSourceOptInStatus -> AmazonCodeGuruProfilerIntegration
-- | The status of the CodeGuru Profiler integration. Specifies if DevOps
-- Guru is enabled to consume recommendations that are generated from
-- Amazon CodeGuru Profiler.
[$sel:status:AmazonCodeGuruProfilerIntegration'] :: AmazonCodeGuruProfilerIntegration -> Maybe EventSourceOptInStatus
-- | Create a value of AmazonCodeGuruProfilerIntegration with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:AmazonCodeGuruProfilerIntegration',
-- amazonCodeGuruProfilerIntegration_status - The status of the
-- CodeGuru Profiler integration. Specifies if DevOps Guru is enabled to
-- consume recommendations that are generated from Amazon CodeGuru
-- Profiler.
newAmazonCodeGuruProfilerIntegration :: AmazonCodeGuruProfilerIntegration
-- | The status of the CodeGuru Profiler integration. Specifies if DevOps
-- Guru is enabled to consume recommendations that are generated from
-- Amazon CodeGuru Profiler.
amazonCodeGuruProfilerIntegration_status :: Lens' AmazonCodeGuruProfilerIntegration (Maybe EventSourceOptInStatus)
-- | An Amazon CloudWatch log group that contains log anomalies and is used
-- to generate an insight.
--
-- See: newAnomalousLogGroup smart constructor.
data AnomalousLogGroup
AnomalousLogGroup' :: Maybe POSIX -> Maybe POSIX -> Maybe [LogAnomalyShowcase] -> Maybe Text -> Maybe Int -> AnomalousLogGroup
-- | The time the anomalous log events stopped.
[$sel:impactEndTime:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe POSIX
-- | The time the anomalous log events began. The impact start time
-- indicates the time of the first log anomaly event that occurs.
[$sel:impactStartTime:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe POSIX
-- | The log anomalies in the log group. Each log anomaly displayed
-- represents a cluster of similar anomalous log events.
[$sel:logAnomalyShowcases:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe [LogAnomalyShowcase]
-- | The name of the CloudWatch log group.
[$sel:logGroupName:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe Text
-- | The number of log lines that were scanned for anomalous log events.
[$sel:numberOfLogLinesScanned:AnomalousLogGroup'] :: AnomalousLogGroup -> Maybe Int
-- | Create a value of AnomalousLogGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:impactEndTime:AnomalousLogGroup',
-- anomalousLogGroup_impactEndTime - The time the anomalous log
-- events stopped.
--
-- $sel:impactStartTime:AnomalousLogGroup',
-- anomalousLogGroup_impactStartTime - The time the anomalous log
-- events began. The impact start time indicates the time of the first
-- log anomaly event that occurs.
--
-- $sel:logAnomalyShowcases:AnomalousLogGroup',
-- anomalousLogGroup_logAnomalyShowcases - The log anomalies in
-- the log group. Each log anomaly displayed represents a cluster of
-- similar anomalous log events.
--
-- $sel:logGroupName:AnomalousLogGroup',
-- anomalousLogGroup_logGroupName - The name of the CloudWatch log
-- group.
--
-- $sel:numberOfLogLinesScanned:AnomalousLogGroup',
-- anomalousLogGroup_numberOfLogLinesScanned - The number of log
-- lines that were scanned for anomalous log events.
newAnomalousLogGroup :: AnomalousLogGroup
-- | The time the anomalous log events stopped.
anomalousLogGroup_impactEndTime :: Lens' AnomalousLogGroup (Maybe UTCTime)
-- | The time the anomalous log events began. The impact start time
-- indicates the time of the first log anomaly event that occurs.
anomalousLogGroup_impactStartTime :: Lens' AnomalousLogGroup (Maybe UTCTime)
-- | The log anomalies in the log group. Each log anomaly displayed
-- represents a cluster of similar anomalous log events.
anomalousLogGroup_logAnomalyShowcases :: Lens' AnomalousLogGroup (Maybe [LogAnomalyShowcase])
-- | The name of the CloudWatch log group.
anomalousLogGroup_logGroupName :: Lens' AnomalousLogGroup (Maybe Text)
-- | The number of log lines that were scanned for anomalous log events.
anomalousLogGroup_numberOfLogLinesScanned :: Lens' AnomalousLogGroup (Maybe Int)
-- | A time range that specifies when DevOps Guru opens and then closes an
-- anomaly. This is different from AnomalyTimeRange, which
-- specifies the time range when DevOps Guru actually observes the
-- anomalous behavior.
--
-- See: newAnomalyReportedTimeRange smart constructor.
data AnomalyReportedTimeRange
AnomalyReportedTimeRange' :: Maybe POSIX -> POSIX -> AnomalyReportedTimeRange
-- | The time when an anomaly is closed.
[$sel:closeTime:AnomalyReportedTimeRange'] :: AnomalyReportedTimeRange -> Maybe POSIX
-- | The time when an anomaly is opened.
[$sel:openTime:AnomalyReportedTimeRange'] :: AnomalyReportedTimeRange -> POSIX
-- | Create a value of AnomalyReportedTimeRange with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:closeTime:AnomalyReportedTimeRange',
-- anomalyReportedTimeRange_closeTime - The time when an anomaly
-- is closed.
--
-- $sel:openTime:AnomalyReportedTimeRange',
-- anomalyReportedTimeRange_openTime - The time when an anomaly is
-- opened.
newAnomalyReportedTimeRange :: UTCTime -> AnomalyReportedTimeRange
-- | The time when an anomaly is closed.
anomalyReportedTimeRange_closeTime :: Lens' AnomalyReportedTimeRange (Maybe UTCTime)
-- | The time when an anomaly is opened.
anomalyReportedTimeRange_openTime :: Lens' AnomalyReportedTimeRange UTCTime
-- | The Amazon Web Services resources in which DevOps Guru detected
-- unusual behavior that resulted in the generation of an anomaly. When
-- DevOps Guru detects multiple related anomalies, it creates and insight
-- with details about the anomalous behavior and suggestions about how to
-- correct the problem.
--
-- See: newAnomalyResource smart constructor.
data AnomalyResource
AnomalyResource' :: Maybe Text -> Maybe Text -> AnomalyResource
-- | The name of the Amazon Web Services resource.
[$sel:name:AnomalyResource'] :: AnomalyResource -> Maybe Text
-- | The type of the Amazon Web Services resource.
[$sel:type':AnomalyResource'] :: AnomalyResource -> Maybe Text
-- | Create a value of AnomalyResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:AnomalyResource', anomalyResource_name - The
-- name of the Amazon Web Services resource.
--
-- $sel:type':AnomalyResource', anomalyResource_type - The
-- type of the Amazon Web Services resource.
newAnomalyResource :: AnomalyResource
-- | The name of the Amazon Web Services resource.
anomalyResource_name :: Lens' AnomalyResource (Maybe Text)
-- | The type of the Amazon Web Services resource.
anomalyResource_type :: Lens' AnomalyResource (Maybe Text)
-- | Details about the source of the anomalous operational data that
-- triggered the anomaly.
--
-- See: newAnomalySourceDetails smart constructor.
data AnomalySourceDetails
AnomalySourceDetails' :: Maybe [CloudWatchMetricsDetail] -> Maybe [PerformanceInsightsMetricsDetail] -> AnomalySourceDetails
-- | An array of CloudWatchMetricsDetail objects that contain
-- information about analyzed CloudWatch metrics that show anomalous
-- behavior.
[$sel:cloudWatchMetrics:AnomalySourceDetails'] :: AnomalySourceDetails -> Maybe [CloudWatchMetricsDetail]
-- | An array of PerformanceInsightsMetricsDetail objects that
-- contain information about analyzed Performance Insights metrics that
-- show anomalous behavior.
[$sel:performanceInsightsMetrics:AnomalySourceDetails'] :: AnomalySourceDetails -> Maybe [PerformanceInsightsMetricsDetail]
-- | Create a value of AnomalySourceDetails with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchMetrics:AnomalySourceDetails',
-- anomalySourceDetails_cloudWatchMetrics - An array of
-- CloudWatchMetricsDetail objects that contain information
-- about analyzed CloudWatch metrics that show anomalous behavior.
--
-- $sel:performanceInsightsMetrics:AnomalySourceDetails',
-- anomalySourceDetails_performanceInsightsMetrics - An array of
-- PerformanceInsightsMetricsDetail objects that contain
-- information about analyzed Performance Insights metrics that show
-- anomalous behavior.
newAnomalySourceDetails :: AnomalySourceDetails
-- | An array of CloudWatchMetricsDetail objects that contain
-- information about analyzed CloudWatch metrics that show anomalous
-- behavior.
anomalySourceDetails_cloudWatchMetrics :: Lens' AnomalySourceDetails (Maybe [CloudWatchMetricsDetail])
-- | An array of PerformanceInsightsMetricsDetail objects that
-- contain information about analyzed Performance Insights metrics that
-- show anomalous behavior.
anomalySourceDetails_performanceInsightsMetrics :: Lens' AnomalySourceDetails (Maybe [PerformanceInsightsMetricsDetail])
-- | Metadata about the detection source that generates proactive
-- anomalies. The anomaly is detected using analysis of the metric data
-- over a period of time
--
-- See: newAnomalySourceMetadata smart constructor.
data AnomalySourceMetadata
AnomalySourceMetadata' :: Maybe Text -> Maybe Text -> Maybe Text -> AnomalySourceMetadata
-- | The source of the anomaly.
[$sel:source:AnomalySourceMetadata'] :: AnomalySourceMetadata -> Maybe Text
-- | The name of the anomaly's resource.
[$sel:sourceResourceName:AnomalySourceMetadata'] :: AnomalySourceMetadata -> Maybe Text
-- | The anomaly's resource type.
[$sel:sourceResourceType:AnomalySourceMetadata'] :: AnomalySourceMetadata -> Maybe Text
-- | Create a value of AnomalySourceMetadata with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:source:AnomalySourceMetadata',
-- anomalySourceMetadata_source - The source of the anomaly.
--
-- $sel:sourceResourceName:AnomalySourceMetadata',
-- anomalySourceMetadata_sourceResourceName - The name of the
-- anomaly's resource.
--
-- $sel:sourceResourceType:AnomalySourceMetadata',
-- anomalySourceMetadata_sourceResourceType - The anomaly's
-- resource type.
newAnomalySourceMetadata :: AnomalySourceMetadata
-- | The source of the anomaly.
anomalySourceMetadata_source :: Lens' AnomalySourceMetadata (Maybe Text)
-- | The name of the anomaly's resource.
anomalySourceMetadata_sourceResourceName :: Lens' AnomalySourceMetadata (Maybe Text)
-- | The anomaly's resource type.
anomalySourceMetadata_sourceResourceType :: Lens' AnomalySourceMetadata (Maybe Text)
-- | A time range that specifies when the observed unusual behavior in an
-- anomaly started and ended. This is different from
-- AnomalyReportedTimeRange, which specifies the time range when
-- DevOps Guru opens and then closes an anomaly.
--
-- See: newAnomalyTimeRange smart constructor.
data AnomalyTimeRange
AnomalyTimeRange' :: Maybe POSIX -> POSIX -> AnomalyTimeRange
-- | The time when the anomalous behavior ended.
[$sel:endTime:AnomalyTimeRange'] :: AnomalyTimeRange -> Maybe POSIX
-- | The time when the anomalous behavior started.
[$sel:startTime:AnomalyTimeRange'] :: AnomalyTimeRange -> POSIX
-- | Create a value of AnomalyTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:AnomalyTimeRange', anomalyTimeRange_endTime
-- - The time when the anomalous behavior ended.
--
-- $sel:startTime:AnomalyTimeRange',
-- anomalyTimeRange_startTime - The time when the anomalous
-- behavior started.
newAnomalyTimeRange :: UTCTime -> AnomalyTimeRange
-- | The time when the anomalous behavior ended.
anomalyTimeRange_endTime :: Lens' AnomalyTimeRange (Maybe UTCTime)
-- | The time when the anomalous behavior started.
anomalyTimeRange_startTime :: Lens' AnomalyTimeRange UTCTime
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
--
-- See: newCloudFormationCollection smart constructor.
data CloudFormationCollection
CloudFormationCollection' :: Maybe [Text] -> CloudFormationCollection
-- | An array of CloudFormation stack names.
[$sel:stackNames:CloudFormationCollection'] :: CloudFormationCollection -> Maybe [Text]
-- | Create a value of CloudFormationCollection with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:CloudFormationCollection',
-- cloudFormationCollection_stackNames - An array of
-- CloudFormation stack names.
newCloudFormationCollection :: CloudFormationCollection
-- | An array of CloudFormation stack names.
cloudFormationCollection_stackNames :: Lens' CloudFormationCollection (Maybe [Text])
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
--
-- See: newCloudFormationCollectionFilter smart
-- constructor.
data CloudFormationCollectionFilter
CloudFormationCollectionFilter' :: Maybe [Text] -> CloudFormationCollectionFilter
-- | An array of CloudFormation stack names.
[$sel:stackNames:CloudFormationCollectionFilter'] :: CloudFormationCollectionFilter -> Maybe [Text]
-- | Create a value of CloudFormationCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:CloudFormationCollectionFilter',
-- cloudFormationCollectionFilter_stackNames - An array of
-- CloudFormation stack names.
newCloudFormationCollectionFilter :: CloudFormationCollectionFilter
-- | An array of CloudFormation stack names.
cloudFormationCollectionFilter_stackNames :: Lens' CloudFormationCollectionFilter (Maybe [Text])
-- | Information about an Amazon Web Services CloudFormation stack used to
-- create a monthly cost estimate for DevOps Guru to analyze Amazon Web
-- Services resources. The maximum number of stacks you can specify for a
-- cost estimate is one. The estimate created is for the cost to analyze
-- the Amazon Web Services resources defined by the stack. For more
-- information, see Stacks in the Amazon Web Services
-- CloudFormation User Guide.
--
-- See:
-- newCloudFormationCostEstimationResourceCollectionFilter smart
-- constructor.
data CloudFormationCostEstimationResourceCollectionFilter
CloudFormationCostEstimationResourceCollectionFilter' :: Maybe (NonEmpty Text) -> CloudFormationCostEstimationResourceCollectionFilter
-- | An array of CloudFormation stack names. Its size is fixed at 1 item.
[$sel:stackNames:CloudFormationCostEstimationResourceCollectionFilter'] :: CloudFormationCostEstimationResourceCollectionFilter -> Maybe (NonEmpty Text)
-- | Create a value of
-- CloudFormationCostEstimationResourceCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:stackNames:CloudFormationCostEstimationResourceCollectionFilter',
-- cloudFormationCostEstimationResourceCollectionFilter_stackNames
-- - An array of CloudFormation stack names. Its size is fixed at 1 item.
newCloudFormationCostEstimationResourceCollectionFilter :: CloudFormationCostEstimationResourceCollectionFilter
-- | An array of CloudFormation stack names. Its size is fixed at 1 item.
cloudFormationCostEstimationResourceCollectionFilter_stackNames :: Lens' CloudFormationCostEstimationResourceCollectionFilter (Maybe (NonEmpty Text))
-- | Information about the health of Amazon Web Services resources in your
-- account that are specified by an Amazon Web Services CloudFormation
-- stack.
--
-- See: newCloudFormationHealth smart constructor.
data CloudFormationHealth
CloudFormationHealth' :: Maybe Integer -> Maybe InsightHealth -> Maybe Text -> CloudFormationHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services CloudFormation stack.
[$sel:analyzedResourceCount:CloudFormationHealth'] :: CloudFormationHealth -> Maybe Integer
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services
-- CloudFormation stack, including the number of open proactive, open
-- reactive insights, and the Mean Time to Recover (MTTR) of closed
-- insights.
[$sel:insight:CloudFormationHealth'] :: CloudFormationHealth -> Maybe InsightHealth
-- | The name of the CloudFormation stack.
[$sel:stackName:CloudFormationHealth'] :: CloudFormationHealth -> Maybe Text
-- | Create a value of CloudFormationHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:CloudFormationHealth',
-- cloudFormationHealth_analyzedResourceCount - Number of
-- resources that DevOps Guru is monitoring in your account that are
-- specified by an Amazon Web Services CloudFormation stack.
--
-- $sel:insight:CloudFormationHealth',
-- cloudFormationHealth_insight - Information about the health of
-- the Amazon Web Services resources in your account that are specified
-- by an Amazon Web Services CloudFormation stack, including the number
-- of open proactive, open reactive insights, and the Mean Time to
-- Recover (MTTR) of closed insights.
--
-- $sel:stackName:CloudFormationHealth',
-- cloudFormationHealth_stackName - The name of the CloudFormation
-- stack.
newCloudFormationHealth :: CloudFormationHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services CloudFormation stack.
cloudFormationHealth_analyzedResourceCount :: Lens' CloudFormationHealth (Maybe Integer)
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services
-- CloudFormation stack, including the number of open proactive, open
-- reactive insights, and the Mean Time to Recover (MTTR) of closed
-- insights.
cloudFormationHealth_insight :: Lens' CloudFormationHealth (Maybe InsightHealth)
-- | The name of the CloudFormation stack.
cloudFormationHealth_stackName :: Lens' CloudFormationHealth (Maybe Text)
-- | Contains information about the analyzed metrics that displayed
-- anomalous behavior.
--
-- See: newCloudWatchMetricsDataSummary smart constructor.
data CloudWatchMetricsDataSummary
CloudWatchMetricsDataSummary' :: Maybe CloudWatchMetricDataStatusCode -> Maybe [TimestampMetricValuePair] -> CloudWatchMetricsDataSummary
-- | This is an enum of the status showing whether the metric value pair
-- list has partial or complete data, or if there was an error.
[$sel:statusCode:CloudWatchMetricsDataSummary'] :: CloudWatchMetricsDataSummary -> Maybe CloudWatchMetricDataStatusCode
-- | This is a list of Amazon CloudWatch metric values at given timestamp.
[$sel:timestampMetricValuePairList:CloudWatchMetricsDataSummary'] :: CloudWatchMetricsDataSummary -> Maybe [TimestampMetricValuePair]
-- | Create a value of CloudWatchMetricsDataSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:statusCode:CloudWatchMetricsDataSummary',
-- cloudWatchMetricsDataSummary_statusCode - This is an enum of
-- the status showing whether the metric value pair list has partial or
-- complete data, or if there was an error.
--
--
-- $sel:timestampMetricValuePairList:CloudWatchMetricsDataSummary',
-- cloudWatchMetricsDataSummary_timestampMetricValuePairList -
-- This is a list of Amazon CloudWatch metric values at given timestamp.
newCloudWatchMetricsDataSummary :: CloudWatchMetricsDataSummary
-- | This is an enum of the status showing whether the metric value pair
-- list has partial or complete data, or if there was an error.
cloudWatchMetricsDataSummary_statusCode :: Lens' CloudWatchMetricsDataSummary (Maybe CloudWatchMetricDataStatusCode)
-- | This is a list of Amazon CloudWatch metric values at given timestamp.
cloudWatchMetricsDataSummary_timestampMetricValuePairList :: Lens' CloudWatchMetricsDataSummary (Maybe [TimestampMetricValuePair])
-- | Information about an Amazon CloudWatch metric.
--
-- See: newCloudWatchMetricsDetail smart constructor.
data CloudWatchMetricsDetail
CloudWatchMetricsDetail' :: Maybe [CloudWatchMetricsDimension] -> Maybe CloudWatchMetricsDataSummary -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe CloudWatchMetricsStat -> Maybe Text -> CloudWatchMetricsDetail
-- | An array of CloudWatch dimensions associated with
[$sel:dimensions:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe [CloudWatchMetricsDimension]
-- | This object returns anomaly metric data.
[$sel:metricDataSummary:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe CloudWatchMetricsDataSummary
-- | The name of the CloudWatch metric.
[$sel:metricName:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Text
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
[$sel:namespace:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Text
-- | The length of time associated with the CloudWatch metric in number of
-- seconds.
[$sel:period:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Int
-- | The type of statistic associated with the CloudWatch metric. For more
-- information, see Statistics in the Amazon CloudWatch User
-- Guide.
[$sel:stat:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe CloudWatchMetricsStat
-- | The unit of measure used for the CloudWatch metric. For example,
-- Bytes, Seconds, Count, and
-- Percent.
[$sel:unit:CloudWatchMetricsDetail'] :: CloudWatchMetricsDetail -> Maybe Text
-- | Create a value of CloudWatchMetricsDetail with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dimensions:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_dimensions - An array of CloudWatch
-- dimensions associated with
--
-- $sel:metricDataSummary:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_metricDataSummary - This object returns
-- anomaly metric data.
--
-- $sel:metricName:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_metricName - The name of the CloudWatch
-- metric.
--
-- $sel:namespace:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_namespace - The namespace of the
-- CloudWatch metric. A namespace is a container for CloudWatch metrics.
--
-- $sel:period:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_period - The length of time associated
-- with the CloudWatch metric in number of seconds.
--
-- $sel:stat:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_stat - The type of statistic associated
-- with the CloudWatch metric. For more information, see
-- Statistics in the Amazon CloudWatch User Guide.
--
-- $sel:unit:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_unit - The unit of measure used for the
-- CloudWatch metric. For example, Bytes, Seconds,
-- Count, and Percent.
newCloudWatchMetricsDetail :: CloudWatchMetricsDetail
-- | An array of CloudWatch dimensions associated with
cloudWatchMetricsDetail_dimensions :: Lens' CloudWatchMetricsDetail (Maybe [CloudWatchMetricsDimension])
-- | This object returns anomaly metric data.
cloudWatchMetricsDetail_metricDataSummary :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsDataSummary)
-- | The name of the CloudWatch metric.
cloudWatchMetricsDetail_metricName :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
cloudWatchMetricsDetail_namespace :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The length of time associated with the CloudWatch metric in number of
-- seconds.
cloudWatchMetricsDetail_period :: Lens' CloudWatchMetricsDetail (Maybe Int)
-- | The type of statistic associated with the CloudWatch metric. For more
-- information, see Statistics in the Amazon CloudWatch User
-- Guide.
cloudWatchMetricsDetail_stat :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsStat)
-- | The unit of measure used for the CloudWatch metric. For example,
-- Bytes, Seconds, Count, and
-- Percent.
cloudWatchMetricsDetail_unit :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The dimension of an Amazon CloudWatch metric that is used when DevOps
-- Guru analyzes the resources in your account for operational problems
-- and anomalous behavior. A dimension is a name/value pair that is part
-- of the identity of a metric. A metric can have up to 10 dimensions.
-- For more information, see Dimensions in the Amazon
-- CloudWatch User Guide.
--
-- See: newCloudWatchMetricsDimension smart constructor.
data CloudWatchMetricsDimension
CloudWatchMetricsDimension' :: Maybe Text -> Maybe Text -> CloudWatchMetricsDimension
-- | The name of the CloudWatch dimension.
[$sel:name:CloudWatchMetricsDimension'] :: CloudWatchMetricsDimension -> Maybe Text
-- | The value of the CloudWatch dimension.
[$sel:value:CloudWatchMetricsDimension'] :: CloudWatchMetricsDimension -> Maybe Text
-- | Create a value of CloudWatchMetricsDimension with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:CloudWatchMetricsDimension',
-- cloudWatchMetricsDimension_name - The name of the CloudWatch
-- dimension.
--
-- $sel:value:CloudWatchMetricsDimension',
-- cloudWatchMetricsDimension_value - The value of the CloudWatch
-- dimension.
newCloudWatchMetricsDimension :: CloudWatchMetricsDimension
-- | The name of the CloudWatch dimension.
cloudWatchMetricsDimension_name :: Lens' CloudWatchMetricsDimension (Maybe Text)
-- | The value of the CloudWatch dimension.
cloudWatchMetricsDimension_value :: Lens' CloudWatchMetricsDimension (Maybe Text)
-- | Information about a filter used to specify which Amazon Web Services
-- resources are analyzed to create a monthly DevOps Guru cost estimate.
-- For more information, see Estimate your Amazon DevOps Guru
-- costs and Amazon DevOps Guru pricing.
--
-- See: newCostEstimationResourceCollectionFilter smart
-- constructor.
data CostEstimationResourceCollectionFilter
CostEstimationResourceCollectionFilter' :: Maybe CloudFormationCostEstimationResourceCollectionFilter -> Maybe [TagCostEstimationResourceCollectionFilter] -> CostEstimationResourceCollectionFilter
-- | An object that specifies the CloudFormation stack that defines the
-- Amazon Web Services resources used to create a monthly estimate for
-- DevOps Guru.
[$sel:cloudFormation:CostEstimationResourceCollectionFilter'] :: CostEstimationResourceCollectionFilter -> Maybe CloudFormationCostEstimationResourceCollectionFilter
-- | The Amazon Web Services tags used to filter the resource collection
-- that is used for a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:CostEstimationResourceCollectionFilter'] :: CostEstimationResourceCollectionFilter -> Maybe [TagCostEstimationResourceCollectionFilter]
-- | Create a value of CostEstimationResourceCollectionFilter with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:CostEstimationResourceCollectionFilter',
-- costEstimationResourceCollectionFilter_cloudFormation - An
-- object that specifies the CloudFormation stack that defines the Amazon
-- Web Services resources used to create a monthly estimate for DevOps
-- Guru.
--
-- $sel:tags:CostEstimationResourceCollectionFilter',
-- costEstimationResourceCollectionFilter_tags - The Amazon Web
-- Services tags used to filter the resource collection that is used for
-- a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newCostEstimationResourceCollectionFilter :: CostEstimationResourceCollectionFilter
-- | An object that specifies the CloudFormation stack that defines the
-- Amazon Web Services resources used to create a monthly estimate for
-- DevOps Guru.
costEstimationResourceCollectionFilter_cloudFormation :: Lens' CostEstimationResourceCollectionFilter (Maybe CloudFormationCostEstimationResourceCollectionFilter)
-- | The Amazon Web Services tags used to filter the resource collection
-- that is used for a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
costEstimationResourceCollectionFilter_tags :: Lens' CostEstimationResourceCollectionFilter (Maybe [TagCostEstimationResourceCollectionFilter])
-- | The time range of a cost estimation.
--
-- See: newCostEstimationTimeRange smart constructor.
data CostEstimationTimeRange
CostEstimationTimeRange' :: Maybe POSIX -> Maybe POSIX -> CostEstimationTimeRange
-- | The end time of the cost estimation.
[$sel:endTime:CostEstimationTimeRange'] :: CostEstimationTimeRange -> Maybe POSIX
-- | The start time of the cost estimation.
[$sel:startTime:CostEstimationTimeRange'] :: CostEstimationTimeRange -> Maybe POSIX
-- | Create a value of CostEstimationTimeRange with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:CostEstimationTimeRange',
-- costEstimationTimeRange_endTime - The end time of the cost
-- estimation.
--
-- $sel:startTime:CostEstimationTimeRange',
-- costEstimationTimeRange_startTime - The start time of the cost
-- estimation.
newCostEstimationTimeRange :: CostEstimationTimeRange
-- | The end time of the cost estimation.
costEstimationTimeRange_endTime :: Lens' CostEstimationTimeRange (Maybe UTCTime)
-- | The start time of the cost estimation.
costEstimationTimeRange_startTime :: Lens' CostEstimationTimeRange (Maybe UTCTime)
-- | A range of time that specifies when anomalous behavior in an anomaly
-- or insight ended.
--
-- See: newEndTimeRange smart constructor.
data EndTimeRange
EndTimeRange' :: Maybe POSIX -> Maybe POSIX -> EndTimeRange
-- | The earliest end time in the time range.
[$sel:fromTime:EndTimeRange'] :: EndTimeRange -> Maybe POSIX
-- | The latest end time in the time range.
[$sel:toTime:EndTimeRange'] :: EndTimeRange -> Maybe POSIX
-- | Create a value of EndTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:EndTimeRange', endTimeRange_fromTime - The
-- earliest end time in the time range.
--
-- $sel:toTime:EndTimeRange', endTimeRange_toTime - The
-- latest end time in the time range.
newEndTimeRange :: EndTimeRange
-- | The earliest end time in the time range.
endTimeRange_fromTime :: Lens' EndTimeRange (Maybe UTCTime)
-- | The latest end time in the time range.
endTimeRange_toTime :: Lens' EndTimeRange (Maybe UTCTime)
-- | An Amazon Web Services resource event. Amazon Web Services resource
-- events and metrics are analyzed by DevOps Guru to find anomalous
-- behavior and provide recommendations to improve your operational
-- solutions.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe EventDataSource -> Maybe EventClass -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe [EventResource] -> Maybe POSIX -> Event
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY,
-- where DevOps Guru analysis found the event.
[$sel:dataSource:Event'] :: Event -> Maybe EventDataSource
-- | The class of the event. The class specifies what the event is related
-- to, such as an infrastructure change, a deployment, or a schema
-- change.
[$sel:eventClass:Event'] :: Event -> Maybe EventClass
-- | The Amazon Web Services source that emitted the event.
[$sel:eventSource:Event'] :: Event -> Maybe Text
-- | The ID of the event.
[$sel:id:Event'] :: Event -> Maybe Text
-- | The name of the event.
[$sel:name:Event'] :: Event -> Maybe Text
[$sel:resourceCollection:Event'] :: Event -> Maybe ResourceCollection
-- | An EventResource object that contains information about the
-- resource that emitted the event.
[$sel:resources:Event'] :: Event -> Maybe [EventResource]
-- | A Timestamp that specifies the time the event occurred.
[$sel:time:Event'] :: Event -> Maybe POSIX
-- | Create a value of Event with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dataSource:Event', event_dataSource - The source,
-- AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps
-- Guru analysis found the event.
--
-- $sel:eventClass:Event', event_eventClass - The class of
-- the event. The class specifies what the event is related to, such as
-- an infrastructure change, a deployment, or a schema change.
--
-- $sel:eventSource:Event', event_eventSource - The Amazon
-- Web Services source that emitted the event.
--
-- $sel:id:Event', event_id - The ID of the event.
--
-- Event, event_name - The name of the event.
--
-- $sel:resourceCollection:Event', event_resourceCollection
-- - Undocumented member.
--
-- $sel:resources:Event', event_resources - An
-- EventResource object that contains information about the
-- resource that emitted the event.
--
-- $sel:time:Event', event_time - A Timestamp that
-- specifies the time the event occurred.
newEvent :: Event
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY,
-- where DevOps Guru analysis found the event.
event_dataSource :: Lens' Event (Maybe EventDataSource)
-- | The class of the event. The class specifies what the event is related
-- to, such as an infrastructure change, a deployment, or a schema
-- change.
event_eventClass :: Lens' Event (Maybe EventClass)
-- | The Amazon Web Services source that emitted the event.
event_eventSource :: Lens' Event (Maybe Text)
-- | The ID of the event.
event_id :: Lens' Event (Maybe Text)
-- | The name of the event.
event_name :: Lens' Event (Maybe Text)
-- | Undocumented member.
event_resourceCollection :: Lens' Event (Maybe ResourceCollection)
-- | An EventResource object that contains information about the
-- resource that emitted the event.
event_resources :: Lens' Event (Maybe [EventResource])
-- | A Timestamp that specifies the time the event occurred.
event_time :: Lens' Event (Maybe UTCTime)
-- | The Amazon Web Services resource that emitted an event. Amazon Web
-- Services resource events and metrics are analyzed by DevOps Guru to
-- find anomalous behavior and provide recommendations to improve your
-- operational solutions.
--
-- See: newEventResource smart constructor.
data EventResource
EventResource' :: Maybe Text -> Maybe Text -> Maybe Text -> EventResource
-- | The Amazon Resource Name (ARN) of the resource that emitted an event.
[$sel:arn:EventResource'] :: EventResource -> Maybe Text
-- | The name of the resource that emitted an event.
[$sel:name:EventResource'] :: EventResource -> Maybe Text
-- | The type of resource that emitted an event.
[$sel:type':EventResource'] :: EventResource -> Maybe Text
-- | Create a value of EventResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:EventResource', eventResource_arn - The Amazon
-- Resource Name (ARN) of the resource that emitted an event.
--
-- $sel:name:EventResource', eventResource_name - The name
-- of the resource that emitted an event.
--
-- $sel:type':EventResource', eventResource_type - The type
-- of resource that emitted an event.
newEventResource :: EventResource
-- | The Amazon Resource Name (ARN) of the resource that emitted an event.
eventResource_arn :: Lens' EventResource (Maybe Text)
-- | The name of the resource that emitted an event.
eventResource_name :: Lens' EventResource (Maybe Text)
-- | The type of resource that emitted an event.
eventResource_type :: Lens' EventResource (Maybe Text)
-- | Information about the integration of DevOps Guru as consumer with
-- another AWS service, such as AWS CodeGuru Profiler via EventBridge.
--
-- See: newEventSourcesConfig smart constructor.
data EventSourcesConfig
EventSourcesConfig' :: Maybe AmazonCodeGuruProfilerIntegration -> EventSourcesConfig
-- | Information about whether DevOps Guru is configured to consume
-- recommendations which are generated from AWS CodeGuru Profiler.
[$sel:amazonCodeGuruProfiler:EventSourcesConfig'] :: EventSourcesConfig -> Maybe AmazonCodeGuruProfilerIntegration
-- | Create a value of EventSourcesConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:amazonCodeGuruProfiler:EventSourcesConfig',
-- eventSourcesConfig_amazonCodeGuruProfiler - Information about
-- whether DevOps Guru is configured to consume recommendations which are
-- generated from AWS CodeGuru Profiler.
newEventSourcesConfig :: EventSourcesConfig
-- | Information about whether DevOps Guru is configured to consume
-- recommendations which are generated from AWS CodeGuru Profiler.
eventSourcesConfig_amazonCodeGuruProfiler :: Lens' EventSourcesConfig (Maybe AmazonCodeGuruProfilerIntegration)
-- | The time range during which an Amazon Web Services event occurred.
-- Amazon Web Services resource events and metrics are analyzed by DevOps
-- Guru to find anomalous behavior and provide recommendations to improve
-- your operational solutions.
--
-- See: newEventTimeRange smart constructor.
data EventTimeRange
EventTimeRange' :: POSIX -> POSIX -> EventTimeRange
-- | The time when the event started.
[$sel:fromTime:EventTimeRange'] :: EventTimeRange -> POSIX
-- | The time when the event ended.
[$sel:toTime:EventTimeRange'] :: EventTimeRange -> POSIX
-- | Create a value of EventTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:EventTimeRange', eventTimeRange_fromTime -
-- The time when the event started.
--
-- $sel:toTime:EventTimeRange', eventTimeRange_toTime - The
-- time when the event ended.
newEventTimeRange :: UTCTime -> UTCTime -> EventTimeRange
-- | The time when the event started.
eventTimeRange_fromTime :: Lens' EventTimeRange UTCTime
-- | The time when the event ended.
eventTimeRange_toTime :: Lens' EventTimeRange UTCTime
-- | Information about insight feedback received from a customer.
--
-- See: newInsightFeedback smart constructor.
data InsightFeedback
InsightFeedback' :: Maybe InsightFeedbackOption -> Maybe Text -> InsightFeedback
-- | The feedback provided by the customer.
[$sel:feedback:InsightFeedback'] :: InsightFeedback -> Maybe InsightFeedbackOption
-- | The insight feedback ID.
[$sel:id:InsightFeedback'] :: InsightFeedback -> Maybe Text
-- | Create a value of InsightFeedback with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:feedback:InsightFeedback', insightFeedback_feedback
-- - The feedback provided by the customer.
--
-- $sel:id:InsightFeedback', insightFeedback_id - The
-- insight feedback ID.
newInsightFeedback :: InsightFeedback
-- | The feedback provided by the customer.
insightFeedback_feedback :: Lens' InsightFeedback (Maybe InsightFeedbackOption)
-- | The insight feedback ID.
insightFeedback_id :: Lens' InsightFeedback (Maybe Text)
-- | Information about the number of open reactive and proactive insights
-- that can be used to gauge the health of your system.
--
-- See: newInsightHealth smart constructor.
data InsightHealth
InsightHealth' :: Maybe Integer -> Maybe Int -> Maybe Int -> InsightHealth
-- | The Meant Time to Recover (MTTR) for the insight.
[$sel:meanTimeToRecoverInMilliseconds:InsightHealth'] :: InsightHealth -> Maybe Integer
-- | The number of open proactive insights.
[$sel:openProactiveInsights:InsightHealth'] :: InsightHealth -> Maybe Int
-- | The number of open reactive insights.
[$sel:openReactiveInsights:InsightHealth'] :: InsightHealth -> Maybe Int
-- | Create a value of InsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:meanTimeToRecoverInMilliseconds:InsightHealth',
-- insightHealth_meanTimeToRecoverInMilliseconds - The Meant Time
-- to Recover (MTTR) for the insight.
--
-- $sel:openProactiveInsights:InsightHealth',
-- insightHealth_openProactiveInsights - The number of open
-- proactive insights.
--
-- $sel:openReactiveInsights:InsightHealth',
-- insightHealth_openReactiveInsights - The number of open
-- reactive insights.
newInsightHealth :: InsightHealth
-- | The Meant Time to Recover (MTTR) for the insight.
insightHealth_meanTimeToRecoverInMilliseconds :: Lens' InsightHealth (Maybe Integer)
-- | The number of open proactive insights.
insightHealth_openProactiveInsights :: Lens' InsightHealth (Maybe Int)
-- | The number of open reactive insights.
insightHealth_openReactiveInsights :: Lens' InsightHealth (Maybe Int)
-- | A time ranged that specifies when the observed behavior in an insight
-- started and ended.
--
-- See: newInsightTimeRange smart constructor.
data InsightTimeRange
InsightTimeRange' :: Maybe POSIX -> POSIX -> InsightTimeRange
-- | The time when the behavior described in an insight ended.
[$sel:endTime:InsightTimeRange'] :: InsightTimeRange -> Maybe POSIX
-- | The time when the behavior described in an insight started.
[$sel:startTime:InsightTimeRange'] :: InsightTimeRange -> POSIX
-- | Create a value of InsightTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:InsightTimeRange', insightTimeRange_endTime
-- - The time when the behavior described in an insight ended.
--
-- $sel:startTime:InsightTimeRange',
-- insightTimeRange_startTime - The time when the behavior
-- described in an insight started.
newInsightTimeRange :: UTCTime -> InsightTimeRange
-- | The time when the behavior described in an insight ended.
insightTimeRange_endTime :: Lens' InsightTimeRange (Maybe UTCTime)
-- | The time when the behavior described in an insight started.
insightTimeRange_startTime :: Lens' InsightTimeRange UTCTime
-- | Filters you can use to specify which events are returned when
-- ListEvents is called.
--
-- See: newListEventsFilters smart constructor.
data ListEventsFilters
ListEventsFilters' :: Maybe EventDataSource -> Maybe EventClass -> Maybe Text -> Maybe EventTimeRange -> Maybe Text -> Maybe ResourceCollection -> ListEventsFilters
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of
-- the events you want returned.
[$sel:dataSource:ListEventsFilters'] :: ListEventsFilters -> Maybe EventDataSource
-- | The class of the events you want to filter for, such as an
-- infrastructure change, a deployment, or a schema change.
[$sel:eventClass:ListEventsFilters'] :: ListEventsFilters -> Maybe EventClass
-- | The Amazon Web Services source that emitted the events you want to
-- filter for.
[$sel:eventSource:ListEventsFilters'] :: ListEventsFilters -> Maybe Text
-- | A time range during which you want the filtered events to have
-- occurred.
[$sel:eventTimeRange:ListEventsFilters'] :: ListEventsFilters -> Maybe EventTimeRange
-- | An ID of an insight that is related to the events you want to filter
-- for.
[$sel:insightId:ListEventsFilters'] :: ListEventsFilters -> Maybe Text
[$sel:resourceCollection:ListEventsFilters'] :: ListEventsFilters -> Maybe ResourceCollection
-- | Create a value of ListEventsFilters with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dataSource:ListEventsFilters',
-- listEventsFilters_dataSource - The source,
-- AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of the events
-- you want returned.
--
-- $sel:eventClass:ListEventsFilters',
-- listEventsFilters_eventClass - The class of the events you want
-- to filter for, such as an infrastructure change, a deployment, or a
-- schema change.
--
-- $sel:eventSource:ListEventsFilters',
-- listEventsFilters_eventSource - The Amazon Web Services source
-- that emitted the events you want to filter for.
--
-- $sel:eventTimeRange:ListEventsFilters',
-- listEventsFilters_eventTimeRange - A time range during which
-- you want the filtered events to have occurred.
--
-- $sel:insightId:ListEventsFilters',
-- listEventsFilters_insightId - An ID of an insight that is
-- related to the events you want to filter for.
--
-- $sel:resourceCollection:ListEventsFilters',
-- listEventsFilters_resourceCollection - Undocumented member.
newListEventsFilters :: ListEventsFilters
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of
-- the events you want returned.
listEventsFilters_dataSource :: Lens' ListEventsFilters (Maybe EventDataSource)
-- | The class of the events you want to filter for, such as an
-- infrastructure change, a deployment, or a schema change.
listEventsFilters_eventClass :: Lens' ListEventsFilters (Maybe EventClass)
-- | The Amazon Web Services source that emitted the events you want to
-- filter for.
listEventsFilters_eventSource :: Lens' ListEventsFilters (Maybe Text)
-- | A time range during which you want the filtered events to have
-- occurred.
listEventsFilters_eventTimeRange :: Lens' ListEventsFilters (Maybe EventTimeRange)
-- | An ID of an insight that is related to the events you want to filter
-- for.
listEventsFilters_insightId :: Lens' ListEventsFilters (Maybe Text)
-- | Undocumented member.
listEventsFilters_resourceCollection :: Lens' ListEventsFilters (Maybe ResourceCollection)
-- | Used to filter for insights that have any status.
--
-- See: newListInsightsAnyStatusFilter smart constructor.
data ListInsightsAnyStatusFilter
ListInsightsAnyStatusFilter' :: InsightType -> StartTimeRange -> ListInsightsAnyStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
[$sel:type':ListInsightsAnyStatusFilter'] :: ListInsightsAnyStatusFilter -> InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights started.
[$sel:startTimeRange:ListInsightsAnyStatusFilter'] :: ListInsightsAnyStatusFilter -> StartTimeRange
-- | Create a value of ListInsightsAnyStatusFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsAnyStatusFilter',
-- listInsightsAnyStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
--
-- $sel:startTimeRange:ListInsightsAnyStatusFilter',
-- listInsightsAnyStatusFilter_startTimeRange - A time range used
-- to specify when the behavior of the filtered insights started.
newListInsightsAnyStatusFilter :: InsightType -> StartTimeRange -> ListInsightsAnyStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsAnyStatusFilter_type :: Lens' ListInsightsAnyStatusFilter InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights started.
listInsightsAnyStatusFilter_startTimeRange :: Lens' ListInsightsAnyStatusFilter StartTimeRange
-- | Used to filter for insights that have the status CLOSED.
--
-- See: newListInsightsClosedStatusFilter smart
-- constructor.
data ListInsightsClosedStatusFilter
ListInsightsClosedStatusFilter' :: InsightType -> EndTimeRange -> ListInsightsClosedStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
[$sel:type':ListInsightsClosedStatusFilter'] :: ListInsightsClosedStatusFilter -> InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights ended.
[$sel:endTimeRange:ListInsightsClosedStatusFilter'] :: ListInsightsClosedStatusFilter -> EndTimeRange
-- | Create a value of ListInsightsClosedStatusFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsClosedStatusFilter',
-- listInsightsClosedStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
--
-- $sel:endTimeRange:ListInsightsClosedStatusFilter',
-- listInsightsClosedStatusFilter_endTimeRange - A time range used
-- to specify when the behavior of the filtered insights ended.
newListInsightsClosedStatusFilter :: InsightType -> EndTimeRange -> ListInsightsClosedStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsClosedStatusFilter_type :: Lens' ListInsightsClosedStatusFilter InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights ended.
listInsightsClosedStatusFilter_endTimeRange :: Lens' ListInsightsClosedStatusFilter EndTimeRange
-- | Used to filter for insights that have the status ONGOING.
--
-- See: newListInsightsOngoingStatusFilter smart
-- constructor.
data ListInsightsOngoingStatusFilter
ListInsightsOngoingStatusFilter' :: InsightType -> ListInsightsOngoingStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
[$sel:type':ListInsightsOngoingStatusFilter'] :: ListInsightsOngoingStatusFilter -> InsightType
-- | Create a value of ListInsightsOngoingStatusFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsOngoingStatusFilter',
-- listInsightsOngoingStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
newListInsightsOngoingStatusFilter :: InsightType -> ListInsightsOngoingStatusFilter
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsOngoingStatusFilter_type :: Lens' ListInsightsOngoingStatusFilter InsightType
-- | A filter used by ListInsights to specify which insights to
-- return.
--
-- See: newListInsightsStatusFilter smart constructor.
data ListInsightsStatusFilter
ListInsightsStatusFilter' :: Maybe ListInsightsAnyStatusFilter -> Maybe ListInsightsClosedStatusFilter -> Maybe ListInsightsOngoingStatusFilter -> ListInsightsStatusFilter
-- | A ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
[$sel:any:ListInsightsStatusFilter'] :: ListInsightsStatusFilter -> Maybe ListInsightsAnyStatusFilter
-- | A ListInsightsClosedStatusFilter that specifies closed
-- insights that are either REACTIVE or PROACTIVE.
[$sel:closed:ListInsightsStatusFilter'] :: ListInsightsStatusFilter -> Maybe ListInsightsClosedStatusFilter
-- | A ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
[$sel:ongoing:ListInsightsStatusFilter'] :: ListInsightsStatusFilter -> Maybe ListInsightsOngoingStatusFilter
-- | Create a value of ListInsightsStatusFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:any:ListInsightsStatusFilter',
-- listInsightsStatusFilter_any - A
-- ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
--
-- $sel:closed:ListInsightsStatusFilter',
-- listInsightsStatusFilter_closed - A
-- ListInsightsClosedStatusFilter that specifies closed insights
-- that are either REACTIVE or PROACTIVE.
--
-- $sel:ongoing:ListInsightsStatusFilter',
-- listInsightsStatusFilter_ongoing - A
-- ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
newListInsightsStatusFilter :: ListInsightsStatusFilter
-- | A ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_any :: Lens' ListInsightsStatusFilter (Maybe ListInsightsAnyStatusFilter)
-- | A ListInsightsClosedStatusFilter that specifies closed
-- insights that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_closed :: Lens' ListInsightsStatusFilter (Maybe ListInsightsClosedStatusFilter)
-- | A ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_ongoing :: Lens' ListInsightsStatusFilter (Maybe ListInsightsOngoingStatusFilter)
-- | Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
--
-- See: newListMonitoredResourcesFilters smart constructor.
data ListMonitoredResourcesFilters
ListMonitoredResourcesFilters' :: ResourcePermission -> [ResourceTypeFilter] -> ListMonitoredResourcesFilters
-- | The permission status of a resource.
[$sel:resourcePermission:ListMonitoredResourcesFilters'] :: ListMonitoredResourcesFilters -> ResourcePermission
-- | The type of resource that you wish to retrieve, such as log groups.
[$sel:resourceTypeFilters:ListMonitoredResourcesFilters'] :: ListMonitoredResourcesFilters -> [ResourceTypeFilter]
-- | Create a value of ListMonitoredResourcesFilters with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourcePermission:ListMonitoredResourcesFilters',
-- listMonitoredResourcesFilters_resourcePermission - The
-- permission status of a resource.
--
-- $sel:resourceTypeFilters:ListMonitoredResourcesFilters',
-- listMonitoredResourcesFilters_resourceTypeFilters - The type of
-- resource that you wish to retrieve, such as log groups.
newListMonitoredResourcesFilters :: ResourcePermission -> ListMonitoredResourcesFilters
-- | The permission status of a resource.
listMonitoredResourcesFilters_resourcePermission :: Lens' ListMonitoredResourcesFilters ResourcePermission
-- | The type of resource that you wish to retrieve, such as log groups.
listMonitoredResourcesFilters_resourceTypeFilters :: Lens' ListMonitoredResourcesFilters [ResourceTypeFilter]
-- | Information about an anomalous log event found within a log group.
--
-- See: newLogAnomalyClass smart constructor.
data LogAnomalyClass
LogAnomalyClass' :: Maybe Text -> Maybe Text -> Maybe LogAnomalyType -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Int -> LogAnomalyClass
-- | The explanation for why the log event is considered an anomaly.
[$sel:explanation:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The token where the anomaly was detected. This may refer to an
-- exception or another location, or it may be blank for log anomalies
-- such as format anomalies.
[$sel:logAnomalyToken:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The type of log anomaly that has been detected.
[$sel:logAnomalyType:LogAnomalyClass'] :: LogAnomalyClass -> Maybe LogAnomalyType
-- | The ID of the log event.
[$sel:logEventId:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The time of the first occurrence of the anomalous log event.
[$sel:logEventTimestamp:LogAnomalyClass'] :: LogAnomalyClass -> Maybe POSIX
-- | The name of the Amazon CloudWatch log stream that the anomalous log
-- event belongs to. A log stream is a sequence of log events that share
-- the same source.
[$sel:logStreamName:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Text
-- | The number of log lines where this anomalous log event occurs.
[$sel:numberOfLogLinesOccurrences:LogAnomalyClass'] :: LogAnomalyClass -> Maybe Int
-- | Create a value of LogAnomalyClass with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:explanation:LogAnomalyClass',
-- logAnomalyClass_explanation - The explanation for why the log
-- event is considered an anomaly.
--
-- $sel:logAnomalyToken:LogAnomalyClass',
-- logAnomalyClass_logAnomalyToken - The token where the anomaly
-- was detected. This may refer to an exception or another location, or
-- it may be blank for log anomalies such as format anomalies.
--
-- $sel:logAnomalyType:LogAnomalyClass',
-- logAnomalyClass_logAnomalyType - The type of log anomaly that
-- has been detected.
--
-- $sel:logEventId:LogAnomalyClass',
-- logAnomalyClass_logEventId - The ID of the log event.
--
-- $sel:logEventTimestamp:LogAnomalyClass',
-- logAnomalyClass_logEventTimestamp - The time of the first
-- occurrence of the anomalous log event.
--
-- $sel:logStreamName:LogAnomalyClass',
-- logAnomalyClass_logStreamName - The name of the Amazon
-- CloudWatch log stream that the anomalous log event belongs to. A log
-- stream is a sequence of log events that share the same source.
--
-- $sel:numberOfLogLinesOccurrences:LogAnomalyClass',
-- logAnomalyClass_numberOfLogLinesOccurrences - The number of log
-- lines where this anomalous log event occurs.
newLogAnomalyClass :: LogAnomalyClass
-- | The explanation for why the log event is considered an anomaly.
logAnomalyClass_explanation :: Lens' LogAnomalyClass (Maybe Text)
-- | The token where the anomaly was detected. This may refer to an
-- exception or another location, or it may be blank for log anomalies
-- such as format anomalies.
logAnomalyClass_logAnomalyToken :: Lens' LogAnomalyClass (Maybe Text)
-- | The type of log anomaly that has been detected.
logAnomalyClass_logAnomalyType :: Lens' LogAnomalyClass (Maybe LogAnomalyType)
-- | The ID of the log event.
logAnomalyClass_logEventId :: Lens' LogAnomalyClass (Maybe Text)
-- | The time of the first occurrence of the anomalous log event.
logAnomalyClass_logEventTimestamp :: Lens' LogAnomalyClass (Maybe UTCTime)
-- | The name of the Amazon CloudWatch log stream that the anomalous log
-- event belongs to. A log stream is a sequence of log events that share
-- the same source.
logAnomalyClass_logStreamName :: Lens' LogAnomalyClass (Maybe Text)
-- | The number of log lines where this anomalous log event occurs.
logAnomalyClass_numberOfLogLinesOccurrences :: Lens' LogAnomalyClass (Maybe Int)
-- | A cluster of similar anomalous log events found within a log group.
--
-- See: newLogAnomalyShowcase smart constructor.
data LogAnomalyShowcase
LogAnomalyShowcase' :: Maybe [LogAnomalyClass] -> LogAnomalyShowcase
-- | A list of anomalous log events that may be related.
[$sel:logAnomalyClasses:LogAnomalyShowcase'] :: LogAnomalyShowcase -> Maybe [LogAnomalyClass]
-- | Create a value of LogAnomalyShowcase with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logAnomalyClasses:LogAnomalyShowcase',
-- logAnomalyShowcase_logAnomalyClasses - A list of anomalous log
-- events that may be related.
newLogAnomalyShowcase :: LogAnomalyShowcase
-- | A list of anomalous log events that may be related.
logAnomalyShowcase_logAnomalyClasses :: Lens' LogAnomalyShowcase (Maybe [LogAnomalyClass])
-- | Information about the integration of DevOps Guru with CloudWatch log
-- groups for log anomaly detection.
--
-- See: newLogsAnomalyDetectionIntegration smart
-- constructor.
data LogsAnomalyDetectionIntegration
LogsAnomalyDetectionIntegration' :: Maybe OptInStatus -> LogsAnomalyDetectionIntegration
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
[$sel:optInStatus:LogsAnomalyDetectionIntegration'] :: LogsAnomalyDetectionIntegration -> Maybe OptInStatus
-- | Create a value of LogsAnomalyDetectionIntegration with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:LogsAnomalyDetectionIntegration',
-- logsAnomalyDetectionIntegration_optInStatus - Specifies if
-- DevOps Guru is configured to perform log anomaly detection on
-- CloudWatch log groups.
newLogsAnomalyDetectionIntegration :: LogsAnomalyDetectionIntegration
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
logsAnomalyDetectionIntegration_optInStatus :: Lens' LogsAnomalyDetectionIntegration (Maybe OptInStatus)
-- | Information about the integration of DevOps Guru with CloudWatch log
-- groups for log anomaly detection. You can use this to update the
-- configuration.
--
-- See: newLogsAnomalyDetectionIntegrationConfig smart
-- constructor.
data LogsAnomalyDetectionIntegrationConfig
LogsAnomalyDetectionIntegrationConfig' :: Maybe OptInStatus -> LogsAnomalyDetectionIntegrationConfig
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
[$sel:optInStatus:LogsAnomalyDetectionIntegrationConfig'] :: LogsAnomalyDetectionIntegrationConfig -> Maybe OptInStatus
-- | Create a value of LogsAnomalyDetectionIntegrationConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:LogsAnomalyDetectionIntegrationConfig',
-- logsAnomalyDetectionIntegrationConfig_optInStatus - Specifies
-- if DevOps Guru is configured to perform log anomaly detection on
-- CloudWatch log groups.
newLogsAnomalyDetectionIntegrationConfig :: LogsAnomalyDetectionIntegrationConfig
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
logsAnomalyDetectionIntegrationConfig_optInStatus :: Lens' LogsAnomalyDetectionIntegrationConfig (Maybe OptInStatus)
-- | Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
--
-- See: newMonitoredResourceIdentifier smart constructor.
data MonitoredResourceIdentifier
MonitoredResourceIdentifier' :: Maybe POSIX -> Maybe Text -> Maybe ResourceCollection -> Maybe ResourcePermission -> Maybe Text -> MonitoredResourceIdentifier
-- | The time at which DevOps Guru last updated this resource.
[$sel:lastUpdated:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe POSIX
-- | The name of the resource being monitored.
[$sel:monitoredResourceName:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe Text
[$sel:resourceCollection:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe ResourceCollection
-- | The permission status of a resource.
[$sel:resourcePermission:MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe ResourcePermission
-- | The type of resource being monitored.
[$sel:type':MonitoredResourceIdentifier'] :: MonitoredResourceIdentifier -> Maybe Text
-- | Create a value of MonitoredResourceIdentifier with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastUpdated:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_lastUpdated - The time at which
-- DevOps Guru last updated this resource.
--
-- $sel:monitoredResourceName:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_monitoredResourceName - The name of
-- the resource being monitored.
--
-- $sel:resourceCollection:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_resourceCollection - Undocumented
-- member.
--
-- $sel:resourcePermission:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_resourcePermission - The permission
-- status of a resource.
--
-- $sel:type':MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_type - The type of resource being
-- monitored.
newMonitoredResourceIdentifier :: MonitoredResourceIdentifier
-- | The time at which DevOps Guru last updated this resource.
monitoredResourceIdentifier_lastUpdated :: Lens' MonitoredResourceIdentifier (Maybe UTCTime)
-- | The name of the resource being monitored.
monitoredResourceIdentifier_monitoredResourceName :: Lens' MonitoredResourceIdentifier (Maybe Text)
-- | Undocumented member.
monitoredResourceIdentifier_resourceCollection :: Lens' MonitoredResourceIdentifier (Maybe ResourceCollection)
-- | The permission status of a resource.
monitoredResourceIdentifier_resourcePermission :: Lens' MonitoredResourceIdentifier (Maybe ResourcePermission)
-- | The type of resource being monitored.
monitoredResourceIdentifier_type :: Lens' MonitoredResourceIdentifier (Maybe Text)
-- | Information about a notification channel. A notification channel is
-- used to notify you when DevOps Guru creates an insight. The one
-- supported notification channel is Amazon Simple Notification Service
-- (Amazon SNS).
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
--
-- See: newNotificationChannel smart constructor.
data NotificationChannel
NotificationChannel' :: Maybe NotificationChannelConfig -> Maybe Text -> NotificationChannel
-- | A NotificationChannelConfig object that contains information
-- about configured notification channels.
[$sel:config:NotificationChannel'] :: NotificationChannel -> Maybe NotificationChannelConfig
-- | The ID of a notification channel.
[$sel:id:NotificationChannel'] :: NotificationChannel -> Maybe Text
-- | Create a value of NotificationChannel with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:config:NotificationChannel',
-- notificationChannel_config - A
-- NotificationChannelConfig object that contains information
-- about configured notification channels.
--
-- $sel:id:NotificationChannel', notificationChannel_id -
-- The ID of a notification channel.
newNotificationChannel :: NotificationChannel
-- | A NotificationChannelConfig object that contains information
-- about configured notification channels.
notificationChannel_config :: Lens' NotificationChannel (Maybe NotificationChannelConfig)
-- | The ID of a notification channel.
notificationChannel_id :: Lens' NotificationChannel (Maybe Text)
-- | Information about notification channels you have configured with
-- DevOps Guru. The one supported notification channel is Amazon Simple
-- Notification Service (Amazon SNS).
--
-- See: newNotificationChannelConfig smart constructor.
data NotificationChannelConfig
NotificationChannelConfig' :: Maybe NotificationFilterConfig -> SnsChannelConfig -> NotificationChannelConfig
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. If you do not provide filter configurations, the
-- default configurations are to receive notifications for all message
-- types of High or Medium severity.
[$sel:filters:NotificationChannelConfig'] :: NotificationChannelConfig -> Maybe NotificationFilterConfig
-- | Information about a notification channel configured in DevOps Guru to
-- send notifications when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
[$sel:sns:NotificationChannelConfig'] :: NotificationChannelConfig -> SnsChannelConfig
-- | Create a value of NotificationChannelConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filters:NotificationChannelConfig',
-- notificationChannelConfig_filters - The filter configurations
-- for the Amazon SNS notification topic you use with DevOps Guru. If you
-- do not provide filter configurations, the default configurations are
-- to receive notifications for all message types of High or
-- Medium severity.
--
-- $sel:sns:NotificationChannelConfig',
-- notificationChannelConfig_sns - Information about a
-- notification channel configured in DevOps Guru to send notifications
-- when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
newNotificationChannelConfig :: SnsChannelConfig -> NotificationChannelConfig
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. If you do not provide filter configurations, the
-- default configurations are to receive notifications for all message
-- types of High or Medium severity.
notificationChannelConfig_filters :: Lens' NotificationChannelConfig (Maybe NotificationFilterConfig)
-- | Information about a notification channel configured in DevOps Guru to
-- send notifications when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
notificationChannelConfig_sns :: Lens' NotificationChannelConfig SnsChannelConfig
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. You can choose to specify which events or
-- message types to receive notifications for. You can also choose to
-- specify which severity levels to receive notifications for.
--
-- See: newNotificationFilterConfig smart constructor.
data NotificationFilterConfig
NotificationFilterConfig' :: Maybe [NotificationMessageType] -> Maybe [InsightSeverity] -> NotificationFilterConfig
-- | The events that you want to receive notifications for. For example,
-- you can choose to receive notifications only when the severity level
-- is upgraded or a new insight is created.
[$sel:messageTypes:NotificationFilterConfig'] :: NotificationFilterConfig -> Maybe [NotificationMessageType]
-- | The severity levels that you want to receive notifications for. For
-- example, you can choose to receive notifications only for insights
-- with HIGH and MEDIUM severity levels. For more
-- information, see Understanding insight severities.
[$sel:severities:NotificationFilterConfig'] :: NotificationFilterConfig -> Maybe [InsightSeverity]
-- | Create a value of NotificationFilterConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:messageTypes:NotificationFilterConfig',
-- notificationFilterConfig_messageTypes - The events that you
-- want to receive notifications for. For example, you can choose to
-- receive notifications only when the severity level is upgraded or a
-- new insight is created.
--
-- $sel:severities:NotificationFilterConfig',
-- notificationFilterConfig_severities - The severity levels that
-- you want to receive notifications for. For example, you can choose to
-- receive notifications only for insights with HIGH and
-- MEDIUM severity levels. For more information, see
-- Understanding insight severities.
newNotificationFilterConfig :: NotificationFilterConfig
-- | The events that you want to receive notifications for. For example,
-- you can choose to receive notifications only when the severity level
-- is upgraded or a new insight is created.
notificationFilterConfig_messageTypes :: Lens' NotificationFilterConfig (Maybe [NotificationMessageType])
-- | The severity levels that you want to receive notifications for. For
-- example, you can choose to receive notifications only for insights
-- with HIGH and MEDIUM severity levels. For more
-- information, see Understanding insight severities.
notificationFilterConfig_severities :: Lens' NotificationFilterConfig (Maybe [InsightSeverity])
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
--
-- See: newOpsCenterIntegration smart constructor.
data OpsCenterIntegration
OpsCenterIntegration' :: Maybe OptInStatus -> OpsCenterIntegration
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
[$sel:optInStatus:OpsCenterIntegration'] :: OpsCenterIntegration -> Maybe OptInStatus
-- | Create a value of OpsCenterIntegration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:OpsCenterIntegration',
-- opsCenterIntegration_optInStatus - Specifies if DevOps Guru is
-- enabled to create an Amazon Web Services Systems Manager OpsItem for
-- each created insight.
newOpsCenterIntegration :: OpsCenterIntegration
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
opsCenterIntegration_optInStatus :: Lens' OpsCenterIntegration (Maybe OptInStatus)
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight. You can use this to update the configuration.
--
-- See: newOpsCenterIntegrationConfig smart constructor.
data OpsCenterIntegrationConfig
OpsCenterIntegrationConfig' :: Maybe OptInStatus -> OpsCenterIntegrationConfig
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
[$sel:optInStatus:OpsCenterIntegrationConfig'] :: OpsCenterIntegrationConfig -> Maybe OptInStatus
-- | Create a value of OpsCenterIntegrationConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:OpsCenterIntegrationConfig',
-- opsCenterIntegrationConfig_optInStatus - Specifies if DevOps
-- Guru is enabled to create an Amazon Web Services Systems Manager
-- OpsItem for each created insight.
newOpsCenterIntegrationConfig :: OpsCenterIntegrationConfig
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
opsCenterIntegrationConfig_optInStatus :: Lens' OpsCenterIntegrationConfig (Maybe OptInStatus)
-- | A logical grouping of Performance Insights metrics for a related
-- subject area. For example, the db.sql dimension group
-- consists of the following dimensions: db.sql.id,
-- db.sql.db_id, db.sql.statement, and
-- db.sql.tokenized_id.
--
-- Each response element returns a maximum of 500 bytes. For larger
-- elements, such as SQL statements, only the first 500 bytes are
-- returned.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricDimensionGroup smart
-- constructor.
data PerformanceInsightsMetricDimensionGroup
PerformanceInsightsMetricDimensionGroup' :: Maybe [Text] -> Maybe Text -> Maybe Natural -> PerformanceInsightsMetricDimensionGroup
-- | A list of specific dimensions from a dimension group. If this
-- parameter is not present, then it signifies that all of the dimensions
-- in the group were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
[$sel:dimensions:PerformanceInsightsMetricDimensionGroup'] :: PerformanceInsightsMetricDimensionGroup -> Maybe [Text]
-- | The name of the dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
[$sel:group':PerformanceInsightsMetricDimensionGroup'] :: PerformanceInsightsMetricDimensionGroup -> Maybe Text
-- | The maximum number of items to fetch for this dimension group.
[$sel:limit:PerformanceInsightsMetricDimensionGroup'] :: PerformanceInsightsMetricDimensionGroup -> Maybe Natural
-- | Create a value of PerformanceInsightsMetricDimensionGroup with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dimensions:PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_dimensions - A list of
-- specific dimensions from a dimension group. If this parameter is not
-- present, then it signifies that all of the dimensions in the group
-- were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
--
-- $sel:group':PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_group - The name of the
-- dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
--
-- $sel:limit:PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_limit - The maximum
-- number of items to fetch for this dimension group.
newPerformanceInsightsMetricDimensionGroup :: PerformanceInsightsMetricDimensionGroup
-- | A list of specific dimensions from a dimension group. If this
-- parameter is not present, then it signifies that all of the dimensions
-- in the group were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
performanceInsightsMetricDimensionGroup_dimensions :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe [Text])
-- | The name of the dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
performanceInsightsMetricDimensionGroup_group :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe Text)
-- | The maximum number of items to fetch for this dimension group.
performanceInsightsMetricDimensionGroup_limit :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe Natural)
-- | A single query to be processed. Use these parameters to query the
-- Performance Insights GetResourceMetrics API to retrieve the
-- metrics for an anomaly. For more information, see
-- GetResourceMetrics in the Amazon RDS
-- Performance Insights API Reference.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricQuery smart
-- constructor.
data PerformanceInsightsMetricQuery
PerformanceInsightsMetricQuery' :: Maybe (HashMap Text Text) -> Maybe PerformanceInsightsMetricDimensionGroup -> Maybe Text -> PerformanceInsightsMetricQuery
-- | One or more filters to apply to a Performance Insights
-- GetResourceMetrics API query. Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
[$sel:filter':PerformanceInsightsMetricQuery'] :: PerformanceInsightsMetricQuery -> Maybe (HashMap Text Text)
-- | The specification for how to aggregate the data points from a
-- Performance Insights GetResourceMetrics API query. The
-- Performance Insights query returns all of the dimensions within that
-- group, unless you provide the names of specific dimensions within that
-- group. You can also request that Performance Insights return a limited
-- number of values for a dimension.
[$sel:groupBy:PerformanceInsightsMetricQuery'] :: PerformanceInsightsMetricQuery -> Maybe PerformanceInsightsMetricDimensionGroup
-- | The name of the meteric used used when querying an Performance
-- Insights GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
[$sel:metric:PerformanceInsightsMetricQuery'] :: PerformanceInsightsMetricQuery -> Maybe Text
-- | Create a value of PerformanceInsightsMetricQuery with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_filter - One or more filters to
-- apply to a Performance Insights GetResourceMetrics API query.
-- Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
--
-- $sel:groupBy:PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_groupBy - The specification for
-- how to aggregate the data points from a Performance Insights
-- GetResourceMetrics API query. The Performance Insights query
-- returns all of the dimensions within that group, unless you provide
-- the names of specific dimensions within that group. You can also
-- request that Performance Insights return a limited number of values
-- for a dimension.
--
-- $sel:metric:PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_metric - The name of the meteric
-- used used when querying an Performance Insights
-- GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
newPerformanceInsightsMetricQuery :: PerformanceInsightsMetricQuery
-- | One or more filters to apply to a Performance Insights
-- GetResourceMetrics API query. Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
performanceInsightsMetricQuery_filter :: Lens' PerformanceInsightsMetricQuery (Maybe (HashMap Text Text))
-- | The specification for how to aggregate the data points from a
-- Performance Insights GetResourceMetrics API query. The
-- Performance Insights query returns all of the dimensions within that
-- group, unless you provide the names of specific dimensions within that
-- group. You can also request that Performance Insights return a limited
-- number of values for a dimension.
performanceInsightsMetricQuery_groupBy :: Lens' PerformanceInsightsMetricQuery (Maybe PerformanceInsightsMetricDimensionGroup)
-- | The name of the meteric used used when querying an Performance
-- Insights GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
performanceInsightsMetricQuery_metric :: Lens' PerformanceInsightsMetricQuery (Maybe Text)
-- | Details about Performance Insights metrics.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricsDetail smart
-- constructor.
data PerformanceInsightsMetricsDetail
PerformanceInsightsMetricsDetail' :: Maybe Text -> Maybe PerformanceInsightsMetricQuery -> Maybe [PerformanceInsightsReferenceData] -> Maybe [PerformanceInsightsStat] -> Maybe [PerformanceInsightsStat] -> Maybe Text -> PerformanceInsightsMetricsDetail
-- | The name used for a specific Performance Insights metric.
[$sel:metricDisplayName:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe Text
-- | A single query to be processed for the metric. For more information,
-- see PerformanceInsightsMetricQuery .
[$sel:metricQuery:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe PerformanceInsightsMetricQuery
-- | For more information, see
-- PerformanceInsightsReferenceData .
[$sel:referenceData:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe [PerformanceInsightsReferenceData]
-- | The metric statistics during the anomalous period detected by DevOps
-- Guru;
[$sel:statsAtAnomaly:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe [PerformanceInsightsStat]
-- | Typical metric statistics that are not considered anomalous. When
-- DevOps Guru analyzes metrics, it compares them to
-- StatsAtBaseline to help determine if they are anomalous.
[$sel:statsAtBaseline:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe [PerformanceInsightsStat]
-- | The unit of measure for a metric. For example, a session or a process.
[$sel:unit:PerformanceInsightsMetricsDetail'] :: PerformanceInsightsMetricsDetail -> Maybe Text
-- | Create a value of PerformanceInsightsMetricsDetail with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricDisplayName:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_metricDisplayName - The name
-- used for a specific Performance Insights metric.
--
-- $sel:metricQuery:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_metricQuery - A single query
-- to be processed for the metric. For more information, see
-- PerformanceInsightsMetricQuery .
--
-- $sel:referenceData:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_referenceData - For more
-- information, see PerformanceInsightsReferenceData
-- .
--
-- $sel:statsAtAnomaly:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_statsAtAnomaly - The metric
-- statistics during the anomalous period detected by DevOps Guru;
--
-- $sel:statsAtBaseline:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_statsAtBaseline - Typical
-- metric statistics that are not considered anomalous. When DevOps Guru
-- analyzes metrics, it compares them to StatsAtBaseline to help
-- determine if they are anomalous.
--
-- $sel:unit:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_unit - The unit of measure for
-- a metric. For example, a session or a process.
newPerformanceInsightsMetricsDetail :: PerformanceInsightsMetricsDetail
-- | The name used for a specific Performance Insights metric.
performanceInsightsMetricsDetail_metricDisplayName :: Lens' PerformanceInsightsMetricsDetail (Maybe Text)
-- | A single query to be processed for the metric. For more information,
-- see PerformanceInsightsMetricQuery .
performanceInsightsMetricsDetail_metricQuery :: Lens' PerformanceInsightsMetricsDetail (Maybe PerformanceInsightsMetricQuery)
-- | For more information, see
-- PerformanceInsightsReferenceData .
performanceInsightsMetricsDetail_referenceData :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsReferenceData])
-- | The metric statistics during the anomalous period detected by DevOps
-- Guru;
performanceInsightsMetricsDetail_statsAtAnomaly :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsStat])
-- | Typical metric statistics that are not considered anomalous. When
-- DevOps Guru analyzes metrics, it compares them to
-- StatsAtBaseline to help determine if they are anomalous.
performanceInsightsMetricsDetail_statsAtBaseline :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsStat])
-- | The unit of measure for a metric. For example, a session or a process.
performanceInsightsMetricsDetail_unit :: Lens' PerformanceInsightsMetricsDetail (Maybe Text)
-- | Reference scalar values and other metrics that DevOps Guru displays on
-- a graph in its console along with the actual metrics it analyzed.
-- Compare these reference values to your actual metrics to help you
-- understand anomalous behavior that DevOps Guru detected.
--
-- See: newPerformanceInsightsReferenceComparisonValues
-- smart constructor.
data PerformanceInsightsReferenceComparisonValues
PerformanceInsightsReferenceComparisonValues' :: Maybe PerformanceInsightsReferenceMetric -> Maybe PerformanceInsightsReferenceScalar -> PerformanceInsightsReferenceComparisonValues
-- | A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
[$sel:referenceMetric:PerformanceInsightsReferenceComparisonValues'] :: PerformanceInsightsReferenceComparisonValues -> Maybe PerformanceInsightsReferenceMetric
-- | A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
[$sel:referenceScalar:PerformanceInsightsReferenceComparisonValues'] :: PerformanceInsightsReferenceComparisonValues -> Maybe PerformanceInsightsReferenceScalar
-- | Create a value of PerformanceInsightsReferenceComparisonValues
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:referenceMetric:PerformanceInsightsReferenceComparisonValues',
-- performanceInsightsReferenceComparisonValues_referenceMetric -
-- A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
--
--
-- $sel:referenceScalar:PerformanceInsightsReferenceComparisonValues',
-- performanceInsightsReferenceComparisonValues_referenceScalar -
-- A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
newPerformanceInsightsReferenceComparisonValues :: PerformanceInsightsReferenceComparisonValues
-- | A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
performanceInsightsReferenceComparisonValues_referenceMetric :: Lens' PerformanceInsightsReferenceComparisonValues (Maybe PerformanceInsightsReferenceMetric)
-- | A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
performanceInsightsReferenceComparisonValues_referenceScalar :: Lens' PerformanceInsightsReferenceComparisonValues (Maybe PerformanceInsightsReferenceScalar)
-- | Reference data used to evaluate Performance Insights to determine if
-- its performance is anomalous or not.
--
-- See: newPerformanceInsightsReferenceData smart
-- constructor.
data PerformanceInsightsReferenceData
PerformanceInsightsReferenceData' :: Maybe PerformanceInsightsReferenceComparisonValues -> Maybe Text -> PerformanceInsightsReferenceData
-- | The specific reference values used to evaluate the Performance
-- Insights. For more information, see
-- PerformanceInsightsReferenceComparisonValues .
[$sel:comparisonValues:PerformanceInsightsReferenceData'] :: PerformanceInsightsReferenceData -> Maybe PerformanceInsightsReferenceComparisonValues
-- | The name of the reference data.
[$sel:name:PerformanceInsightsReferenceData'] :: PerformanceInsightsReferenceData -> Maybe Text
-- | Create a value of PerformanceInsightsReferenceData with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comparisonValues:PerformanceInsightsReferenceData',
-- performanceInsightsReferenceData_comparisonValues - The
-- specific reference values used to evaluate the Performance Insights.
-- For more information, see
-- PerformanceInsightsReferenceComparisonValues .
--
-- $sel:name:PerformanceInsightsReferenceData',
-- performanceInsightsReferenceData_name - The name of the
-- reference data.
newPerformanceInsightsReferenceData :: PerformanceInsightsReferenceData
-- | The specific reference values used to evaluate the Performance
-- Insights. For more information, see
-- PerformanceInsightsReferenceComparisonValues .
performanceInsightsReferenceData_comparisonValues :: Lens' PerformanceInsightsReferenceData (Maybe PerformanceInsightsReferenceComparisonValues)
-- | The name of the reference data.
performanceInsightsReferenceData_name :: Lens' PerformanceInsightsReferenceData (Maybe Text)
-- | Information about a reference metric used to evaluate Performance
-- Insights.
--
-- See: newPerformanceInsightsReferenceMetric smart
-- constructor.
data PerformanceInsightsReferenceMetric
PerformanceInsightsReferenceMetric' :: Maybe PerformanceInsightsMetricQuery -> PerformanceInsightsReferenceMetric
-- | A query to be processed on the metric.
[$sel:metricQuery:PerformanceInsightsReferenceMetric'] :: PerformanceInsightsReferenceMetric -> Maybe PerformanceInsightsMetricQuery
-- | Create a value of PerformanceInsightsReferenceMetric with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricQuery:PerformanceInsightsReferenceMetric',
-- performanceInsightsReferenceMetric_metricQuery - A query to be
-- processed on the metric.
newPerformanceInsightsReferenceMetric :: PerformanceInsightsReferenceMetric
-- | A query to be processed on the metric.
performanceInsightsReferenceMetric_metricQuery :: Lens' PerformanceInsightsReferenceMetric (Maybe PerformanceInsightsMetricQuery)
-- | A reference value to compare Performance Insights metrics against to
-- determine if the metrics demonstrate anomalous behavior.
--
-- See: newPerformanceInsightsReferenceScalar smart
-- constructor.
data PerformanceInsightsReferenceScalar
PerformanceInsightsReferenceScalar' :: Maybe Double -> PerformanceInsightsReferenceScalar
-- | The reference value.
[$sel:value:PerformanceInsightsReferenceScalar'] :: PerformanceInsightsReferenceScalar -> Maybe Double
-- | Create a value of PerformanceInsightsReferenceScalar with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:value:PerformanceInsightsReferenceScalar',
-- performanceInsightsReferenceScalar_value - The reference value.
newPerformanceInsightsReferenceScalar :: PerformanceInsightsReferenceScalar
-- | The reference value.
performanceInsightsReferenceScalar_value :: Lens' PerformanceInsightsReferenceScalar (Maybe Double)
-- | A statistic in a Performance Insights collection.
--
-- See: newPerformanceInsightsStat smart constructor.
data PerformanceInsightsStat
PerformanceInsightsStat' :: Maybe Text -> Maybe Double -> PerformanceInsightsStat
-- | The statistic type.
[$sel:type':PerformanceInsightsStat'] :: PerformanceInsightsStat -> Maybe Text
-- | The value of the statistic.
[$sel:value:PerformanceInsightsStat'] :: PerformanceInsightsStat -> Maybe Double
-- | Create a value of PerformanceInsightsStat with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':PerformanceInsightsStat',
-- performanceInsightsStat_type - The statistic type.
--
-- $sel:value:PerformanceInsightsStat',
-- performanceInsightsStat_value - The value of the statistic.
newPerformanceInsightsStat :: PerformanceInsightsStat
-- | The statistic type.
performanceInsightsStat_type :: Lens' PerformanceInsightsStat (Maybe Text)
-- | The value of the statistic.
performanceInsightsStat_value :: Lens' PerformanceInsightsStat (Maybe Double)
-- | The time range during which anomalous behavior in a proactive anomaly
-- or an insight is expected to occur.
--
-- See: newPredictionTimeRange smart constructor.
data PredictionTimeRange
PredictionTimeRange' :: Maybe POSIX -> POSIX -> PredictionTimeRange
-- | The time when the behavior in a proactive insight is expected to end.
[$sel:endTime:PredictionTimeRange'] :: PredictionTimeRange -> Maybe POSIX
-- | The time range during which a metric limit is expected to be exceeded.
-- This applies to proactive insights only.
[$sel:startTime:PredictionTimeRange'] :: PredictionTimeRange -> POSIX
-- | Create a value of PredictionTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:PredictionTimeRange',
-- predictionTimeRange_endTime - The time when the behavior in a
-- proactive insight is expected to end.
--
-- $sel:startTime:PredictionTimeRange',
-- predictionTimeRange_startTime - The time range during which a
-- metric limit is expected to be exceeded. This applies to proactive
-- insights only.
newPredictionTimeRange :: UTCTime -> PredictionTimeRange
-- | The time when the behavior in a proactive insight is expected to end.
predictionTimeRange_endTime :: Lens' PredictionTimeRange (Maybe UTCTime)
-- | The time range during which a metric limit is expected to be exceeded.
-- This applies to proactive insights only.
predictionTimeRange_startTime :: Lens' PredictionTimeRange UTCTime
-- | Information about an anomaly. This object is returned by
-- ListAnomalies.
--
-- See: newProactiveAnomaly smart constructor.
data ProactiveAnomaly
ProactiveAnomaly' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalySourceMetadata -> Maybe AnomalyStatus -> Maybe POSIX -> ProactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalyReportedTimeRange
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
[$sel:anomalyResources:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe Text
-- | The ID of a proactive anomaly.
[$sel:id:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe Text
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
[$sel:limit:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe Double
[$sel:predictionTimeRange:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalySourceDetails
-- | The metadata for the anomaly.
[$sel:sourceMetadata:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalySourceMetadata
-- | The status of a proactive anomaly.
[$sel:status:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe AnomalyStatus
-- | The time of the anomaly's most recent update.
[$sel:updateTime:ProactiveAnomaly'] :: ProactiveAnomaly -> Maybe POSIX
-- | Create a value of ProactiveAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ProactiveAnomaly',
-- proactiveAnomaly_anomalyResources - Information about a
-- resource in which DevOps Guru detected anomalous behavior.
--
-- $sel:anomalyTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ProactiveAnomaly',
-- proactiveAnomaly_associatedInsightId - The ID of the insight
-- that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:id:ProactiveAnomaly', proactiveAnomaly_id - The ID
-- of a proactive anomaly.
--
-- $sel:limit:ProactiveAnomaly', proactiveAnomaly_limit - A
-- threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
--
-- $sel:predictionTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_predictionTimeRange - Undocumented member.
--
-- $sel:resourceCollection:ProactiveAnomaly',
-- proactiveAnomaly_resourceCollection - Undocumented member.
--
-- $sel:severity:ProactiveAnomaly',
-- proactiveAnomaly_severity - The severity of the anomaly. The
-- severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ProactiveAnomaly',
-- proactiveAnomaly_sourceDetails - Details about the source of
-- the analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:sourceMetadata:ProactiveAnomaly',
-- proactiveAnomaly_sourceMetadata - The metadata for the anomaly.
--
-- $sel:status:ProactiveAnomaly', proactiveAnomaly_status -
-- The status of a proactive anomaly.
--
-- $sel:updateTime:ProactiveAnomaly',
-- proactiveAnomaly_updateTime - The time of the anomaly's most
-- recent update.
newProactiveAnomaly :: ProactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
proactiveAnomaly_anomalyReportedTimeRange :: Lens' ProactiveAnomaly (Maybe AnomalyReportedTimeRange)
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
proactiveAnomaly_anomalyResources :: Lens' ProactiveAnomaly (Maybe [AnomalyResource])
-- | Undocumented member.
proactiveAnomaly_anomalyTimeRange :: Lens' ProactiveAnomaly (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
proactiveAnomaly_associatedInsightId :: Lens' ProactiveAnomaly (Maybe Text)
-- | The ID of a proactive anomaly.
proactiveAnomaly_id :: Lens' ProactiveAnomaly (Maybe Text)
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
proactiveAnomaly_limit :: Lens' ProactiveAnomaly (Maybe Double)
-- | Undocumented member.
proactiveAnomaly_predictionTimeRange :: Lens' ProactiveAnomaly (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveAnomaly_resourceCollection :: Lens' ProactiveAnomaly (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
proactiveAnomaly_severity :: Lens' ProactiveAnomaly (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
proactiveAnomaly_sourceDetails :: Lens' ProactiveAnomaly (Maybe AnomalySourceDetails)
-- | The metadata for the anomaly.
proactiveAnomaly_sourceMetadata :: Lens' ProactiveAnomaly (Maybe AnomalySourceMetadata)
-- | The status of a proactive anomaly.
proactiveAnomaly_status :: Lens' ProactiveAnomaly (Maybe AnomalyStatus)
-- | The time of the anomaly's most recent update.
proactiveAnomaly_updateTime :: Lens' ProactiveAnomaly (Maybe UTCTime)
-- | Details about a proactive anomaly. This object is returned by
-- DescribeAnomaly.
--
-- See: newProactiveAnomalySummary smart constructor.
data ProactiveAnomalySummary
ProactiveAnomalySummary' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalySourceMetadata -> Maybe AnomalyStatus -> Maybe POSIX -> ProactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalyReportedTimeRange
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
[$sel:anomalyResources:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe Text
-- | The ID of the anomaly.
[$sel:id:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe Text
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
[$sel:limit:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe Double
[$sel:predictionTimeRange:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalySourceDetails
-- | The metadata of the source which detects proactive anomalies.
[$sel:sourceMetadata:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalySourceMetadata
-- | The status of the anomaly.
[$sel:status:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe AnomalyStatus
-- | The time of the anomaly's most recent update.
[$sel:updateTime:ProactiveAnomalySummary'] :: ProactiveAnomalySummary -> Maybe POSIX
-- | Create a value of ProactiveAnomalySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyResources - Information about a
-- resource in which DevOps Guru detected anomalous behavior.
--
-- $sel:anomalyTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ProactiveAnomalySummary',
-- proactiveAnomalySummary_associatedInsightId - The ID of the
-- insight that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:id:ProactiveAnomalySummary',
-- proactiveAnomalySummary_id - The ID of the anomaly.
--
-- $sel:limit:ProactiveAnomalySummary',
-- proactiveAnomalySummary_limit - A threshold that was exceeded
-- by behavior in analyzed resources. Exceeding this threshold is related
-- to the anomalous behavior that generated this anomaly.
--
-- $sel:predictionTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_predictionTimeRange - Undocumented
-- member.
--
-- $sel:resourceCollection:ProactiveAnomalySummary',
-- proactiveAnomalySummary_resourceCollection - Undocumented
-- member.
--
-- $sel:severity:ProactiveAnomalySummary',
-- proactiveAnomalySummary_severity - The severity of the anomaly.
-- The severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ProactiveAnomalySummary',
-- proactiveAnomalySummary_sourceDetails - Details about the
-- source of the analyzed operational data that triggered the anomaly.
-- The one supported source is Amazon CloudWatch metrics.
--
-- $sel:sourceMetadata:ProactiveAnomalySummary',
-- proactiveAnomalySummary_sourceMetadata - The metadata of the
-- source which detects proactive anomalies.
--
-- $sel:status:ProactiveAnomalySummary',
-- proactiveAnomalySummary_status - The status of the anomaly.
--
-- $sel:updateTime:ProactiveAnomalySummary',
-- proactiveAnomalySummary_updateTime - The time of the anomaly's
-- most recent update.
newProactiveAnomalySummary :: ProactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
proactiveAnomalySummary_anomalyReportedTimeRange :: Lens' ProactiveAnomalySummary (Maybe AnomalyReportedTimeRange)
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
proactiveAnomalySummary_anomalyResources :: Lens' ProactiveAnomalySummary (Maybe [AnomalyResource])
-- | Undocumented member.
proactiveAnomalySummary_anomalyTimeRange :: Lens' ProactiveAnomalySummary (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
proactiveAnomalySummary_associatedInsightId :: Lens' ProactiveAnomalySummary (Maybe Text)
-- | The ID of the anomaly.
proactiveAnomalySummary_id :: Lens' ProactiveAnomalySummary (Maybe Text)
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
proactiveAnomalySummary_limit :: Lens' ProactiveAnomalySummary (Maybe Double)
-- | Undocumented member.
proactiveAnomalySummary_predictionTimeRange :: Lens' ProactiveAnomalySummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveAnomalySummary_resourceCollection :: Lens' ProactiveAnomalySummary (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
proactiveAnomalySummary_severity :: Lens' ProactiveAnomalySummary (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
proactiveAnomalySummary_sourceDetails :: Lens' ProactiveAnomalySummary (Maybe AnomalySourceDetails)
-- | The metadata of the source which detects proactive anomalies.
proactiveAnomalySummary_sourceMetadata :: Lens' ProactiveAnomalySummary (Maybe AnomalySourceMetadata)
-- | The status of the anomaly.
proactiveAnomalySummary_status :: Lens' ProactiveAnomalySummary (Maybe AnomalyStatus)
-- | The time of the anomaly's most recent update.
proactiveAnomalySummary_updateTime :: Lens' ProactiveAnomalySummary (Maybe UTCTime)
-- | Details about a proactive insight. This object is returned by
-- ListInsights.
--
-- See: newProactiveInsight smart constructor.
data ProactiveInsight
ProactiveInsight' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe InsightSeverity -> Maybe Text -> Maybe InsightStatus -> ProactiveInsight
-- | Describes the proactive insight.
[$sel:description:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
-- | The ID of the proactive insight.
[$sel:id:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
[$sel:insightTimeRange:ProactiveInsight'] :: ProactiveInsight -> Maybe InsightTimeRange
-- | The name of the proactive insight.
[$sel:name:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
[$sel:predictionTimeRange:ProactiveInsight'] :: ProactiveInsight -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveInsight'] :: ProactiveInsight -> Maybe ResourceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ProactiveInsight'] :: ProactiveInsight -> Maybe InsightSeverity
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
[$sel:ssmOpsItemId:ProactiveInsight'] :: ProactiveInsight -> Maybe Text
-- | The status of the proactive insight.
[$sel:status:ProactiveInsight'] :: ProactiveInsight -> Maybe InsightStatus
-- | Create a value of ProactiveInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:ProactiveInsight',
-- proactiveInsight_description - Describes the proactive insight.
--
-- $sel:id:ProactiveInsight', proactiveInsight_id - The ID
-- of the proactive insight.
--
-- $sel:insightTimeRange:ProactiveInsight',
-- proactiveInsight_insightTimeRange - Undocumented member.
--
-- $sel:name:ProactiveInsight', proactiveInsight_name - The
-- name of the proactive insight.
--
-- $sel:predictionTimeRange:ProactiveInsight',
-- proactiveInsight_predictionTimeRange - Undocumented member.
--
-- $sel:resourceCollection:ProactiveInsight',
-- proactiveInsight_resourceCollection - Undocumented member.
--
-- $sel:severity:ProactiveInsight',
-- proactiveInsight_severity - The severity of the insight. For
-- more information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
--
-- $sel:ssmOpsItemId:ProactiveInsight',
-- proactiveInsight_ssmOpsItemId - The ID of the Amazon Web
-- Services System Manager OpsItem created for this insight. You must
-- enable the creation of OpstItems insights before they are created for
-- each insight.
--
-- $sel:status:ProactiveInsight', proactiveInsight_status -
-- The status of the proactive insight.
newProactiveInsight :: ProactiveInsight
-- | Describes the proactive insight.
proactiveInsight_description :: Lens' ProactiveInsight (Maybe Text)
-- | The ID of the proactive insight.
proactiveInsight_id :: Lens' ProactiveInsight (Maybe Text)
-- | Undocumented member.
proactiveInsight_insightTimeRange :: Lens' ProactiveInsight (Maybe InsightTimeRange)
-- | The name of the proactive insight.
proactiveInsight_name :: Lens' ProactiveInsight (Maybe Text)
-- | Undocumented member.
proactiveInsight_predictionTimeRange :: Lens' ProactiveInsight (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveInsight_resourceCollection :: Lens' ProactiveInsight (Maybe ResourceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
proactiveInsight_severity :: Lens' ProactiveInsight (Maybe InsightSeverity)
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
proactiveInsight_ssmOpsItemId :: Lens' ProactiveInsight (Maybe Text)
-- | The status of the proactive insight.
proactiveInsight_status :: Lens' ProactiveInsight (Maybe InsightStatus)
-- | Details about a proactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newProactiveInsightSummary smart constructor.
data ProactiveInsightSummary
ProactiveInsightSummary' :: Maybe [Text] -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ProactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
[$sel:associatedResourceArns:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe [Text]
-- | The ID of the proactive insight.
[$sel:id:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe Text
[$sel:insightTimeRange:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe InsightTimeRange
-- | The name of the proactive insight.
[$sel:name:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe Text
[$sel:predictionTimeRange:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe ResourceCollection
-- | A collection of the names of Amazon Web Services services.
[$sel:serviceCollection:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe ServiceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe InsightSeverity
-- | The status of the proactive insight.
[$sel:status:ProactiveInsightSummary'] :: ProactiveInsightSummary -> Maybe InsightStatus
-- | Create a value of ProactiveInsightSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:associatedResourceArns:ProactiveInsightSummary',
-- proactiveInsightSummary_associatedResourceArns - The Amazon
-- Resource Names (ARNs) of the Amazon Web Services resources that
-- generated this insight.
--
-- $sel:id:ProactiveInsightSummary',
-- proactiveInsightSummary_id - The ID of the proactive insight.
--
-- $sel:insightTimeRange:ProactiveInsightSummary',
-- proactiveInsightSummary_insightTimeRange - Undocumented member.
--
-- $sel:name:ProactiveInsightSummary',
-- proactiveInsightSummary_name - The name of the proactive
-- insight.
--
-- $sel:predictionTimeRange:ProactiveInsightSummary',
-- proactiveInsightSummary_predictionTimeRange - Undocumented
-- member.
--
-- $sel:resourceCollection:ProactiveInsightSummary',
-- proactiveInsightSummary_resourceCollection - Undocumented
-- member.
--
-- $sel:serviceCollection:ProactiveInsightSummary',
-- proactiveInsightSummary_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severity:ProactiveInsightSummary',
-- proactiveInsightSummary_severity - The severity of the insight.
-- For more information, see Understanding insight severities in
-- the Amazon DevOps Guru User Guide.
--
-- $sel:status:ProactiveInsightSummary',
-- proactiveInsightSummary_status - The status of the proactive
-- insight.
newProactiveInsightSummary :: ProactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
proactiveInsightSummary_associatedResourceArns :: Lens' ProactiveInsightSummary (Maybe [Text])
-- | The ID of the proactive insight.
proactiveInsightSummary_id :: Lens' ProactiveInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveInsightSummary_insightTimeRange :: Lens' ProactiveInsightSummary (Maybe InsightTimeRange)
-- | The name of the proactive insight.
proactiveInsightSummary_name :: Lens' ProactiveInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveInsightSummary_predictionTimeRange :: Lens' ProactiveInsightSummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveInsightSummary_resourceCollection :: Lens' ProactiveInsightSummary (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
proactiveInsightSummary_serviceCollection :: Lens' ProactiveInsightSummary (Maybe ServiceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
proactiveInsightSummary_severity :: Lens' ProactiveInsightSummary (Maybe InsightSeverity)
-- | The status of the proactive insight.
proactiveInsightSummary_status :: Lens' ProactiveInsightSummary (Maybe InsightStatus)
-- | Details about a proactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newProactiveOrganizationInsightSummary smart
-- constructor.
data ProactiveOrganizationInsightSummary
ProactiveOrganizationInsightSummary' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ProactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
[$sel:accountId:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the insight summary.
[$sel:id:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
[$sel:insightTimeRange:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe InsightTimeRange
-- | The name of the insight summary.
[$sel:name:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the organizational unit.
[$sel:organizationalUnitId:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe Text
[$sel:predictionTimeRange:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe PredictionTimeRange
[$sel:resourceCollection:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe ResourceCollection
[$sel:serviceCollection:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe ServiceCollection
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
[$sel:severity:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe InsightSeverity
-- | An array of status values used to search for insights.
[$sel:status:ProactiveOrganizationInsightSummary'] :: ProactiveOrganizationInsightSummary -> Maybe InsightStatus
-- | Create a value of ProactiveOrganizationInsightSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_accountId - The ID of the
-- Amazon Web Services account.
--
-- $sel:id:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_id - The ID of the insight
-- summary.
--
-- $sel:insightTimeRange:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_insightTimeRange -
-- Undocumented member.
--
-- $sel:name:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_name - The name of the
-- insight summary.
--
-- $sel:organizationalUnitId:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_organizationalUnitId - The
-- ID of the organizational unit.
--
-- $sel:predictionTimeRange:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_predictionTimeRange -
-- Undocumented member.
--
-- $sel:resourceCollection:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_serviceCollection -
-- Undocumented member.
--
-- $sel:severity:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_severity - An array of
-- severity values used to search for insights. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:status:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_status - An array of status
-- values used to search for insights.
newProactiveOrganizationInsightSummary :: ProactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
proactiveOrganizationInsightSummary_accountId :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the insight summary.
proactiveOrganizationInsightSummary_id :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveOrganizationInsightSummary_insightTimeRange :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightTimeRange)
-- | The name of the insight summary.
proactiveOrganizationInsightSummary_name :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the organizational unit.
proactiveOrganizationInsightSummary_organizationalUnitId :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveOrganizationInsightSummary_predictionTimeRange :: Lens' ProactiveOrganizationInsightSummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveOrganizationInsightSummary_resourceCollection :: Lens' ProactiveOrganizationInsightSummary (Maybe ResourceCollection)
-- | Undocumented member.
proactiveOrganizationInsightSummary_serviceCollection :: Lens' ProactiveOrganizationInsightSummary (Maybe ServiceCollection)
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
proactiveOrganizationInsightSummary_severity :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightSeverity)
-- | An array of status values used to search for insights.
proactiveOrganizationInsightSummary_status :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightStatus)
-- | Details about a reactive anomaly. This object is returned by
-- ListAnomalies.
--
-- See: newReactiveAnomaly smart constructor.
data ReactiveAnomaly
ReactiveAnomaly' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalyStatus -> Maybe AnomalyType -> ReactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyReportedTimeRange
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
[$sel:anomalyResources:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
[$sel:causalAnomalyId:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | A description of the reactive anomaly.
[$sel:description:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | The ID of the reactive anomaly.
[$sel:id:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
-- | The name of the reactive anomaly.
[$sel:name:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe Text
[$sel:resourceCollection:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalySourceDetails
-- | The status of the anomaly.
[$sel:status:ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyStatus
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
[$sel:type':ReactiveAnomaly'] :: ReactiveAnomaly -> Maybe AnomalyType
-- | Create a value of ReactiveAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ReactiveAnomaly',
-- reactiveAnomaly_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ReactiveAnomaly',
-- reactiveAnomaly_anomalyResources - The Amazon Web Services
-- resources in which anomalous behavior was detected by DevOps Guru.
--
-- $sel:anomalyTimeRange:ReactiveAnomaly',
-- reactiveAnomaly_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ReactiveAnomaly',
-- reactiveAnomaly_associatedInsightId - The ID of the insight
-- that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:causalAnomalyId:ReactiveAnomaly',
-- reactiveAnomaly_causalAnomalyId - The ID of the causal anomaly
-- that is associated with this reactive anomaly. The ID of a `CAUSAL`
-- anomaly is always `NULL`.
--
-- $sel:description:ReactiveAnomaly',
-- reactiveAnomaly_description - A description of the reactive
-- anomaly.
--
-- $sel:id:ReactiveAnomaly', reactiveAnomaly_id - The ID of
-- the reactive anomaly.
--
-- ReactiveAnomaly, reactiveAnomaly_name - The name of the
-- reactive anomaly.
--
-- $sel:resourceCollection:ReactiveAnomaly',
-- reactiveAnomaly_resourceCollection - Undocumented member.
--
-- $sel:severity:ReactiveAnomaly', reactiveAnomaly_severity
-- - The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
--
-- $sel:sourceDetails:ReactiveAnomaly',
-- reactiveAnomaly_sourceDetails - Details about the source of the
-- analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:status:ReactiveAnomaly', reactiveAnomaly_status -
-- The status of the anomaly.
--
-- ReactiveAnomaly, reactiveAnomaly_type - The type of the
-- reactive anomaly. It can be one of the following types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
newReactiveAnomaly :: ReactiveAnomaly
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
reactiveAnomaly_anomalyReportedTimeRange :: Lens' ReactiveAnomaly (Maybe AnomalyReportedTimeRange)
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
reactiveAnomaly_anomalyResources :: Lens' ReactiveAnomaly (Maybe [AnomalyResource])
-- | Undocumented member.
reactiveAnomaly_anomalyTimeRange :: Lens' ReactiveAnomaly (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
reactiveAnomaly_associatedInsightId :: Lens' ReactiveAnomaly (Maybe Text)
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
reactiveAnomaly_causalAnomalyId :: Lens' ReactiveAnomaly (Maybe Text)
-- | A description of the reactive anomaly.
reactiveAnomaly_description :: Lens' ReactiveAnomaly (Maybe Text)
-- | The ID of the reactive anomaly.
reactiveAnomaly_id :: Lens' ReactiveAnomaly (Maybe Text)
-- | The name of the reactive anomaly.
reactiveAnomaly_name :: Lens' ReactiveAnomaly (Maybe Text)
-- | Undocumented member.
reactiveAnomaly_resourceCollection :: Lens' ReactiveAnomaly (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
reactiveAnomaly_severity :: Lens' ReactiveAnomaly (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
reactiveAnomaly_sourceDetails :: Lens' ReactiveAnomaly (Maybe AnomalySourceDetails)
-- | The status of the anomaly.
reactiveAnomaly_status :: Lens' ReactiveAnomaly (Maybe AnomalyStatus)
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
reactiveAnomaly_type :: Lens' ReactiveAnomaly (Maybe AnomalyType)
-- | Details about a reactive anomaly. This object is returned by
-- DescribeAnomaly.
--
-- See: newReactiveAnomalySummary smart constructor.
data ReactiveAnomalySummary
ReactiveAnomalySummary' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalyStatus -> Maybe AnomalyType -> ReactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
[$sel:anomalyReportedTimeRange:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyReportedTimeRange
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
[$sel:anomalyResources:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe [AnomalyResource]
[$sel:anomalyTimeRange:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyTimeRange
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
[$sel:associatedInsightId:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
[$sel:causalAnomalyId:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | A description of the reactive anomaly.
[$sel:description:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | The ID of the reactive anomaly.
[$sel:id:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
-- | The name of the reactive anomaly.
[$sel:name:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe Text
[$sel:resourceCollection:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe ResourceCollection
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
[$sel:severity:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalySeverity
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalySourceDetails
-- | The status of the reactive anomaly.
[$sel:status:ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyStatus
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
[$sel:type':ReactiveAnomalySummary'] :: ReactiveAnomalySummary -> Maybe AnomalyType
-- | Create a value of ReactiveAnomalySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyResources - The Amazon Web
-- Services resources in which anomalous behavior was detected by DevOps
-- Guru.
--
-- $sel:anomalyTimeRange:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ReactiveAnomalySummary',
-- reactiveAnomalySummary_associatedInsightId - The ID of the
-- insight that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:causalAnomalyId:ReactiveAnomalySummary',
-- reactiveAnomalySummary_causalAnomalyId - The ID of the causal
-- anomaly that is associated with this reactive anomaly. The ID of a
-- `CAUSAL` anomaly is always `NULL`.
--
-- $sel:description:ReactiveAnomalySummary',
-- reactiveAnomalySummary_description - A description of the
-- reactive anomaly.
--
-- $sel:id:ReactiveAnomalySummary',
-- reactiveAnomalySummary_id - The ID of the reactive anomaly.
--
-- ReactiveAnomalySummary, reactiveAnomalySummary_name -
-- The name of the reactive anomaly.
--
-- $sel:resourceCollection:ReactiveAnomalySummary',
-- reactiveAnomalySummary_resourceCollection - Undocumented
-- member.
--
-- $sel:severity:ReactiveAnomalySummary',
-- reactiveAnomalySummary_severity - The severity of the anomaly.
-- The severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ReactiveAnomalySummary',
-- reactiveAnomalySummary_sourceDetails - Details about the source
-- of the analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:status:ReactiveAnomalySummary',
-- reactiveAnomalySummary_status - The status of the reactive
-- anomaly.
--
-- ReactiveAnomalySummary, reactiveAnomalySummary_type -
-- The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
newReactiveAnomalySummary :: ReactiveAnomalySummary
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
reactiveAnomalySummary_anomalyReportedTimeRange :: Lens' ReactiveAnomalySummary (Maybe AnomalyReportedTimeRange)
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
reactiveAnomalySummary_anomalyResources :: Lens' ReactiveAnomalySummary (Maybe [AnomalyResource])
-- | Undocumented member.
reactiveAnomalySummary_anomalyTimeRange :: Lens' ReactiveAnomalySummary (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
reactiveAnomalySummary_associatedInsightId :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
reactiveAnomalySummary_causalAnomalyId :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | A description of the reactive anomaly.
reactiveAnomalySummary_description :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The ID of the reactive anomaly.
reactiveAnomalySummary_id :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The name of the reactive anomaly.
reactiveAnomalySummary_name :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | Undocumented member.
reactiveAnomalySummary_resourceCollection :: Lens' ReactiveAnomalySummary (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
reactiveAnomalySummary_severity :: Lens' ReactiveAnomalySummary (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
reactiveAnomalySummary_sourceDetails :: Lens' ReactiveAnomalySummary (Maybe AnomalySourceDetails)
-- | The status of the reactive anomaly.
reactiveAnomalySummary_status :: Lens' ReactiveAnomalySummary (Maybe AnomalyStatus)
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
reactiveAnomalySummary_type :: Lens' ReactiveAnomalySummary (Maybe AnomalyType)
-- | Information about a reactive insight. This object is returned by
-- ListInsights.
--
-- See: newReactiveInsight smart constructor.
data ReactiveInsight
ReactiveInsight' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe ResourceCollection -> Maybe InsightSeverity -> Maybe Text -> Maybe InsightStatus -> ReactiveInsight
-- | Describes the reactive insight.
[$sel:description:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
-- | The ID of a reactive insight.
[$sel:id:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
[$sel:insightTimeRange:ReactiveInsight'] :: ReactiveInsight -> Maybe InsightTimeRange
-- | The name of a reactive insight.
[$sel:name:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
[$sel:resourceCollection:ReactiveInsight'] :: ReactiveInsight -> Maybe ResourceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ReactiveInsight'] :: ReactiveInsight -> Maybe InsightSeverity
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
[$sel:ssmOpsItemId:ReactiveInsight'] :: ReactiveInsight -> Maybe Text
-- | The status of a reactive insight.
[$sel:status:ReactiveInsight'] :: ReactiveInsight -> Maybe InsightStatus
-- | Create a value of ReactiveInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:ReactiveInsight',
-- reactiveInsight_description - Describes the reactive insight.
--
-- $sel:id:ReactiveInsight', reactiveInsight_id - The ID of
-- a reactive insight.
--
-- $sel:insightTimeRange:ReactiveInsight',
-- reactiveInsight_insightTimeRange - Undocumented member.
--
-- $sel:name:ReactiveInsight', reactiveInsight_name - The
-- name of a reactive insight.
--
-- $sel:resourceCollection:ReactiveInsight',
-- reactiveInsight_resourceCollection - Undocumented member.
--
-- $sel:severity:ReactiveInsight', reactiveInsight_severity
-- - The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:ssmOpsItemId:ReactiveInsight',
-- reactiveInsight_ssmOpsItemId - The ID of the Amazon Web
-- Services System Manager OpsItem created for this insight. You must
-- enable the creation of OpstItems insights before they are created for
-- each insight.
--
-- $sel:status:ReactiveInsight', reactiveInsight_status -
-- The status of a reactive insight.
newReactiveInsight :: ReactiveInsight
-- | Describes the reactive insight.
reactiveInsight_description :: Lens' ReactiveInsight (Maybe Text)
-- | The ID of a reactive insight.
reactiveInsight_id :: Lens' ReactiveInsight (Maybe Text)
-- | Undocumented member.
reactiveInsight_insightTimeRange :: Lens' ReactiveInsight (Maybe InsightTimeRange)
-- | The name of a reactive insight.
reactiveInsight_name :: Lens' ReactiveInsight (Maybe Text)
-- | Undocumented member.
reactiveInsight_resourceCollection :: Lens' ReactiveInsight (Maybe ResourceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
reactiveInsight_severity :: Lens' ReactiveInsight (Maybe InsightSeverity)
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
reactiveInsight_ssmOpsItemId :: Lens' ReactiveInsight (Maybe Text)
-- | The status of a reactive insight.
reactiveInsight_status :: Lens' ReactiveInsight (Maybe InsightStatus)
-- | Information about a reactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newReactiveInsightSummary smart constructor.
data ReactiveInsightSummary
ReactiveInsightSummary' :: Maybe [Text] -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ReactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
[$sel:associatedResourceArns:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe [Text]
-- | The ID of a reactive summary.
[$sel:id:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe Text
[$sel:insightTimeRange:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe InsightTimeRange
-- | The name of a reactive insight.
[$sel:name:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe Text
[$sel:resourceCollection:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe ResourceCollection
-- | A collection of the names of Amazon Web Services services.
[$sel:serviceCollection:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe ServiceCollection
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
[$sel:severity:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe InsightSeverity
-- | The status of a reactive insight.
[$sel:status:ReactiveInsightSummary'] :: ReactiveInsightSummary -> Maybe InsightStatus
-- | Create a value of ReactiveInsightSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:associatedResourceArns:ReactiveInsightSummary',
-- reactiveInsightSummary_associatedResourceArns - The Amazon
-- Resource Names (ARNs) of the Amazon Web Services resources that
-- generated this insight.
--
-- $sel:id:ReactiveInsightSummary',
-- reactiveInsightSummary_id - The ID of a reactive summary.
--
-- $sel:insightTimeRange:ReactiveInsightSummary',
-- reactiveInsightSummary_insightTimeRange - Undocumented member.
--
-- $sel:name:ReactiveInsightSummary',
-- reactiveInsightSummary_name - The name of a reactive insight.
--
-- $sel:resourceCollection:ReactiveInsightSummary',
-- reactiveInsightSummary_resourceCollection - Undocumented
-- member.
--
-- $sel:serviceCollection:ReactiveInsightSummary',
-- reactiveInsightSummary_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severity:ReactiveInsightSummary',
-- reactiveInsightSummary_severity - The severity of the insight.
-- For more information, see Understanding insight severities in
-- the Amazon DevOps Guru User Guide.
--
-- $sel:status:ReactiveInsightSummary',
-- reactiveInsightSummary_status - The status of a reactive
-- insight.
newReactiveInsightSummary :: ReactiveInsightSummary
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
reactiveInsightSummary_associatedResourceArns :: Lens' ReactiveInsightSummary (Maybe [Text])
-- | The ID of a reactive summary.
reactiveInsightSummary_id :: Lens' ReactiveInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveInsightSummary_insightTimeRange :: Lens' ReactiveInsightSummary (Maybe InsightTimeRange)
-- | The name of a reactive insight.
reactiveInsightSummary_name :: Lens' ReactiveInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveInsightSummary_resourceCollection :: Lens' ReactiveInsightSummary (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
reactiveInsightSummary_serviceCollection :: Lens' ReactiveInsightSummary (Maybe ServiceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
reactiveInsightSummary_severity :: Lens' ReactiveInsightSummary (Maybe InsightSeverity)
-- | The status of a reactive insight.
reactiveInsightSummary_status :: Lens' ReactiveInsightSummary (Maybe InsightStatus)
-- | Information about a reactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newReactiveOrganizationInsightSummary smart
-- constructor.
data ReactiveOrganizationInsightSummary
ReactiveOrganizationInsightSummary' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ReactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
[$sel:accountId:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the insight summary.
[$sel:id:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
[$sel:insightTimeRange:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe InsightTimeRange
-- | The name of the insight summary.
[$sel:name:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
-- | The ID of the organizational unit.
[$sel:organizationalUnitId:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe Text
[$sel:resourceCollection:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe ResourceCollection
[$sel:serviceCollection:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe ServiceCollection
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
[$sel:severity:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe InsightSeverity
-- | An array of status values used to search for insights.
[$sel:status:ReactiveOrganizationInsightSummary'] :: ReactiveOrganizationInsightSummary -> Maybe InsightStatus
-- | Create a value of ReactiveOrganizationInsightSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_accountId - The ID of the
-- Amazon Web Services account.
--
-- $sel:id:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_id - The ID of the insight
-- summary.
--
-- $sel:insightTimeRange:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_insightTimeRange -
-- Undocumented member.
--
-- $sel:name:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_name - The name of the
-- insight summary.
--
-- $sel:organizationalUnitId:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_organizationalUnitId - The
-- ID of the organizational unit.
--
-- $sel:resourceCollection:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_serviceCollection -
-- Undocumented member.
--
-- $sel:severity:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_severity - An array of
-- severity values used to search for insights. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:status:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_status - An array of status
-- values used to search for insights.
newReactiveOrganizationInsightSummary :: ReactiveOrganizationInsightSummary
-- | The ID of the Amazon Web Services account.
reactiveOrganizationInsightSummary_accountId :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the insight summary.
reactiveOrganizationInsightSummary_id :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveOrganizationInsightSummary_insightTimeRange :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightTimeRange)
-- | The name of the insight summary.
reactiveOrganizationInsightSummary_name :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the organizational unit.
reactiveOrganizationInsightSummary_organizationalUnitId :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveOrganizationInsightSummary_resourceCollection :: Lens' ReactiveOrganizationInsightSummary (Maybe ResourceCollection)
-- | Undocumented member.
reactiveOrganizationInsightSummary_serviceCollection :: Lens' ReactiveOrganizationInsightSummary (Maybe ServiceCollection)
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
reactiveOrganizationInsightSummary_severity :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightSeverity)
-- | An array of status values used to search for insights.
reactiveOrganizationInsightSummary_status :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightStatus)
-- | Recommendation information to help you remediate detected anomalous
-- behavior that generated an insight.
--
-- See: newRecommendation smart constructor.
data Recommendation
Recommendation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [RecommendationRelatedAnomaly] -> Maybe [RecommendationRelatedEvent] -> Recommendation
-- | The category type of the recommendation.
[$sel:category:Recommendation'] :: Recommendation -> Maybe Text
-- | A description of the problem.
[$sel:description:Recommendation'] :: Recommendation -> Maybe Text
-- | A hyperlink to information to help you address the problem.
[$sel:link:Recommendation'] :: Recommendation -> Maybe Text
-- | The name of the recommendation.
[$sel:name:Recommendation'] :: Recommendation -> Maybe Text
-- | The reason DevOps Guru flagged the anomalous behavior as a problem.
[$sel:reason:Recommendation'] :: Recommendation -> Maybe Text
-- | Anomalies that are related to the problem. Use these Anomalies to
-- learn more about what's happening and to help address the issue.
[$sel:relatedAnomalies:Recommendation'] :: Recommendation -> Maybe [RecommendationRelatedAnomaly]
-- | Events that are related to the problem. Use these events to learn more
-- about what's happening and to help address the issue.
[$sel:relatedEvents:Recommendation'] :: Recommendation -> Maybe [RecommendationRelatedEvent]
-- | Create a value of Recommendation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:category:Recommendation', recommendation_category -
-- The category type of the recommendation.
--
-- $sel:description:Recommendation',
-- recommendation_description - A description of the problem.
--
-- $sel:link:Recommendation', recommendation_link - A
-- hyperlink to information to help you address the problem.
--
-- Recommendation, recommendation_name - The name of the
-- recommendation.
--
-- $sel:reason:Recommendation', recommendation_reason - The
-- reason DevOps Guru flagged the anomalous behavior as a problem.
--
-- $sel:relatedAnomalies:Recommendation',
-- recommendation_relatedAnomalies - Anomalies that are related to
-- the problem. Use these Anomalies to learn more about what's happening
-- and to help address the issue.
--
-- $sel:relatedEvents:Recommendation',
-- recommendation_relatedEvents - Events that are related to the
-- problem. Use these events to learn more about what's happening and to
-- help address the issue.
newRecommendation :: Recommendation
-- | The category type of the recommendation.
recommendation_category :: Lens' Recommendation (Maybe Text)
-- | A description of the problem.
recommendation_description :: Lens' Recommendation (Maybe Text)
-- | A hyperlink to information to help you address the problem.
recommendation_link :: Lens' Recommendation (Maybe Text)
-- | The name of the recommendation.
recommendation_name :: Lens' Recommendation (Maybe Text)
-- | The reason DevOps Guru flagged the anomalous behavior as a problem.
recommendation_reason :: Lens' Recommendation (Maybe Text)
-- | Anomalies that are related to the problem. Use these Anomalies to
-- learn more about what's happening and to help address the issue.
recommendation_relatedAnomalies :: Lens' Recommendation (Maybe [RecommendationRelatedAnomaly])
-- | Events that are related to the problem. Use these events to learn more
-- about what's happening and to help address the issue.
recommendation_relatedEvents :: Lens' Recommendation (Maybe [RecommendationRelatedEvent])
-- | Information about an anomaly that is related to a recommendation.
--
-- See: newRecommendationRelatedAnomaly smart constructor.
data RecommendationRelatedAnomaly
RecommendationRelatedAnomaly' :: Maybe Text -> Maybe [RecommendationRelatedAnomalyResource] -> Maybe [RecommendationRelatedAnomalySourceDetail] -> RecommendationRelatedAnomaly
-- | The ID of an anomaly that generated the insight with this
-- recommendation.
[$sel:anomalyId:RecommendationRelatedAnomaly'] :: RecommendationRelatedAnomaly -> Maybe Text
-- | An array of objects that represent resources in which DevOps Guru
-- detected anomalous behavior. Each object contains the name and type of
-- the resource.
[$sel:resources:RecommendationRelatedAnomaly'] :: RecommendationRelatedAnomaly -> Maybe [RecommendationRelatedAnomalyResource]
-- | Information about where the anomalous behavior related the
-- recommendation was found. For example, details in Amazon CloudWatch
-- metrics.
[$sel:sourceDetails:RecommendationRelatedAnomaly'] :: RecommendationRelatedAnomaly -> Maybe [RecommendationRelatedAnomalySourceDetail]
-- | Create a value of RecommendationRelatedAnomaly with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyId:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_anomalyId - The ID of an anomaly
-- that generated the insight with this recommendation.
--
-- $sel:resources:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_resources - An array of objects
-- that represent resources in which DevOps Guru detected anomalous
-- behavior. Each object contains the name and type of the resource.
--
-- $sel:sourceDetails:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_sourceDetails - Information about
-- where the anomalous behavior related the recommendation was found. For
-- example, details in Amazon CloudWatch metrics.
newRecommendationRelatedAnomaly :: RecommendationRelatedAnomaly
-- | The ID of an anomaly that generated the insight with this
-- recommendation.
recommendationRelatedAnomaly_anomalyId :: Lens' RecommendationRelatedAnomaly (Maybe Text)
-- | An array of objects that represent resources in which DevOps Guru
-- detected anomalous behavior. Each object contains the name and type of
-- the resource.
recommendationRelatedAnomaly_resources :: Lens' RecommendationRelatedAnomaly (Maybe [RecommendationRelatedAnomalyResource])
-- | Information about where the anomalous behavior related the
-- recommendation was found. For example, details in Amazon CloudWatch
-- metrics.
recommendationRelatedAnomaly_sourceDetails :: Lens' RecommendationRelatedAnomaly (Maybe [RecommendationRelatedAnomalySourceDetail])
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
--
-- See: newRecommendationRelatedAnomalyResource smart
-- constructor.
data RecommendationRelatedAnomalyResource
RecommendationRelatedAnomalyResource' :: Maybe Text -> Maybe Text -> RecommendationRelatedAnomalyResource
-- | The name of the resource.
[$sel:name:RecommendationRelatedAnomalyResource'] :: RecommendationRelatedAnomalyResource -> Maybe Text
-- | The type of the resource. Resource types take the same form that is
-- used by Amazon Web Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
[$sel:type':RecommendationRelatedAnomalyResource'] :: RecommendationRelatedAnomalyResource -> Maybe Text
-- | Create a value of RecommendationRelatedAnomalyResource with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:RecommendationRelatedAnomalyResource',
-- recommendationRelatedAnomalyResource_name - The name of the
-- resource.
--
-- $sel:type':RecommendationRelatedAnomalyResource',
-- recommendationRelatedAnomalyResource_type - The type of the
-- resource. Resource types take the same form that is used by Amazon Web
-- Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
newRecommendationRelatedAnomalyResource :: RecommendationRelatedAnomalyResource
-- | The name of the resource.
recommendationRelatedAnomalyResource_name :: Lens' RecommendationRelatedAnomalyResource (Maybe Text)
-- | The type of the resource. Resource types take the same form that is
-- used by Amazon Web Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
recommendationRelatedAnomalyResource_type :: Lens' RecommendationRelatedAnomalyResource (Maybe Text)
-- | Contains an array of
-- RecommendationRelatedCloudWatchMetricsSourceDetail objects
-- that contain the name and namespace of an Amazon CloudWatch metric.
--
-- See: newRecommendationRelatedAnomalySourceDetail smart
-- constructor.
data RecommendationRelatedAnomalySourceDetail
RecommendationRelatedAnomalySourceDetail' :: Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail] -> RecommendationRelatedAnomalySourceDetail
-- | An array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
[$sel:cloudWatchMetrics:RecommendationRelatedAnomalySourceDetail'] :: RecommendationRelatedAnomalySourceDetail -> Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail]
-- | Create a value of RecommendationRelatedAnomalySourceDetail with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudWatchMetrics:RecommendationRelatedAnomalySourceDetail',
-- recommendationRelatedAnomalySourceDetail_cloudWatchMetrics - An
-- array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
newRecommendationRelatedAnomalySourceDetail :: RecommendationRelatedAnomalySourceDetail
-- | An array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
recommendationRelatedAnomalySourceDetail_cloudWatchMetrics :: Lens' RecommendationRelatedAnomalySourceDetail (Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail])
-- | Information about an Amazon CloudWatch metric that is analyzed by
-- DevOps Guru. It is one of many analyzed metrics that are used to
-- generate insights.
--
-- See:
-- newRecommendationRelatedCloudWatchMetricsSourceDetail smart
-- constructor.
data RecommendationRelatedCloudWatchMetricsSourceDetail
RecommendationRelatedCloudWatchMetricsSourceDetail' :: Maybe Text -> Maybe Text -> RecommendationRelatedCloudWatchMetricsSourceDetail
-- | The name of the CloudWatch metric.
[$sel:metricName:RecommendationRelatedCloudWatchMetricsSourceDetail'] :: RecommendationRelatedCloudWatchMetricsSourceDetail -> Maybe Text
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
[$sel:namespace:RecommendationRelatedCloudWatchMetricsSourceDetail'] :: RecommendationRelatedCloudWatchMetricsSourceDetail -> Maybe Text
-- | Create a value of
-- RecommendationRelatedCloudWatchMetricsSourceDetail with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:metricName:RecommendationRelatedCloudWatchMetricsSourceDetail',
-- recommendationRelatedCloudWatchMetricsSourceDetail_metricName -
-- The name of the CloudWatch metric.
--
--
-- $sel:namespace:RecommendationRelatedCloudWatchMetricsSourceDetail',
-- recommendationRelatedCloudWatchMetricsSourceDetail_namespace -
-- The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
newRecommendationRelatedCloudWatchMetricsSourceDetail :: RecommendationRelatedCloudWatchMetricsSourceDetail
-- | The name of the CloudWatch metric.
recommendationRelatedCloudWatchMetricsSourceDetail_metricName :: Lens' RecommendationRelatedCloudWatchMetricsSourceDetail (Maybe Text)
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
recommendationRelatedCloudWatchMetricsSourceDetail_namespace :: Lens' RecommendationRelatedCloudWatchMetricsSourceDetail (Maybe Text)
-- | Information about an event that is related to a recommendation.
--
-- See: newRecommendationRelatedEvent smart constructor.
data RecommendationRelatedEvent
RecommendationRelatedEvent' :: Maybe Text -> Maybe [RecommendationRelatedEventResource] -> RecommendationRelatedEvent
-- | The name of the event. This corresponds to the Name field in
-- an Event object.
[$sel:name:RecommendationRelatedEvent'] :: RecommendationRelatedEvent -> Maybe Text
-- | A ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
[$sel:resources:RecommendationRelatedEvent'] :: RecommendationRelatedEvent -> Maybe [RecommendationRelatedEventResource]
-- | Create a value of RecommendationRelatedEvent with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RecommendationRelatedEvent,
-- recommendationRelatedEvent_name - The name of the event. This
-- corresponds to the Name field in an Event object.
--
-- $sel:resources:RecommendationRelatedEvent',
-- recommendationRelatedEvent_resources - A
-- ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
newRecommendationRelatedEvent :: RecommendationRelatedEvent
-- | The name of the event. This corresponds to the Name field in
-- an Event object.
recommendationRelatedEvent_name :: Lens' RecommendationRelatedEvent (Maybe Text)
-- | A ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
recommendationRelatedEvent_resources :: Lens' RecommendationRelatedEvent (Maybe [RecommendationRelatedEventResource])
-- | Information about an Amazon Web Services resource that emitted and
-- event that is related to a recommendation in an insight.
--
-- See: newRecommendationRelatedEventResource smart
-- constructor.
data RecommendationRelatedEventResource
RecommendationRelatedEventResource' :: Maybe Text -> Maybe Text -> RecommendationRelatedEventResource
-- | The name of the resource that emitted the event. This corresponds to
-- the Name field in an EventResource object.
[$sel:name:RecommendationRelatedEventResource'] :: RecommendationRelatedEventResource -> Maybe Text
-- | The type of the resource that emitted the event. This corresponds to
-- the Type field in an EventResource object.
[$sel:type':RecommendationRelatedEventResource'] :: RecommendationRelatedEventResource -> Maybe Text
-- | Create a value of RecommendationRelatedEventResource with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:RecommendationRelatedEventResource',
-- recommendationRelatedEventResource_name - The name of the
-- resource that emitted the event. This corresponds to the Name
-- field in an EventResource object.
--
-- $sel:type':RecommendationRelatedEventResource',
-- recommendationRelatedEventResource_type - The type of the
-- resource that emitted the event. This corresponds to the Type
-- field in an EventResource object.
newRecommendationRelatedEventResource :: RecommendationRelatedEventResource
-- | The name of the resource that emitted the event. This corresponds to
-- the Name field in an EventResource object.
recommendationRelatedEventResource_name :: Lens' RecommendationRelatedEventResource (Maybe Text)
-- | The type of the resource that emitted the event. This corresponds to
-- the Type field in an EventResource object.
recommendationRelatedEventResource_type :: Lens' RecommendationRelatedEventResource (Maybe Text)
-- | A collection of Amazon Web Services resources supported by DevOps
-- Guru. The two types of Amazon Web Services resource collections
-- supported are Amazon Web Services CloudFormation stacks and Amazon Web
-- Services resources that contain the same Amazon Web Services tag.
-- DevOps Guru can be configured to analyze the Amazon Web Services
-- resources that are defined in the stacks or that are tagged using the
-- same tag key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
--
-- See: newResourceCollection smart constructor.
data ResourceCollection
ResourceCollection' :: Maybe CloudFormationCollection -> Maybe [TagCollection] -> ResourceCollection
-- | An array of the names of Amazon Web Services CloudFormation stacks.
-- The stacks define Amazon Web Services resources that DevOps Guru
-- analyzes. You can specify up to 500 Amazon Web Services CloudFormation
-- stacks.
[$sel:cloudFormation:ResourceCollection'] :: ResourceCollection -> Maybe CloudFormationCollection
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:ResourceCollection'] :: ResourceCollection -> Maybe [TagCollection]
-- | Create a value of ResourceCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:ResourceCollection',
-- resourceCollection_cloudFormation - An array of the names of
-- Amazon Web Services CloudFormation stacks. The stacks define Amazon
-- Web Services resources that DevOps Guru analyzes. You can specify up
-- to 500 Amazon Web Services CloudFormation stacks.
--
-- $sel:tags:ResourceCollection', resourceCollection_tags -
-- The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newResourceCollection :: ResourceCollection
-- | An array of the names of Amazon Web Services CloudFormation stacks.
-- The stacks define Amazon Web Services resources that DevOps Guru
-- analyzes. You can specify up to 500 Amazon Web Services CloudFormation
-- stacks.
resourceCollection_cloudFormation :: Lens' ResourceCollection (Maybe CloudFormationCollection)
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
resourceCollection_tags :: Lens' ResourceCollection (Maybe [TagCollection])
-- | Information about a filter used to specify which Amazon Web Services
-- resources are analyzed for anomalous behavior by DevOps Guru.
--
-- See: newResourceCollectionFilter smart constructor.
data ResourceCollectionFilter
ResourceCollectionFilter' :: Maybe CloudFormationCollectionFilter -> Maybe [TagCollectionFilter] -> ResourceCollectionFilter
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
[$sel:cloudFormation:ResourceCollectionFilter'] :: ResourceCollectionFilter -> Maybe CloudFormationCollectionFilter
-- | The Amazon Web Services tags used to filter the resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:ResourceCollectionFilter'] :: ResourceCollectionFilter -> Maybe [TagCollectionFilter]
-- | Create a value of ResourceCollectionFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:ResourceCollectionFilter',
-- resourceCollectionFilter_cloudFormation - Information about
-- Amazon Web Services CloudFormation stacks. You can use up to 500
-- stacks to specify which Amazon Web Services resources in your account
-- to analyze. For more information, see Stacks in the Amazon
-- Web Services CloudFormation User Guide.
--
-- $sel:tags:ResourceCollectionFilter',
-- resourceCollectionFilter_tags - The Amazon Web Services tags
-- used to filter the resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newResourceCollectionFilter :: ResourceCollectionFilter
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
resourceCollectionFilter_cloudFormation :: Lens' ResourceCollectionFilter (Maybe CloudFormationCollectionFilter)
-- | The Amazon Web Services tags used to filter the resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
resourceCollectionFilter_tags :: Lens' ResourceCollectionFilter (Maybe [TagCollectionFilter])
-- | Specifies one or more severity values and one or more status values
-- that are used to search for insights.
--
-- See: newSearchInsightsFilters smart constructor.
data SearchInsightsFilters
SearchInsightsFilters' :: Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe [InsightSeverity] -> Maybe [InsightStatus] -> SearchInsightsFilters
[$sel:resourceCollection:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe ResourceCollection
-- | A collection of the names of Amazon Web Services services.
[$sel:serviceCollection:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe ServiceCollection
-- | An array of severity values used to search for insights.
[$sel:severities:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe [InsightSeverity]
-- | An array of status values used to search for insights.
[$sel:statuses:SearchInsightsFilters'] :: SearchInsightsFilters -> Maybe [InsightStatus]
-- | Create a value of SearchInsightsFilters with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceCollection:SearchInsightsFilters',
-- searchInsightsFilters_resourceCollection - Undocumented member.
--
-- $sel:serviceCollection:SearchInsightsFilters',
-- searchInsightsFilters_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severities:SearchInsightsFilters',
-- searchInsightsFilters_severities - An array of severity values
-- used to search for insights.
--
-- $sel:statuses:SearchInsightsFilters',
-- searchInsightsFilters_statuses - An array of status values used
-- to search for insights.
newSearchInsightsFilters :: SearchInsightsFilters
-- | Undocumented member.
searchInsightsFilters_resourceCollection :: Lens' SearchInsightsFilters (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
searchInsightsFilters_serviceCollection :: Lens' SearchInsightsFilters (Maybe ServiceCollection)
-- | An array of severity values used to search for insights.
searchInsightsFilters_severities :: Lens' SearchInsightsFilters (Maybe [InsightSeverity])
-- | An array of status values used to search for insights.
searchInsightsFilters_statuses :: Lens' SearchInsightsFilters (Maybe [InsightStatus])
-- | Filters you can use to specify which events are returned when
-- ListEvents is called.
--
-- See: newSearchOrganizationInsightsFilters smart
-- constructor.
data SearchOrganizationInsightsFilters
SearchOrganizationInsightsFilters' :: Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe [InsightSeverity] -> Maybe [InsightStatus] -> SearchOrganizationInsightsFilters
[$sel:resourceCollection:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe ResourceCollection
[$sel:serviceCollection:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe ServiceCollection
-- | An array of severity values used to search for insights.
[$sel:severities:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe [InsightSeverity]
-- | An array of status values used to search for insights.
[$sel:statuses:SearchOrganizationInsightsFilters'] :: SearchOrganizationInsightsFilters -> Maybe [InsightStatus]
-- | Create a value of SearchOrganizationInsightsFilters with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceCollection:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_serviceCollection -
-- Undocumented member.
--
-- $sel:severities:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_severities - An array of
-- severity values used to search for insights.
--
-- $sel:statuses:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_statuses - An array of status
-- values used to search for insights.
newSearchOrganizationInsightsFilters :: SearchOrganizationInsightsFilters
-- | Undocumented member.
searchOrganizationInsightsFilters_resourceCollection :: Lens' SearchOrganizationInsightsFilters (Maybe ResourceCollection)
-- | Undocumented member.
searchOrganizationInsightsFilters_serviceCollection :: Lens' SearchOrganizationInsightsFilters (Maybe ServiceCollection)
-- | An array of severity values used to search for insights.
searchOrganizationInsightsFilters_severities :: Lens' SearchOrganizationInsightsFilters (Maybe [InsightSeverity])
-- | An array of status values used to search for insights.
searchOrganizationInsightsFilters_statuses :: Lens' SearchOrganizationInsightsFilters (Maybe [InsightStatus])
-- | A collection of the names of Amazon Web Services services.
--
-- See: newServiceCollection smart constructor.
data ServiceCollection
ServiceCollection' :: Maybe [ServiceName] -> ServiceCollection
-- | An array of strings that each specifies the name of an Amazon Web
-- Services service.
[$sel:serviceNames:ServiceCollection'] :: ServiceCollection -> Maybe [ServiceName]
-- | Create a value of ServiceCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceNames:ServiceCollection',
-- serviceCollection_serviceNames - An array of strings that each
-- specifies the name of an Amazon Web Services service.
newServiceCollection :: ServiceCollection
-- | An array of strings that each specifies the name of an Amazon Web
-- Services service.
serviceCollection_serviceNames :: Lens' ServiceCollection (Maybe [ServiceName])
-- | Represents the health of an Amazon Web Services service.
--
-- See: newServiceHealth smart constructor.
data ServiceHealth
ServiceHealth' :: Maybe Integer -> Maybe ServiceInsightHealth -> Maybe ServiceName -> ServiceHealth
-- | Number of resources that DevOps Guru is monitoring in an analyzed
-- Amazon Web Services service.
[$sel:analyzedResourceCount:ServiceHealth'] :: ServiceHealth -> Maybe Integer
-- | Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
[$sel:insight:ServiceHealth'] :: ServiceHealth -> Maybe ServiceInsightHealth
-- | The name of the Amazon Web Services service.
[$sel:serviceName:ServiceHealth'] :: ServiceHealth -> Maybe ServiceName
-- | Create a value of ServiceHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:ServiceHealth',
-- serviceHealth_analyzedResourceCount - Number of resources that
-- DevOps Guru is monitoring in an analyzed Amazon Web Services service.
--
-- $sel:insight:ServiceHealth', serviceHealth_insight -
-- Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
--
-- $sel:serviceName:ServiceHealth',
-- serviceHealth_serviceName - The name of the Amazon Web Services
-- service.
newServiceHealth :: ServiceHealth
-- | Number of resources that DevOps Guru is monitoring in an analyzed
-- Amazon Web Services service.
serviceHealth_analyzedResourceCount :: Lens' ServiceHealth (Maybe Integer)
-- | Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
serviceHealth_insight :: Lens' ServiceHealth (Maybe ServiceInsightHealth)
-- | The name of the Amazon Web Services service.
serviceHealth_serviceName :: Lens' ServiceHealth (Maybe ServiceName)
-- | Contains the number of open proactive and reactive insights in an
-- analyzed Amazon Web Services service.
--
-- See: newServiceInsightHealth smart constructor.
data ServiceInsightHealth
ServiceInsightHealth' :: Maybe Int -> Maybe Int -> ServiceInsightHealth
-- | The number of open proactive insights in the Amazon Web Services
-- service
[$sel:openProactiveInsights:ServiceInsightHealth'] :: ServiceInsightHealth -> Maybe Int
-- | The number of open reactive insights in the Amazon Web Services
-- service
[$sel:openReactiveInsights:ServiceInsightHealth'] :: ServiceInsightHealth -> Maybe Int
-- | Create a value of ServiceInsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:openProactiveInsights:ServiceInsightHealth',
-- serviceInsightHealth_openProactiveInsights - The number of open
-- proactive insights in the Amazon Web Services service
--
-- $sel:openReactiveInsights:ServiceInsightHealth',
-- serviceInsightHealth_openReactiveInsights - The number of open
-- reactive insights in the Amazon Web Services service
newServiceInsightHealth :: ServiceInsightHealth
-- | The number of open proactive insights in the Amazon Web Services
-- service
serviceInsightHealth_openProactiveInsights :: Lens' ServiceInsightHealth (Maybe Int)
-- | The number of open reactive insights in the Amazon Web Services
-- service
serviceInsightHealth_openReactiveInsights :: Lens' ServiceInsightHealth (Maybe Int)
-- | Information about the integration of DevOps Guru with another Amazon
-- Web Services service, such as Amazon Web Services Systems Manager.
--
-- See: newServiceIntegrationConfig smart constructor.
data ServiceIntegrationConfig
ServiceIntegrationConfig' :: Maybe LogsAnomalyDetectionIntegration -> Maybe OpsCenterIntegration -> ServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
[$sel:logsAnomalyDetection:ServiceIntegrationConfig'] :: ServiceIntegrationConfig -> Maybe LogsAnomalyDetectionIntegration
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
[$sel:opsCenter:ServiceIntegrationConfig'] :: ServiceIntegrationConfig -> Maybe OpsCenterIntegration
-- | Create a value of ServiceIntegrationConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logsAnomalyDetection:ServiceIntegrationConfig',
-- serviceIntegrationConfig_logsAnomalyDetection - Information
-- about whether DevOps Guru is configured to perform log anomaly
-- detection on Amazon CloudWatch log groups.
--
-- $sel:opsCenter:ServiceIntegrationConfig',
-- serviceIntegrationConfig_opsCenter - Information about whether
-- DevOps Guru is configured to create an OpsItem in Amazon Web Services
-- Systems Manager OpsCenter for each created insight.
newServiceIntegrationConfig :: ServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
serviceIntegrationConfig_logsAnomalyDetection :: Lens' ServiceIntegrationConfig (Maybe LogsAnomalyDetectionIntegration)
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
serviceIntegrationConfig_opsCenter :: Lens' ServiceIntegrationConfig (Maybe OpsCenterIntegration)
-- | An object that contains information about the estimated monthly cost
-- to analyze an Amazon Web Services resource. For more information, see
-- Estimate your Amazon DevOps Guru costs and Amazon DevOps
-- Guru pricing.
--
-- See: newServiceResourceCost smart constructor.
data ServiceResourceCost
ServiceResourceCost' :: Maybe Double -> Maybe Int -> Maybe CostEstimationServiceResourceState -> Maybe Text -> Maybe Double -> ServiceResourceCost
-- | The total estimated monthly cost to analyze the active resources for
-- this resource.
[$sel:cost:ServiceResourceCost'] :: ServiceResourceCost -> Maybe Double
-- | The number of active resources analyzed for this service to create a
-- monthly cost estimate.
[$sel:count:ServiceResourceCost'] :: ServiceResourceCost -> Maybe Int
-- | The state of the resource. The resource is ACTIVE if it
-- produces metrics, events, or logs within an hour, otherwise it is
-- INACTIVE. You pay for the number of active Amazon Web
-- Services resource hours analyzed for each resource. Inactive resources
-- are not charged.
[$sel:state:ServiceResourceCost'] :: ServiceResourceCost -> Maybe CostEstimationServiceResourceState
-- | The type of the Amazon Web Services resource.
[$sel:type':ServiceResourceCost'] :: ServiceResourceCost -> Maybe Text
-- | The price per hour to analyze the resources in the service. For more
-- information, see Estimate your Amazon DevOps Guru costs and
-- Amazon DevOps Guru pricing.
[$sel:unitCost:ServiceResourceCost'] :: ServiceResourceCost -> Maybe Double
-- | Create a value of ServiceResourceCost with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cost:ServiceResourceCost', serviceResourceCost_cost
-- - The total estimated monthly cost to analyze the active resources for
-- this resource.
--
-- $sel:count:ServiceResourceCost',
-- serviceResourceCost_count - The number of active resources
-- analyzed for this service to create a monthly cost estimate.
--
-- $sel:state:ServiceResourceCost',
-- serviceResourceCost_state - The state of the resource. The
-- resource is ACTIVE if it produces metrics, events, or logs
-- within an hour, otherwise it is INACTIVE. You pay for the
-- number of active Amazon Web Services resource hours analyzed for each
-- resource. Inactive resources are not charged.
--
-- $sel:type':ServiceResourceCost',
-- serviceResourceCost_type - The type of the Amazon Web Services
-- resource.
--
-- $sel:unitCost:ServiceResourceCost',
-- serviceResourceCost_unitCost - The price per hour to analyze
-- the resources in the service. For more information, see Estimate
-- your Amazon DevOps Guru costs and Amazon DevOps Guru
-- pricing.
newServiceResourceCost :: ServiceResourceCost
-- | The total estimated monthly cost to analyze the active resources for
-- this resource.
serviceResourceCost_cost :: Lens' ServiceResourceCost (Maybe Double)
-- | The number of active resources analyzed for this service to create a
-- monthly cost estimate.
serviceResourceCost_count :: Lens' ServiceResourceCost (Maybe Int)
-- | The state of the resource. The resource is ACTIVE if it
-- produces metrics, events, or logs within an hour, otherwise it is
-- INACTIVE. You pay for the number of active Amazon Web
-- Services resource hours analyzed for each resource. Inactive resources
-- are not charged.
serviceResourceCost_state :: Lens' ServiceResourceCost (Maybe CostEstimationServiceResourceState)
-- | The type of the Amazon Web Services resource.
serviceResourceCost_type :: Lens' ServiceResourceCost (Maybe Text)
-- | The price per hour to analyze the resources in the service. For more
-- information, see Estimate your Amazon DevOps Guru costs and
-- Amazon DevOps Guru pricing.
serviceResourceCost_unitCost :: Lens' ServiceResourceCost (Maybe Double)
-- | Contains the Amazon Resource Name (ARN) of an Amazon Simple
-- Notification Service topic.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
--
-- See: newSnsChannelConfig smart constructor.
data SnsChannelConfig
SnsChannelConfig' :: Maybe Text -> SnsChannelConfig
-- | The Amazon Resource Name (ARN) of an Amazon Simple Notification
-- Service topic.
[$sel:topicArn:SnsChannelConfig'] :: SnsChannelConfig -> Maybe Text
-- | Create a value of SnsChannelConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:topicArn:SnsChannelConfig',
-- snsChannelConfig_topicArn - The Amazon Resource Name (ARN) of
-- an Amazon Simple Notification Service topic.
newSnsChannelConfig :: SnsChannelConfig
-- | The Amazon Resource Name (ARN) of an Amazon Simple Notification
-- Service topic.
snsChannelConfig_topicArn :: Lens' SnsChannelConfig (Maybe Text)
-- | A time range used to specify when the behavior of an insight or
-- anomaly started.
--
-- See: newStartTimeRange smart constructor.
data StartTimeRange
StartTimeRange' :: Maybe POSIX -> Maybe POSIX -> StartTimeRange
-- | The start time of the time range.
[$sel:fromTime:StartTimeRange'] :: StartTimeRange -> Maybe POSIX
-- | The end time of the time range.
[$sel:toTime:StartTimeRange'] :: StartTimeRange -> Maybe POSIX
-- | Create a value of StartTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:StartTimeRange', startTimeRange_fromTime -
-- The start time of the time range.
--
-- $sel:toTime:StartTimeRange', startTimeRange_toTime - The
-- end time of the time range.
newStartTimeRange :: StartTimeRange
-- | The start time of the time range.
startTimeRange_fromTime :: Lens' StartTimeRange (Maybe UTCTime)
-- | The end time of the time range.
startTimeRange_toTime :: Lens' StartTimeRange (Maybe UTCTime)
-- | A collection of Amazon Web Services tags.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- See: newTagCollection smart constructor.
data TagCollection
TagCollection' :: Text -> [Text] -> TagCollection
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagCollection'] :: TagCollection -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:TagCollection'] :: TagCollection -> [Text]
-- | Create a value of TagCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCollection',
-- tagCollection_appBoundaryKey - An Amazon Web Services tag
-- key that is used to identify the Amazon Web Services resources
-- that DevOps Guru analyzes. All Amazon Web Services resources in your
-- account and Region tagged with this key make up your DevOps
-- Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCollection', tagCollection_tagValues -
-- The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCollection :: Text -> TagCollection
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCollection_appBoundaryKey :: Lens' TagCollection Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCollection_tagValues :: Lens' TagCollection [Text]
-- | A collection of Amazon Web Services tags used to filter insights. This
-- is used to return insights generated from only resources that contain
-- the tags in the tag collection.
--
-- See: newTagCollectionFilter smart constructor.
data TagCollectionFilter
TagCollectionFilter' :: Text -> [Text] -> TagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagCollectionFilter'] :: TagCollectionFilter -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:TagCollectionFilter'] :: TagCollectionFilter -> [Text]
-- | Create a value of TagCollectionFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCollectionFilter',
-- tagCollectionFilter_appBoundaryKey - An Amazon Web Services tag
-- key that is used to identify the Amazon Web Services resources
-- that DevOps Guru analyzes. All Amazon Web Services resources in your
-- account and Region tagged with this key make up your DevOps
-- Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCollectionFilter',
-- tagCollectionFilter_tagValues - The values in an Amazon Web
-- Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCollectionFilter :: Text -> TagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCollectionFilter_appBoundaryKey :: Lens' TagCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCollectionFilter_tagValues :: Lens' TagCollectionFilter [Text]
-- | Information about a collection of Amazon Web Services resources that
-- are identified by an Amazon Web Services tag. This collection of
-- resources is used to create a monthly cost estimate for DevOps Guru to
-- analyze Amazon Web Services resources. The maximum number of tags you
-- can specify for a cost estimate is one. The estimate created is for
-- the cost to analyze the Amazon Web Services resources defined by the
-- tag. For more information, see Stacks in the Amazon Web
-- Services CloudFormation User Guide.
--
-- See: newTagCostEstimationResourceCollectionFilter smart
-- constructor.
data TagCostEstimationResourceCollectionFilter
TagCostEstimationResourceCollectionFilter' :: Text -> NonEmpty Text -> TagCostEstimationResourceCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagCostEstimationResourceCollectionFilter'] :: TagCostEstimationResourceCollectionFilter -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:TagCostEstimationResourceCollectionFilter'] :: TagCostEstimationResourceCollectionFilter -> NonEmpty Text
-- | Create a value of TagCostEstimationResourceCollectionFilter
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCostEstimationResourceCollectionFilter',
-- tagCostEstimationResourceCollectionFilter_appBoundaryKey - An
-- Amazon Web Services tag key that is used to identify the Amazon
-- Web Services resources that DevOps Guru analyzes. All Amazon Web
-- Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCostEstimationResourceCollectionFilter',
-- tagCostEstimationResourceCollectionFilter_tagValues - The
-- values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCostEstimationResourceCollectionFilter :: Text -> NonEmpty Text -> TagCostEstimationResourceCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCostEstimationResourceCollectionFilter_appBoundaryKey :: Lens' TagCostEstimationResourceCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCostEstimationResourceCollectionFilter_tagValues :: Lens' TagCostEstimationResourceCollectionFilter (NonEmpty Text)
-- | Information about the health of Amazon Web Services resources in your
-- account that are specified by an Amazon Web Services tag key.
--
-- See: newTagHealth smart constructor.
data TagHealth
TagHealth' :: Maybe Integer -> Maybe Text -> Maybe InsightHealth -> Maybe Text -> TagHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services tag.
[$sel:analyzedResourceCount:TagHealth'] :: TagHealth -> Maybe Integer
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:TagHealth'] :: TagHealth -> Maybe Text
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services tag,
-- including the number of open proactive, open reactive insights, and
-- the Mean Time to Recover (MTTR) of closed insights.
[$sel:insight:TagHealth'] :: TagHealth -> Maybe InsightHealth
-- | The value in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValue:TagHealth'] :: TagHealth -> Maybe Text
-- | Create a value of TagHealth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:TagHealth',
-- tagHealth_analyzedResourceCount - Number of resources that
-- DevOps Guru is monitoring in your account that are specified by an
-- Amazon Web Services tag.
--
-- $sel:appBoundaryKey:TagHealth', tagHealth_appBoundaryKey
-- - An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:insight:TagHealth', tagHealth_insight - Information
-- about the health of the Amazon Web Services resources in your account
-- that are specified by an Amazon Web Services tag, including the number
-- of open proactive, open reactive insights, and the Mean Time to
-- Recover (MTTR) of closed insights.
--
-- $sel:tagValue:TagHealth', tagHealth_tagValue - The value
-- in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagHealth :: TagHealth
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services tag.
tagHealth_analyzedResourceCount :: Lens' TagHealth (Maybe Integer)
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagHealth_appBoundaryKey :: Lens' TagHealth (Maybe Text)
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services tag,
-- including the number of open proactive, open reactive insights, and
-- the Mean Time to Recover (MTTR) of closed insights.
tagHealth_insight :: Lens' TagHealth (Maybe InsightHealth)
-- | The value in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagHealth_tagValue :: Lens' TagHealth (Maybe Text)
-- | A pair that contains metric values at the respective timestamp.
--
-- See: newTimestampMetricValuePair smart constructor.
data TimestampMetricValuePair
TimestampMetricValuePair' :: Maybe Double -> Maybe POSIX -> TimestampMetricValuePair
-- | Value of the anomalous metric data point at respective Timestamp.
[$sel:metricValue:TimestampMetricValuePair'] :: TimestampMetricValuePair -> Maybe Double
-- | A Timestamp that specifies the time the event occurred.
[$sel:timestamp:TimestampMetricValuePair'] :: TimestampMetricValuePair -> Maybe POSIX
-- | Create a value of TimestampMetricValuePair with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricValue:TimestampMetricValuePair',
-- timestampMetricValuePair_metricValue - Value of the anomalous
-- metric data point at respective Timestamp.
--
-- $sel:timestamp:TimestampMetricValuePair',
-- timestampMetricValuePair_timestamp - A Timestamp that
-- specifies the time the event occurred.
newTimestampMetricValuePair :: TimestampMetricValuePair
-- | Value of the anomalous metric data point at respective Timestamp.
timestampMetricValuePair_metricValue :: Lens' TimestampMetricValuePair (Maybe Double)
-- | A Timestamp that specifies the time the event occurred.
timestampMetricValuePair_timestamp :: Lens' TimestampMetricValuePair (Maybe UTCTime)
-- | Contains the names of Amazon Web Services CloudFormation stacks used
-- to update a collection of stacks. You can specify up to 500 Amazon Web
-- Services CloudFormation stacks.
--
-- See: newUpdateCloudFormationCollectionFilter smart
-- constructor.
data UpdateCloudFormationCollectionFilter
UpdateCloudFormationCollectionFilter' :: Maybe [Text] -> UpdateCloudFormationCollectionFilter
-- | An array of the names of the Amazon Web Services CloudFormation stacks
-- to update. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
[$sel:stackNames:UpdateCloudFormationCollectionFilter'] :: UpdateCloudFormationCollectionFilter -> Maybe [Text]
-- | Create a value of UpdateCloudFormationCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:UpdateCloudFormationCollectionFilter',
-- updateCloudFormationCollectionFilter_stackNames - An array of
-- the names of the Amazon Web Services CloudFormation stacks to update.
-- You can specify up to 500 Amazon Web Services CloudFormation stacks.
newUpdateCloudFormationCollectionFilter :: UpdateCloudFormationCollectionFilter
-- | An array of the names of the Amazon Web Services CloudFormation stacks
-- to update. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
updateCloudFormationCollectionFilter_stackNames :: Lens' UpdateCloudFormationCollectionFilter (Maybe [Text])
-- | Contains information used to update a collection of Amazon Web
-- Services resources.
--
-- See: newUpdateResourceCollectionFilter smart
-- constructor.
data UpdateResourceCollectionFilter
UpdateResourceCollectionFilter' :: Maybe UpdateCloudFormationCollectionFilter -> Maybe [UpdateTagCollectionFilter] -> UpdateResourceCollectionFilter
-- | A collection of Amazon Web Services CloudFormation stacks. You can
-- specify up to 500 Amazon Web Services CloudFormation stacks.
[$sel:cloudFormation:UpdateResourceCollectionFilter'] :: UpdateResourceCollectionFilter -> Maybe UpdateCloudFormationCollectionFilter
-- | The updated Amazon Web Services tags used to filter the resources in
-- the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:UpdateResourceCollectionFilter'] :: UpdateResourceCollectionFilter -> Maybe [UpdateTagCollectionFilter]
-- | Create a value of UpdateResourceCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:UpdateResourceCollectionFilter',
-- updateResourceCollectionFilter_cloudFormation - A collection of
-- Amazon Web Services CloudFormation stacks. You can specify up to 500
-- Amazon Web Services CloudFormation stacks.
--
-- $sel:tags:UpdateResourceCollectionFilter',
-- updateResourceCollectionFilter_tags - The updated Amazon Web
-- Services tags used to filter the resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newUpdateResourceCollectionFilter :: UpdateResourceCollectionFilter
-- | A collection of Amazon Web Services CloudFormation stacks. You can
-- specify up to 500 Amazon Web Services CloudFormation stacks.
updateResourceCollectionFilter_cloudFormation :: Lens' UpdateResourceCollectionFilter (Maybe UpdateCloudFormationCollectionFilter)
-- | The updated Amazon Web Services tags used to filter the resources in
-- the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
updateResourceCollectionFilter_tags :: Lens' UpdateResourceCollectionFilter (Maybe [UpdateTagCollectionFilter])
-- | Information about updating the integration status of an Amazon Web
-- Services service, such as Amazon Web Services Systems Manager, with
-- DevOps Guru.
--
-- See: newUpdateServiceIntegrationConfig smart
-- constructor.
data UpdateServiceIntegrationConfig
UpdateServiceIntegrationConfig' :: Maybe LogsAnomalyDetectionIntegrationConfig -> Maybe OpsCenterIntegrationConfig -> UpdateServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
[$sel:logsAnomalyDetection:UpdateServiceIntegrationConfig'] :: UpdateServiceIntegrationConfig -> Maybe LogsAnomalyDetectionIntegrationConfig
[$sel:opsCenter:UpdateServiceIntegrationConfig'] :: UpdateServiceIntegrationConfig -> Maybe OpsCenterIntegrationConfig
-- | Create a value of UpdateServiceIntegrationConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logsAnomalyDetection:UpdateServiceIntegrationConfig',
-- updateServiceIntegrationConfig_logsAnomalyDetection -
-- Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
--
-- $sel:opsCenter:UpdateServiceIntegrationConfig',
-- updateServiceIntegrationConfig_opsCenter - Undocumented member.
newUpdateServiceIntegrationConfig :: UpdateServiceIntegrationConfig
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
updateServiceIntegrationConfig_logsAnomalyDetection :: Lens' UpdateServiceIntegrationConfig (Maybe LogsAnomalyDetectionIntegrationConfig)
-- | Undocumented member.
updateServiceIntegrationConfig_opsCenter :: Lens' UpdateServiceIntegrationConfig (Maybe OpsCenterIntegrationConfig)
-- | A new collection of Amazon Web Services resources that are defined by
-- an Amazon Web Services tag or tag key/value pair.
--
-- See: newUpdateTagCollectionFilter smart constructor.
data UpdateTagCollectionFilter
UpdateTagCollectionFilter' :: Text -> [Text] -> UpdateTagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:appBoundaryKey:UpdateTagCollectionFilter'] :: UpdateTagCollectionFilter -> Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
[$sel:tagValues:UpdateTagCollectionFilter'] :: UpdateTagCollectionFilter -> [Text]
-- | Create a value of UpdateTagCollectionFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:UpdateTagCollectionFilter',
-- updateTagCollectionFilter_appBoundaryKey - An Amazon Web
-- Services tag key that is used to identify the Amazon Web
-- Services resources that DevOps Guru analyzes. All Amazon Web Services
-- resources in your account and Region tagged with this key make
-- up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:UpdateTagCollectionFilter',
-- updateTagCollectionFilter_tagValues - The values in an Amazon
-- Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newUpdateTagCollectionFilter :: Text -> UpdateTagCollectionFilter
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
updateTagCollectionFilter_appBoundaryKey :: Lens' UpdateTagCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
updateTagCollectionFilter_tagValues :: Lens' UpdateTagCollectionFilter [Text]
-- | Starts the creation of an estimate of the monthly cost to analyze your
-- Amazon Web Services resources.
module Amazonka.DevOpsGuru.StartCostEstimation
-- | See: newStartCostEstimation smart constructor.
data StartCostEstimation
StartCostEstimation' :: Maybe Text -> CostEstimationResourceCollectionFilter -> StartCostEstimation
-- | The idempotency token used to identify each cost estimate request.
[$sel:clientToken:StartCostEstimation'] :: StartCostEstimation -> Maybe Text
-- | The collection of Amazon Web Services resources used to create a
-- monthly DevOps Guru cost estimate.
[$sel:resourceCollection:StartCostEstimation'] :: StartCostEstimation -> CostEstimationResourceCollectionFilter
-- | Create a value of StartCostEstimation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clientToken:StartCostEstimation',
-- startCostEstimation_clientToken - The idempotency token used to
-- identify each cost estimate request.
--
-- StartCostEstimation,
-- startCostEstimation_resourceCollection - The collection of
-- Amazon Web Services resources used to create a monthly DevOps Guru
-- cost estimate.
newStartCostEstimation :: CostEstimationResourceCollectionFilter -> StartCostEstimation
-- | The idempotency token used to identify each cost estimate request.
startCostEstimation_clientToken :: Lens' StartCostEstimation (Maybe Text)
-- | The collection of Amazon Web Services resources used to create a
-- monthly DevOps Guru cost estimate.
startCostEstimation_resourceCollection :: Lens' StartCostEstimation CostEstimationResourceCollectionFilter
-- | See: newStartCostEstimationResponse smart constructor.
data StartCostEstimationResponse
StartCostEstimationResponse' :: Int -> StartCostEstimationResponse
-- | The response's http status code.
[$sel:httpStatus:StartCostEstimationResponse'] :: StartCostEstimationResponse -> Int
-- | Create a value of StartCostEstimationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:StartCostEstimationResponse',
-- startCostEstimationResponse_httpStatus - The response's http
-- status code.
newStartCostEstimationResponse :: Int -> StartCostEstimationResponse
-- | The response's http status code.
startCostEstimationResponse_httpStatus :: Lens' StartCostEstimationResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance GHC.Show.Show Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance GHC.Read.Read Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance GHC.Classes.Eq Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance GHC.Generics.Generic Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimationResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimationResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimationResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimationResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimationResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.StartCostEstimation.StartCostEstimation
-- | Returns a list of insights in your organization. You can specify which
-- insights are returned by their start time, one or more statuses
-- (ONGOING, CLOSED, and CLOSED), one or more
-- severities (LOW, MEDIUM, and HIGH), and
-- type (REACTIVE or PROACTIVE).
--
-- Use the Filters parameter to specify status and severity
-- search parameters. Use the Type parameter to specify
-- REACTIVE or PROACTIVE in your search.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.SearchOrganizationInsights
-- | See: newSearchOrganizationInsights smart constructor.
data SearchOrganizationInsights
SearchOrganizationInsights' :: Maybe SearchOrganizationInsightsFilters -> Maybe Natural -> Maybe Text -> NonEmpty Text -> StartTimeRange -> InsightType -> SearchOrganizationInsights
-- | A SearchOrganizationInsightsFilters object that is used to
-- set the severity and status filters on your insight search.
[$sel:filters:SearchOrganizationInsights'] :: SearchOrganizationInsights -> Maybe SearchOrganizationInsightsFilters
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:SearchOrganizationInsights'] :: SearchOrganizationInsights -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:SearchOrganizationInsights'] :: SearchOrganizationInsights -> Maybe Text
-- | The ID of the Amazon Web Services account.
[$sel:accountIds:SearchOrganizationInsights'] :: SearchOrganizationInsights -> NonEmpty Text
[$sel:startTimeRange:SearchOrganizationInsights'] :: SearchOrganizationInsights -> StartTimeRange
-- | The type of insights you are searching for (REACTIVE or
-- PROACTIVE).
[$sel:type':SearchOrganizationInsights'] :: SearchOrganizationInsights -> InsightType
-- | Create a value of SearchOrganizationInsights with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_filters - A
-- SearchOrganizationInsightsFilters object that is used to set
-- the severity and status filters on your insight search.
--
-- $sel:maxResults:SearchOrganizationInsights',
-- searchOrganizationInsights_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If this
-- value is null, it retrieves the first page.
--
-- $sel:accountIds:SearchOrganizationInsights',
-- searchOrganizationInsights_accountIds - The ID of the Amazon
-- Web Services account.
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_startTimeRange - Undocumented
-- member.
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_type - The type of insights you are
-- searching for (REACTIVE or PROACTIVE).
newSearchOrganizationInsights :: NonEmpty Text -> StartTimeRange -> InsightType -> SearchOrganizationInsights
-- | A SearchOrganizationInsightsFilters object that is used to
-- set the severity and status filters on your insight search.
searchOrganizationInsights_filters :: Lens' SearchOrganizationInsights (Maybe SearchOrganizationInsightsFilters)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
searchOrganizationInsights_maxResults :: Lens' SearchOrganizationInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
searchOrganizationInsights_nextToken :: Lens' SearchOrganizationInsights (Maybe Text)
-- | The ID of the Amazon Web Services account.
searchOrganizationInsights_accountIds :: Lens' SearchOrganizationInsights (NonEmpty Text)
-- | Undocumented member.
searchOrganizationInsights_startTimeRange :: Lens' SearchOrganizationInsights StartTimeRange
-- | The type of insights you are searching for (REACTIVE or
-- PROACTIVE).
searchOrganizationInsights_type :: Lens' SearchOrganizationInsights InsightType
-- | See: newSearchOrganizationInsightsResponse smart
-- constructor.
data SearchOrganizationInsightsResponse
SearchOrganizationInsightsResponse' :: Maybe Text -> Maybe [ProactiveInsightSummary] -> Maybe [ReactiveInsightSummary] -> Int -> SearchOrganizationInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:SearchOrganizationInsightsResponse'] :: SearchOrganizationInsightsResponse -> Maybe Text
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
[$sel:proactiveInsights:SearchOrganizationInsightsResponse'] :: SearchOrganizationInsightsResponse -> Maybe [ProactiveInsightSummary]
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
[$sel:reactiveInsights:SearchOrganizationInsightsResponse'] :: SearchOrganizationInsightsResponse -> Maybe [ReactiveInsightSummary]
-- | The response's http status code.
[$sel:httpStatus:SearchOrganizationInsightsResponse'] :: SearchOrganizationInsightsResponse -> Int
-- | Create a value of SearchOrganizationInsightsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchOrganizationInsights,
-- searchOrganizationInsightsResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:SearchOrganizationInsightsResponse',
-- searchOrganizationInsightsResponse_proactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
--
-- $sel:reactiveInsights:SearchOrganizationInsightsResponse',
-- searchOrganizationInsightsResponse_reactiveInsights - An
-- integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
--
-- $sel:httpStatus:SearchOrganizationInsightsResponse',
-- searchOrganizationInsightsResponse_httpStatus - The response's
-- http status code.
newSearchOrganizationInsightsResponse :: Int -> SearchOrganizationInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
searchOrganizationInsightsResponse_nextToken :: Lens' SearchOrganizationInsightsResponse (Maybe Text)
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
searchOrganizationInsightsResponse_proactiveInsights :: Lens' SearchOrganizationInsightsResponse (Maybe [ProactiveInsightSummary])
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
searchOrganizationInsightsResponse_reactiveInsights :: Lens' SearchOrganizationInsightsResponse (Maybe [ReactiveInsightSummary])
-- | The response's http status code.
searchOrganizationInsightsResponse_httpStatus :: Lens' SearchOrganizationInsightsResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance GHC.Show.Show Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance GHC.Read.Read Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance GHC.Classes.Eq Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance GHC.Generics.Generic Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsightsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsightsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsightsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsightsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsightsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.SearchOrganizationInsights.SearchOrganizationInsights
-- | Returns a list of insights in your Amazon Web Services account. You
-- can specify which insights are returned by their start time, one or
-- more statuses (ONGOING or CLOSED), one or more
-- severities (LOW, MEDIUM, and HIGH), and
-- type (REACTIVE or PROACTIVE).
--
-- Use the Filters parameter to specify status and severity
-- search parameters. Use the Type parameter to specify
-- REACTIVE or PROACTIVE in your search.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.SearchInsights
-- | See: newSearchInsights smart constructor.
data SearchInsights
SearchInsights' :: Maybe SearchInsightsFilters -> Maybe Natural -> Maybe Text -> StartTimeRange -> InsightType -> SearchInsights
-- | A SearchInsightsFilters object that is used to set the
-- severity and status filters on your insight search.
[$sel:filters:SearchInsights'] :: SearchInsights -> Maybe SearchInsightsFilters
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:SearchInsights'] :: SearchInsights -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:SearchInsights'] :: SearchInsights -> Maybe Text
-- | The start of the time range passed in. Returned insights occurred
-- after this time.
[$sel:startTimeRange:SearchInsights'] :: SearchInsights -> StartTimeRange
-- | The type of insights you are searching for (REACTIVE or
-- PROACTIVE).
[$sel:type':SearchInsights'] :: SearchInsights -> InsightType
-- | Create a value of SearchInsights with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchInsights, searchInsights_filters - A
-- SearchInsightsFilters object that is used to set the severity
-- and status filters on your insight search.
--
-- $sel:maxResults:SearchInsights',
-- searchInsights_maxResults - The maximum number of results to
-- return with a single call. To retrieve the remaining results, make
-- another call with the returned nextToken value.
--
-- SearchInsights, searchInsights_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
--
-- SearchInsights, searchInsights_startTimeRange - The
-- start of the time range passed in. Returned insights occurred after
-- this time.
--
-- SearchInsights, searchInsights_type - The type of
-- insights you are searching for (REACTIVE or
-- PROACTIVE).
newSearchInsights :: StartTimeRange -> InsightType -> SearchInsights
-- | A SearchInsightsFilters object that is used to set the
-- severity and status filters on your insight search.
searchInsights_filters :: Lens' SearchInsights (Maybe SearchInsightsFilters)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
searchInsights_maxResults :: Lens' SearchInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
searchInsights_nextToken :: Lens' SearchInsights (Maybe Text)
-- | The start of the time range passed in. Returned insights occurred
-- after this time.
searchInsights_startTimeRange :: Lens' SearchInsights StartTimeRange
-- | The type of insights you are searching for (REACTIVE or
-- PROACTIVE).
searchInsights_type :: Lens' SearchInsights InsightType
-- | See: newSearchInsightsResponse smart constructor.
data SearchInsightsResponse
SearchInsightsResponse' :: Maybe Text -> Maybe [ProactiveInsightSummary] -> Maybe [ReactiveInsightSummary] -> Int -> SearchInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:SearchInsightsResponse'] :: SearchInsightsResponse -> Maybe Text
-- | The returned proactive insights.
[$sel:proactiveInsights:SearchInsightsResponse'] :: SearchInsightsResponse -> Maybe [ProactiveInsightSummary]
-- | The returned reactive insights.
[$sel:reactiveInsights:SearchInsightsResponse'] :: SearchInsightsResponse -> Maybe [ReactiveInsightSummary]
-- | The response's http status code.
[$sel:httpStatus:SearchInsightsResponse'] :: SearchInsightsResponse -> Int
-- | Create a value of SearchInsightsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchInsights, searchInsightsResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:SearchInsightsResponse',
-- searchInsightsResponse_proactiveInsights - The returned
-- proactive insights.
--
-- $sel:reactiveInsights:SearchInsightsResponse',
-- searchInsightsResponse_reactiveInsights - The returned reactive
-- insights.
--
-- $sel:httpStatus:SearchInsightsResponse',
-- searchInsightsResponse_httpStatus - The response's http status
-- code.
newSearchInsightsResponse :: Int -> SearchInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
searchInsightsResponse_nextToken :: Lens' SearchInsightsResponse (Maybe Text)
-- | The returned proactive insights.
searchInsightsResponse_proactiveInsights :: Lens' SearchInsightsResponse (Maybe [ProactiveInsightSummary])
-- | The returned reactive insights.
searchInsightsResponse_reactiveInsights :: Lens' SearchInsightsResponse (Maybe [ReactiveInsightSummary])
-- | The response's http status code.
searchInsightsResponse_httpStatus :: Lens' SearchInsightsResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance GHC.Show.Show Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance GHC.Read.Read Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance GHC.Classes.Eq Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance GHC.Generics.Generic Amazonka.DevOpsGuru.SearchInsights.SearchInsightsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.SearchInsights.SearchInsightsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.SearchInsights.SearchInsightsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.SearchInsights.SearchInsightsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.SearchInsights.SearchInsightsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.SearchInsights.SearchInsights
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.SearchInsights.SearchInsights
-- | Removes a notification channel from DevOps Guru. A notification
-- channel is used to notify you when DevOps Guru generates an insight
-- that contains information about how to improve your operations.
module Amazonka.DevOpsGuru.RemoveNotificationChannel
-- | See: newRemoveNotificationChannel smart constructor.
data RemoveNotificationChannel
RemoveNotificationChannel' :: Text -> RemoveNotificationChannel
-- | The ID of the notification channel to be removed.
[$sel:id:RemoveNotificationChannel'] :: RemoveNotificationChannel -> Text
-- | Create a value of RemoveNotificationChannel with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RemoveNotificationChannel, removeNotificationChannel_id
-- - The ID of the notification channel to be removed.
newRemoveNotificationChannel :: Text -> RemoveNotificationChannel
-- | The ID of the notification channel to be removed.
removeNotificationChannel_id :: Lens' RemoveNotificationChannel Text
-- | See: newRemoveNotificationChannelResponse smart
-- constructor.
data RemoveNotificationChannelResponse
RemoveNotificationChannelResponse' :: Int -> RemoveNotificationChannelResponse
-- | The response's http status code.
[$sel:httpStatus:RemoveNotificationChannelResponse'] :: RemoveNotificationChannelResponse -> Int
-- | Create a value of RemoveNotificationChannelResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:RemoveNotificationChannelResponse',
-- removeNotificationChannelResponse_httpStatus - The response's
-- http status code.
newRemoveNotificationChannelResponse :: Int -> RemoveNotificationChannelResponse
-- | The response's http status code.
removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance GHC.Show.Show Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance GHC.Read.Read Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance GHC.Classes.Eq Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance GHC.Generics.Generic Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannelResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannelResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannelResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannelResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannelResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.RemoveNotificationChannel.RemoveNotificationChannel
-- | Collects customer feedback about the specified insight.
module Amazonka.DevOpsGuru.PutFeedback
-- | See: newPutFeedback smart constructor.
data PutFeedback
PutFeedback' :: Maybe InsightFeedback -> PutFeedback
-- | The feedback from customers is about the recommendations in this
-- insight.
[$sel:insightFeedback:PutFeedback'] :: PutFeedback -> Maybe InsightFeedback
-- | Create a value of PutFeedback with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:insightFeedback:PutFeedback',
-- putFeedback_insightFeedback - The feedback from customers is
-- about the recommendations in this insight.
newPutFeedback :: PutFeedback
-- | The feedback from customers is about the recommendations in this
-- insight.
putFeedback_insightFeedback :: Lens' PutFeedback (Maybe InsightFeedback)
-- | See: newPutFeedbackResponse smart constructor.
data PutFeedbackResponse
PutFeedbackResponse' :: Int -> PutFeedbackResponse
-- | The response's http status code.
[$sel:httpStatus:PutFeedbackResponse'] :: PutFeedbackResponse -> Int
-- | Create a value of PutFeedbackResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:PutFeedbackResponse',
-- putFeedbackResponse_httpStatus - The response's http status
-- code.
newPutFeedbackResponse :: Int -> PutFeedbackResponse
-- | The response's http status code.
putFeedbackResponse_httpStatus :: Lens' PutFeedbackResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance GHC.Show.Show Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance GHC.Read.Read Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance GHC.Classes.Eq Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance GHC.Generics.Generic Amazonka.DevOpsGuru.PutFeedback.PutFeedbackResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.PutFeedback.PutFeedbackResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.PutFeedback.PutFeedbackResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.PutFeedback.PutFeedbackResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.PutFeedback.PutFeedbackResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.PutFeedback.PutFeedback
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.PutFeedback.PutFeedback
-- | Returns a list of a specified insight's recommendations. Each
-- recommendation includes a list of related metrics and a list of
-- related events.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListRecommendations
-- | See: newListRecommendations smart constructor.
data ListRecommendations
ListRecommendations' :: Maybe Text -> Maybe Locale -> Maybe Text -> Text -> ListRecommendations
-- | The ID of the Amazon Web Services account.
[$sel:accountId:ListRecommendations'] :: ListRecommendations -> Maybe Text
-- | A locale that specifies the language to use for recommendations.
[$sel:locale:ListRecommendations'] :: ListRecommendations -> Maybe Locale
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListRecommendations'] :: ListRecommendations -> Maybe Text
-- | The ID of the requested insight.
[$sel:insightId:ListRecommendations'] :: ListRecommendations -> Text
-- | Create a value of ListRecommendations with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListRecommendations, listRecommendations_accountId - The
-- ID of the Amazon Web Services account.
--
-- $sel:locale:ListRecommendations',
-- listRecommendations_locale - A locale that specifies the
-- language to use for recommendations.
--
-- ListRecommendations, listRecommendations_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
--
-- ListRecommendations, listRecommendations_insightId - The
-- ID of the requested insight.
newListRecommendations :: Text -> ListRecommendations
-- | The ID of the Amazon Web Services account.
listRecommendations_accountId :: Lens' ListRecommendations (Maybe Text)
-- | A locale that specifies the language to use for recommendations.
listRecommendations_locale :: Lens' ListRecommendations (Maybe Locale)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listRecommendations_nextToken :: Lens' ListRecommendations (Maybe Text)
-- | The ID of the requested insight.
listRecommendations_insightId :: Lens' ListRecommendations Text
-- | See: newListRecommendationsResponse smart constructor.
data ListRecommendationsResponse
ListRecommendationsResponse' :: Maybe Text -> Maybe [Recommendation] -> Int -> ListRecommendationsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListRecommendationsResponse'] :: ListRecommendationsResponse -> Maybe Text
-- | An array of the requested recommendations.
[$sel:recommendations:ListRecommendationsResponse'] :: ListRecommendationsResponse -> Maybe [Recommendation]
-- | The response's http status code.
[$sel:httpStatus:ListRecommendationsResponse'] :: ListRecommendationsResponse -> Int
-- | Create a value of ListRecommendationsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListRecommendations,
-- listRecommendationsResponse_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If there
-- are no more pages, this value is null.
--
-- $sel:recommendations:ListRecommendationsResponse',
-- listRecommendationsResponse_recommendations - An array of the
-- requested recommendations.
--
-- $sel:httpStatus:ListRecommendationsResponse',
-- listRecommendationsResponse_httpStatus - The response's http
-- status code.
newListRecommendationsResponse :: Int -> ListRecommendationsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listRecommendationsResponse_nextToken :: Lens' ListRecommendationsResponse (Maybe Text)
-- | An array of the requested recommendations.
listRecommendationsResponse_recommendations :: Lens' ListRecommendationsResponse (Maybe [Recommendation])
-- | The response's http status code.
listRecommendationsResponse_httpStatus :: Lens' ListRecommendationsResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance GHC.Show.Show Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance GHC.Read.Read Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListRecommendations.ListRecommendationsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListRecommendations.ListRecommendationsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListRecommendations.ListRecommendationsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListRecommendations.ListRecommendationsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListRecommendations.ListRecommendationsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListRecommendations.ListRecommendations
-- | Returns a list of insights associated with the account or OU Id.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListOrganizationInsights
-- | See: newListOrganizationInsights smart constructor.
data ListOrganizationInsights
ListOrganizationInsights' :: Maybe [Text] -> Maybe Natural -> Maybe Text -> Maybe [Text] -> ListInsightsStatusFilter -> ListOrganizationInsights
-- | The ID of the Amazon Web Services account.
[$sel:accountIds:ListOrganizationInsights'] :: ListOrganizationInsights -> Maybe [Text]
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:ListOrganizationInsights'] :: ListOrganizationInsights -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListOrganizationInsights'] :: ListOrganizationInsights -> Maybe Text
-- | The ID of the organizational unit.
[$sel:organizationalUnitIds:ListOrganizationInsights'] :: ListOrganizationInsights -> Maybe [Text]
[$sel:statusFilter:ListOrganizationInsights'] :: ListOrganizationInsights -> ListInsightsStatusFilter
-- | Create a value of ListOrganizationInsights with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:ListOrganizationInsights',
-- listOrganizationInsights_accountIds - The ID of the Amazon Web
-- Services account.
--
-- $sel:maxResults:ListOrganizationInsights',
-- listOrganizationInsights_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListOrganizationInsights,
-- listOrganizationInsights_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If this
-- value is null, it retrieves the first page.
--
-- $sel:organizationalUnitIds:ListOrganizationInsights',
-- listOrganizationInsights_organizationalUnitIds - The ID of the
-- organizational unit.
--
-- $sel:statusFilter:ListOrganizationInsights',
-- listOrganizationInsights_statusFilter - Undocumented member.
newListOrganizationInsights :: ListInsightsStatusFilter -> ListOrganizationInsights
-- | The ID of the Amazon Web Services account.
listOrganizationInsights_accountIds :: Lens' ListOrganizationInsights (Maybe [Text])
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listOrganizationInsights_maxResults :: Lens' ListOrganizationInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listOrganizationInsights_nextToken :: Lens' ListOrganizationInsights (Maybe Text)
-- | The ID of the organizational unit.
listOrganizationInsights_organizationalUnitIds :: Lens' ListOrganizationInsights (Maybe [Text])
-- | Undocumented member.
listOrganizationInsights_statusFilter :: Lens' ListOrganizationInsights ListInsightsStatusFilter
-- | See: newListOrganizationInsightsResponse smart
-- constructor.
data ListOrganizationInsightsResponse
ListOrganizationInsightsResponse' :: Maybe Text -> Maybe [ProactiveOrganizationInsightSummary] -> Maybe [ReactiveOrganizationInsightSummary] -> Int -> ListOrganizationInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListOrganizationInsightsResponse'] :: ListOrganizationInsightsResponse -> Maybe Text
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
[$sel:proactiveInsights:ListOrganizationInsightsResponse'] :: ListOrganizationInsightsResponse -> Maybe [ProactiveOrganizationInsightSummary]
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
[$sel:reactiveInsights:ListOrganizationInsightsResponse'] :: ListOrganizationInsightsResponse -> Maybe [ReactiveOrganizationInsightSummary]
-- | The response's http status code.
[$sel:httpStatus:ListOrganizationInsightsResponse'] :: ListOrganizationInsightsResponse -> Int
-- | Create a value of ListOrganizationInsightsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOrganizationInsights,
-- listOrganizationInsightsResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:ListOrganizationInsightsResponse',
-- listOrganizationInsightsResponse_proactiveInsights - An integer
-- that specifies the number of open proactive insights in your Amazon
-- Web Services account.
--
-- $sel:reactiveInsights:ListOrganizationInsightsResponse',
-- listOrganizationInsightsResponse_reactiveInsights - An integer
-- that specifies the number of open reactive insights in your Amazon Web
-- Services account.
--
-- $sel:httpStatus:ListOrganizationInsightsResponse',
-- listOrganizationInsightsResponse_httpStatus - The response's
-- http status code.
newListOrganizationInsightsResponse :: Int -> ListOrganizationInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listOrganizationInsightsResponse_nextToken :: Lens' ListOrganizationInsightsResponse (Maybe Text)
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
listOrganizationInsightsResponse_proactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ProactiveOrganizationInsightSummary])
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
listOrganizationInsightsResponse_reactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ReactiveOrganizationInsightSummary])
-- | The response's http status code.
listOrganizationInsightsResponse_httpStatus :: Lens' ListOrganizationInsightsResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance GHC.Show.Show Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance GHC.Read.Read Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsightsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsightsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsightsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsightsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsightsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListOrganizationInsights.ListOrganizationInsights
-- | Returns a list of notification channels configured for DevOps Guru.
-- Each notification channel is used to notify you when DevOps Guru
-- generates an insight that contains information about how to improve
-- your operations. The one supported notification channel is Amazon
-- Simple Notification Service (Amazon SNS).
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListNotificationChannels
-- | See: newListNotificationChannels smart constructor.
data ListNotificationChannels
ListNotificationChannels' :: Maybe Text -> ListNotificationChannels
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListNotificationChannels'] :: ListNotificationChannels -> Maybe Text
-- | Create a value of ListNotificationChannels with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListNotificationChannels,
-- listNotificationChannels_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If this
-- value is null, it retrieves the first page.
newListNotificationChannels :: ListNotificationChannels
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listNotificationChannels_nextToken :: Lens' ListNotificationChannels (Maybe Text)
-- | See: newListNotificationChannelsResponse smart
-- constructor.
data ListNotificationChannelsResponse
ListNotificationChannelsResponse' :: Maybe [NotificationChannel] -> Maybe Text -> Int -> ListNotificationChannelsResponse
-- | An array that contains the requested notification channels.
[$sel:channels:ListNotificationChannelsResponse'] :: ListNotificationChannelsResponse -> Maybe [NotificationChannel]
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListNotificationChannelsResponse'] :: ListNotificationChannelsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListNotificationChannelsResponse'] :: ListNotificationChannelsResponse -> Int
-- | Create a value of ListNotificationChannelsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:channels:ListNotificationChannelsResponse',
-- listNotificationChannelsResponse_channels - An array that
-- contains the requested notification channels.
--
-- ListNotificationChannels,
-- listNotificationChannelsResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:httpStatus:ListNotificationChannelsResponse',
-- listNotificationChannelsResponse_httpStatus - The response's
-- http status code.
newListNotificationChannelsResponse :: Int -> ListNotificationChannelsResponse
-- | An array that contains the requested notification channels.
listNotificationChannelsResponse_channels :: Lens' ListNotificationChannelsResponse (Maybe [NotificationChannel])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listNotificationChannelsResponse_nextToken :: Lens' ListNotificationChannelsResponse (Maybe Text)
-- | The response's http status code.
listNotificationChannelsResponse_httpStatus :: Lens' ListNotificationChannelsResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance GHC.Show.Show Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance GHC.Read.Read Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannelsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannelsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannelsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannelsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannelsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListNotificationChannels.ListNotificationChannels
-- | Returns the list of all log groups that are being monitored and tagged
-- by DevOps Guru.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListMonitoredResources
-- | See: newListMonitoredResources smart constructor.
data ListMonitoredResources
ListMonitoredResources' :: Maybe ListMonitoredResourcesFilters -> Maybe Natural -> Maybe Text -> ListMonitoredResources
-- | Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
[$sel:filters:ListMonitoredResources'] :: ListMonitoredResources -> Maybe ListMonitoredResourcesFilters
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:ListMonitoredResources'] :: ListMonitoredResources -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListMonitoredResources'] :: ListMonitoredResources -> Maybe Text
-- | Create a value of ListMonitoredResources with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListMonitoredResources, listMonitoredResources_filters -
-- Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
--
-- $sel:maxResults:ListMonitoredResources',
-- listMonitoredResources_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListMonitoredResources, listMonitoredResources_nextToken
-- - The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
newListMonitoredResources :: ListMonitoredResources
-- | Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
listMonitoredResources_filters :: Lens' ListMonitoredResources (Maybe ListMonitoredResourcesFilters)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listMonitoredResources_maxResults :: Lens' ListMonitoredResources (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listMonitoredResources_nextToken :: Lens' ListMonitoredResources (Maybe Text)
-- | See: newListMonitoredResourcesResponse smart
-- constructor.
data ListMonitoredResourcesResponse
ListMonitoredResourcesResponse' :: Maybe Text -> Int -> [MonitoredResourceIdentifier] -> ListMonitoredResourcesResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListMonitoredResourcesResponse'] :: ListMonitoredResourcesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListMonitoredResourcesResponse'] :: ListMonitoredResourcesResponse -> Int
-- | Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
[$sel:monitoredResourceIdentifiers:ListMonitoredResourcesResponse'] :: ListMonitoredResourcesResponse -> [MonitoredResourceIdentifier]
-- | Create a value of ListMonitoredResourcesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListMonitoredResources,
-- listMonitoredResourcesResponse_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- there are no more pages, this value is null.
--
-- $sel:httpStatus:ListMonitoredResourcesResponse',
-- listMonitoredResourcesResponse_httpStatus - The response's http
-- status code.
--
--
-- $sel:monitoredResourceIdentifiers:ListMonitoredResourcesResponse',
-- listMonitoredResourcesResponse_monitoredResourceIdentifiers -
-- Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
newListMonitoredResourcesResponse :: Int -> ListMonitoredResourcesResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listMonitoredResourcesResponse_nextToken :: Lens' ListMonitoredResourcesResponse (Maybe Text)
-- | The response's http status code.
listMonitoredResourcesResponse_httpStatus :: Lens' ListMonitoredResourcesResponse Int
-- | Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
listMonitoredResourcesResponse_monitoredResourceIdentifiers :: Lens' ListMonitoredResourcesResponse [MonitoredResourceIdentifier]
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance GHC.Show.Show Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance GHC.Read.Read Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResourcesResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResourcesResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResourcesResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResourcesResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResourcesResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListMonitoredResources.ListMonitoredResources
-- | Returns a list of insights in your Amazon Web Services account. You
-- can specify which insights are returned by their start time and status
-- (ONGOING, CLOSED, or ANY).
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListInsights
-- | See: newListInsights smart constructor.
data ListInsights
ListInsights' :: Maybe Natural -> Maybe Text -> ListInsightsStatusFilter -> ListInsights
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:ListInsights'] :: ListInsights -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListInsights'] :: ListInsights -> Maybe Text
-- | A filter used to filter the returned insights by their status. You can
-- specify one status filter.
[$sel:statusFilter:ListInsights'] :: ListInsights -> ListInsightsStatusFilter
-- | Create a value of ListInsights with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListInsights', listInsights_maxResults -
-- The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
--
-- ListInsights, listInsights_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If this value is null, it retrieves the first page.
--
-- $sel:statusFilter:ListInsights',
-- listInsights_statusFilter - A filter used to filter the
-- returned insights by their status. You can specify one status filter.
newListInsights :: ListInsightsStatusFilter -> ListInsights
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listInsights_maxResults :: Lens' ListInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listInsights_nextToken :: Lens' ListInsights (Maybe Text)
-- | A filter used to filter the returned insights by their status. You can
-- specify one status filter.
listInsights_statusFilter :: Lens' ListInsights ListInsightsStatusFilter
-- | See: newListInsightsResponse smart constructor.
data ListInsightsResponse
ListInsightsResponse' :: Maybe Text -> Maybe [ProactiveInsightSummary] -> Maybe [ReactiveInsightSummary] -> Int -> ListInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListInsightsResponse'] :: ListInsightsResponse -> Maybe Text
-- | The returned list of proactive insights.
[$sel:proactiveInsights:ListInsightsResponse'] :: ListInsightsResponse -> Maybe [ProactiveInsightSummary]
-- | The returned list of reactive insights.
[$sel:reactiveInsights:ListInsightsResponse'] :: ListInsightsResponse -> Maybe [ReactiveInsightSummary]
-- | The response's http status code.
[$sel:httpStatus:ListInsightsResponse'] :: ListInsightsResponse -> Int
-- | Create a value of ListInsightsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListInsights, listInsightsResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:ListInsightsResponse',
-- listInsightsResponse_proactiveInsights - The returned list of
-- proactive insights.
--
-- $sel:reactiveInsights:ListInsightsResponse',
-- listInsightsResponse_reactiveInsights - The returned list of
-- reactive insights.
--
-- $sel:httpStatus:ListInsightsResponse',
-- listInsightsResponse_httpStatus - The response's http status
-- code.
newListInsightsResponse :: Int -> ListInsightsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listInsightsResponse_nextToken :: Lens' ListInsightsResponse (Maybe Text)
-- | The returned list of proactive insights.
listInsightsResponse_proactiveInsights :: Lens' ListInsightsResponse (Maybe [ProactiveInsightSummary])
-- | The returned list of reactive insights.
listInsightsResponse_reactiveInsights :: Lens' ListInsightsResponse (Maybe [ReactiveInsightSummary])
-- | The response's http status code.
listInsightsResponse_httpStatus :: Lens' ListInsightsResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListInsights.ListInsights
instance GHC.Show.Show Amazonka.DevOpsGuru.ListInsights.ListInsights
instance GHC.Read.Read Amazonka.DevOpsGuru.ListInsights.ListInsights
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListInsights.ListInsights
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListInsights.ListInsightsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListInsights.ListInsightsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListInsights.ListInsightsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListInsights.ListInsightsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListInsights.ListInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListInsights.ListInsightsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListInsights.ListInsights
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListInsights.ListInsights
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListInsights.ListInsights
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListInsights.ListInsights
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListInsights.ListInsights
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListInsights.ListInsights
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListInsights.ListInsights
-- | Returns a list of the events emitted by the resources that are
-- evaluated by DevOps Guru. You can use filters to specify which events
-- are returned.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListEvents
-- | See: newListEvents smart constructor.
data ListEvents
ListEvents' :: Maybe Text -> Maybe Natural -> Maybe Text -> ListEventsFilters -> ListEvents
-- | The ID of the Amazon Web Services account.
[$sel:accountId:ListEvents'] :: ListEvents -> Maybe Text
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:ListEvents'] :: ListEvents -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListEvents'] :: ListEvents -> Maybe Text
-- | A ListEventsFilters object used to specify which events to
-- return.
[$sel:filters:ListEvents'] :: ListEvents -> ListEventsFilters
-- | Create a value of ListEvents with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListEvents, listEvents_accountId - The ID of the Amazon
-- Web Services account.
--
-- $sel:maxResults:ListEvents', listEvents_maxResults - The
-- maximum number of results to return with a single call. To retrieve
-- the remaining results, make another call with the returned
-- nextToken value.
--
-- ListEvents, listEvents_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- this value is null, it retrieves the first page.
--
-- ListEvents, listEvents_filters - A
-- ListEventsFilters object used to specify which events to
-- return.
newListEvents :: ListEventsFilters -> ListEvents
-- | The ID of the Amazon Web Services account.
listEvents_accountId :: Lens' ListEvents (Maybe Text)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listEvents_maxResults :: Lens' ListEvents (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listEvents_nextToken :: Lens' ListEvents (Maybe Text)
-- | A ListEventsFilters object used to specify which events to
-- return.
listEvents_filters :: Lens' ListEvents ListEventsFilters
-- | See: newListEventsResponse smart constructor.
data ListEventsResponse
ListEventsResponse' :: Maybe Text -> Int -> [Event] -> ListEventsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListEventsResponse'] :: ListEventsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListEventsResponse'] :: ListEventsResponse -> Int
-- | A list of the requested events.
[$sel:events:ListEventsResponse'] :: ListEventsResponse -> [Event]
-- | Create a value of ListEventsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListEvents, listEventsResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:httpStatus:ListEventsResponse',
-- listEventsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:events:ListEventsResponse',
-- listEventsResponse_events - A list of the requested events.
newListEventsResponse :: Int -> ListEventsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listEventsResponse_nextToken :: Lens' ListEventsResponse (Maybe Text)
-- | The response's http status code.
listEventsResponse_httpStatus :: Lens' ListEventsResponse Int
-- | A list of the requested events.
listEventsResponse_events :: Lens' ListEventsResponse [Event]
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListEvents.ListEvents
instance GHC.Show.Show Amazonka.DevOpsGuru.ListEvents.ListEvents
instance GHC.Read.Read Amazonka.DevOpsGuru.ListEvents.ListEvents
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListEvents.ListEvents
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListEvents.ListEventsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListEvents.ListEventsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListEvents.ListEventsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListEvents.ListEventsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListEvents.ListEvents
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListEvents.ListEventsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListEvents.ListEvents
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListEvents.ListEvents
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListEvents.ListEvents
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListEvents.ListEvents
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListEvents.ListEvents
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListEvents.ListEvents
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListEvents.ListEvents
-- | Returns the list of log groups that contain log anomalies.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListAnomalousLogGroups
-- | See: newListAnomalousLogGroups smart constructor.
data ListAnomalousLogGroups
ListAnomalousLogGroups' :: Maybe Natural -> Maybe Text -> Text -> ListAnomalousLogGroups
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:ListAnomalousLogGroups'] :: ListAnomalousLogGroups -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListAnomalousLogGroups'] :: ListAnomalousLogGroups -> Maybe Text
-- | The ID of the insight containing the log groups.
[$sel:insightId:ListAnomalousLogGroups'] :: ListAnomalousLogGroups -> Text
-- | Create a value of ListAnomalousLogGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListAnomalousLogGroups',
-- listAnomalousLogGroups_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListAnomalousLogGroups, listAnomalousLogGroups_nextToken
-- - The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
--
-- ListAnomalousLogGroups, listAnomalousLogGroups_insightId
-- - The ID of the insight containing the log groups.
newListAnomalousLogGroups :: Text -> ListAnomalousLogGroups
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listAnomalousLogGroups_maxResults :: Lens' ListAnomalousLogGroups (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listAnomalousLogGroups_nextToken :: Lens' ListAnomalousLogGroups (Maybe Text)
-- | The ID of the insight containing the log groups.
listAnomalousLogGroups_insightId :: Lens' ListAnomalousLogGroups Text
-- | See: newListAnomalousLogGroupsResponse smart
-- constructor.
data ListAnomalousLogGroupsResponse
ListAnomalousLogGroupsResponse' :: Maybe Text -> Int -> Text -> [AnomalousLogGroup] -> ListAnomalousLogGroupsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListAnomalousLogGroupsResponse'] :: ListAnomalousLogGroupsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListAnomalousLogGroupsResponse'] :: ListAnomalousLogGroupsResponse -> Int
-- | The ID of the insight containing the log groups.
[$sel:insightId:ListAnomalousLogGroupsResponse'] :: ListAnomalousLogGroupsResponse -> Text
-- | The list of Amazon CloudWatch log groups that are related to an
-- insight.
[$sel:anomalousLogGroups:ListAnomalousLogGroupsResponse'] :: ListAnomalousLogGroupsResponse -> [AnomalousLogGroup]
-- | Create a value of ListAnomalousLogGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAnomalousLogGroups,
-- listAnomalousLogGroupsResponse_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- there are no more pages, this value is null.
--
-- $sel:httpStatus:ListAnomalousLogGroupsResponse',
-- listAnomalousLogGroupsResponse_httpStatus - The response's http
-- status code.
--
-- ListAnomalousLogGroups,
-- listAnomalousLogGroupsResponse_insightId - The ID of the
-- insight containing the log groups.
--
-- $sel:anomalousLogGroups:ListAnomalousLogGroupsResponse',
-- listAnomalousLogGroupsResponse_anomalousLogGroups - The list of
-- Amazon CloudWatch log groups that are related to an insight.
newListAnomalousLogGroupsResponse :: Int -> Text -> ListAnomalousLogGroupsResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listAnomalousLogGroupsResponse_nextToken :: Lens' ListAnomalousLogGroupsResponse (Maybe Text)
-- | The response's http status code.
listAnomalousLogGroupsResponse_httpStatus :: Lens' ListAnomalousLogGroupsResponse Int
-- | The ID of the insight containing the log groups.
listAnomalousLogGroupsResponse_insightId :: Lens' ListAnomalousLogGroupsResponse Text
-- | The list of Amazon CloudWatch log groups that are related to an
-- insight.
listAnomalousLogGroupsResponse_anomalousLogGroups :: Lens' ListAnomalousLogGroupsResponse [AnomalousLogGroup]
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance GHC.Show.Show Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance GHC.Read.Read Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroupsResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroupsResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroupsResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListAnomalousLogGroups.ListAnomalousLogGroups
-- | Returns a list of the anomalies that belong to an insight that you
-- specify using its ID.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.ListAnomaliesForInsight
-- | See: newListAnomaliesForInsight smart constructor.
data ListAnomaliesForInsight
ListAnomaliesForInsight' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe StartTimeRange -> Text -> ListAnomaliesForInsight
-- | The ID of the Amazon Web Services account.
[$sel:accountId:ListAnomaliesForInsight'] :: ListAnomaliesForInsight -> Maybe Text
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:ListAnomaliesForInsight'] :: ListAnomaliesForInsight -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:ListAnomaliesForInsight'] :: ListAnomaliesForInsight -> Maybe Text
-- | A time range used to specify when the requested anomalies started. All
-- returned anomalies started during this time range.
[$sel:startTimeRange:ListAnomaliesForInsight'] :: ListAnomaliesForInsight -> Maybe StartTimeRange
-- | The ID of the insight. The returned anomalies belong to this insight.
[$sel:insightId:ListAnomaliesForInsight'] :: ListAnomaliesForInsight -> Text
-- | Create a value of ListAnomaliesForInsight with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_accountId - The ID of the Amazon Web
-- Services account.
--
-- $sel:maxResults:ListAnomaliesForInsight',
-- listAnomaliesForInsight_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_nextToken - The pagination token to use
-- to retrieve the next page of results for this operation. If this value
-- is null, it retrieves the first page.
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_startTimeRange - A time range used to
-- specify when the requested anomalies started. All returned anomalies
-- started during this time range.
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_insightId - The ID of the insight. The
-- returned anomalies belong to this insight.
newListAnomaliesForInsight :: Text -> ListAnomaliesForInsight
-- | The ID of the Amazon Web Services account.
listAnomaliesForInsight_accountId :: Lens' ListAnomaliesForInsight (Maybe Text)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listAnomaliesForInsight_maxResults :: Lens' ListAnomaliesForInsight (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listAnomaliesForInsight_nextToken :: Lens' ListAnomaliesForInsight (Maybe Text)
-- | A time range used to specify when the requested anomalies started. All
-- returned anomalies started during this time range.
listAnomaliesForInsight_startTimeRange :: Lens' ListAnomaliesForInsight (Maybe StartTimeRange)
-- | The ID of the insight. The returned anomalies belong to this insight.
listAnomaliesForInsight_insightId :: Lens' ListAnomaliesForInsight Text
-- | See: newListAnomaliesForInsightResponse smart
-- constructor.
data ListAnomaliesForInsightResponse
ListAnomaliesForInsightResponse' :: Maybe Text -> Maybe [ProactiveAnomalySummary] -> Maybe [ReactiveAnomalySummary] -> Int -> ListAnomaliesForInsightResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:ListAnomaliesForInsightResponse'] :: ListAnomaliesForInsightResponse -> Maybe Text
-- | An array of ProactiveAnomalySummary objects that represent
-- the requested anomalies
[$sel:proactiveAnomalies:ListAnomaliesForInsightResponse'] :: ListAnomaliesForInsightResponse -> Maybe [ProactiveAnomalySummary]
-- | An array of ReactiveAnomalySummary objects that represent the
-- requested anomalies
[$sel:reactiveAnomalies:ListAnomaliesForInsightResponse'] :: ListAnomaliesForInsightResponse -> Maybe [ReactiveAnomalySummary]
-- | The response's http status code.
[$sel:httpStatus:ListAnomaliesForInsightResponse'] :: ListAnomaliesForInsightResponse -> Int
-- | Create a value of ListAnomaliesForInsightResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsightResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:proactiveAnomalies:ListAnomaliesForInsightResponse',
-- listAnomaliesForInsightResponse_proactiveAnomalies - An array
-- of ProactiveAnomalySummary objects that represent the
-- requested anomalies
--
-- $sel:reactiveAnomalies:ListAnomaliesForInsightResponse',
-- listAnomaliesForInsightResponse_reactiveAnomalies - An array of
-- ReactiveAnomalySummary objects that represent the requested
-- anomalies
--
-- $sel:httpStatus:ListAnomaliesForInsightResponse',
-- listAnomaliesForInsightResponse_httpStatus - The response's
-- http status code.
newListAnomaliesForInsightResponse :: Int -> ListAnomaliesForInsightResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listAnomaliesForInsightResponse_nextToken :: Lens' ListAnomaliesForInsightResponse (Maybe Text)
-- | An array of ProactiveAnomalySummary objects that represent
-- the requested anomalies
listAnomaliesForInsightResponse_proactiveAnomalies :: Lens' ListAnomaliesForInsightResponse (Maybe [ProactiveAnomalySummary])
-- | An array of ReactiveAnomalySummary objects that represent the
-- requested anomalies
listAnomaliesForInsightResponse_reactiveAnomalies :: Lens' ListAnomaliesForInsightResponse (Maybe [ReactiveAnomalySummary])
-- | The response's http status code.
listAnomaliesForInsightResponse_httpStatus :: Lens' ListAnomaliesForInsightResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance GHC.Show.Show Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance GHC.Read.Read Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance GHC.Generics.Generic Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsightResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsightResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsightResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsightResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsightResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.ListAnomaliesForInsight.ListAnomaliesForInsight
-- | Returns lists Amazon Web Services resources that are of the specified
-- resource collection type. The two types of Amazon Web Services
-- resource collections supported are Amazon Web Services CloudFormation
-- stacks and Amazon Web Services resources that contain the same Amazon
-- Web Services tag. DevOps Guru can be configured to analyze the Amazon
-- Web Services resources that are defined in the stacks or that are
-- tagged using the same tag key. You can specify up to 500 Amazon
-- Web Services CloudFormation stacks.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.GetResourceCollection
-- | See: newGetResourceCollection smart constructor.
data GetResourceCollection
GetResourceCollection' :: Maybe Text -> ResourceCollectionType -> GetResourceCollection
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:GetResourceCollection'] :: GetResourceCollection -> Maybe Text
-- | The type of Amazon Web Services resource collections to return. The
-- one valid value is CLOUD_FORMATION for Amazon Web Services
-- CloudFormation stacks.
[$sel:resourceCollectionType:GetResourceCollection'] :: GetResourceCollection -> ResourceCollectionType
-- | Create a value of GetResourceCollection with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResourceCollection, getResourceCollection_nextToken -
-- The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
--
-- $sel:resourceCollectionType:GetResourceCollection',
-- getResourceCollection_resourceCollectionType - The type of
-- Amazon Web Services resource collections to return. The one valid
-- value is CLOUD_FORMATION for Amazon Web Services
-- CloudFormation stacks.
newGetResourceCollection :: ResourceCollectionType -> GetResourceCollection
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
getResourceCollection_nextToken :: Lens' GetResourceCollection (Maybe Text)
-- | The type of Amazon Web Services resource collections to return. The
-- one valid value is CLOUD_FORMATION for Amazon Web Services
-- CloudFormation stacks.
getResourceCollection_resourceCollectionType :: Lens' GetResourceCollection ResourceCollectionType
-- | See: newGetResourceCollectionResponse smart constructor.
data GetResourceCollectionResponse
GetResourceCollectionResponse' :: Maybe Text -> Maybe ResourceCollectionFilter -> Int -> GetResourceCollectionResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:GetResourceCollectionResponse'] :: GetResourceCollectionResponse -> Maybe Text
-- | The requested list of Amazon Web Services resource collections. The
-- two types of Amazon Web Services resource collections supported are
-- Amazon Web Services CloudFormation stacks and Amazon Web Services
-- resources that contain the same Amazon Web Services tag. DevOps Guru
-- can be configured to analyze the Amazon Web Services resources that
-- are defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
[$sel:resourceCollection:GetResourceCollectionResponse'] :: GetResourceCollectionResponse -> Maybe ResourceCollectionFilter
-- | The response's http status code.
[$sel:httpStatus:GetResourceCollectionResponse'] :: GetResourceCollectionResponse -> Int
-- | Create a value of GetResourceCollectionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResourceCollection,
-- getResourceCollectionResponse_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- there are no more pages, this value is null.
--
-- GetResourceCollectionResponse,
-- getResourceCollectionResponse_resourceCollection - The
-- requested list of Amazon Web Services resource collections. The two
-- types of Amazon Web Services resource collections supported are Amazon
-- Web Services CloudFormation stacks and Amazon Web Services resources
-- that contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
--
-- $sel:httpStatus:GetResourceCollectionResponse',
-- getResourceCollectionResponse_httpStatus - The response's http
-- status code.
newGetResourceCollectionResponse :: Int -> GetResourceCollectionResponse
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
getResourceCollectionResponse_nextToken :: Lens' GetResourceCollectionResponse (Maybe Text)
-- | The requested list of Amazon Web Services resource collections. The
-- two types of Amazon Web Services resource collections supported are
-- Amazon Web Services CloudFormation stacks and Amazon Web Services
-- resources that contain the same Amazon Web Services tag. DevOps Guru
-- can be configured to analyze the Amazon Web Services resources that
-- are defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
getResourceCollectionResponse_resourceCollection :: Lens' GetResourceCollectionResponse (Maybe ResourceCollectionFilter)
-- | The response's http status code.
getResourceCollectionResponse_httpStatus :: Lens' GetResourceCollectionResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance GHC.Show.Show Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance GHC.Read.Read Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance GHC.Classes.Eq Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance GHC.Generics.Generic Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollectionResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollectionResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollectionResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollectionResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollectionResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.GetResourceCollection.GetResourceCollection
-- | Returns an estimate of the monthly cost for DevOps Guru to analyze
-- your Amazon Web Services resources. For more information, see
-- Estimate your Amazon DevOps Guru costs and Amazon DevOps
-- Guru pricing.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.GetCostEstimation
-- | See: newGetCostEstimation smart constructor.
data GetCostEstimation
GetCostEstimation' :: Maybe Text -> GetCostEstimation
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:GetCostEstimation'] :: GetCostEstimation -> Maybe Text
-- | Create a value of GetCostEstimation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCostEstimation, getCostEstimation_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
newGetCostEstimation :: GetCostEstimation
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
getCostEstimation_nextToken :: Lens' GetCostEstimation (Maybe Text)
-- | See: newGetCostEstimationResponse smart constructor.
data GetCostEstimationResponse
GetCostEstimationResponse' :: Maybe [ServiceResourceCost] -> Maybe Text -> Maybe CostEstimationResourceCollectionFilter -> Maybe CostEstimationStatus -> Maybe CostEstimationTimeRange -> Maybe Double -> Int -> GetCostEstimationResponse
-- | An array of ResourceCost objects that each contains details
-- about the monthly cost estimate to analyze one of your Amazon Web
-- Services resources.
[$sel:costs:GetCostEstimationResponse'] :: GetCostEstimationResponse -> Maybe [ServiceResourceCost]
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:GetCostEstimationResponse'] :: GetCostEstimationResponse -> Maybe Text
-- | The collection of the Amazon Web Services resources used to create
-- your monthly DevOps Guru cost estimate.
[$sel:resourceCollection:GetCostEstimationResponse'] :: GetCostEstimationResponse -> Maybe CostEstimationResourceCollectionFilter
-- | The status of creating this cost estimate. If it's still in progress,
-- the status ONGOING is returned. If it is finished, the status
-- COMPLETED is returned.
[$sel:status:GetCostEstimationResponse'] :: GetCostEstimationResponse -> Maybe CostEstimationStatus
-- | The start and end time of the cost estimation.
[$sel:timeRange:GetCostEstimationResponse'] :: GetCostEstimationResponse -> Maybe CostEstimationTimeRange
-- | The estimated monthly cost to analyze the Amazon Web Services
-- resources. This value is the sum of the estimated costs to analyze
-- each resource in the Costs object in this response.
[$sel:totalCost:GetCostEstimationResponse'] :: GetCostEstimationResponse -> Maybe Double
-- | The response's http status code.
[$sel:httpStatus:GetCostEstimationResponse'] :: GetCostEstimationResponse -> Int
-- | Create a value of GetCostEstimationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:costs:GetCostEstimationResponse',
-- getCostEstimationResponse_costs - An array of
-- ResourceCost objects that each contains details about the
-- monthly cost estimate to analyze one of your Amazon Web Services
-- resources.
--
-- GetCostEstimation, getCostEstimationResponse_nextToken -
-- The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
--
-- GetCostEstimationResponse,
-- getCostEstimationResponse_resourceCollection - The collection
-- of the Amazon Web Services resources used to create your monthly
-- DevOps Guru cost estimate.
--
-- GetCostEstimationResponse,
-- getCostEstimationResponse_status - The status of creating this
-- cost estimate. If it's still in progress, the status ONGOING
-- is returned. If it is finished, the status COMPLETED is
-- returned.
--
-- $sel:timeRange:GetCostEstimationResponse',
-- getCostEstimationResponse_timeRange - The start and end time of
-- the cost estimation.
--
-- $sel:totalCost:GetCostEstimationResponse',
-- getCostEstimationResponse_totalCost - The estimated monthly
-- cost to analyze the Amazon Web Services resources. This value is the
-- sum of the estimated costs to analyze each resource in the
-- Costs object in this response.
--
-- $sel:httpStatus:GetCostEstimationResponse',
-- getCostEstimationResponse_httpStatus - The response's http
-- status code.
newGetCostEstimationResponse :: Int -> GetCostEstimationResponse
-- | An array of ResourceCost objects that each contains details
-- about the monthly cost estimate to analyze one of your Amazon Web
-- Services resources.
getCostEstimationResponse_costs :: Lens' GetCostEstimationResponse (Maybe [ServiceResourceCost])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
getCostEstimationResponse_nextToken :: Lens' GetCostEstimationResponse (Maybe Text)
-- | The collection of the Amazon Web Services resources used to create
-- your monthly DevOps Guru cost estimate.
getCostEstimationResponse_resourceCollection :: Lens' GetCostEstimationResponse (Maybe CostEstimationResourceCollectionFilter)
-- | The status of creating this cost estimate. If it's still in progress,
-- the status ONGOING is returned. If it is finished, the status
-- COMPLETED is returned.
getCostEstimationResponse_status :: Lens' GetCostEstimationResponse (Maybe CostEstimationStatus)
-- | The start and end time of the cost estimation.
getCostEstimationResponse_timeRange :: Lens' GetCostEstimationResponse (Maybe CostEstimationTimeRange)
-- | The estimated monthly cost to analyze the Amazon Web Services
-- resources. This value is the sum of the estimated costs to analyze
-- each resource in the Costs object in this response.
getCostEstimationResponse_totalCost :: Lens' GetCostEstimationResponse (Maybe Double)
-- | The response's http status code.
getCostEstimationResponse_httpStatus :: Lens' GetCostEstimationResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance GHC.Show.Show Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance GHC.Read.Read Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance GHC.Classes.Eq Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance GHC.Generics.Generic Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimationResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimationResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimationResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimationResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimationResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.GetCostEstimation.GetCostEstimation
-- | Returns the integration status of services that are integrated with
-- DevOps Guru. The one service that can be integrated with DevOps Guru
-- is Amazon Web Services Systems Manager, which can be used to create an
-- OpsItem for each generated insight.
module Amazonka.DevOpsGuru.DescribeServiceIntegration
-- | See: newDescribeServiceIntegration smart constructor.
data DescribeServiceIntegration
DescribeServiceIntegration' :: DescribeServiceIntegration
-- | Create a value of DescribeServiceIntegration with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeServiceIntegration :: DescribeServiceIntegration
-- | See: newDescribeServiceIntegrationResponse smart
-- constructor.
data DescribeServiceIntegrationResponse
DescribeServiceIntegrationResponse' :: Maybe ServiceIntegrationConfig -> Int -> DescribeServiceIntegrationResponse
[$sel:serviceIntegration:DescribeServiceIntegrationResponse'] :: DescribeServiceIntegrationResponse -> Maybe ServiceIntegrationConfig
-- | The response's http status code.
[$sel:httpStatus:DescribeServiceIntegrationResponse'] :: DescribeServiceIntegrationResponse -> Int
-- | Create a value of DescribeServiceIntegrationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceIntegration:DescribeServiceIntegrationResponse',
-- describeServiceIntegrationResponse_serviceIntegration -
-- Undocumented member.
--
-- $sel:httpStatus:DescribeServiceIntegrationResponse',
-- describeServiceIntegrationResponse_httpStatus - The response's
-- http status code.
newDescribeServiceIntegrationResponse :: Int -> DescribeServiceIntegrationResponse
-- | Undocumented member.
describeServiceIntegrationResponse_serviceIntegration :: Lens' DescribeServiceIntegrationResponse (Maybe ServiceIntegrationConfig)
-- | The response's http status code.
describeServiceIntegrationResponse_httpStatus :: Lens' DescribeServiceIntegrationResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegrationResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegrationResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegrationResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegrationResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegrationResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeServiceIntegration.DescribeServiceIntegration
-- | Returns the number of open proactive insights, open reactive insights,
-- and the Mean Time to Recover (MTTR) for all closed insights in
-- resource collections in your account. You specify the type of Amazon
-- Web Services resources collection. The two types of Amazon Web
-- Services resource collections supported are Amazon Web Services
-- CloudFormation stacks and Amazon Web Services resources that contain
-- the same Amazon Web Services tag. DevOps Guru can be configured to
-- analyze the Amazon Web Services resources that are defined in the
-- stacks or that are tagged using the same tag key. You can
-- specify up to 500 Amazon Web Services CloudFormation stacks.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.DescribeResourceCollectionHealth
-- | See: newDescribeResourceCollectionHealth smart
-- constructor.
data DescribeResourceCollectionHealth
DescribeResourceCollectionHealth' :: Maybe Text -> ResourceCollectionType -> DescribeResourceCollectionHealth
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:DescribeResourceCollectionHealth'] :: DescribeResourceCollectionHealth -> Maybe Text
-- | An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
[$sel:resourceCollectionType:DescribeResourceCollectionHealth'] :: DescribeResourceCollectionHealth -> ResourceCollectionType
-- | Create a value of DescribeResourceCollectionHealth with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeResourceCollectionHealth,
-- describeResourceCollectionHealth_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If this value is null, it retrieves the first page.
--
-- $sel:resourceCollectionType:DescribeResourceCollectionHealth',
-- describeResourceCollectionHealth_resourceCollectionType - An
-- Amazon Web Services resource collection type. This type specifies how
-- analyzed Amazon Web Services resources are defined. The two types of
-- Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
newDescribeResourceCollectionHealth :: ResourceCollectionType -> DescribeResourceCollectionHealth
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
describeResourceCollectionHealth_nextToken :: Lens' DescribeResourceCollectionHealth (Maybe Text)
-- | An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
describeResourceCollectionHealth_resourceCollectionType :: Lens' DescribeResourceCollectionHealth ResourceCollectionType
-- | See: newDescribeResourceCollectionHealthResponse smart
-- constructor.
data DescribeResourceCollectionHealthResponse
DescribeResourceCollectionHealthResponse' :: Maybe [CloudFormationHealth] -> Maybe Text -> Maybe [ServiceHealth] -> Maybe [TagHealth] -> Int -> DescribeResourceCollectionHealthResponse
-- | The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
[$sel:cloudFormation:DescribeResourceCollectionHealthResponse'] :: DescribeResourceCollectionHealthResponse -> Maybe [CloudFormationHealth]
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:DescribeResourceCollectionHealthResponse'] :: DescribeResourceCollectionHealthResponse -> Maybe Text
-- | An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
[$sel:service:DescribeResourceCollectionHealthResponse'] :: DescribeResourceCollectionHealthResponse -> Maybe [ServiceHealth]
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:DescribeResourceCollectionHealthResponse'] :: DescribeResourceCollectionHealthResponse -> Maybe [TagHealth]
-- | The response's http status code.
[$sel:httpStatus:DescribeResourceCollectionHealthResponse'] :: DescribeResourceCollectionHealthResponse -> Int
-- | Create a value of DescribeResourceCollectionHealthResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeResourceCollectionHealthResponse,
-- describeResourceCollectionHealthResponse_cloudFormation - The
-- returned CloudFormationHealthOverview object that contains an
-- InsightHealthOverview object with the requested system health
-- information.
--
-- DescribeResourceCollectionHealth,
-- describeResourceCollectionHealthResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:service:DescribeResourceCollectionHealthResponse',
-- describeResourceCollectionHealthResponse_service - An array of
-- ServiceHealth objects that describes the health of the Amazon
-- Web Services services associated with the resources in the collection.
--
-- DescribeResourceCollectionHealthResponse,
-- describeResourceCollectionHealthResponse_tags - The Amazon Web
-- Services tags that are used by resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:httpStatus:DescribeResourceCollectionHealthResponse',
-- describeResourceCollectionHealthResponse_httpStatus - The
-- response's http status code.
newDescribeResourceCollectionHealthResponse :: Int -> DescribeResourceCollectionHealthResponse
-- | The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
describeResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeResourceCollectionHealthResponse (Maybe [CloudFormationHealth])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
describeResourceCollectionHealthResponse_nextToken :: Lens' DescribeResourceCollectionHealthResponse (Maybe Text)
-- | An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
describeResourceCollectionHealthResponse_service :: Lens' DescribeResourceCollectionHealthResponse (Maybe [ServiceHealth])
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
describeResourceCollectionHealthResponse_tags :: Lens' DescribeResourceCollectionHealthResponse (Maybe [TagHealth])
-- | The response's http status code.
describeResourceCollectionHealthResponse_httpStatus :: Lens' DescribeResourceCollectionHealthResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealthResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealthResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealthResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealthResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealthResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeResourceCollectionHealth.DescribeResourceCollectionHealth
-- | Provides an overview of your system's health. If additional member
-- accounts are part of your organization, you can filter those accounts
-- using the AccountIds field.
--
-- This operation returns paginated results.
module Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth
-- | See: newDescribeOrganizationResourceCollectionHealth
-- smart constructor.
data DescribeOrganizationResourceCollectionHealth
DescribeOrganizationResourceCollectionHealth' :: Maybe [Text] -> Maybe Natural -> Maybe Text -> Maybe [Text] -> OrganizationResourceCollectionType -> DescribeOrganizationResourceCollectionHealth
-- | The ID of the Amazon Web Services account.
[$sel:accountIds:DescribeOrganizationResourceCollectionHealth'] :: DescribeOrganizationResourceCollectionHealth -> Maybe [Text]
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
[$sel:maxResults:DescribeOrganizationResourceCollectionHealth'] :: DescribeOrganizationResourceCollectionHealth -> Maybe Natural
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
[$sel:nextToken:DescribeOrganizationResourceCollectionHealth'] :: DescribeOrganizationResourceCollectionHealth -> Maybe Text
-- | The ID of the organizational unit.
[$sel:organizationalUnitIds:DescribeOrganizationResourceCollectionHealth'] :: DescribeOrganizationResourceCollectionHealth -> Maybe [Text]
-- | An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
[$sel:organizationResourceCollectionType:DescribeOrganizationResourceCollectionHealth'] :: DescribeOrganizationResourceCollectionHealth -> OrganizationResourceCollectionType
-- | Create a value of DescribeOrganizationResourceCollectionHealth
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_accountIds - The
-- ID of the Amazon Web Services account.
--
-- $sel:maxResults:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_maxResults - The
-- maximum number of results to return with a single call. To retrieve
-- the remaining results, make another call with the returned
-- nextToken value.
--
-- DescribeOrganizationResourceCollectionHealth,
-- describeOrganizationResourceCollectionHealth_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
--
--
-- $sel:organizationalUnitIds:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_organizationalUnitIds
-- - The ID of the organizational unit.
--
--
-- $sel:organizationResourceCollectionType:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_organizationResourceCollectionType
-- - An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
newDescribeOrganizationResourceCollectionHealth :: OrganizationResourceCollectionType -> DescribeOrganizationResourceCollectionHealth
-- | The ID of the Amazon Web Services account.
describeOrganizationResourceCollectionHealth_accountIds :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe [Text])
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
describeOrganizationResourceCollectionHealth_maxResults :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
describeOrganizationResourceCollectionHealth_nextToken :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe Text)
-- | The ID of the organizational unit.
describeOrganizationResourceCollectionHealth_organizationalUnitIds :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe [Text])
-- | An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
describeOrganizationResourceCollectionHealth_organizationResourceCollectionType :: Lens' DescribeOrganizationResourceCollectionHealth OrganizationResourceCollectionType
-- | See:
-- newDescribeOrganizationResourceCollectionHealthResponse smart
-- constructor.
data DescribeOrganizationResourceCollectionHealthResponse
DescribeOrganizationResourceCollectionHealthResponse' :: Maybe [AccountHealth] -> Maybe [CloudFormationHealth] -> Maybe Text -> Maybe [ServiceHealth] -> Maybe [TagHealth] -> Int -> DescribeOrganizationResourceCollectionHealthResponse
-- | The name of the organization's account.
[$sel:account:DescribeOrganizationResourceCollectionHealthResponse'] :: DescribeOrganizationResourceCollectionHealthResponse -> Maybe [AccountHealth]
-- | The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
[$sel:cloudFormation:DescribeOrganizationResourceCollectionHealthResponse'] :: DescribeOrganizationResourceCollectionHealthResponse -> Maybe [CloudFormationHealth]
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
[$sel:nextToken:DescribeOrganizationResourceCollectionHealthResponse'] :: DescribeOrganizationResourceCollectionHealthResponse -> Maybe Text
-- | An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
[$sel:service:DescribeOrganizationResourceCollectionHealthResponse'] :: DescribeOrganizationResourceCollectionHealthResponse -> Maybe [ServiceHealth]
-- | Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
[$sel:tags:DescribeOrganizationResourceCollectionHealthResponse'] :: DescribeOrganizationResourceCollectionHealthResponse -> Maybe [TagHealth]
-- | The response's http status code.
[$sel:httpStatus:DescribeOrganizationResourceCollectionHealthResponse'] :: DescribeOrganizationResourceCollectionHealthResponse -> Int
-- | Create a value of
-- DescribeOrganizationResourceCollectionHealthResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:account:DescribeOrganizationResourceCollectionHealthResponse',
-- describeOrganizationResourceCollectionHealthResponse_account -
-- The name of the organization's account.
--
-- DescribeOrganizationResourceCollectionHealthResponse,
-- describeOrganizationResourceCollectionHealthResponse_cloudFormation
-- - The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
--
-- DescribeOrganizationResourceCollectionHealth,
-- describeOrganizationResourceCollectionHealthResponse_nextToken
-- - The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
--
--
-- $sel:service:DescribeOrganizationResourceCollectionHealthResponse',
-- describeOrganizationResourceCollectionHealthResponse_service -
-- An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
--
-- DescribeOrganizationResourceCollectionHealthResponse,
-- describeOrganizationResourceCollectionHealthResponse_tags -
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
--
-- $sel:httpStatus:DescribeOrganizationResourceCollectionHealthResponse',
-- describeOrganizationResourceCollectionHealthResponse_httpStatus
-- - The response's http status code.
newDescribeOrganizationResourceCollectionHealthResponse :: Int -> DescribeOrganizationResourceCollectionHealthResponse
-- | The name of the organization's account.
describeOrganizationResourceCollectionHealthResponse_account :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [AccountHealth])
-- | The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
describeOrganizationResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [CloudFormationHealth])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
describeOrganizationResourceCollectionHealthResponse_nextToken :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe Text)
-- | An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
describeOrganizationResourceCollectionHealthResponse_service :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [ServiceHealth])
-- | Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
describeOrganizationResourceCollectionHealthResponse_tags :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [TagHealth])
-- | The response's http status code.
describeOrganizationResourceCollectionHealthResponse_httpStatus :: Lens' DescribeOrganizationResourceCollectionHealthResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealthResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealthResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealthResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealthResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealthResponse
instance Amazonka.Pager.AWSPager Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeOrganizationResourceCollectionHealth.DescribeOrganizationResourceCollectionHealth
-- | Returns an overview of your organization's history based on the
-- specified time range. The overview includes the total reactive and
-- proactive insights.
module Amazonka.DevOpsGuru.DescribeOrganizationOverview
-- | See: newDescribeOrganizationOverview smart constructor.
data DescribeOrganizationOverview
DescribeOrganizationOverview' :: Maybe [Text] -> Maybe [Text] -> Maybe POSIX -> POSIX -> DescribeOrganizationOverview
-- | The ID of the Amazon Web Services account.
[$sel:accountIds:DescribeOrganizationOverview'] :: DescribeOrganizationOverview -> Maybe [Text]
-- | The ID of the organizational unit.
[$sel:organizationalUnitIds:DescribeOrganizationOverview'] :: DescribeOrganizationOverview -> Maybe [Text]
-- | The end of the time range passed in. The start time granularity is at
-- the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
[$sel:toTime:DescribeOrganizationOverview'] :: DescribeOrganizationOverview -> Maybe POSIX
-- | The start of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred after this day.
[$sel:fromTime:DescribeOrganizationOverview'] :: DescribeOrganizationOverview -> POSIX
-- | Create a value of DescribeOrganizationOverview with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:DescribeOrganizationOverview',
-- describeOrganizationOverview_accountIds - The ID of the Amazon
-- Web Services account.
--
-- $sel:organizationalUnitIds:DescribeOrganizationOverview',
-- describeOrganizationOverview_organizationalUnitIds - The ID of
-- the organizational unit.
--
-- DescribeOrganizationOverview,
-- describeOrganizationOverview_toTime - The end of the time range
-- passed in. The start time granularity is at the day level. The floor
-- of the start time is used. Returned information occurred before this
-- day. If this is not specified, then the current day is used.
--
-- DescribeOrganizationOverview,
-- describeOrganizationOverview_fromTime - The start of the time
-- range passed in. The start time granularity is at the day level. The
-- floor of the start time is used. Returned information occurred after
-- this day.
newDescribeOrganizationOverview :: UTCTime -> DescribeOrganizationOverview
-- | The ID of the Amazon Web Services account.
describeOrganizationOverview_accountIds :: Lens' DescribeOrganizationOverview (Maybe [Text])
-- | The ID of the organizational unit.
describeOrganizationOverview_organizationalUnitIds :: Lens' DescribeOrganizationOverview (Maybe [Text])
-- | The end of the time range passed in. The start time granularity is at
-- the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
describeOrganizationOverview_toTime :: Lens' DescribeOrganizationOverview (Maybe UTCTime)
-- | The start of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred after this day.
describeOrganizationOverview_fromTime :: Lens' DescribeOrganizationOverview UTCTime
-- | See: newDescribeOrganizationOverviewResponse smart
-- constructor.
data DescribeOrganizationOverviewResponse
DescribeOrganizationOverviewResponse' :: Int -> Int -> Int -> DescribeOrganizationOverviewResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeOrganizationOverviewResponse'] :: DescribeOrganizationOverviewResponse -> Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
[$sel:reactiveInsights:DescribeOrganizationOverviewResponse'] :: DescribeOrganizationOverviewResponse -> Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
[$sel:proactiveInsights:DescribeOrganizationOverviewResponse'] :: DescribeOrganizationOverviewResponse -> Int
-- | Create a value of DescribeOrganizationOverviewResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeOrganizationOverviewResponse',
-- describeOrganizationOverviewResponse_httpStatus - The
-- response's http status code.
--
-- $sel:reactiveInsights:DescribeOrganizationOverviewResponse',
-- describeOrganizationOverviewResponse_reactiveInsights - An
-- integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
--
-- $sel:proactiveInsights:DescribeOrganizationOverviewResponse',
-- describeOrganizationOverviewResponse_proactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
newDescribeOrganizationOverviewResponse :: Int -> Int -> Int -> DescribeOrganizationOverviewResponse
-- | The response's http status code.
describeOrganizationOverviewResponse_httpStatus :: Lens' DescribeOrganizationOverviewResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
describeOrganizationOverviewResponse_reactiveInsights :: Lens' DescribeOrganizationOverviewResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
describeOrganizationOverviewResponse_proactiveInsights :: Lens' DescribeOrganizationOverviewResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverviewResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverviewResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverviewResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverviewResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverviewResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeOrganizationOverview.DescribeOrganizationOverview
-- | Returns active insights, predictive insights, and resource hours
-- analyzed in last hour.
module Amazonka.DevOpsGuru.DescribeOrganizationHealth
-- | See: newDescribeOrganizationHealth smart constructor.
data DescribeOrganizationHealth
DescribeOrganizationHealth' :: Maybe [Text] -> Maybe [Text] -> DescribeOrganizationHealth
-- | The ID of the Amazon Web Services account.
[$sel:accountIds:DescribeOrganizationHealth'] :: DescribeOrganizationHealth -> Maybe [Text]
-- | The ID of the organizational unit.
[$sel:organizationalUnitIds:DescribeOrganizationHealth'] :: DescribeOrganizationHealth -> Maybe [Text]
-- | Create a value of DescribeOrganizationHealth with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:DescribeOrganizationHealth',
-- describeOrganizationHealth_accountIds - The ID of the Amazon
-- Web Services account.
--
-- $sel:organizationalUnitIds:DescribeOrganizationHealth',
-- describeOrganizationHealth_organizationalUnitIds - The ID of
-- the organizational unit.
newDescribeOrganizationHealth :: DescribeOrganizationHealth
-- | The ID of the Amazon Web Services account.
describeOrganizationHealth_accountIds :: Lens' DescribeOrganizationHealth (Maybe [Text])
-- | The ID of the organizational unit.
describeOrganizationHealth_organizationalUnitIds :: Lens' DescribeOrganizationHealth (Maybe [Text])
-- | See: newDescribeOrganizationHealthResponse smart
-- constructor.
data DescribeOrganizationHealthResponse
DescribeOrganizationHealthResponse' :: Int -> Int -> Int -> Int -> Integer -> DescribeOrganizationHealthResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeOrganizationHealthResponse'] :: DescribeOrganizationHealthResponse -> Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
[$sel:openReactiveInsights:DescribeOrganizationHealthResponse'] :: DescribeOrganizationHealthResponse -> Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
[$sel:openProactiveInsights:DescribeOrganizationHealthResponse'] :: DescribeOrganizationHealthResponse -> Int
-- | An integer that specifies the number of metrics that have been
-- analyzed in your organization.
[$sel:metricsAnalyzed:DescribeOrganizationHealthResponse'] :: DescribeOrganizationHealthResponse -> Int
-- | The number of Amazon DevOps Guru resource analysis hours billed to the
-- current Amazon Web Services account in the last hour.
[$sel:resourceHours:DescribeOrganizationHealthResponse'] :: DescribeOrganizationHealthResponse -> Integer
-- | Create a value of DescribeOrganizationHealthResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeOrganizationHealthResponse',
-- describeOrganizationHealthResponse_httpStatus - The response's
-- http status code.
--
-- DescribeOrganizationHealthResponse,
-- describeOrganizationHealthResponse_openReactiveInsights - An
-- integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
--
-- DescribeOrganizationHealthResponse,
-- describeOrganizationHealthResponse_openProactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
--
-- $sel:metricsAnalyzed:DescribeOrganizationHealthResponse',
-- describeOrganizationHealthResponse_metricsAnalyzed - An integer
-- that specifies the number of metrics that have been analyzed in your
-- organization.
--
-- $sel:resourceHours:DescribeOrganizationHealthResponse',
-- describeOrganizationHealthResponse_resourceHours - The number
-- of Amazon DevOps Guru resource analysis hours billed to the current
-- Amazon Web Services account in the last hour.
newDescribeOrganizationHealthResponse :: Int -> Int -> Int -> Int -> Integer -> DescribeOrganizationHealthResponse
-- | The response's http status code.
describeOrganizationHealthResponse_httpStatus :: Lens' DescribeOrganizationHealthResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
describeOrganizationHealthResponse_openReactiveInsights :: Lens' DescribeOrganizationHealthResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
describeOrganizationHealthResponse_openProactiveInsights :: Lens' DescribeOrganizationHealthResponse Int
-- | An integer that specifies the number of metrics that have been
-- analyzed in your organization.
describeOrganizationHealthResponse_metricsAnalyzed :: Lens' DescribeOrganizationHealthResponse Int
-- | The number of Amazon DevOps Guru resource analysis hours billed to the
-- current Amazon Web Services account in the last hour.
describeOrganizationHealthResponse_resourceHours :: Lens' DescribeOrganizationHealthResponse Integer
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealthResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealthResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealthResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealthResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealthResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeOrganizationHealth.DescribeOrganizationHealth
-- | Returns details about an insight that you specify using its ID.
module Amazonka.DevOpsGuru.DescribeInsight
-- | See: newDescribeInsight smart constructor.
data DescribeInsight
DescribeInsight' :: Maybe Text -> Text -> DescribeInsight
-- | The ID of the member account in the organization.
[$sel:accountId:DescribeInsight'] :: DescribeInsight -> Maybe Text
-- | The ID of the insight.
[$sel:id:DescribeInsight'] :: DescribeInsight -> Text
-- | Create a value of DescribeInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeInsight, describeInsight_accountId - The ID of
-- the member account in the organization.
--
-- DescribeInsight, describeInsight_id - The ID of the
-- insight.
newDescribeInsight :: Text -> DescribeInsight
-- | The ID of the member account in the organization.
describeInsight_accountId :: Lens' DescribeInsight (Maybe Text)
-- | The ID of the insight.
describeInsight_id :: Lens' DescribeInsight Text
-- | See: newDescribeInsightResponse smart constructor.
data DescribeInsightResponse
DescribeInsightResponse' :: Maybe ProactiveInsight -> Maybe ReactiveInsight -> Int -> DescribeInsightResponse
-- | A ProactiveInsight object that represents the requested
-- insight.
[$sel:proactiveInsight:DescribeInsightResponse'] :: DescribeInsightResponse -> Maybe ProactiveInsight
-- | A ReactiveInsight object that represents the requested
-- insight.
[$sel:reactiveInsight:DescribeInsightResponse'] :: DescribeInsightResponse -> Maybe ReactiveInsight
-- | The response's http status code.
[$sel:httpStatus:DescribeInsightResponse'] :: DescribeInsightResponse -> Int
-- | Create a value of DescribeInsightResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:proactiveInsight:DescribeInsightResponse',
-- describeInsightResponse_proactiveInsight - A
-- ProactiveInsight object that represents the requested
-- insight.
--
-- $sel:reactiveInsight:DescribeInsightResponse',
-- describeInsightResponse_reactiveInsight - A
-- ReactiveInsight object that represents the requested insight.
--
-- $sel:httpStatus:DescribeInsightResponse',
-- describeInsightResponse_httpStatus - The response's http status
-- code.
newDescribeInsightResponse :: Int -> DescribeInsightResponse
-- | A ProactiveInsight object that represents the requested
-- insight.
describeInsightResponse_proactiveInsight :: Lens' DescribeInsightResponse (Maybe ProactiveInsight)
-- | A ReactiveInsight object that represents the requested
-- insight.
describeInsightResponse_reactiveInsight :: Lens' DescribeInsightResponse (Maybe ReactiveInsight)
-- | The response's http status code.
describeInsightResponse_httpStatus :: Lens' DescribeInsightResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeInsight.DescribeInsightResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeInsight.DescribeInsightResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeInsight.DescribeInsightResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeInsight.DescribeInsightResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeInsight.DescribeInsightResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeInsight.DescribeInsight
-- | Returns the most recent feedback submitted in the current Amazon Web
-- Services account and Region.
module Amazonka.DevOpsGuru.DescribeFeedback
-- | See: newDescribeFeedback smart constructor.
data DescribeFeedback
DescribeFeedback' :: Maybe Text -> DescribeFeedback
-- | The ID of the insight for which the feedback was provided.
[$sel:insightId:DescribeFeedback'] :: DescribeFeedback -> Maybe Text
-- | Create a value of DescribeFeedback with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeFeedback, describeFeedback_insightId - The ID of
-- the insight for which the feedback was provided.
newDescribeFeedback :: DescribeFeedback
-- | The ID of the insight for which the feedback was provided.
describeFeedback_insightId :: Lens' DescribeFeedback (Maybe Text)
-- | See: newDescribeFeedbackResponse smart constructor.
data DescribeFeedbackResponse
DescribeFeedbackResponse' :: Maybe InsightFeedback -> Int -> DescribeFeedbackResponse
[$sel:insightFeedback:DescribeFeedbackResponse'] :: DescribeFeedbackResponse -> Maybe InsightFeedback
-- | The response's http status code.
[$sel:httpStatus:DescribeFeedbackResponse'] :: DescribeFeedbackResponse -> Int
-- | Create a value of DescribeFeedbackResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:insightFeedback:DescribeFeedbackResponse',
-- describeFeedbackResponse_insightFeedback - Undocumented member.
--
-- $sel:httpStatus:DescribeFeedbackResponse',
-- describeFeedbackResponse_httpStatus - The response's http
-- status code.
newDescribeFeedbackResponse :: Int -> DescribeFeedbackResponse
-- | Undocumented member.
describeFeedbackResponse_insightFeedback :: Lens' DescribeFeedbackResponse (Maybe InsightFeedback)
-- | The response's http status code.
describeFeedbackResponse_httpStatus :: Lens' DescribeFeedbackResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedbackResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedbackResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedbackResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedbackResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedbackResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeFeedback.DescribeFeedback
-- | Returns the integration status of services that are integrated with
-- DevOps Guru as Consumer via EventBridge. The one service that can be
-- integrated with DevOps Guru is Amazon CodeGuru Profiler, which can
-- produce proactive recommendations which can be stored and viewed in
-- DevOps Guru.
module Amazonka.DevOpsGuru.DescribeEventSourcesConfig
-- | See: newDescribeEventSourcesConfig smart constructor.
data DescribeEventSourcesConfig
DescribeEventSourcesConfig' :: DescribeEventSourcesConfig
-- | Create a value of DescribeEventSourcesConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeEventSourcesConfig :: DescribeEventSourcesConfig
-- | See: newDescribeEventSourcesConfigResponse smart
-- constructor.
data DescribeEventSourcesConfigResponse
DescribeEventSourcesConfigResponse' :: Maybe EventSourcesConfig -> Int -> DescribeEventSourcesConfigResponse
-- | Lists the event sources in the configuration.
[$sel:eventSources:DescribeEventSourcesConfigResponse'] :: DescribeEventSourcesConfigResponse -> Maybe EventSourcesConfig
-- | The response's http status code.
[$sel:httpStatus:DescribeEventSourcesConfigResponse'] :: DescribeEventSourcesConfigResponse -> Int
-- | Create a value of DescribeEventSourcesConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eventSources:DescribeEventSourcesConfigResponse',
-- describeEventSourcesConfigResponse_eventSources - Lists the
-- event sources in the configuration.
--
-- $sel:httpStatus:DescribeEventSourcesConfigResponse',
-- describeEventSourcesConfigResponse_httpStatus - The response's
-- http status code.
newDescribeEventSourcesConfigResponse :: Int -> DescribeEventSourcesConfigResponse
-- | Lists the event sources in the configuration.
describeEventSourcesConfigResponse_eventSources :: Lens' DescribeEventSourcesConfigResponse (Maybe EventSourcesConfig)
-- | The response's http status code.
describeEventSourcesConfigResponse_httpStatus :: Lens' DescribeEventSourcesConfigResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfigResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfigResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfigResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeEventSourcesConfig.DescribeEventSourcesConfig
-- | Returns details about an anomaly that you specify using its ID.
module Amazonka.DevOpsGuru.DescribeAnomaly
-- | See: newDescribeAnomaly smart constructor.
data DescribeAnomaly
DescribeAnomaly' :: Maybe Text -> Text -> DescribeAnomaly
-- | The ID of the member account.
[$sel:accountId:DescribeAnomaly'] :: DescribeAnomaly -> Maybe Text
-- | The ID of the anomaly.
[$sel:id:DescribeAnomaly'] :: DescribeAnomaly -> Text
-- | Create a value of DescribeAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAnomaly, describeAnomaly_accountId - The ID of
-- the member account.
--
-- DescribeAnomaly, describeAnomaly_id - The ID of the
-- anomaly.
newDescribeAnomaly :: Text -> DescribeAnomaly
-- | The ID of the member account.
describeAnomaly_accountId :: Lens' DescribeAnomaly (Maybe Text)
-- | The ID of the anomaly.
describeAnomaly_id :: Lens' DescribeAnomaly Text
-- | See: newDescribeAnomalyResponse smart constructor.
data DescribeAnomalyResponse
DescribeAnomalyResponse' :: Maybe ProactiveAnomaly -> Maybe ReactiveAnomaly -> Int -> DescribeAnomalyResponse
-- | A ProactiveAnomaly object that represents the requested
-- anomaly.
[$sel:proactiveAnomaly:DescribeAnomalyResponse'] :: DescribeAnomalyResponse -> Maybe ProactiveAnomaly
-- | A ReactiveAnomaly object that represents the requested
-- anomaly.
[$sel:reactiveAnomaly:DescribeAnomalyResponse'] :: DescribeAnomalyResponse -> Maybe ReactiveAnomaly
-- | The response's http status code.
[$sel:httpStatus:DescribeAnomalyResponse'] :: DescribeAnomalyResponse -> Int
-- | Create a value of DescribeAnomalyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:proactiveAnomaly:DescribeAnomalyResponse',
-- describeAnomalyResponse_proactiveAnomaly - A
-- ProactiveAnomaly object that represents the requested
-- anomaly.
--
-- $sel:reactiveAnomaly:DescribeAnomalyResponse',
-- describeAnomalyResponse_reactiveAnomaly - A
-- ReactiveAnomaly object that represents the requested anomaly.
--
-- $sel:httpStatus:DescribeAnomalyResponse',
-- describeAnomalyResponse_httpStatus - The response's http status
-- code.
newDescribeAnomalyResponse :: Int -> DescribeAnomalyResponse
-- | A ProactiveAnomaly object that represents the requested
-- anomaly.
describeAnomalyResponse_proactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ProactiveAnomaly)
-- | A ReactiveAnomaly object that represents the requested
-- anomaly.
describeAnomalyResponse_reactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ReactiveAnomaly)
-- | The response's http status code.
describeAnomalyResponse_httpStatus :: Lens' DescribeAnomalyResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomalyResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomalyResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomalyResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomalyResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomalyResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeAnomaly.DescribeAnomaly
-- | For the time range passed in, returns the number of open reactive
-- insight that were created, the number of open proactive insights that
-- were created, and the Mean Time to Recover (MTTR) for all closed
-- reactive insights.
module Amazonka.DevOpsGuru.DescribeAccountOverview
-- | See: newDescribeAccountOverview smart constructor.
data DescribeAccountOverview
DescribeAccountOverview' :: Maybe POSIX -> POSIX -> DescribeAccountOverview
-- | The end of the time range passed in. The start time granularity is at
-- the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
[$sel:toTime:DescribeAccountOverview'] :: DescribeAccountOverview -> Maybe POSIX
-- | The start of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred after this day.
[$sel:fromTime:DescribeAccountOverview'] :: DescribeAccountOverview -> POSIX
-- | Create a value of DescribeAccountOverview with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAccountOverview, describeAccountOverview_toTime
-- - The end of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
--
-- DescribeAccountOverview,
-- describeAccountOverview_fromTime - The start of the time range
-- passed in. The start time granularity is at the day level. The floor
-- of the start time is used. Returned information occurred after this
-- day.
newDescribeAccountOverview :: UTCTime -> DescribeAccountOverview
-- | The end of the time range passed in. The start time granularity is at
-- the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
describeAccountOverview_toTime :: Lens' DescribeAccountOverview (Maybe UTCTime)
-- | The start of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred after this day.
describeAccountOverview_fromTime :: Lens' DescribeAccountOverview UTCTime
-- | See: newDescribeAccountOverviewResponse smart
-- constructor.
data DescribeAccountOverviewResponse
DescribeAccountOverviewResponse' :: Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeAccountOverviewResponse'] :: DescribeAccountOverviewResponse -> Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account that were created during the time range
-- passed in.
[$sel:reactiveInsights:DescribeAccountOverviewResponse'] :: DescribeAccountOverviewResponse -> Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account that were created during the time
-- range passed in.
[$sel:proactiveInsights:DescribeAccountOverviewResponse'] :: DescribeAccountOverviewResponse -> Int
-- | The Mean Time to Recover (MTTR) for all closed insights that were
-- created during the time range passed in.
[$sel:meanTimeToRecoverInMilliseconds:DescribeAccountOverviewResponse'] :: DescribeAccountOverviewResponse -> Integer
-- | Create a value of DescribeAccountOverviewResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeAccountOverviewResponse',
-- describeAccountOverviewResponse_httpStatus - The response's
-- http status code.
--
-- $sel:reactiveInsights:DescribeAccountOverviewResponse',
-- describeAccountOverviewResponse_reactiveInsights - An integer
-- that specifies the number of open reactive insights in your Amazon Web
-- Services account that were created during the time range passed in.
--
-- $sel:proactiveInsights:DescribeAccountOverviewResponse',
-- describeAccountOverviewResponse_proactiveInsights - An integer
-- that specifies the number of open proactive insights in your Amazon
-- Web Services account that were created during the time range passed
-- in.
--
-- DescribeAccountOverviewResponse,
-- describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds
-- - The Mean Time to Recover (MTTR) for all closed insights that were
-- created during the time range passed in.
newDescribeAccountOverviewResponse :: Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
-- | The response's http status code.
describeAccountOverviewResponse_httpStatus :: Lens' DescribeAccountOverviewResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account that were created during the time range
-- passed in.
describeAccountOverviewResponse_reactiveInsights :: Lens' DescribeAccountOverviewResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account that were created during the time
-- range passed in.
describeAccountOverviewResponse_proactiveInsights :: Lens' DescribeAccountOverviewResponse Int
-- | The Mean Time to Recover (MTTR) for all closed insights that were
-- created during the time range passed in.
describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds :: Lens' DescribeAccountOverviewResponse Integer
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverviewResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverviewResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverviewResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverviewResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverviewResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeAccountOverview.DescribeAccountOverview
-- | Returns the number of open reactive insights, the number of open
-- proactive insights, and the number of metrics analyzed in your Amazon
-- Web Services account. Use these numbers to gauge the health of
-- operations in your Amazon Web Services account.
module Amazonka.DevOpsGuru.DescribeAccountHealth
-- | See: newDescribeAccountHealth smart constructor.
data DescribeAccountHealth
DescribeAccountHealth' :: DescribeAccountHealth
-- | Create a value of DescribeAccountHealth with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeAccountHealth :: DescribeAccountHealth
-- | See: newDescribeAccountHealthResponse smart constructor.
data DescribeAccountHealthResponse
DescribeAccountHealthResponse' :: Maybe Integer -> Int -> Int -> Int -> Int -> Integer -> DescribeAccountHealthResponse
-- | Number of resources that DevOps Guru is monitoring in your Amazon Web
-- Services account.
[$sel:analyzedResourceCount:DescribeAccountHealthResponse'] :: DescribeAccountHealthResponse -> Maybe Integer
-- | The response's http status code.
[$sel:httpStatus:DescribeAccountHealthResponse'] :: DescribeAccountHealthResponse -> Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
[$sel:openReactiveInsights:DescribeAccountHealthResponse'] :: DescribeAccountHealthResponse -> Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
[$sel:openProactiveInsights:DescribeAccountHealthResponse'] :: DescribeAccountHealthResponse -> Int
-- | An integer that specifies the number of metrics that have been
-- analyzed in your Amazon Web Services account.
[$sel:metricsAnalyzed:DescribeAccountHealthResponse'] :: DescribeAccountHealthResponse -> Int
-- | The number of Amazon DevOps Guru resource analysis hours billed to the
-- current Amazon Web Services account in the last hour.
[$sel:resourceHours:DescribeAccountHealthResponse'] :: DescribeAccountHealthResponse -> Integer
-- | Create a value of DescribeAccountHealthResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAccountHealthResponse,
-- describeAccountHealthResponse_analyzedResourceCount - Number of
-- resources that DevOps Guru is monitoring in your Amazon Web Services
-- account.
--
-- $sel:httpStatus:DescribeAccountHealthResponse',
-- describeAccountHealthResponse_httpStatus - The response's http
-- status code.
--
-- DescribeAccountHealthResponse,
-- describeAccountHealthResponse_openReactiveInsights - An integer
-- that specifies the number of open reactive insights in your Amazon Web
-- Services account.
--
-- DescribeAccountHealthResponse,
-- describeAccountHealthResponse_openProactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
--
-- $sel:metricsAnalyzed:DescribeAccountHealthResponse',
-- describeAccountHealthResponse_metricsAnalyzed - An integer that
-- specifies the number of metrics that have been analyzed in your Amazon
-- Web Services account.
--
-- $sel:resourceHours:DescribeAccountHealthResponse',
-- describeAccountHealthResponse_resourceHours - The number of
-- Amazon DevOps Guru resource analysis hours billed to the current
-- Amazon Web Services account in the last hour.
newDescribeAccountHealthResponse :: Int -> Int -> Int -> Int -> Integer -> DescribeAccountHealthResponse
-- | Number of resources that DevOps Guru is monitoring in your Amazon Web
-- Services account.
describeAccountHealthResponse_analyzedResourceCount :: Lens' DescribeAccountHealthResponse (Maybe Integer)
-- | The response's http status code.
describeAccountHealthResponse_httpStatus :: Lens' DescribeAccountHealthResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
describeAccountHealthResponse_openReactiveInsights :: Lens' DescribeAccountHealthResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
describeAccountHealthResponse_openProactiveInsights :: Lens' DescribeAccountHealthResponse Int
-- | An integer that specifies the number of metrics that have been
-- analyzed in your Amazon Web Services account.
describeAccountHealthResponse_metricsAnalyzed :: Lens' DescribeAccountHealthResponse Int
-- | The number of Amazon DevOps Guru resource analysis hours billed to the
-- current Amazon Web Services account in the last hour.
describeAccountHealthResponse_resourceHours :: Lens' DescribeAccountHealthResponse Integer
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealthResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealthResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealthResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealthResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealthResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DescribeAccountHealth.DescribeAccountHealth
-- | Deletes the insight along with the associated anomalies, events and
-- recommendations.
module Amazonka.DevOpsGuru.DeleteInsight
-- | See: newDeleteInsight smart constructor.
data DeleteInsight
DeleteInsight' :: Text -> DeleteInsight
-- | The ID of the insight.
[$sel:id:DeleteInsight'] :: DeleteInsight -> Text
-- | Create a value of DeleteInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteInsight, deleteInsight_id - The ID of the insight.
newDeleteInsight :: Text -> DeleteInsight
-- | The ID of the insight.
deleteInsight_id :: Lens' DeleteInsight Text
-- | See: newDeleteInsightResponse smart constructor.
data DeleteInsightResponse
DeleteInsightResponse' :: Int -> DeleteInsightResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteInsightResponse'] :: DeleteInsightResponse -> Int
-- | Create a value of DeleteInsightResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteInsightResponse',
-- deleteInsightResponse_httpStatus - The response's http status
-- code.
newDeleteInsightResponse :: Int -> DeleteInsightResponse
-- | The response's http status code.
deleteInsightResponse_httpStatus :: Lens' DeleteInsightResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance GHC.Show.Show Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance GHC.Read.Read Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance GHC.Generics.Generic Amazonka.DevOpsGuru.DeleteInsight.DeleteInsightResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.DeleteInsight.DeleteInsightResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.DeleteInsight.DeleteInsightResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.DeleteInsight.DeleteInsightResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DeleteInsight.DeleteInsightResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.DeleteInsight.DeleteInsight
-- | Adds a notification channel to DevOps Guru. A notification channel is
-- used to notify you about important DevOps Guru events, such as when an
-- insight is generated.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
module Amazonka.DevOpsGuru.AddNotificationChannel
-- | See: newAddNotificationChannel smart constructor.
data AddNotificationChannel
AddNotificationChannel' :: NotificationChannelConfig -> AddNotificationChannel
-- | A NotificationChannelConfig object that specifies what type
-- of notification channel to add. The one supported notification channel
-- is Amazon Simple Notification Service (Amazon SNS).
[$sel:config:AddNotificationChannel'] :: AddNotificationChannel -> NotificationChannelConfig
-- | Create a value of AddNotificationChannel with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AddNotificationChannel, addNotificationChannel_config -
-- A NotificationChannelConfig object that specifies what type
-- of notification channel to add. The one supported notification channel
-- is Amazon Simple Notification Service (Amazon SNS).
newAddNotificationChannel :: NotificationChannelConfig -> AddNotificationChannel
-- | A NotificationChannelConfig object that specifies what type
-- of notification channel to add. The one supported notification channel
-- is Amazon Simple Notification Service (Amazon SNS).
addNotificationChannel_config :: Lens' AddNotificationChannel NotificationChannelConfig
-- | See: newAddNotificationChannelResponse smart
-- constructor.
data AddNotificationChannelResponse
AddNotificationChannelResponse' :: Int -> Text -> AddNotificationChannelResponse
-- | The response's http status code.
[$sel:httpStatus:AddNotificationChannelResponse'] :: AddNotificationChannelResponse -> Int
-- | The ID of the added notification channel.
[$sel:id:AddNotificationChannelResponse'] :: AddNotificationChannelResponse -> Text
-- | Create a value of AddNotificationChannelResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:AddNotificationChannelResponse',
-- addNotificationChannelResponse_httpStatus - The response's http
-- status code.
--
-- AddNotificationChannelResponse,
-- addNotificationChannelResponse_id - The ID of the added
-- notification channel.
newAddNotificationChannelResponse :: Int -> Text -> AddNotificationChannelResponse
-- | The response's http status code.
addNotificationChannelResponse_httpStatus :: Lens' AddNotificationChannelResponse Int
-- | The ID of the added notification channel.
addNotificationChannelResponse_id :: Lens' AddNotificationChannelResponse Text
instance GHC.Generics.Generic Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance GHC.Show.Show Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance GHC.Read.Read Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance GHC.Classes.Eq Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance GHC.Generics.Generic Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannelResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannelResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannelResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannelResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannelResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.AddNotificationChannel.AddNotificationChannel
-- | Enables or disables integration with a service that can be integrated
-- with DevOps Guru. The one service that can be integrated with DevOps
-- Guru is Amazon CodeGuru Profiler, which can produce proactive
-- recommendations which can be stored and viewed in DevOps Guru.
module Amazonka.DevOpsGuru.UpdateEventSourcesConfig
-- | See: newUpdateEventSourcesConfig smart constructor.
data UpdateEventSourcesConfig
UpdateEventSourcesConfig' :: Maybe EventSourcesConfig -> UpdateEventSourcesConfig
-- | Configuration information about the integration of DevOps Guru as the
-- Consumer via EventBridge with another AWS Service.
[$sel:eventSources:UpdateEventSourcesConfig'] :: UpdateEventSourcesConfig -> Maybe EventSourcesConfig
-- | Create a value of UpdateEventSourcesConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eventSources:UpdateEventSourcesConfig',
-- updateEventSourcesConfig_eventSources - Configuration
-- information about the integration of DevOps Guru as the Consumer via
-- EventBridge with another AWS Service.
newUpdateEventSourcesConfig :: UpdateEventSourcesConfig
-- | Configuration information about the integration of DevOps Guru as the
-- Consumer via EventBridge with another AWS Service.
updateEventSourcesConfig_eventSources :: Lens' UpdateEventSourcesConfig (Maybe EventSourcesConfig)
-- | See: newUpdateEventSourcesConfigResponse smart
-- constructor.
data UpdateEventSourcesConfigResponse
UpdateEventSourcesConfigResponse' :: Int -> UpdateEventSourcesConfigResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateEventSourcesConfigResponse'] :: UpdateEventSourcesConfigResponse -> Int
-- | Create a value of UpdateEventSourcesConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateEventSourcesConfigResponse',
-- updateEventSourcesConfigResponse_httpStatus - The response's
-- http status code.
newUpdateEventSourcesConfigResponse :: Int -> UpdateEventSourcesConfigResponse
-- | The response's http status code.
updateEventSourcesConfigResponse_httpStatus :: Lens' UpdateEventSourcesConfigResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance GHC.Show.Show Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance GHC.Read.Read Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance GHC.Classes.Eq Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance GHC.Generics.Generic Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfigResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfigResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfigResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.UpdateEventSourcesConfig.UpdateEventSourcesConfig
-- | Updates the collection of resources that DevOps Guru analyzes. The two
-- types of Amazon Web Services resource collections supported are Amazon
-- Web Services CloudFormation stacks and Amazon Web Services resources
-- that contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks. This method also creates the IAM role required
-- for you to use DevOps Guru.
module Amazonka.DevOpsGuru.UpdateResourceCollection
-- | See: newUpdateResourceCollection smart constructor.
data UpdateResourceCollection
UpdateResourceCollection' :: UpdateResourceCollectionAction -> UpdateResourceCollectionFilter -> UpdateResourceCollection
-- | Specifies if the resource collection in the request is added or
-- deleted to the resource collection.
[$sel:action:UpdateResourceCollection'] :: UpdateResourceCollection -> UpdateResourceCollectionAction
[$sel:resourceCollection:UpdateResourceCollection'] :: UpdateResourceCollection -> UpdateResourceCollectionFilter
-- | Create a value of UpdateResourceCollection with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:action:UpdateResourceCollection',
-- updateResourceCollection_action - Specifies if the resource
-- collection in the request is added or deleted to the resource
-- collection.
--
-- UpdateResourceCollection,
-- updateResourceCollection_resourceCollection - Undocumented
-- member.
newUpdateResourceCollection :: UpdateResourceCollectionAction -> UpdateResourceCollectionFilter -> UpdateResourceCollection
-- | Specifies if the resource collection in the request is added or
-- deleted to the resource collection.
updateResourceCollection_action :: Lens' UpdateResourceCollection UpdateResourceCollectionAction
-- | Undocumented member.
updateResourceCollection_resourceCollection :: Lens' UpdateResourceCollection UpdateResourceCollectionFilter
-- | See: newUpdateResourceCollectionResponse smart
-- constructor.
data UpdateResourceCollectionResponse
UpdateResourceCollectionResponse' :: Int -> UpdateResourceCollectionResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateResourceCollectionResponse'] :: UpdateResourceCollectionResponse -> Int
-- | Create a value of UpdateResourceCollectionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateResourceCollectionResponse',
-- updateResourceCollectionResponse_httpStatus - The response's
-- http status code.
newUpdateResourceCollectionResponse :: Int -> UpdateResourceCollectionResponse
-- | The response's http status code.
updateResourceCollectionResponse_httpStatus :: Lens' UpdateResourceCollectionResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance GHC.Show.Show Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance GHC.Read.Read Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance GHC.Classes.Eq Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance GHC.Generics.Generic Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollectionResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollectionResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollectionResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollectionResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollectionResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.UpdateResourceCollection.UpdateResourceCollection
-- | Enables or disables integration with a service that can be integrated
-- with DevOps Guru. The one service that can be integrated with DevOps
-- Guru is Amazon Web Services Systems Manager, which can be used to
-- create an OpsItem for each generated insight.
module Amazonka.DevOpsGuru.UpdateServiceIntegration
-- | See: newUpdateServiceIntegration smart constructor.
data UpdateServiceIntegration
UpdateServiceIntegration' :: UpdateServiceIntegrationConfig -> UpdateServiceIntegration
-- | An IntegratedServiceConfig object used to specify the
-- integrated service you want to update, and whether you want to update
-- it to enabled or disabled.
[$sel:serviceIntegration:UpdateServiceIntegration'] :: UpdateServiceIntegration -> UpdateServiceIntegrationConfig
-- | Create a value of UpdateServiceIntegration with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceIntegration:UpdateServiceIntegration',
-- updateServiceIntegration_serviceIntegration - An
-- IntegratedServiceConfig object used to specify the integrated
-- service you want to update, and whether you want to update it to
-- enabled or disabled.
newUpdateServiceIntegration :: UpdateServiceIntegrationConfig -> UpdateServiceIntegration
-- | An IntegratedServiceConfig object used to specify the
-- integrated service you want to update, and whether you want to update
-- it to enabled or disabled.
updateServiceIntegration_serviceIntegration :: Lens' UpdateServiceIntegration UpdateServiceIntegrationConfig
-- | See: newUpdateServiceIntegrationResponse smart
-- constructor.
data UpdateServiceIntegrationResponse
UpdateServiceIntegrationResponse' :: Int -> UpdateServiceIntegrationResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateServiceIntegrationResponse'] :: UpdateServiceIntegrationResponse -> Int
-- | Create a value of UpdateServiceIntegrationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateServiceIntegrationResponse',
-- updateServiceIntegrationResponse_httpStatus - The response's
-- http status code.
newUpdateServiceIntegrationResponse :: Int -> UpdateServiceIntegrationResponse
-- | The response's http status code.
updateServiceIntegrationResponse_httpStatus :: Lens' UpdateServiceIntegrationResponse Int
instance GHC.Generics.Generic Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance GHC.Show.Show Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance GHC.Read.Read Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance GHC.Classes.Eq Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance GHC.Generics.Generic Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegrationResponse
instance GHC.Show.Show Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegrationResponse
instance GHC.Read.Read Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegrationResponse
instance GHC.Classes.Eq Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegrationResponse
instance Amazonka.Types.AWSRequest Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegrationResponse
instance Data.Hashable.Class.Hashable Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance Control.DeepSeq.NFData Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance Amazonka.Data.Headers.ToHeaders Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance Amazonka.Data.Path.ToPath Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
instance Amazonka.Data.Query.ToQuery Amazonka.DevOpsGuru.UpdateServiceIntegration.UpdateServiceIntegration
module Amazonka.DevOpsGuru.Lens
-- | A NotificationChannelConfig object that specifies what type
-- of notification channel to add. The one supported notification channel
-- is Amazon Simple Notification Service (Amazon SNS).
addNotificationChannel_config :: Lens' AddNotificationChannel NotificationChannelConfig
-- | The response's http status code.
addNotificationChannelResponse_httpStatus :: Lens' AddNotificationChannelResponse Int
-- | The ID of the added notification channel.
addNotificationChannelResponse_id :: Lens' AddNotificationChannelResponse Text
-- | The ID of the insight.
deleteInsight_id :: Lens' DeleteInsight Text
-- | The response's http status code.
deleteInsightResponse_httpStatus :: Lens' DeleteInsightResponse Int
-- | Number of resources that DevOps Guru is monitoring in your Amazon Web
-- Services account.
describeAccountHealthResponse_analyzedResourceCount :: Lens' DescribeAccountHealthResponse (Maybe Integer)
-- | The response's http status code.
describeAccountHealthResponse_httpStatus :: Lens' DescribeAccountHealthResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
describeAccountHealthResponse_openReactiveInsights :: Lens' DescribeAccountHealthResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
describeAccountHealthResponse_openProactiveInsights :: Lens' DescribeAccountHealthResponse Int
-- | An integer that specifies the number of metrics that have been
-- analyzed in your Amazon Web Services account.
describeAccountHealthResponse_metricsAnalyzed :: Lens' DescribeAccountHealthResponse Int
-- | The number of Amazon DevOps Guru resource analysis hours billed to the
-- current Amazon Web Services account in the last hour.
describeAccountHealthResponse_resourceHours :: Lens' DescribeAccountHealthResponse Integer
-- | The end of the time range passed in. The start time granularity is at
-- the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
describeAccountOverview_toTime :: Lens' DescribeAccountOverview (Maybe UTCTime)
-- | The start of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred after this day.
describeAccountOverview_fromTime :: Lens' DescribeAccountOverview UTCTime
-- | The response's http status code.
describeAccountOverviewResponse_httpStatus :: Lens' DescribeAccountOverviewResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account that were created during the time range
-- passed in.
describeAccountOverviewResponse_reactiveInsights :: Lens' DescribeAccountOverviewResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account that were created during the time
-- range passed in.
describeAccountOverviewResponse_proactiveInsights :: Lens' DescribeAccountOverviewResponse Int
-- | The Mean Time to Recover (MTTR) for all closed insights that were
-- created during the time range passed in.
describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds :: Lens' DescribeAccountOverviewResponse Integer
-- | The ID of the member account.
describeAnomaly_accountId :: Lens' DescribeAnomaly (Maybe Text)
-- | The ID of the anomaly.
describeAnomaly_id :: Lens' DescribeAnomaly Text
-- | A ProactiveAnomaly object that represents the requested
-- anomaly.
describeAnomalyResponse_proactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ProactiveAnomaly)
-- | A ReactiveAnomaly object that represents the requested
-- anomaly.
describeAnomalyResponse_reactiveAnomaly :: Lens' DescribeAnomalyResponse (Maybe ReactiveAnomaly)
-- | The response's http status code.
describeAnomalyResponse_httpStatus :: Lens' DescribeAnomalyResponse Int
-- | Lists the event sources in the configuration.
describeEventSourcesConfigResponse_eventSources :: Lens' DescribeEventSourcesConfigResponse (Maybe EventSourcesConfig)
-- | The response's http status code.
describeEventSourcesConfigResponse_httpStatus :: Lens' DescribeEventSourcesConfigResponse Int
-- | The ID of the insight for which the feedback was provided.
describeFeedback_insightId :: Lens' DescribeFeedback (Maybe Text)
-- | Undocumented member.
describeFeedbackResponse_insightFeedback :: Lens' DescribeFeedbackResponse (Maybe InsightFeedback)
-- | The response's http status code.
describeFeedbackResponse_httpStatus :: Lens' DescribeFeedbackResponse Int
-- | The ID of the member account in the organization.
describeInsight_accountId :: Lens' DescribeInsight (Maybe Text)
-- | The ID of the insight.
describeInsight_id :: Lens' DescribeInsight Text
-- | A ProactiveInsight object that represents the requested
-- insight.
describeInsightResponse_proactiveInsight :: Lens' DescribeInsightResponse (Maybe ProactiveInsight)
-- | A ReactiveInsight object that represents the requested
-- insight.
describeInsightResponse_reactiveInsight :: Lens' DescribeInsightResponse (Maybe ReactiveInsight)
-- | The response's http status code.
describeInsightResponse_httpStatus :: Lens' DescribeInsightResponse Int
-- | The ID of the Amazon Web Services account.
describeOrganizationHealth_accountIds :: Lens' DescribeOrganizationHealth (Maybe [Text])
-- | The ID of the organizational unit.
describeOrganizationHealth_organizationalUnitIds :: Lens' DescribeOrganizationHealth (Maybe [Text])
-- | The response's http status code.
describeOrganizationHealthResponse_httpStatus :: Lens' DescribeOrganizationHealthResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
describeOrganizationHealthResponse_openReactiveInsights :: Lens' DescribeOrganizationHealthResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
describeOrganizationHealthResponse_openProactiveInsights :: Lens' DescribeOrganizationHealthResponse Int
-- | An integer that specifies the number of metrics that have been
-- analyzed in your organization.
describeOrganizationHealthResponse_metricsAnalyzed :: Lens' DescribeOrganizationHealthResponse Int
-- | The number of Amazon DevOps Guru resource analysis hours billed to the
-- current Amazon Web Services account in the last hour.
describeOrganizationHealthResponse_resourceHours :: Lens' DescribeOrganizationHealthResponse Integer
-- | The ID of the Amazon Web Services account.
describeOrganizationOverview_accountIds :: Lens' DescribeOrganizationOverview (Maybe [Text])
-- | The ID of the organizational unit.
describeOrganizationOverview_organizationalUnitIds :: Lens' DescribeOrganizationOverview (Maybe [Text])
-- | The end of the time range passed in. The start time granularity is at
-- the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
describeOrganizationOverview_toTime :: Lens' DescribeOrganizationOverview (Maybe UTCTime)
-- | The start of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred after this day.
describeOrganizationOverview_fromTime :: Lens' DescribeOrganizationOverview UTCTime
-- | The response's http status code.
describeOrganizationOverviewResponse_httpStatus :: Lens' DescribeOrganizationOverviewResponse Int
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
describeOrganizationOverviewResponse_reactiveInsights :: Lens' DescribeOrganizationOverviewResponse Int
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
describeOrganizationOverviewResponse_proactiveInsights :: Lens' DescribeOrganizationOverviewResponse Int
-- | The ID of the Amazon Web Services account.
describeOrganizationResourceCollectionHealth_accountIds :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe [Text])
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
describeOrganizationResourceCollectionHealth_maxResults :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
describeOrganizationResourceCollectionHealth_nextToken :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe Text)
-- | The ID of the organizational unit.
describeOrganizationResourceCollectionHealth_organizationalUnitIds :: Lens' DescribeOrganizationResourceCollectionHealth (Maybe [Text])
-- | An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
describeOrganizationResourceCollectionHealth_organizationResourceCollectionType :: Lens' DescribeOrganizationResourceCollectionHealth OrganizationResourceCollectionType
-- | The name of the organization's account.
describeOrganizationResourceCollectionHealthResponse_account :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [AccountHealth])
-- | The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
describeOrganizationResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [CloudFormationHealth])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
describeOrganizationResourceCollectionHealthResponse_nextToken :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe Text)
-- | An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
describeOrganizationResourceCollectionHealthResponse_service :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [ServiceHealth])
-- | Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
describeOrganizationResourceCollectionHealthResponse_tags :: Lens' DescribeOrganizationResourceCollectionHealthResponse (Maybe [TagHealth])
-- | The response's http status code.
describeOrganizationResourceCollectionHealthResponse_httpStatus :: Lens' DescribeOrganizationResourceCollectionHealthResponse Int
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
describeResourceCollectionHealth_nextToken :: Lens' DescribeResourceCollectionHealth (Maybe Text)
-- | An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
describeResourceCollectionHealth_resourceCollectionType :: Lens' DescribeResourceCollectionHealth ResourceCollectionType
-- | The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
describeResourceCollectionHealthResponse_cloudFormation :: Lens' DescribeResourceCollectionHealthResponse (Maybe [CloudFormationHealth])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
describeResourceCollectionHealthResponse_nextToken :: Lens' DescribeResourceCollectionHealthResponse (Maybe Text)
-- | An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
describeResourceCollectionHealthResponse_service :: Lens' DescribeResourceCollectionHealthResponse (Maybe [ServiceHealth])
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
describeResourceCollectionHealthResponse_tags :: Lens' DescribeResourceCollectionHealthResponse (Maybe [TagHealth])
-- | The response's http status code.
describeResourceCollectionHealthResponse_httpStatus :: Lens' DescribeResourceCollectionHealthResponse Int
-- | Undocumented member.
describeServiceIntegrationResponse_serviceIntegration :: Lens' DescribeServiceIntegrationResponse (Maybe ServiceIntegrationConfig)
-- | The response's http status code.
describeServiceIntegrationResponse_httpStatus :: Lens' DescribeServiceIntegrationResponse Int
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
getCostEstimation_nextToken :: Lens' GetCostEstimation (Maybe Text)
-- | An array of ResourceCost objects that each contains details
-- about the monthly cost estimate to analyze one of your Amazon Web
-- Services resources.
getCostEstimationResponse_costs :: Lens' GetCostEstimationResponse (Maybe [ServiceResourceCost])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
getCostEstimationResponse_nextToken :: Lens' GetCostEstimationResponse (Maybe Text)
-- | The collection of the Amazon Web Services resources used to create
-- your monthly DevOps Guru cost estimate.
getCostEstimationResponse_resourceCollection :: Lens' GetCostEstimationResponse (Maybe CostEstimationResourceCollectionFilter)
-- | The status of creating this cost estimate. If it's still in progress,
-- the status ONGOING is returned. If it is finished, the status
-- COMPLETED is returned.
getCostEstimationResponse_status :: Lens' GetCostEstimationResponse (Maybe CostEstimationStatus)
-- | The start and end time of the cost estimation.
getCostEstimationResponse_timeRange :: Lens' GetCostEstimationResponse (Maybe CostEstimationTimeRange)
-- | The estimated monthly cost to analyze the Amazon Web Services
-- resources. This value is the sum of the estimated costs to analyze
-- each resource in the Costs object in this response.
getCostEstimationResponse_totalCost :: Lens' GetCostEstimationResponse (Maybe Double)
-- | The response's http status code.
getCostEstimationResponse_httpStatus :: Lens' GetCostEstimationResponse Int
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
getResourceCollection_nextToken :: Lens' GetResourceCollection (Maybe Text)
-- | The type of Amazon Web Services resource collections to return. The
-- one valid value is CLOUD_FORMATION for Amazon Web Services
-- CloudFormation stacks.
getResourceCollection_resourceCollectionType :: Lens' GetResourceCollection ResourceCollectionType
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
getResourceCollectionResponse_nextToken :: Lens' GetResourceCollectionResponse (Maybe Text)
-- | The requested list of Amazon Web Services resource collections. The
-- two types of Amazon Web Services resource collections supported are
-- Amazon Web Services CloudFormation stacks and Amazon Web Services
-- resources that contain the same Amazon Web Services tag. DevOps Guru
-- can be configured to analyze the Amazon Web Services resources that
-- are defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
getResourceCollectionResponse_resourceCollection :: Lens' GetResourceCollectionResponse (Maybe ResourceCollectionFilter)
-- | The response's http status code.
getResourceCollectionResponse_httpStatus :: Lens' GetResourceCollectionResponse Int
-- | The ID of the Amazon Web Services account.
listAnomaliesForInsight_accountId :: Lens' ListAnomaliesForInsight (Maybe Text)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listAnomaliesForInsight_maxResults :: Lens' ListAnomaliesForInsight (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listAnomaliesForInsight_nextToken :: Lens' ListAnomaliesForInsight (Maybe Text)
-- | A time range used to specify when the requested anomalies started. All
-- returned anomalies started during this time range.
listAnomaliesForInsight_startTimeRange :: Lens' ListAnomaliesForInsight (Maybe StartTimeRange)
-- | The ID of the insight. The returned anomalies belong to this insight.
listAnomaliesForInsight_insightId :: Lens' ListAnomaliesForInsight Text
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listAnomaliesForInsightResponse_nextToken :: Lens' ListAnomaliesForInsightResponse (Maybe Text)
-- | An array of ProactiveAnomalySummary objects that represent
-- the requested anomalies
listAnomaliesForInsightResponse_proactiveAnomalies :: Lens' ListAnomaliesForInsightResponse (Maybe [ProactiveAnomalySummary])
-- | An array of ReactiveAnomalySummary objects that represent the
-- requested anomalies
listAnomaliesForInsightResponse_reactiveAnomalies :: Lens' ListAnomaliesForInsightResponse (Maybe [ReactiveAnomalySummary])
-- | The response's http status code.
listAnomaliesForInsightResponse_httpStatus :: Lens' ListAnomaliesForInsightResponse Int
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listAnomalousLogGroups_maxResults :: Lens' ListAnomalousLogGroups (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listAnomalousLogGroups_nextToken :: Lens' ListAnomalousLogGroups (Maybe Text)
-- | The ID of the insight containing the log groups.
listAnomalousLogGroups_insightId :: Lens' ListAnomalousLogGroups Text
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listAnomalousLogGroupsResponse_nextToken :: Lens' ListAnomalousLogGroupsResponse (Maybe Text)
-- | The response's http status code.
listAnomalousLogGroupsResponse_httpStatus :: Lens' ListAnomalousLogGroupsResponse Int
-- | The ID of the insight containing the log groups.
listAnomalousLogGroupsResponse_insightId :: Lens' ListAnomalousLogGroupsResponse Text
-- | The list of Amazon CloudWatch log groups that are related to an
-- insight.
listAnomalousLogGroupsResponse_anomalousLogGroups :: Lens' ListAnomalousLogGroupsResponse [AnomalousLogGroup]
-- | The ID of the Amazon Web Services account.
listEvents_accountId :: Lens' ListEvents (Maybe Text)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listEvents_maxResults :: Lens' ListEvents (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listEvents_nextToken :: Lens' ListEvents (Maybe Text)
-- | A ListEventsFilters object used to specify which events to
-- return.
listEvents_filters :: Lens' ListEvents ListEventsFilters
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listEventsResponse_nextToken :: Lens' ListEventsResponse (Maybe Text)
-- | The response's http status code.
listEventsResponse_httpStatus :: Lens' ListEventsResponse Int
-- | A list of the requested events.
listEventsResponse_events :: Lens' ListEventsResponse [Event]
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listInsights_maxResults :: Lens' ListInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listInsights_nextToken :: Lens' ListInsights (Maybe Text)
-- | A filter used to filter the returned insights by their status. You can
-- specify one status filter.
listInsights_statusFilter :: Lens' ListInsights ListInsightsStatusFilter
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listInsightsResponse_nextToken :: Lens' ListInsightsResponse (Maybe Text)
-- | The returned list of proactive insights.
listInsightsResponse_proactiveInsights :: Lens' ListInsightsResponse (Maybe [ProactiveInsightSummary])
-- | The returned list of reactive insights.
listInsightsResponse_reactiveInsights :: Lens' ListInsightsResponse (Maybe [ReactiveInsightSummary])
-- | The response's http status code.
listInsightsResponse_httpStatus :: Lens' ListInsightsResponse Int
-- | Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
listMonitoredResources_filters :: Lens' ListMonitoredResources (Maybe ListMonitoredResourcesFilters)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listMonitoredResources_maxResults :: Lens' ListMonitoredResources (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listMonitoredResources_nextToken :: Lens' ListMonitoredResources (Maybe Text)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listMonitoredResourcesResponse_nextToken :: Lens' ListMonitoredResourcesResponse (Maybe Text)
-- | The response's http status code.
listMonitoredResourcesResponse_httpStatus :: Lens' ListMonitoredResourcesResponse Int
-- | Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
listMonitoredResourcesResponse_monitoredResourceIdentifiers :: Lens' ListMonitoredResourcesResponse [MonitoredResourceIdentifier]
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listNotificationChannels_nextToken :: Lens' ListNotificationChannels (Maybe Text)
-- | An array that contains the requested notification channels.
listNotificationChannelsResponse_channels :: Lens' ListNotificationChannelsResponse (Maybe [NotificationChannel])
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listNotificationChannelsResponse_nextToken :: Lens' ListNotificationChannelsResponse (Maybe Text)
-- | The response's http status code.
listNotificationChannelsResponse_httpStatus :: Lens' ListNotificationChannelsResponse Int
-- | The ID of the Amazon Web Services account.
listOrganizationInsights_accountIds :: Lens' ListOrganizationInsights (Maybe [Text])
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
listOrganizationInsights_maxResults :: Lens' ListOrganizationInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listOrganizationInsights_nextToken :: Lens' ListOrganizationInsights (Maybe Text)
-- | The ID of the organizational unit.
listOrganizationInsights_organizationalUnitIds :: Lens' ListOrganizationInsights (Maybe [Text])
-- | Undocumented member.
listOrganizationInsights_statusFilter :: Lens' ListOrganizationInsights ListInsightsStatusFilter
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listOrganizationInsightsResponse_nextToken :: Lens' ListOrganizationInsightsResponse (Maybe Text)
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
listOrganizationInsightsResponse_proactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ProactiveOrganizationInsightSummary])
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
listOrganizationInsightsResponse_reactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ReactiveOrganizationInsightSummary])
-- | The response's http status code.
listOrganizationInsightsResponse_httpStatus :: Lens' ListOrganizationInsightsResponse Int
-- | The ID of the Amazon Web Services account.
listRecommendations_accountId :: Lens' ListRecommendations (Maybe Text)
-- | A locale that specifies the language to use for recommendations.
listRecommendations_locale :: Lens' ListRecommendations (Maybe Locale)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
listRecommendations_nextToken :: Lens' ListRecommendations (Maybe Text)
-- | The ID of the requested insight.
listRecommendations_insightId :: Lens' ListRecommendations Text
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
listRecommendationsResponse_nextToken :: Lens' ListRecommendationsResponse (Maybe Text)
-- | An array of the requested recommendations.
listRecommendationsResponse_recommendations :: Lens' ListRecommendationsResponse (Maybe [Recommendation])
-- | The response's http status code.
listRecommendationsResponse_httpStatus :: Lens' ListRecommendationsResponse Int
-- | The feedback from customers is about the recommendations in this
-- insight.
putFeedback_insightFeedback :: Lens' PutFeedback (Maybe InsightFeedback)
-- | The response's http status code.
putFeedbackResponse_httpStatus :: Lens' PutFeedbackResponse Int
-- | The ID of the notification channel to be removed.
removeNotificationChannel_id :: Lens' RemoveNotificationChannel Text
-- | The response's http status code.
removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int
-- | A SearchInsightsFilters object that is used to set the
-- severity and status filters on your insight search.
searchInsights_filters :: Lens' SearchInsights (Maybe SearchInsightsFilters)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
searchInsights_maxResults :: Lens' SearchInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
searchInsights_nextToken :: Lens' SearchInsights (Maybe Text)
-- | The start of the time range passed in. Returned insights occurred
-- after this time.
searchInsights_startTimeRange :: Lens' SearchInsights StartTimeRange
-- | The type of insights you are searching for (REACTIVE or
-- PROACTIVE).
searchInsights_type :: Lens' SearchInsights InsightType
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
searchInsightsResponse_nextToken :: Lens' SearchInsightsResponse (Maybe Text)
-- | The returned proactive insights.
searchInsightsResponse_proactiveInsights :: Lens' SearchInsightsResponse (Maybe [ProactiveInsightSummary])
-- | The returned reactive insights.
searchInsightsResponse_reactiveInsights :: Lens' SearchInsightsResponse (Maybe [ReactiveInsightSummary])
-- | The response's http status code.
searchInsightsResponse_httpStatus :: Lens' SearchInsightsResponse Int
-- | A SearchOrganizationInsightsFilters object that is used to
-- set the severity and status filters on your insight search.
searchOrganizationInsights_filters :: Lens' SearchOrganizationInsights (Maybe SearchOrganizationInsightsFilters)
-- | The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
searchOrganizationInsights_maxResults :: Lens' SearchOrganizationInsights (Maybe Natural)
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
searchOrganizationInsights_nextToken :: Lens' SearchOrganizationInsights (Maybe Text)
-- | The ID of the Amazon Web Services account.
searchOrganizationInsights_accountIds :: Lens' SearchOrganizationInsights (NonEmpty Text)
-- | Undocumented member.
searchOrganizationInsights_startTimeRange :: Lens' SearchOrganizationInsights StartTimeRange
-- | The type of insights you are searching for (REACTIVE or
-- PROACTIVE).
searchOrganizationInsights_type :: Lens' SearchOrganizationInsights InsightType
-- | The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
searchOrganizationInsightsResponse_nextToken :: Lens' SearchOrganizationInsightsResponse (Maybe Text)
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
searchOrganizationInsightsResponse_proactiveInsights :: Lens' SearchOrganizationInsightsResponse (Maybe [ProactiveInsightSummary])
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
searchOrganizationInsightsResponse_reactiveInsights :: Lens' SearchOrganizationInsightsResponse (Maybe [ReactiveInsightSummary])
-- | The response's http status code.
searchOrganizationInsightsResponse_httpStatus :: Lens' SearchOrganizationInsightsResponse Int
-- | The idempotency token used to identify each cost estimate request.
startCostEstimation_clientToken :: Lens' StartCostEstimation (Maybe Text)
-- | The collection of Amazon Web Services resources used to create a
-- monthly DevOps Guru cost estimate.
startCostEstimation_resourceCollection :: Lens' StartCostEstimation CostEstimationResourceCollectionFilter
-- | The response's http status code.
startCostEstimationResponse_httpStatus :: Lens' StartCostEstimationResponse Int
-- | Configuration information about the integration of DevOps Guru as the
-- Consumer via EventBridge with another AWS Service.
updateEventSourcesConfig_eventSources :: Lens' UpdateEventSourcesConfig (Maybe EventSourcesConfig)
-- | The response's http status code.
updateEventSourcesConfigResponse_httpStatus :: Lens' UpdateEventSourcesConfigResponse Int
-- | Specifies if the resource collection in the request is added or
-- deleted to the resource collection.
updateResourceCollection_action :: Lens' UpdateResourceCollection UpdateResourceCollectionAction
-- | Undocumented member.
updateResourceCollection_resourceCollection :: Lens' UpdateResourceCollection UpdateResourceCollectionFilter
-- | The response's http status code.
updateResourceCollectionResponse_httpStatus :: Lens' UpdateResourceCollectionResponse Int
-- | An IntegratedServiceConfig object used to specify the
-- integrated service you want to update, and whether you want to update
-- it to enabled or disabled.
updateServiceIntegration_serviceIntegration :: Lens' UpdateServiceIntegration UpdateServiceIntegrationConfig
-- | The response's http status code.
updateServiceIntegrationResponse_httpStatus :: Lens' UpdateServiceIntegrationResponse Int
-- | The ID of the Amazon Web Services account.
accountHealth_accountId :: Lens' AccountHealth (Maybe Text)
-- | Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
accountHealth_insight :: Lens' AccountHealth (Maybe AccountInsightHealth)
-- | An integer that specifies the number of open proactive insights in
-- your Amazon Web Services account.
accountInsightHealth_openProactiveInsights :: Lens' AccountInsightHealth (Maybe Int)
-- | An integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
accountInsightHealth_openReactiveInsights :: Lens' AccountInsightHealth (Maybe Int)
-- | The status of the CodeGuru Profiler integration. Specifies if DevOps
-- Guru is enabled to consume recommendations that are generated from
-- Amazon CodeGuru Profiler.
amazonCodeGuruProfilerIntegration_status :: Lens' AmazonCodeGuruProfilerIntegration (Maybe EventSourceOptInStatus)
-- | The time the anomalous log events stopped.
anomalousLogGroup_impactEndTime :: Lens' AnomalousLogGroup (Maybe UTCTime)
-- | The time the anomalous log events began. The impact start time
-- indicates the time of the first log anomaly event that occurs.
anomalousLogGroup_impactStartTime :: Lens' AnomalousLogGroup (Maybe UTCTime)
-- | The log anomalies in the log group. Each log anomaly displayed
-- represents a cluster of similar anomalous log events.
anomalousLogGroup_logAnomalyShowcases :: Lens' AnomalousLogGroup (Maybe [LogAnomalyShowcase])
-- | The name of the CloudWatch log group.
anomalousLogGroup_logGroupName :: Lens' AnomalousLogGroup (Maybe Text)
-- | The number of log lines that were scanned for anomalous log events.
anomalousLogGroup_numberOfLogLinesScanned :: Lens' AnomalousLogGroup (Maybe Int)
-- | The time when an anomaly is closed.
anomalyReportedTimeRange_closeTime :: Lens' AnomalyReportedTimeRange (Maybe UTCTime)
-- | The time when an anomaly is opened.
anomalyReportedTimeRange_openTime :: Lens' AnomalyReportedTimeRange UTCTime
-- | The name of the Amazon Web Services resource.
anomalyResource_name :: Lens' AnomalyResource (Maybe Text)
-- | The type of the Amazon Web Services resource.
anomalyResource_type :: Lens' AnomalyResource (Maybe Text)
-- | An array of CloudWatchMetricsDetail objects that contain
-- information about analyzed CloudWatch metrics that show anomalous
-- behavior.
anomalySourceDetails_cloudWatchMetrics :: Lens' AnomalySourceDetails (Maybe [CloudWatchMetricsDetail])
-- | An array of PerformanceInsightsMetricsDetail objects that
-- contain information about analyzed Performance Insights metrics that
-- show anomalous behavior.
anomalySourceDetails_performanceInsightsMetrics :: Lens' AnomalySourceDetails (Maybe [PerformanceInsightsMetricsDetail])
-- | The source of the anomaly.
anomalySourceMetadata_source :: Lens' AnomalySourceMetadata (Maybe Text)
-- | The name of the anomaly's resource.
anomalySourceMetadata_sourceResourceName :: Lens' AnomalySourceMetadata (Maybe Text)
-- | The anomaly's resource type.
anomalySourceMetadata_sourceResourceType :: Lens' AnomalySourceMetadata (Maybe Text)
-- | The time when the anomalous behavior ended.
anomalyTimeRange_endTime :: Lens' AnomalyTimeRange (Maybe UTCTime)
-- | The time when the anomalous behavior started.
anomalyTimeRange_startTime :: Lens' AnomalyTimeRange UTCTime
-- | An array of CloudFormation stack names.
cloudFormationCollection_stackNames :: Lens' CloudFormationCollection (Maybe [Text])
-- | An array of CloudFormation stack names.
cloudFormationCollectionFilter_stackNames :: Lens' CloudFormationCollectionFilter (Maybe [Text])
-- | An array of CloudFormation stack names. Its size is fixed at 1 item.
cloudFormationCostEstimationResourceCollectionFilter_stackNames :: Lens' CloudFormationCostEstimationResourceCollectionFilter (Maybe (NonEmpty Text))
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services CloudFormation stack.
cloudFormationHealth_analyzedResourceCount :: Lens' CloudFormationHealth (Maybe Integer)
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services
-- CloudFormation stack, including the number of open proactive, open
-- reactive insights, and the Mean Time to Recover (MTTR) of closed
-- insights.
cloudFormationHealth_insight :: Lens' CloudFormationHealth (Maybe InsightHealth)
-- | The name of the CloudFormation stack.
cloudFormationHealth_stackName :: Lens' CloudFormationHealth (Maybe Text)
-- | This is an enum of the status showing whether the metric value pair
-- list has partial or complete data, or if there was an error.
cloudWatchMetricsDataSummary_statusCode :: Lens' CloudWatchMetricsDataSummary (Maybe CloudWatchMetricDataStatusCode)
-- | This is a list of Amazon CloudWatch metric values at given timestamp.
cloudWatchMetricsDataSummary_timestampMetricValuePairList :: Lens' CloudWatchMetricsDataSummary (Maybe [TimestampMetricValuePair])
-- | An array of CloudWatch dimensions associated with
cloudWatchMetricsDetail_dimensions :: Lens' CloudWatchMetricsDetail (Maybe [CloudWatchMetricsDimension])
-- | This object returns anomaly metric data.
cloudWatchMetricsDetail_metricDataSummary :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsDataSummary)
-- | The name of the CloudWatch metric.
cloudWatchMetricsDetail_metricName :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
cloudWatchMetricsDetail_namespace :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The length of time associated with the CloudWatch metric in number of
-- seconds.
cloudWatchMetricsDetail_period :: Lens' CloudWatchMetricsDetail (Maybe Int)
-- | The type of statistic associated with the CloudWatch metric. For more
-- information, see Statistics in the Amazon CloudWatch User
-- Guide.
cloudWatchMetricsDetail_stat :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsStat)
-- | The unit of measure used for the CloudWatch metric. For example,
-- Bytes, Seconds, Count, and
-- Percent.
cloudWatchMetricsDetail_unit :: Lens' CloudWatchMetricsDetail (Maybe Text)
-- | The name of the CloudWatch dimension.
cloudWatchMetricsDimension_name :: Lens' CloudWatchMetricsDimension (Maybe Text)
-- | The value of the CloudWatch dimension.
cloudWatchMetricsDimension_value :: Lens' CloudWatchMetricsDimension (Maybe Text)
-- | An object that specifies the CloudFormation stack that defines the
-- Amazon Web Services resources used to create a monthly estimate for
-- DevOps Guru.
costEstimationResourceCollectionFilter_cloudFormation :: Lens' CostEstimationResourceCollectionFilter (Maybe CloudFormationCostEstimationResourceCollectionFilter)
-- | The Amazon Web Services tags used to filter the resource collection
-- that is used for a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
costEstimationResourceCollectionFilter_tags :: Lens' CostEstimationResourceCollectionFilter (Maybe [TagCostEstimationResourceCollectionFilter])
-- | The end time of the cost estimation.
costEstimationTimeRange_endTime :: Lens' CostEstimationTimeRange (Maybe UTCTime)
-- | The start time of the cost estimation.
costEstimationTimeRange_startTime :: Lens' CostEstimationTimeRange (Maybe UTCTime)
-- | The earliest end time in the time range.
endTimeRange_fromTime :: Lens' EndTimeRange (Maybe UTCTime)
-- | The latest end time in the time range.
endTimeRange_toTime :: Lens' EndTimeRange (Maybe UTCTime)
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY,
-- where DevOps Guru analysis found the event.
event_dataSource :: Lens' Event (Maybe EventDataSource)
-- | The class of the event. The class specifies what the event is related
-- to, such as an infrastructure change, a deployment, or a schema
-- change.
event_eventClass :: Lens' Event (Maybe EventClass)
-- | The Amazon Web Services source that emitted the event.
event_eventSource :: Lens' Event (Maybe Text)
-- | The ID of the event.
event_id :: Lens' Event (Maybe Text)
-- | The name of the event.
event_name :: Lens' Event (Maybe Text)
-- | Undocumented member.
event_resourceCollection :: Lens' Event (Maybe ResourceCollection)
-- | An EventResource object that contains information about the
-- resource that emitted the event.
event_resources :: Lens' Event (Maybe [EventResource])
-- | A Timestamp that specifies the time the event occurred.
event_time :: Lens' Event (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the resource that emitted an event.
eventResource_arn :: Lens' EventResource (Maybe Text)
-- | The name of the resource that emitted an event.
eventResource_name :: Lens' EventResource (Maybe Text)
-- | The type of resource that emitted an event.
eventResource_type :: Lens' EventResource (Maybe Text)
-- | Information about whether DevOps Guru is configured to consume
-- recommendations which are generated from AWS CodeGuru Profiler.
eventSourcesConfig_amazonCodeGuruProfiler :: Lens' EventSourcesConfig (Maybe AmazonCodeGuruProfilerIntegration)
-- | The time when the event started.
eventTimeRange_fromTime :: Lens' EventTimeRange UTCTime
-- | The time when the event ended.
eventTimeRange_toTime :: Lens' EventTimeRange UTCTime
-- | The feedback provided by the customer.
insightFeedback_feedback :: Lens' InsightFeedback (Maybe InsightFeedbackOption)
-- | The insight feedback ID.
insightFeedback_id :: Lens' InsightFeedback (Maybe Text)
-- | The Meant Time to Recover (MTTR) for the insight.
insightHealth_meanTimeToRecoverInMilliseconds :: Lens' InsightHealth (Maybe Integer)
-- | The number of open proactive insights.
insightHealth_openProactiveInsights :: Lens' InsightHealth (Maybe Int)
-- | The number of open reactive insights.
insightHealth_openReactiveInsights :: Lens' InsightHealth (Maybe Int)
-- | The time when the behavior described in an insight ended.
insightTimeRange_endTime :: Lens' InsightTimeRange (Maybe UTCTime)
-- | The time when the behavior described in an insight started.
insightTimeRange_startTime :: Lens' InsightTimeRange UTCTime
-- | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of
-- the events you want returned.
listEventsFilters_dataSource :: Lens' ListEventsFilters (Maybe EventDataSource)
-- | The class of the events you want to filter for, such as an
-- infrastructure change, a deployment, or a schema change.
listEventsFilters_eventClass :: Lens' ListEventsFilters (Maybe EventClass)
-- | The Amazon Web Services source that emitted the events you want to
-- filter for.
listEventsFilters_eventSource :: Lens' ListEventsFilters (Maybe Text)
-- | A time range during which you want the filtered events to have
-- occurred.
listEventsFilters_eventTimeRange :: Lens' ListEventsFilters (Maybe EventTimeRange)
-- | An ID of an insight that is related to the events you want to filter
-- for.
listEventsFilters_insightId :: Lens' ListEventsFilters (Maybe Text)
-- | Undocumented member.
listEventsFilters_resourceCollection :: Lens' ListEventsFilters (Maybe ResourceCollection)
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsAnyStatusFilter_type :: Lens' ListInsightsAnyStatusFilter InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights started.
listInsightsAnyStatusFilter_startTimeRange :: Lens' ListInsightsAnyStatusFilter StartTimeRange
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsClosedStatusFilter_type :: Lens' ListInsightsClosedStatusFilter InsightType
-- | A time range used to specify when the behavior of the filtered
-- insights ended.
listInsightsClosedStatusFilter_endTimeRange :: Lens' ListInsightsClosedStatusFilter EndTimeRange
-- | Use to filter for either REACTIVE or PROACTIVE
-- insights.
listInsightsOngoingStatusFilter_type :: Lens' ListInsightsOngoingStatusFilter InsightType
-- | A ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_any :: Lens' ListInsightsStatusFilter (Maybe ListInsightsAnyStatusFilter)
-- | A ListInsightsClosedStatusFilter that specifies closed
-- insights that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_closed :: Lens' ListInsightsStatusFilter (Maybe ListInsightsClosedStatusFilter)
-- | A ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
listInsightsStatusFilter_ongoing :: Lens' ListInsightsStatusFilter (Maybe ListInsightsOngoingStatusFilter)
-- | The permission status of a resource.
listMonitoredResourcesFilters_resourcePermission :: Lens' ListMonitoredResourcesFilters ResourcePermission
-- | The type of resource that you wish to retrieve, such as log groups.
listMonitoredResourcesFilters_resourceTypeFilters :: Lens' ListMonitoredResourcesFilters [ResourceTypeFilter]
-- | The explanation for why the log event is considered an anomaly.
logAnomalyClass_explanation :: Lens' LogAnomalyClass (Maybe Text)
-- | The token where the anomaly was detected. This may refer to an
-- exception or another location, or it may be blank for log anomalies
-- such as format anomalies.
logAnomalyClass_logAnomalyToken :: Lens' LogAnomalyClass (Maybe Text)
-- | The type of log anomaly that has been detected.
logAnomalyClass_logAnomalyType :: Lens' LogAnomalyClass (Maybe LogAnomalyType)
-- | The ID of the log event.
logAnomalyClass_logEventId :: Lens' LogAnomalyClass (Maybe Text)
-- | The time of the first occurrence of the anomalous log event.
logAnomalyClass_logEventTimestamp :: Lens' LogAnomalyClass (Maybe UTCTime)
-- | The name of the Amazon CloudWatch log stream that the anomalous log
-- event belongs to. A log stream is a sequence of log events that share
-- the same source.
logAnomalyClass_logStreamName :: Lens' LogAnomalyClass (Maybe Text)
-- | The number of log lines where this anomalous log event occurs.
logAnomalyClass_numberOfLogLinesOccurrences :: Lens' LogAnomalyClass (Maybe Int)
-- | A list of anomalous log events that may be related.
logAnomalyShowcase_logAnomalyClasses :: Lens' LogAnomalyShowcase (Maybe [LogAnomalyClass])
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
logsAnomalyDetectionIntegration_optInStatus :: Lens' LogsAnomalyDetectionIntegration (Maybe OptInStatus)
-- | Specifies if DevOps Guru is configured to perform log anomaly
-- detection on CloudWatch log groups.
logsAnomalyDetectionIntegrationConfig_optInStatus :: Lens' LogsAnomalyDetectionIntegrationConfig (Maybe OptInStatus)
-- | The time at which DevOps Guru last updated this resource.
monitoredResourceIdentifier_lastUpdated :: Lens' MonitoredResourceIdentifier (Maybe UTCTime)
-- | The name of the resource being monitored.
monitoredResourceIdentifier_monitoredResourceName :: Lens' MonitoredResourceIdentifier (Maybe Text)
-- | Undocumented member.
monitoredResourceIdentifier_resourceCollection :: Lens' MonitoredResourceIdentifier (Maybe ResourceCollection)
-- | The permission status of a resource.
monitoredResourceIdentifier_resourcePermission :: Lens' MonitoredResourceIdentifier (Maybe ResourcePermission)
-- | The type of resource being monitored.
monitoredResourceIdentifier_type :: Lens' MonitoredResourceIdentifier (Maybe Text)
-- | A NotificationChannelConfig object that contains information
-- about configured notification channels.
notificationChannel_config :: Lens' NotificationChannel (Maybe NotificationChannelConfig)
-- | The ID of a notification channel.
notificationChannel_id :: Lens' NotificationChannel (Maybe Text)
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. If you do not provide filter configurations, the
-- default configurations are to receive notifications for all message
-- types of High or Medium severity.
notificationChannelConfig_filters :: Lens' NotificationChannelConfig (Maybe NotificationFilterConfig)
-- | Information about a notification channel configured in DevOps Guru to
-- send notifications when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
notificationChannelConfig_sns :: Lens' NotificationChannelConfig SnsChannelConfig
-- | The events that you want to receive notifications for. For example,
-- you can choose to receive notifications only when the severity level
-- is upgraded or a new insight is created.
notificationFilterConfig_messageTypes :: Lens' NotificationFilterConfig (Maybe [NotificationMessageType])
-- | The severity levels that you want to receive notifications for. For
-- example, you can choose to receive notifications only for insights
-- with HIGH and MEDIUM severity levels. For more
-- information, see Understanding insight severities.
notificationFilterConfig_severities :: Lens' NotificationFilterConfig (Maybe [InsightSeverity])
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
opsCenterIntegration_optInStatus :: Lens' OpsCenterIntegration (Maybe OptInStatus)
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
opsCenterIntegrationConfig_optInStatus :: Lens' OpsCenterIntegrationConfig (Maybe OptInStatus)
-- | A list of specific dimensions from a dimension group. If this
-- parameter is not present, then it signifies that all of the dimensions
-- in the group were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
performanceInsightsMetricDimensionGroup_dimensions :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe [Text])
-- | The name of the dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
performanceInsightsMetricDimensionGroup_group :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe Text)
-- | The maximum number of items to fetch for this dimension group.
performanceInsightsMetricDimensionGroup_limit :: Lens' PerformanceInsightsMetricDimensionGroup (Maybe Natural)
-- | One or more filters to apply to a Performance Insights
-- GetResourceMetrics API query. Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
performanceInsightsMetricQuery_filter :: Lens' PerformanceInsightsMetricQuery (Maybe (HashMap Text Text))
-- | The specification for how to aggregate the data points from a
-- Performance Insights GetResourceMetrics API query. The
-- Performance Insights query returns all of the dimensions within that
-- group, unless you provide the names of specific dimensions within that
-- group. You can also request that Performance Insights return a limited
-- number of values for a dimension.
performanceInsightsMetricQuery_groupBy :: Lens' PerformanceInsightsMetricQuery (Maybe PerformanceInsightsMetricDimensionGroup)
-- | The name of the meteric used used when querying an Performance
-- Insights GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
performanceInsightsMetricQuery_metric :: Lens' PerformanceInsightsMetricQuery (Maybe Text)
-- | The name used for a specific Performance Insights metric.
performanceInsightsMetricsDetail_metricDisplayName :: Lens' PerformanceInsightsMetricsDetail (Maybe Text)
-- | A single query to be processed for the metric. For more information,
-- see PerformanceInsightsMetricQuery .
performanceInsightsMetricsDetail_metricQuery :: Lens' PerformanceInsightsMetricsDetail (Maybe PerformanceInsightsMetricQuery)
-- | For more information, see
-- PerformanceInsightsReferenceData .
performanceInsightsMetricsDetail_referenceData :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsReferenceData])
-- | The metric statistics during the anomalous period detected by DevOps
-- Guru;
performanceInsightsMetricsDetail_statsAtAnomaly :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsStat])
-- | Typical metric statistics that are not considered anomalous. When
-- DevOps Guru analyzes metrics, it compares them to
-- StatsAtBaseline to help determine if they are anomalous.
performanceInsightsMetricsDetail_statsAtBaseline :: Lens' PerformanceInsightsMetricsDetail (Maybe [PerformanceInsightsStat])
-- | The unit of measure for a metric. For example, a session or a process.
performanceInsightsMetricsDetail_unit :: Lens' PerformanceInsightsMetricsDetail (Maybe Text)
-- | A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
performanceInsightsReferenceComparisonValues_referenceMetric :: Lens' PerformanceInsightsReferenceComparisonValues (Maybe PerformanceInsightsReferenceMetric)
-- | A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
performanceInsightsReferenceComparisonValues_referenceScalar :: Lens' PerformanceInsightsReferenceComparisonValues (Maybe PerformanceInsightsReferenceScalar)
-- | The specific reference values used to evaluate the Performance
-- Insights. For more information, see
-- PerformanceInsightsReferenceComparisonValues .
performanceInsightsReferenceData_comparisonValues :: Lens' PerformanceInsightsReferenceData (Maybe PerformanceInsightsReferenceComparisonValues)
-- | The name of the reference data.
performanceInsightsReferenceData_name :: Lens' PerformanceInsightsReferenceData (Maybe Text)
-- | A query to be processed on the metric.
performanceInsightsReferenceMetric_metricQuery :: Lens' PerformanceInsightsReferenceMetric (Maybe PerformanceInsightsMetricQuery)
-- | The reference value.
performanceInsightsReferenceScalar_value :: Lens' PerformanceInsightsReferenceScalar (Maybe Double)
-- | The statistic type.
performanceInsightsStat_type :: Lens' PerformanceInsightsStat (Maybe Text)
-- | The value of the statistic.
performanceInsightsStat_value :: Lens' PerformanceInsightsStat (Maybe Double)
-- | The time when the behavior in a proactive insight is expected to end.
predictionTimeRange_endTime :: Lens' PredictionTimeRange (Maybe UTCTime)
-- | The time range during which a metric limit is expected to be exceeded.
-- This applies to proactive insights only.
predictionTimeRange_startTime :: Lens' PredictionTimeRange UTCTime
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
proactiveAnomaly_anomalyReportedTimeRange :: Lens' ProactiveAnomaly (Maybe AnomalyReportedTimeRange)
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
proactiveAnomaly_anomalyResources :: Lens' ProactiveAnomaly (Maybe [AnomalyResource])
-- | Undocumented member.
proactiveAnomaly_anomalyTimeRange :: Lens' ProactiveAnomaly (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
proactiveAnomaly_associatedInsightId :: Lens' ProactiveAnomaly (Maybe Text)
-- | The ID of a proactive anomaly.
proactiveAnomaly_id :: Lens' ProactiveAnomaly (Maybe Text)
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
proactiveAnomaly_limit :: Lens' ProactiveAnomaly (Maybe Double)
-- | Undocumented member.
proactiveAnomaly_predictionTimeRange :: Lens' ProactiveAnomaly (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveAnomaly_resourceCollection :: Lens' ProactiveAnomaly (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
proactiveAnomaly_severity :: Lens' ProactiveAnomaly (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
proactiveAnomaly_sourceDetails :: Lens' ProactiveAnomaly (Maybe AnomalySourceDetails)
-- | The metadata for the anomaly.
proactiveAnomaly_sourceMetadata :: Lens' ProactiveAnomaly (Maybe AnomalySourceMetadata)
-- | The status of a proactive anomaly.
proactiveAnomaly_status :: Lens' ProactiveAnomaly (Maybe AnomalyStatus)
-- | The time of the anomaly's most recent update.
proactiveAnomaly_updateTime :: Lens' ProactiveAnomaly (Maybe UTCTime)
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
proactiveAnomalySummary_anomalyReportedTimeRange :: Lens' ProactiveAnomalySummary (Maybe AnomalyReportedTimeRange)
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
proactiveAnomalySummary_anomalyResources :: Lens' ProactiveAnomalySummary (Maybe [AnomalyResource])
-- | Undocumented member.
proactiveAnomalySummary_anomalyTimeRange :: Lens' ProactiveAnomalySummary (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
proactiveAnomalySummary_associatedInsightId :: Lens' ProactiveAnomalySummary (Maybe Text)
-- | The ID of the anomaly.
proactiveAnomalySummary_id :: Lens' ProactiveAnomalySummary (Maybe Text)
-- | A threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
proactiveAnomalySummary_limit :: Lens' ProactiveAnomalySummary (Maybe Double)
-- | Undocumented member.
proactiveAnomalySummary_predictionTimeRange :: Lens' ProactiveAnomalySummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveAnomalySummary_resourceCollection :: Lens' ProactiveAnomalySummary (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
proactiveAnomalySummary_severity :: Lens' ProactiveAnomalySummary (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
proactiveAnomalySummary_sourceDetails :: Lens' ProactiveAnomalySummary (Maybe AnomalySourceDetails)
-- | The metadata of the source which detects proactive anomalies.
proactiveAnomalySummary_sourceMetadata :: Lens' ProactiveAnomalySummary (Maybe AnomalySourceMetadata)
-- | The status of the anomaly.
proactiveAnomalySummary_status :: Lens' ProactiveAnomalySummary (Maybe AnomalyStatus)
-- | The time of the anomaly's most recent update.
proactiveAnomalySummary_updateTime :: Lens' ProactiveAnomalySummary (Maybe UTCTime)
-- | Describes the proactive insight.
proactiveInsight_description :: Lens' ProactiveInsight (Maybe Text)
-- | The ID of the proactive insight.
proactiveInsight_id :: Lens' ProactiveInsight (Maybe Text)
-- | Undocumented member.
proactiveInsight_insightTimeRange :: Lens' ProactiveInsight (Maybe InsightTimeRange)
-- | The name of the proactive insight.
proactiveInsight_name :: Lens' ProactiveInsight (Maybe Text)
-- | Undocumented member.
proactiveInsight_predictionTimeRange :: Lens' ProactiveInsight (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveInsight_resourceCollection :: Lens' ProactiveInsight (Maybe ResourceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
proactiveInsight_severity :: Lens' ProactiveInsight (Maybe InsightSeverity)
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
proactiveInsight_ssmOpsItemId :: Lens' ProactiveInsight (Maybe Text)
-- | The status of the proactive insight.
proactiveInsight_status :: Lens' ProactiveInsight (Maybe InsightStatus)
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
proactiveInsightSummary_associatedResourceArns :: Lens' ProactiveInsightSummary (Maybe [Text])
-- | The ID of the proactive insight.
proactiveInsightSummary_id :: Lens' ProactiveInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveInsightSummary_insightTimeRange :: Lens' ProactiveInsightSummary (Maybe InsightTimeRange)
-- | The name of the proactive insight.
proactiveInsightSummary_name :: Lens' ProactiveInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveInsightSummary_predictionTimeRange :: Lens' ProactiveInsightSummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveInsightSummary_resourceCollection :: Lens' ProactiveInsightSummary (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
proactiveInsightSummary_serviceCollection :: Lens' ProactiveInsightSummary (Maybe ServiceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
proactiveInsightSummary_severity :: Lens' ProactiveInsightSummary (Maybe InsightSeverity)
-- | The status of the proactive insight.
proactiveInsightSummary_status :: Lens' ProactiveInsightSummary (Maybe InsightStatus)
-- | The ID of the Amazon Web Services account.
proactiveOrganizationInsightSummary_accountId :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the insight summary.
proactiveOrganizationInsightSummary_id :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveOrganizationInsightSummary_insightTimeRange :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightTimeRange)
-- | The name of the insight summary.
proactiveOrganizationInsightSummary_name :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the organizational unit.
proactiveOrganizationInsightSummary_organizationalUnitId :: Lens' ProactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
proactiveOrganizationInsightSummary_predictionTimeRange :: Lens' ProactiveOrganizationInsightSummary (Maybe PredictionTimeRange)
-- | Undocumented member.
proactiveOrganizationInsightSummary_resourceCollection :: Lens' ProactiveOrganizationInsightSummary (Maybe ResourceCollection)
-- | Undocumented member.
proactiveOrganizationInsightSummary_serviceCollection :: Lens' ProactiveOrganizationInsightSummary (Maybe ServiceCollection)
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
proactiveOrganizationInsightSummary_severity :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightSeverity)
-- | An array of status values used to search for insights.
proactiveOrganizationInsightSummary_status :: Lens' ProactiveOrganizationInsightSummary (Maybe InsightStatus)
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
reactiveAnomaly_anomalyReportedTimeRange :: Lens' ReactiveAnomaly (Maybe AnomalyReportedTimeRange)
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
reactiveAnomaly_anomalyResources :: Lens' ReactiveAnomaly (Maybe [AnomalyResource])
-- | Undocumented member.
reactiveAnomaly_anomalyTimeRange :: Lens' ReactiveAnomaly (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
reactiveAnomaly_associatedInsightId :: Lens' ReactiveAnomaly (Maybe Text)
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
reactiveAnomaly_causalAnomalyId :: Lens' ReactiveAnomaly (Maybe Text)
-- | A description of the reactive anomaly.
reactiveAnomaly_description :: Lens' ReactiveAnomaly (Maybe Text)
-- | The ID of the reactive anomaly.
reactiveAnomaly_id :: Lens' ReactiveAnomaly (Maybe Text)
-- | The name of the reactive anomaly.
reactiveAnomaly_name :: Lens' ReactiveAnomaly (Maybe Text)
-- | Undocumented member.
reactiveAnomaly_resourceCollection :: Lens' ReactiveAnomaly (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
reactiveAnomaly_severity :: Lens' ReactiveAnomaly (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
reactiveAnomaly_sourceDetails :: Lens' ReactiveAnomaly (Maybe AnomalySourceDetails)
-- | The status of the anomaly.
reactiveAnomaly_status :: Lens' ReactiveAnomaly (Maybe AnomalyStatus)
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
reactiveAnomaly_type :: Lens' ReactiveAnomaly (Maybe AnomalyType)
-- | An AnomalyReportedTimeRange object that specifies the time
-- range between when the anomaly is opened and the time when it is
-- closed.
reactiveAnomalySummary_anomalyReportedTimeRange :: Lens' ReactiveAnomalySummary (Maybe AnomalyReportedTimeRange)
-- | The Amazon Web Services resources in which anomalous behavior was
-- detected by DevOps Guru.
reactiveAnomalySummary_anomalyResources :: Lens' ReactiveAnomalySummary (Maybe [AnomalyResource])
-- | Undocumented member.
reactiveAnomalySummary_anomalyTimeRange :: Lens' ReactiveAnomalySummary (Maybe AnomalyTimeRange)
-- | The ID of the insight that contains this anomaly. An insight is
-- composed of related anomalies.
reactiveAnomalySummary_associatedInsightId :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The ID of the causal anomaly that is associated with this reactive
-- anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
reactiveAnomalySummary_causalAnomalyId :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | A description of the reactive anomaly.
reactiveAnomalySummary_description :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The ID of the reactive anomaly.
reactiveAnomalySummary_id :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | The name of the reactive anomaly.
reactiveAnomalySummary_name :: Lens' ReactiveAnomalySummary (Maybe Text)
-- | Undocumented member.
reactiveAnomalySummary_resourceCollection :: Lens' ReactiveAnomalySummary (Maybe ResourceCollection)
-- | The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
reactiveAnomalySummary_severity :: Lens' ReactiveAnomalySummary (Maybe AnomalySeverity)
-- | Details about the source of the analyzed operational data that
-- triggered the anomaly. The one supported source is Amazon CloudWatch
-- metrics.
reactiveAnomalySummary_sourceDetails :: Lens' ReactiveAnomalySummary (Maybe AnomalySourceDetails)
-- | The status of the reactive anomaly.
reactiveAnomalySummary_status :: Lens' ReactiveAnomalySummary (Maybe AnomalyStatus)
-- | The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
reactiveAnomalySummary_type :: Lens' ReactiveAnomalySummary (Maybe AnomalyType)
-- | Describes the reactive insight.
reactiveInsight_description :: Lens' ReactiveInsight (Maybe Text)
-- | The ID of a reactive insight.
reactiveInsight_id :: Lens' ReactiveInsight (Maybe Text)
-- | Undocumented member.
reactiveInsight_insightTimeRange :: Lens' ReactiveInsight (Maybe InsightTimeRange)
-- | The name of a reactive insight.
reactiveInsight_name :: Lens' ReactiveInsight (Maybe Text)
-- | Undocumented member.
reactiveInsight_resourceCollection :: Lens' ReactiveInsight (Maybe ResourceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
reactiveInsight_severity :: Lens' ReactiveInsight (Maybe InsightSeverity)
-- | The ID of the Amazon Web Services System Manager OpsItem created for
-- this insight. You must enable the creation of OpstItems insights
-- before they are created for each insight.
reactiveInsight_ssmOpsItemId :: Lens' ReactiveInsight (Maybe Text)
-- | The status of a reactive insight.
reactiveInsight_status :: Lens' ReactiveInsight (Maybe InsightStatus)
-- | The Amazon Resource Names (ARNs) of the Amazon Web Services resources
-- that generated this insight.
reactiveInsightSummary_associatedResourceArns :: Lens' ReactiveInsightSummary (Maybe [Text])
-- | The ID of a reactive summary.
reactiveInsightSummary_id :: Lens' ReactiveInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveInsightSummary_insightTimeRange :: Lens' ReactiveInsightSummary (Maybe InsightTimeRange)
-- | The name of a reactive insight.
reactiveInsightSummary_name :: Lens' ReactiveInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveInsightSummary_resourceCollection :: Lens' ReactiveInsightSummary (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
reactiveInsightSummary_serviceCollection :: Lens' ReactiveInsightSummary (Maybe ServiceCollection)
-- | The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
reactiveInsightSummary_severity :: Lens' ReactiveInsightSummary (Maybe InsightSeverity)
-- | The status of a reactive insight.
reactiveInsightSummary_status :: Lens' ReactiveInsightSummary (Maybe InsightStatus)
-- | The ID of the Amazon Web Services account.
reactiveOrganizationInsightSummary_accountId :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the insight summary.
reactiveOrganizationInsightSummary_id :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveOrganizationInsightSummary_insightTimeRange :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightTimeRange)
-- | The name of the insight summary.
reactiveOrganizationInsightSummary_name :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | The ID of the organizational unit.
reactiveOrganizationInsightSummary_organizationalUnitId :: Lens' ReactiveOrganizationInsightSummary (Maybe Text)
-- | Undocumented member.
reactiveOrganizationInsightSummary_resourceCollection :: Lens' ReactiveOrganizationInsightSummary (Maybe ResourceCollection)
-- | Undocumented member.
reactiveOrganizationInsightSummary_serviceCollection :: Lens' ReactiveOrganizationInsightSummary (Maybe ServiceCollection)
-- | An array of severity values used to search for insights. For more
-- information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
reactiveOrganizationInsightSummary_severity :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightSeverity)
-- | An array of status values used to search for insights.
reactiveOrganizationInsightSummary_status :: Lens' ReactiveOrganizationInsightSummary (Maybe InsightStatus)
-- | The category type of the recommendation.
recommendation_category :: Lens' Recommendation (Maybe Text)
-- | A description of the problem.
recommendation_description :: Lens' Recommendation (Maybe Text)
-- | A hyperlink to information to help you address the problem.
recommendation_link :: Lens' Recommendation (Maybe Text)
-- | The name of the recommendation.
recommendation_name :: Lens' Recommendation (Maybe Text)
-- | The reason DevOps Guru flagged the anomalous behavior as a problem.
recommendation_reason :: Lens' Recommendation (Maybe Text)
-- | Anomalies that are related to the problem. Use these Anomalies to
-- learn more about what's happening and to help address the issue.
recommendation_relatedAnomalies :: Lens' Recommendation (Maybe [RecommendationRelatedAnomaly])
-- | Events that are related to the problem. Use these events to learn more
-- about what's happening and to help address the issue.
recommendation_relatedEvents :: Lens' Recommendation (Maybe [RecommendationRelatedEvent])
-- | The ID of an anomaly that generated the insight with this
-- recommendation.
recommendationRelatedAnomaly_anomalyId :: Lens' RecommendationRelatedAnomaly (Maybe Text)
-- | An array of objects that represent resources in which DevOps Guru
-- detected anomalous behavior. Each object contains the name and type of
-- the resource.
recommendationRelatedAnomaly_resources :: Lens' RecommendationRelatedAnomaly (Maybe [RecommendationRelatedAnomalyResource])
-- | Information about where the anomalous behavior related the
-- recommendation was found. For example, details in Amazon CloudWatch
-- metrics.
recommendationRelatedAnomaly_sourceDetails :: Lens' RecommendationRelatedAnomaly (Maybe [RecommendationRelatedAnomalySourceDetail])
-- | The name of the resource.
recommendationRelatedAnomalyResource_name :: Lens' RecommendationRelatedAnomalyResource (Maybe Text)
-- | The type of the resource. Resource types take the same form that is
-- used by Amazon Web Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
recommendationRelatedAnomalyResource_type :: Lens' RecommendationRelatedAnomalyResource (Maybe Text)
-- | An array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
recommendationRelatedAnomalySourceDetail_cloudWatchMetrics :: Lens' RecommendationRelatedAnomalySourceDetail (Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail])
-- | The name of the CloudWatch metric.
recommendationRelatedCloudWatchMetricsSourceDetail_metricName :: Lens' RecommendationRelatedCloudWatchMetricsSourceDetail (Maybe Text)
-- | The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
recommendationRelatedCloudWatchMetricsSourceDetail_namespace :: Lens' RecommendationRelatedCloudWatchMetricsSourceDetail (Maybe Text)
-- | The name of the event. This corresponds to the Name field in
-- an Event object.
recommendationRelatedEvent_name :: Lens' RecommendationRelatedEvent (Maybe Text)
-- | A ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
recommendationRelatedEvent_resources :: Lens' RecommendationRelatedEvent (Maybe [RecommendationRelatedEventResource])
-- | The name of the resource that emitted the event. This corresponds to
-- the Name field in an EventResource object.
recommendationRelatedEventResource_name :: Lens' RecommendationRelatedEventResource (Maybe Text)
-- | The type of the resource that emitted the event. This corresponds to
-- the Type field in an EventResource object.
recommendationRelatedEventResource_type :: Lens' RecommendationRelatedEventResource (Maybe Text)
-- | An array of the names of Amazon Web Services CloudFormation stacks.
-- The stacks define Amazon Web Services resources that DevOps Guru
-- analyzes. You can specify up to 500 Amazon Web Services CloudFormation
-- stacks.
resourceCollection_cloudFormation :: Lens' ResourceCollection (Maybe CloudFormationCollection)
-- | The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
resourceCollection_tags :: Lens' ResourceCollection (Maybe [TagCollection])
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
resourceCollectionFilter_cloudFormation :: Lens' ResourceCollectionFilter (Maybe CloudFormationCollectionFilter)
-- | The Amazon Web Services tags used to filter the resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
resourceCollectionFilter_tags :: Lens' ResourceCollectionFilter (Maybe [TagCollectionFilter])
-- | Undocumented member.
searchInsightsFilters_resourceCollection :: Lens' SearchInsightsFilters (Maybe ResourceCollection)
-- | A collection of the names of Amazon Web Services services.
searchInsightsFilters_serviceCollection :: Lens' SearchInsightsFilters (Maybe ServiceCollection)
-- | An array of severity values used to search for insights.
searchInsightsFilters_severities :: Lens' SearchInsightsFilters (Maybe [InsightSeverity])
-- | An array of status values used to search for insights.
searchInsightsFilters_statuses :: Lens' SearchInsightsFilters (Maybe [InsightStatus])
-- | Undocumented member.
searchOrganizationInsightsFilters_resourceCollection :: Lens' SearchOrganizationInsightsFilters (Maybe ResourceCollection)
-- | Undocumented member.
searchOrganizationInsightsFilters_serviceCollection :: Lens' SearchOrganizationInsightsFilters (Maybe ServiceCollection)
-- | An array of severity values used to search for insights.
searchOrganizationInsightsFilters_severities :: Lens' SearchOrganizationInsightsFilters (Maybe [InsightSeverity])
-- | An array of status values used to search for insights.
searchOrganizationInsightsFilters_statuses :: Lens' SearchOrganizationInsightsFilters (Maybe [InsightStatus])
-- | An array of strings that each specifies the name of an Amazon Web
-- Services service.
serviceCollection_serviceNames :: Lens' ServiceCollection (Maybe [ServiceName])
-- | Number of resources that DevOps Guru is monitoring in an analyzed
-- Amazon Web Services service.
serviceHealth_analyzedResourceCount :: Lens' ServiceHealth (Maybe Integer)
-- | Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
serviceHealth_insight :: Lens' ServiceHealth (Maybe ServiceInsightHealth)
-- | The name of the Amazon Web Services service.
serviceHealth_serviceName :: Lens' ServiceHealth (Maybe ServiceName)
-- | The number of open proactive insights in the Amazon Web Services
-- service
serviceInsightHealth_openProactiveInsights :: Lens' ServiceInsightHealth (Maybe Int)
-- | The number of open reactive insights in the Amazon Web Services
-- service
serviceInsightHealth_openReactiveInsights :: Lens' ServiceInsightHealth (Maybe Int)
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
serviceIntegrationConfig_logsAnomalyDetection :: Lens' ServiceIntegrationConfig (Maybe LogsAnomalyDetectionIntegration)
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
serviceIntegrationConfig_opsCenter :: Lens' ServiceIntegrationConfig (Maybe OpsCenterIntegration)
-- | The total estimated monthly cost to analyze the active resources for
-- this resource.
serviceResourceCost_cost :: Lens' ServiceResourceCost (Maybe Double)
-- | The number of active resources analyzed for this service to create a
-- monthly cost estimate.
serviceResourceCost_count :: Lens' ServiceResourceCost (Maybe Int)
-- | The state of the resource. The resource is ACTIVE if it
-- produces metrics, events, or logs within an hour, otherwise it is
-- INACTIVE. You pay for the number of active Amazon Web
-- Services resource hours analyzed for each resource. Inactive resources
-- are not charged.
serviceResourceCost_state :: Lens' ServiceResourceCost (Maybe CostEstimationServiceResourceState)
-- | The type of the Amazon Web Services resource.
serviceResourceCost_type :: Lens' ServiceResourceCost (Maybe Text)
-- | The price per hour to analyze the resources in the service. For more
-- information, see Estimate your Amazon DevOps Guru costs and
-- Amazon DevOps Guru pricing.
serviceResourceCost_unitCost :: Lens' ServiceResourceCost (Maybe Double)
-- | The Amazon Resource Name (ARN) of an Amazon Simple Notification
-- Service topic.
snsChannelConfig_topicArn :: Lens' SnsChannelConfig (Maybe Text)
-- | The start time of the time range.
startTimeRange_fromTime :: Lens' StartTimeRange (Maybe UTCTime)
-- | The end time of the time range.
startTimeRange_toTime :: Lens' StartTimeRange (Maybe UTCTime)
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCollection_appBoundaryKey :: Lens' TagCollection Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCollection_tagValues :: Lens' TagCollection [Text]
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCollectionFilter_appBoundaryKey :: Lens' TagCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCollectionFilter_tagValues :: Lens' TagCollectionFilter [Text]
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagCostEstimationResourceCollectionFilter_appBoundaryKey :: Lens' TagCostEstimationResourceCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagCostEstimationResourceCollectionFilter_tagValues :: Lens' TagCostEstimationResourceCollectionFilter (NonEmpty Text)
-- | Number of resources that DevOps Guru is monitoring in your account
-- that are specified by an Amazon Web Services tag.
tagHealth_analyzedResourceCount :: Lens' TagHealth (Maybe Integer)
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
tagHealth_appBoundaryKey :: Lens' TagHealth (Maybe Text)
-- | Information about the health of the Amazon Web Services resources in
-- your account that are specified by an Amazon Web Services tag,
-- including the number of open proactive, open reactive insights, and
-- the Mean Time to Recover (MTTR) of closed insights.
tagHealth_insight :: Lens' TagHealth (Maybe InsightHealth)
-- | The value in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
tagHealth_tagValue :: Lens' TagHealth (Maybe Text)
-- | Value of the anomalous metric data point at respective Timestamp.
timestampMetricValuePair_metricValue :: Lens' TimestampMetricValuePair (Maybe Double)
-- | A Timestamp that specifies the time the event occurred.
timestampMetricValuePair_timestamp :: Lens' TimestampMetricValuePair (Maybe UTCTime)
-- | An array of the names of the Amazon Web Services CloudFormation stacks
-- to update. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
updateCloudFormationCollectionFilter_stackNames :: Lens' UpdateCloudFormationCollectionFilter (Maybe [Text])
-- | A collection of Amazon Web Services CloudFormation stacks. You can
-- specify up to 500 Amazon Web Services CloudFormation stacks.
updateResourceCollectionFilter_cloudFormation :: Lens' UpdateResourceCollectionFilter (Maybe UpdateCloudFormationCollectionFilter)
-- | The updated Amazon Web Services tags used to filter the resources in
-- the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
updateResourceCollectionFilter_tags :: Lens' UpdateResourceCollectionFilter (Maybe [UpdateTagCollectionFilter])
-- | Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
updateServiceIntegrationConfig_logsAnomalyDetection :: Lens' UpdateServiceIntegrationConfig (Maybe LogsAnomalyDetectionIntegrationConfig)
-- | Undocumented member.
updateServiceIntegrationConfig_opsCenter :: Lens' UpdateServiceIntegrationConfig (Maybe OpsCenterIntegrationConfig)
-- | An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
updateTagCollectionFilter_appBoundaryKey :: Lens' UpdateTagCollectionFilter Text
-- | The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
updateTagCollectionFilter_tagValues :: Lens' UpdateTagCollectionFilter [Text]
module Amazonka.DevOpsGuru.Waiters
-- | Derived from API version 2020-12-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Amazon DevOps Guru is a fully managed service that helps you identify
-- anomalous behavior in business critical operational applications. You
-- specify the Amazon Web Services resources that you want DevOps Guru to
-- cover, then the Amazon CloudWatch metrics and Amazon Web Services
-- CloudTrail events related to those resources are analyzed. When
-- anomalous behavior is detected, DevOps Guru creates an insight
-- that includes recommendations, related events, and related metrics
-- that can help you improve your operational applications. For more
-- information, see What is Amazon DevOps Guru.
--
-- You can specify 1 or 2 Amazon Simple Notification Service topics so
-- you are notified every time a new insight is created. You can also
-- enable DevOps Guru to generate an OpsItem in Amazon Web Services
-- Systems Manager for each insight to help you manage and track your
-- work addressing insights.
--
-- To learn about the DevOps Guru workflow, see How DevOps Guru
-- works. To learn about DevOps Guru concepts, see Concepts in
-- DevOps Guru.
module Amazonka.DevOpsGuru
-- | API version 2020-12-01 of the Amazon DevOps Guru SDK
-- configuration.
defaultService :: Service
-- | You don't have permissions to perform the requested operation. The
-- user or role that is making the request must have at least one IAM
-- permissions policy attached that grants the required permissions. For
-- more information, see Access Management in the IAM User
-- Guide.
_AccessDeniedException :: AsError a => Fold a ServiceError
-- | An exception that is thrown when a conflict occurs.
_ConflictException :: AsError a => Fold a ServiceError
-- | An internal failure in an Amazon service occurred.
_InternalServerException :: AsError a => Fold a ServiceError
-- | A requested resource could not be found
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | The request contains a value that exceeds a maximum quota.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError
-- | The request was denied due to a request throttling.
_ThrottlingException :: AsError a => Fold a ServiceError
-- | Contains information about data passed in to a field during a request
-- that is not valid.
_ValidationException :: AsError a => Fold a ServiceError
-- | See: newAddNotificationChannel smart constructor.
data AddNotificationChannel
AddNotificationChannel' :: NotificationChannelConfig -> AddNotificationChannel
-- | Create a value of AddNotificationChannel with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AddNotificationChannel, addNotificationChannel_config -
-- A NotificationChannelConfig object that specifies what type
-- of notification channel to add. The one supported notification channel
-- is Amazon Simple Notification Service (Amazon SNS).
newAddNotificationChannel :: NotificationChannelConfig -> AddNotificationChannel
-- | See: newAddNotificationChannelResponse smart
-- constructor.
data AddNotificationChannelResponse
AddNotificationChannelResponse' :: Int -> Text -> AddNotificationChannelResponse
-- | Create a value of AddNotificationChannelResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:AddNotificationChannelResponse',
-- addNotificationChannelResponse_httpStatus - The response's http
-- status code.
--
-- AddNotificationChannelResponse,
-- addNotificationChannelResponse_id - The ID of the added
-- notification channel.
newAddNotificationChannelResponse :: Int -> Text -> AddNotificationChannelResponse
-- | See: newDeleteInsight smart constructor.
data DeleteInsight
DeleteInsight' :: Text -> DeleteInsight
-- | Create a value of DeleteInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteInsight, deleteInsight_id - The ID of the insight.
newDeleteInsight :: Text -> DeleteInsight
-- | See: newDeleteInsightResponse smart constructor.
data DeleteInsightResponse
DeleteInsightResponse' :: Int -> DeleteInsightResponse
-- | Create a value of DeleteInsightResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteInsightResponse',
-- deleteInsightResponse_httpStatus - The response's http status
-- code.
newDeleteInsightResponse :: Int -> DeleteInsightResponse
-- | See: newDescribeAccountHealth smart constructor.
data DescribeAccountHealth
DescribeAccountHealth' :: DescribeAccountHealth
-- | Create a value of DescribeAccountHealth with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeAccountHealth :: DescribeAccountHealth
-- | See: newDescribeAccountHealthResponse smart constructor.
data DescribeAccountHealthResponse
DescribeAccountHealthResponse' :: Maybe Integer -> Int -> Int -> Int -> Int -> Integer -> DescribeAccountHealthResponse
-- | Create a value of DescribeAccountHealthResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAccountHealthResponse,
-- describeAccountHealthResponse_analyzedResourceCount - Number of
-- resources that DevOps Guru is monitoring in your Amazon Web Services
-- account.
--
-- $sel:httpStatus:DescribeAccountHealthResponse',
-- describeAccountHealthResponse_httpStatus - The response's http
-- status code.
--
-- DescribeAccountHealthResponse,
-- describeAccountHealthResponse_openReactiveInsights - An integer
-- that specifies the number of open reactive insights in your Amazon Web
-- Services account.
--
-- DescribeAccountHealthResponse,
-- describeAccountHealthResponse_openProactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
--
-- $sel:metricsAnalyzed:DescribeAccountHealthResponse',
-- describeAccountHealthResponse_metricsAnalyzed - An integer that
-- specifies the number of metrics that have been analyzed in your Amazon
-- Web Services account.
--
-- $sel:resourceHours:DescribeAccountHealthResponse',
-- describeAccountHealthResponse_resourceHours - The number of
-- Amazon DevOps Guru resource analysis hours billed to the current
-- Amazon Web Services account in the last hour.
newDescribeAccountHealthResponse :: Int -> Int -> Int -> Int -> Integer -> DescribeAccountHealthResponse
-- | See: newDescribeAccountOverview smart constructor.
data DescribeAccountOverview
DescribeAccountOverview' :: Maybe POSIX -> POSIX -> DescribeAccountOverview
-- | Create a value of DescribeAccountOverview with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAccountOverview, describeAccountOverview_toTime
-- - The end of the time range passed in. The start time granularity is
-- at the day level. The floor of the start time is used. Returned
-- information occurred before this day. If this is not specified, then
-- the current day is used.
--
-- DescribeAccountOverview,
-- describeAccountOverview_fromTime - The start of the time range
-- passed in. The start time granularity is at the day level. The floor
-- of the start time is used. Returned information occurred after this
-- day.
newDescribeAccountOverview :: UTCTime -> DescribeAccountOverview
-- | See: newDescribeAccountOverviewResponse smart
-- constructor.
data DescribeAccountOverviewResponse
DescribeAccountOverviewResponse' :: Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
-- | Create a value of DescribeAccountOverviewResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeAccountOverviewResponse',
-- describeAccountOverviewResponse_httpStatus - The response's
-- http status code.
--
-- $sel:reactiveInsights:DescribeAccountOverviewResponse',
-- describeAccountOverviewResponse_reactiveInsights - An integer
-- that specifies the number of open reactive insights in your Amazon Web
-- Services account that were created during the time range passed in.
--
-- $sel:proactiveInsights:DescribeAccountOverviewResponse',
-- describeAccountOverviewResponse_proactiveInsights - An integer
-- that specifies the number of open proactive insights in your Amazon
-- Web Services account that were created during the time range passed
-- in.
--
-- DescribeAccountOverviewResponse,
-- describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds
-- - The Mean Time to Recover (MTTR) for all closed insights that were
-- created during the time range passed in.
newDescribeAccountOverviewResponse :: Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
-- | See: newDescribeAnomaly smart constructor.
data DescribeAnomaly
DescribeAnomaly' :: Maybe Text -> Text -> DescribeAnomaly
-- | Create a value of DescribeAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAnomaly, describeAnomaly_accountId - The ID of
-- the member account.
--
-- DescribeAnomaly, describeAnomaly_id - The ID of the
-- anomaly.
newDescribeAnomaly :: Text -> DescribeAnomaly
-- | See: newDescribeAnomalyResponse smart constructor.
data DescribeAnomalyResponse
DescribeAnomalyResponse' :: Maybe ProactiveAnomaly -> Maybe ReactiveAnomaly -> Int -> DescribeAnomalyResponse
-- | Create a value of DescribeAnomalyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:proactiveAnomaly:DescribeAnomalyResponse',
-- describeAnomalyResponse_proactiveAnomaly - A
-- ProactiveAnomaly object that represents the requested
-- anomaly.
--
-- $sel:reactiveAnomaly:DescribeAnomalyResponse',
-- describeAnomalyResponse_reactiveAnomaly - A
-- ReactiveAnomaly object that represents the requested anomaly.
--
-- $sel:httpStatus:DescribeAnomalyResponse',
-- describeAnomalyResponse_httpStatus - The response's http status
-- code.
newDescribeAnomalyResponse :: Int -> DescribeAnomalyResponse
-- | See: newDescribeEventSourcesConfig smart constructor.
data DescribeEventSourcesConfig
DescribeEventSourcesConfig' :: DescribeEventSourcesConfig
-- | Create a value of DescribeEventSourcesConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeEventSourcesConfig :: DescribeEventSourcesConfig
-- | See: newDescribeEventSourcesConfigResponse smart
-- constructor.
data DescribeEventSourcesConfigResponse
DescribeEventSourcesConfigResponse' :: Maybe EventSourcesConfig -> Int -> DescribeEventSourcesConfigResponse
-- | Create a value of DescribeEventSourcesConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eventSources:DescribeEventSourcesConfigResponse',
-- describeEventSourcesConfigResponse_eventSources - Lists the
-- event sources in the configuration.
--
-- $sel:httpStatus:DescribeEventSourcesConfigResponse',
-- describeEventSourcesConfigResponse_httpStatus - The response's
-- http status code.
newDescribeEventSourcesConfigResponse :: Int -> DescribeEventSourcesConfigResponse
-- | See: newDescribeFeedback smart constructor.
data DescribeFeedback
DescribeFeedback' :: Maybe Text -> DescribeFeedback
-- | Create a value of DescribeFeedback with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeFeedback, describeFeedback_insightId - The ID of
-- the insight for which the feedback was provided.
newDescribeFeedback :: DescribeFeedback
-- | See: newDescribeFeedbackResponse smart constructor.
data DescribeFeedbackResponse
DescribeFeedbackResponse' :: Maybe InsightFeedback -> Int -> DescribeFeedbackResponse
-- | Create a value of DescribeFeedbackResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:insightFeedback:DescribeFeedbackResponse',
-- describeFeedbackResponse_insightFeedback - Undocumented member.
--
-- $sel:httpStatus:DescribeFeedbackResponse',
-- describeFeedbackResponse_httpStatus - The response's http
-- status code.
newDescribeFeedbackResponse :: Int -> DescribeFeedbackResponse
-- | See: newDescribeInsight smart constructor.
data DescribeInsight
DescribeInsight' :: Maybe Text -> Text -> DescribeInsight
-- | Create a value of DescribeInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeInsight, describeInsight_accountId - The ID of
-- the member account in the organization.
--
-- DescribeInsight, describeInsight_id - The ID of the
-- insight.
newDescribeInsight :: Text -> DescribeInsight
-- | See: newDescribeInsightResponse smart constructor.
data DescribeInsightResponse
DescribeInsightResponse' :: Maybe ProactiveInsight -> Maybe ReactiveInsight -> Int -> DescribeInsightResponse
-- | Create a value of DescribeInsightResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:proactiveInsight:DescribeInsightResponse',
-- describeInsightResponse_proactiveInsight - A
-- ProactiveInsight object that represents the requested
-- insight.
--
-- $sel:reactiveInsight:DescribeInsightResponse',
-- describeInsightResponse_reactiveInsight - A
-- ReactiveInsight object that represents the requested insight.
--
-- $sel:httpStatus:DescribeInsightResponse',
-- describeInsightResponse_httpStatus - The response's http status
-- code.
newDescribeInsightResponse :: Int -> DescribeInsightResponse
-- | See: newDescribeOrganizationHealth smart constructor.
data DescribeOrganizationHealth
DescribeOrganizationHealth' :: Maybe [Text] -> Maybe [Text] -> DescribeOrganizationHealth
-- | Create a value of DescribeOrganizationHealth with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:DescribeOrganizationHealth',
-- describeOrganizationHealth_accountIds - The ID of the Amazon
-- Web Services account.
--
-- $sel:organizationalUnitIds:DescribeOrganizationHealth',
-- describeOrganizationHealth_organizationalUnitIds - The ID of
-- the organizational unit.
newDescribeOrganizationHealth :: DescribeOrganizationHealth
-- | See: newDescribeOrganizationHealthResponse smart
-- constructor.
data DescribeOrganizationHealthResponse
DescribeOrganizationHealthResponse' :: Int -> Int -> Int -> Int -> Integer -> DescribeOrganizationHealthResponse
-- | Create a value of DescribeOrganizationHealthResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeOrganizationHealthResponse',
-- describeOrganizationHealthResponse_httpStatus - The response's
-- http status code.
--
-- DescribeOrganizationHealthResponse,
-- describeOrganizationHealthResponse_openReactiveInsights - An
-- integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
--
-- DescribeOrganizationHealthResponse,
-- describeOrganizationHealthResponse_openProactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
--
-- $sel:metricsAnalyzed:DescribeOrganizationHealthResponse',
-- describeOrganizationHealthResponse_metricsAnalyzed - An integer
-- that specifies the number of metrics that have been analyzed in your
-- organization.
--
-- $sel:resourceHours:DescribeOrganizationHealthResponse',
-- describeOrganizationHealthResponse_resourceHours - The number
-- of Amazon DevOps Guru resource analysis hours billed to the current
-- Amazon Web Services account in the last hour.
newDescribeOrganizationHealthResponse :: Int -> Int -> Int -> Int -> Integer -> DescribeOrganizationHealthResponse
-- | See: newDescribeOrganizationOverview smart constructor.
data DescribeOrganizationOverview
DescribeOrganizationOverview' :: Maybe [Text] -> Maybe [Text] -> Maybe POSIX -> POSIX -> DescribeOrganizationOverview
-- | Create a value of DescribeOrganizationOverview with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:DescribeOrganizationOverview',
-- describeOrganizationOverview_accountIds - The ID of the Amazon
-- Web Services account.
--
-- $sel:organizationalUnitIds:DescribeOrganizationOverview',
-- describeOrganizationOverview_organizationalUnitIds - The ID of
-- the organizational unit.
--
-- DescribeOrganizationOverview,
-- describeOrganizationOverview_toTime - The end of the time range
-- passed in. The start time granularity is at the day level. The floor
-- of the start time is used. Returned information occurred before this
-- day. If this is not specified, then the current day is used.
--
-- DescribeOrganizationOverview,
-- describeOrganizationOverview_fromTime - The start of the time
-- range passed in. The start time granularity is at the day level. The
-- floor of the start time is used. Returned information occurred after
-- this day.
newDescribeOrganizationOverview :: UTCTime -> DescribeOrganizationOverview
-- | See: newDescribeOrganizationOverviewResponse smart
-- constructor.
data DescribeOrganizationOverviewResponse
DescribeOrganizationOverviewResponse' :: Int -> Int -> Int -> DescribeOrganizationOverviewResponse
-- | Create a value of DescribeOrganizationOverviewResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeOrganizationOverviewResponse',
-- describeOrganizationOverviewResponse_httpStatus - The
-- response's http status code.
--
-- $sel:reactiveInsights:DescribeOrganizationOverviewResponse',
-- describeOrganizationOverviewResponse_reactiveInsights - An
-- integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
--
-- $sel:proactiveInsights:DescribeOrganizationOverviewResponse',
-- describeOrganizationOverviewResponse_proactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
newDescribeOrganizationOverviewResponse :: Int -> Int -> Int -> DescribeOrganizationOverviewResponse
-- | See: newDescribeOrganizationResourceCollectionHealth
-- smart constructor.
data DescribeOrganizationResourceCollectionHealth
DescribeOrganizationResourceCollectionHealth' :: Maybe [Text] -> Maybe Natural -> Maybe Text -> Maybe [Text] -> OrganizationResourceCollectionType -> DescribeOrganizationResourceCollectionHealth
-- | Create a value of DescribeOrganizationResourceCollectionHealth
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_accountIds - The
-- ID of the Amazon Web Services account.
--
-- $sel:maxResults:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_maxResults - The
-- maximum number of results to return with a single call. To retrieve
-- the remaining results, make another call with the returned
-- nextToken value.
--
-- DescribeOrganizationResourceCollectionHealth,
-- describeOrganizationResourceCollectionHealth_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
--
--
-- $sel:organizationalUnitIds:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_organizationalUnitIds
-- - The ID of the organizational unit.
--
--
-- $sel:organizationResourceCollectionType:DescribeOrganizationResourceCollectionHealth',
-- describeOrganizationResourceCollectionHealth_organizationResourceCollectionType
-- - An Amazon Web Services resource collection type. This type specifies
-- how analyzed Amazon Web Services resources are defined. The two types
-- of Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
newDescribeOrganizationResourceCollectionHealth :: OrganizationResourceCollectionType -> DescribeOrganizationResourceCollectionHealth
-- | See:
-- newDescribeOrganizationResourceCollectionHealthResponse smart
-- constructor.
data DescribeOrganizationResourceCollectionHealthResponse
DescribeOrganizationResourceCollectionHealthResponse' :: Maybe [AccountHealth] -> Maybe [CloudFormationHealth] -> Maybe Text -> Maybe [ServiceHealth] -> Maybe [TagHealth] -> Int -> DescribeOrganizationResourceCollectionHealthResponse
-- | Create a value of
-- DescribeOrganizationResourceCollectionHealthResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:account:DescribeOrganizationResourceCollectionHealthResponse',
-- describeOrganizationResourceCollectionHealthResponse_account -
-- The name of the organization's account.
--
-- DescribeOrganizationResourceCollectionHealthResponse,
-- describeOrganizationResourceCollectionHealthResponse_cloudFormation
-- - The returned CloudFormationHealthOverview object that
-- contains an InsightHealthOverview object with the requested
-- system health information.
--
-- DescribeOrganizationResourceCollectionHealth,
-- describeOrganizationResourceCollectionHealthResponse_nextToken
-- - The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
--
--
-- $sel:service:DescribeOrganizationResourceCollectionHealthResponse',
-- describeOrganizationResourceCollectionHealthResponse_service -
-- An array of ServiceHealth objects that describes the health
-- of the Amazon Web Services services associated with the resources in
-- the collection.
--
-- DescribeOrganizationResourceCollectionHealthResponse,
-- describeOrganizationResourceCollectionHealthResponse_tags -
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
--
-- $sel:httpStatus:DescribeOrganizationResourceCollectionHealthResponse',
-- describeOrganizationResourceCollectionHealthResponse_httpStatus
-- - The response's http status code.
newDescribeOrganizationResourceCollectionHealthResponse :: Int -> DescribeOrganizationResourceCollectionHealthResponse
-- | See: newDescribeResourceCollectionHealth smart
-- constructor.
data DescribeResourceCollectionHealth
DescribeResourceCollectionHealth' :: Maybe Text -> ResourceCollectionType -> DescribeResourceCollectionHealth
-- | Create a value of DescribeResourceCollectionHealth with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeResourceCollectionHealth,
-- describeResourceCollectionHealth_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If this value is null, it retrieves the first page.
--
-- $sel:resourceCollectionType:DescribeResourceCollectionHealth',
-- describeResourceCollectionHealth_resourceCollectionType - An
-- Amazon Web Services resource collection type. This type specifies how
-- analyzed Amazon Web Services resources are defined. The two types of
-- Amazon Web Services resource collections supported are Amazon Web
-- Services CloudFormation stacks and Amazon Web Services resources that
-- contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
newDescribeResourceCollectionHealth :: ResourceCollectionType -> DescribeResourceCollectionHealth
-- | See: newDescribeResourceCollectionHealthResponse smart
-- constructor.
data DescribeResourceCollectionHealthResponse
DescribeResourceCollectionHealthResponse' :: Maybe [CloudFormationHealth] -> Maybe Text -> Maybe [ServiceHealth] -> Maybe [TagHealth] -> Int -> DescribeResourceCollectionHealthResponse
-- | Create a value of DescribeResourceCollectionHealthResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeResourceCollectionHealthResponse,
-- describeResourceCollectionHealthResponse_cloudFormation - The
-- returned CloudFormationHealthOverview object that contains an
-- InsightHealthOverview object with the requested system health
-- information.
--
-- DescribeResourceCollectionHealth,
-- describeResourceCollectionHealthResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:service:DescribeResourceCollectionHealthResponse',
-- describeResourceCollectionHealthResponse_service - An array of
-- ServiceHealth objects that describes the health of the Amazon
-- Web Services services associated with the resources in the collection.
--
-- DescribeResourceCollectionHealthResponse,
-- describeResourceCollectionHealthResponse_tags - The Amazon Web
-- Services tags that are used by resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:httpStatus:DescribeResourceCollectionHealthResponse',
-- describeResourceCollectionHealthResponse_httpStatus - The
-- response's http status code.
newDescribeResourceCollectionHealthResponse :: Int -> DescribeResourceCollectionHealthResponse
-- | See: newDescribeServiceIntegration smart constructor.
data DescribeServiceIntegration
DescribeServiceIntegration' :: DescribeServiceIntegration
-- | Create a value of DescribeServiceIntegration with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeServiceIntegration :: DescribeServiceIntegration
-- | See: newDescribeServiceIntegrationResponse smart
-- constructor.
data DescribeServiceIntegrationResponse
DescribeServiceIntegrationResponse' :: Maybe ServiceIntegrationConfig -> Int -> DescribeServiceIntegrationResponse
-- | Create a value of DescribeServiceIntegrationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceIntegration:DescribeServiceIntegrationResponse',
-- describeServiceIntegrationResponse_serviceIntegration -
-- Undocumented member.
--
-- $sel:httpStatus:DescribeServiceIntegrationResponse',
-- describeServiceIntegrationResponse_httpStatus - The response's
-- http status code.
newDescribeServiceIntegrationResponse :: Int -> DescribeServiceIntegrationResponse
-- | See: newGetCostEstimation smart constructor.
data GetCostEstimation
GetCostEstimation' :: Maybe Text -> GetCostEstimation
-- | Create a value of GetCostEstimation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCostEstimation, getCostEstimation_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
newGetCostEstimation :: GetCostEstimation
-- | See: newGetCostEstimationResponse smart constructor.
data GetCostEstimationResponse
GetCostEstimationResponse' :: Maybe [ServiceResourceCost] -> Maybe Text -> Maybe CostEstimationResourceCollectionFilter -> Maybe CostEstimationStatus -> Maybe CostEstimationTimeRange -> Maybe Double -> Int -> GetCostEstimationResponse
-- | Create a value of GetCostEstimationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:costs:GetCostEstimationResponse',
-- getCostEstimationResponse_costs - An array of
-- ResourceCost objects that each contains details about the
-- monthly cost estimate to analyze one of your Amazon Web Services
-- resources.
--
-- GetCostEstimation, getCostEstimationResponse_nextToken -
-- The pagination token to use to retrieve the next page of results for
-- this operation. If there are no more pages, this value is null.
--
-- GetCostEstimationResponse,
-- getCostEstimationResponse_resourceCollection - The collection
-- of the Amazon Web Services resources used to create your monthly
-- DevOps Guru cost estimate.
--
-- GetCostEstimationResponse,
-- getCostEstimationResponse_status - The status of creating this
-- cost estimate. If it's still in progress, the status ONGOING
-- is returned. If it is finished, the status COMPLETED is
-- returned.
--
-- $sel:timeRange:GetCostEstimationResponse',
-- getCostEstimationResponse_timeRange - The start and end time of
-- the cost estimation.
--
-- $sel:totalCost:GetCostEstimationResponse',
-- getCostEstimationResponse_totalCost - The estimated monthly
-- cost to analyze the Amazon Web Services resources. This value is the
-- sum of the estimated costs to analyze each resource in the
-- Costs object in this response.
--
-- $sel:httpStatus:GetCostEstimationResponse',
-- getCostEstimationResponse_httpStatus - The response's http
-- status code.
newGetCostEstimationResponse :: Int -> GetCostEstimationResponse
-- | See: newGetResourceCollection smart constructor.
data GetResourceCollection
GetResourceCollection' :: Maybe Text -> ResourceCollectionType -> GetResourceCollection
-- | Create a value of GetResourceCollection with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResourceCollection, getResourceCollection_nextToken -
-- The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
--
-- $sel:resourceCollectionType:GetResourceCollection',
-- getResourceCollection_resourceCollectionType - The type of
-- Amazon Web Services resource collections to return. The one valid
-- value is CLOUD_FORMATION for Amazon Web Services
-- CloudFormation stacks.
newGetResourceCollection :: ResourceCollectionType -> GetResourceCollection
-- | See: newGetResourceCollectionResponse smart constructor.
data GetResourceCollectionResponse
GetResourceCollectionResponse' :: Maybe Text -> Maybe ResourceCollectionFilter -> Int -> GetResourceCollectionResponse
-- | Create a value of GetResourceCollectionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResourceCollection,
-- getResourceCollectionResponse_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- there are no more pages, this value is null.
--
-- GetResourceCollectionResponse,
-- getResourceCollectionResponse_resourceCollection - The
-- requested list of Amazon Web Services resource collections. The two
-- types of Amazon Web Services resource collections supported are Amazon
-- Web Services CloudFormation stacks and Amazon Web Services resources
-- that contain the same Amazon Web Services tag. DevOps Guru can be
-- configured to analyze the Amazon Web Services resources that are
-- defined in the stacks or that are tagged using the same tag
-- key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
--
-- $sel:httpStatus:GetResourceCollectionResponse',
-- getResourceCollectionResponse_httpStatus - The response's http
-- status code.
newGetResourceCollectionResponse :: Int -> GetResourceCollectionResponse
-- | See: newListAnomaliesForInsight smart constructor.
data ListAnomaliesForInsight
ListAnomaliesForInsight' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe StartTimeRange -> Text -> ListAnomaliesForInsight
-- | Create a value of ListAnomaliesForInsight with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_accountId - The ID of the Amazon Web
-- Services account.
--
-- $sel:maxResults:ListAnomaliesForInsight',
-- listAnomaliesForInsight_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_nextToken - The pagination token to use
-- to retrieve the next page of results for this operation. If this value
-- is null, it retrieves the first page.
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_startTimeRange - A time range used to
-- specify when the requested anomalies started. All returned anomalies
-- started during this time range.
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsight_insightId - The ID of the insight. The
-- returned anomalies belong to this insight.
newListAnomaliesForInsight :: Text -> ListAnomaliesForInsight
-- | See: newListAnomaliesForInsightResponse smart
-- constructor.
data ListAnomaliesForInsightResponse
ListAnomaliesForInsightResponse' :: Maybe Text -> Maybe [ProactiveAnomalySummary] -> Maybe [ReactiveAnomalySummary] -> Int -> ListAnomaliesForInsightResponse
-- | Create a value of ListAnomaliesForInsightResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAnomaliesForInsight,
-- listAnomaliesForInsightResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:proactiveAnomalies:ListAnomaliesForInsightResponse',
-- listAnomaliesForInsightResponse_proactiveAnomalies - An array
-- of ProactiveAnomalySummary objects that represent the
-- requested anomalies
--
-- $sel:reactiveAnomalies:ListAnomaliesForInsightResponse',
-- listAnomaliesForInsightResponse_reactiveAnomalies - An array of
-- ReactiveAnomalySummary objects that represent the requested
-- anomalies
--
-- $sel:httpStatus:ListAnomaliesForInsightResponse',
-- listAnomaliesForInsightResponse_httpStatus - The response's
-- http status code.
newListAnomaliesForInsightResponse :: Int -> ListAnomaliesForInsightResponse
-- | See: newListAnomalousLogGroups smart constructor.
data ListAnomalousLogGroups
ListAnomalousLogGroups' :: Maybe Natural -> Maybe Text -> Text -> ListAnomalousLogGroups
-- | Create a value of ListAnomalousLogGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListAnomalousLogGroups',
-- listAnomalousLogGroups_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListAnomalousLogGroups, listAnomalousLogGroups_nextToken
-- - The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
--
-- ListAnomalousLogGroups, listAnomalousLogGroups_insightId
-- - The ID of the insight containing the log groups.
newListAnomalousLogGroups :: Text -> ListAnomalousLogGroups
-- | See: newListAnomalousLogGroupsResponse smart
-- constructor.
data ListAnomalousLogGroupsResponse
ListAnomalousLogGroupsResponse' :: Maybe Text -> Int -> Text -> [AnomalousLogGroup] -> ListAnomalousLogGroupsResponse
-- | Create a value of ListAnomalousLogGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAnomalousLogGroups,
-- listAnomalousLogGroupsResponse_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- there are no more pages, this value is null.
--
-- $sel:httpStatus:ListAnomalousLogGroupsResponse',
-- listAnomalousLogGroupsResponse_httpStatus - The response's http
-- status code.
--
-- ListAnomalousLogGroups,
-- listAnomalousLogGroupsResponse_insightId - The ID of the
-- insight containing the log groups.
--
-- $sel:anomalousLogGroups:ListAnomalousLogGroupsResponse',
-- listAnomalousLogGroupsResponse_anomalousLogGroups - The list of
-- Amazon CloudWatch log groups that are related to an insight.
newListAnomalousLogGroupsResponse :: Int -> Text -> ListAnomalousLogGroupsResponse
-- | See: newListEvents smart constructor.
data ListEvents
ListEvents' :: Maybe Text -> Maybe Natural -> Maybe Text -> ListEventsFilters -> ListEvents
-- | Create a value of ListEvents with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListEvents, listEvents_accountId - The ID of the Amazon
-- Web Services account.
--
-- $sel:maxResults:ListEvents', listEvents_maxResults - The
-- maximum number of results to return with a single call. To retrieve
-- the remaining results, make another call with the returned
-- nextToken value.
--
-- ListEvents, listEvents_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- this value is null, it retrieves the first page.
--
-- ListEvents, listEvents_filters - A
-- ListEventsFilters object used to specify which events to
-- return.
newListEvents :: ListEventsFilters -> ListEvents
-- | See: newListEventsResponse smart constructor.
data ListEventsResponse
ListEventsResponse' :: Maybe Text -> Int -> [Event] -> ListEventsResponse
-- | Create a value of ListEventsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListEvents, listEventsResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:httpStatus:ListEventsResponse',
-- listEventsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:events:ListEventsResponse',
-- listEventsResponse_events - A list of the requested events.
newListEventsResponse :: Int -> ListEventsResponse
-- | See: newListInsights smart constructor.
data ListInsights
ListInsights' :: Maybe Natural -> Maybe Text -> ListInsightsStatusFilter -> ListInsights
-- | Create a value of ListInsights with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListInsights', listInsights_maxResults -
-- The maximum number of results to return with a single call. To
-- retrieve the remaining results, make another call with the returned
-- nextToken value.
--
-- ListInsights, listInsights_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If this value is null, it retrieves the first page.
--
-- $sel:statusFilter:ListInsights',
-- listInsights_statusFilter - A filter used to filter the
-- returned insights by their status. You can specify one status filter.
newListInsights :: ListInsightsStatusFilter -> ListInsights
-- | See: newListInsightsResponse smart constructor.
data ListInsightsResponse
ListInsightsResponse' :: Maybe Text -> Maybe [ProactiveInsightSummary] -> Maybe [ReactiveInsightSummary] -> Int -> ListInsightsResponse
-- | Create a value of ListInsightsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListInsights, listInsightsResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:ListInsightsResponse',
-- listInsightsResponse_proactiveInsights - The returned list of
-- proactive insights.
--
-- $sel:reactiveInsights:ListInsightsResponse',
-- listInsightsResponse_reactiveInsights - The returned list of
-- reactive insights.
--
-- $sel:httpStatus:ListInsightsResponse',
-- listInsightsResponse_httpStatus - The response's http status
-- code.
newListInsightsResponse :: Int -> ListInsightsResponse
-- | See: newListMonitoredResources smart constructor.
data ListMonitoredResources
ListMonitoredResources' :: Maybe ListMonitoredResourcesFilters -> Maybe Natural -> Maybe Text -> ListMonitoredResources
-- | Create a value of ListMonitoredResources with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListMonitoredResources, listMonitoredResources_filters -
-- Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
--
-- $sel:maxResults:ListMonitoredResources',
-- listMonitoredResources_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListMonitoredResources, listMonitoredResources_nextToken
-- - The pagination token to use to retrieve the next page of results for
-- this operation. If this value is null, it retrieves the first page.
newListMonitoredResources :: ListMonitoredResources
-- | See: newListMonitoredResourcesResponse smart
-- constructor.
data ListMonitoredResourcesResponse
ListMonitoredResourcesResponse' :: Maybe Text -> Int -> [MonitoredResourceIdentifier] -> ListMonitoredResourcesResponse
-- | Create a value of ListMonitoredResourcesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListMonitoredResources,
-- listMonitoredResourcesResponse_nextToken - The pagination token
-- to use to retrieve the next page of results for this operation. If
-- there are no more pages, this value is null.
--
-- $sel:httpStatus:ListMonitoredResourcesResponse',
-- listMonitoredResourcesResponse_httpStatus - The response's http
-- status code.
--
--
-- $sel:monitoredResourceIdentifiers:ListMonitoredResourcesResponse',
-- listMonitoredResourcesResponse_monitoredResourceIdentifiers -
-- Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
newListMonitoredResourcesResponse :: Int -> ListMonitoredResourcesResponse
-- | See: newListNotificationChannels smart constructor.
data ListNotificationChannels
ListNotificationChannels' :: Maybe Text -> ListNotificationChannels
-- | Create a value of ListNotificationChannels with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListNotificationChannels,
-- listNotificationChannels_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If this
-- value is null, it retrieves the first page.
newListNotificationChannels :: ListNotificationChannels
-- | See: newListNotificationChannelsResponse smart
-- constructor.
data ListNotificationChannelsResponse
ListNotificationChannelsResponse' :: Maybe [NotificationChannel] -> Maybe Text -> Int -> ListNotificationChannelsResponse
-- | Create a value of ListNotificationChannelsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:channels:ListNotificationChannelsResponse',
-- listNotificationChannelsResponse_channels - An array that
-- contains the requested notification channels.
--
-- ListNotificationChannels,
-- listNotificationChannelsResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:httpStatus:ListNotificationChannelsResponse',
-- listNotificationChannelsResponse_httpStatus - The response's
-- http status code.
newListNotificationChannelsResponse :: Int -> ListNotificationChannelsResponse
-- | See: newListOrganizationInsights smart constructor.
data ListOrganizationInsights
ListOrganizationInsights' :: Maybe [Text] -> Maybe Natural -> Maybe Text -> Maybe [Text] -> ListInsightsStatusFilter -> ListOrganizationInsights
-- | Create a value of ListOrganizationInsights with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountIds:ListOrganizationInsights',
-- listOrganizationInsights_accountIds - The ID of the Amazon Web
-- Services account.
--
-- $sel:maxResults:ListOrganizationInsights',
-- listOrganizationInsights_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- ListOrganizationInsights,
-- listOrganizationInsights_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If this
-- value is null, it retrieves the first page.
--
-- $sel:organizationalUnitIds:ListOrganizationInsights',
-- listOrganizationInsights_organizationalUnitIds - The ID of the
-- organizational unit.
--
-- $sel:statusFilter:ListOrganizationInsights',
-- listOrganizationInsights_statusFilter - Undocumented member.
newListOrganizationInsights :: ListInsightsStatusFilter -> ListOrganizationInsights
-- | See: newListOrganizationInsightsResponse smart
-- constructor.
data ListOrganizationInsightsResponse
ListOrganizationInsightsResponse' :: Maybe Text -> Maybe [ProactiveOrganizationInsightSummary] -> Maybe [ReactiveOrganizationInsightSummary] -> Int -> ListOrganizationInsightsResponse
-- | Create a value of ListOrganizationInsightsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOrganizationInsights,
-- listOrganizationInsightsResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:ListOrganizationInsightsResponse',
-- listOrganizationInsightsResponse_proactiveInsights - An integer
-- that specifies the number of open proactive insights in your Amazon
-- Web Services account.
--
-- $sel:reactiveInsights:ListOrganizationInsightsResponse',
-- listOrganizationInsightsResponse_reactiveInsights - An integer
-- that specifies the number of open reactive insights in your Amazon Web
-- Services account.
--
-- $sel:httpStatus:ListOrganizationInsightsResponse',
-- listOrganizationInsightsResponse_httpStatus - The response's
-- http status code.
newListOrganizationInsightsResponse :: Int -> ListOrganizationInsightsResponse
-- | See: newListRecommendations smart constructor.
data ListRecommendations
ListRecommendations' :: Maybe Text -> Maybe Locale -> Maybe Text -> Text -> ListRecommendations
-- | Create a value of ListRecommendations with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListRecommendations, listRecommendations_accountId - The
-- ID of the Amazon Web Services account.
--
-- $sel:locale:ListRecommendations',
-- listRecommendations_locale - A locale that specifies the
-- language to use for recommendations.
--
-- ListRecommendations, listRecommendations_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
--
-- ListRecommendations, listRecommendations_insightId - The
-- ID of the requested insight.
newListRecommendations :: Text -> ListRecommendations
-- | See: newListRecommendationsResponse smart constructor.
data ListRecommendationsResponse
ListRecommendationsResponse' :: Maybe Text -> Maybe [Recommendation] -> Int -> ListRecommendationsResponse
-- | Create a value of ListRecommendationsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListRecommendations,
-- listRecommendationsResponse_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If there
-- are no more pages, this value is null.
--
-- $sel:recommendations:ListRecommendationsResponse',
-- listRecommendationsResponse_recommendations - An array of the
-- requested recommendations.
--
-- $sel:httpStatus:ListRecommendationsResponse',
-- listRecommendationsResponse_httpStatus - The response's http
-- status code.
newListRecommendationsResponse :: Int -> ListRecommendationsResponse
-- | See: newPutFeedback smart constructor.
data PutFeedback
PutFeedback' :: Maybe InsightFeedback -> PutFeedback
-- | Create a value of PutFeedback with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:insightFeedback:PutFeedback',
-- putFeedback_insightFeedback - The feedback from customers is
-- about the recommendations in this insight.
newPutFeedback :: PutFeedback
-- | See: newPutFeedbackResponse smart constructor.
data PutFeedbackResponse
PutFeedbackResponse' :: Int -> PutFeedbackResponse
-- | Create a value of PutFeedbackResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:PutFeedbackResponse',
-- putFeedbackResponse_httpStatus - The response's http status
-- code.
newPutFeedbackResponse :: Int -> PutFeedbackResponse
-- | See: newRemoveNotificationChannel smart constructor.
data RemoveNotificationChannel
RemoveNotificationChannel' :: Text -> RemoveNotificationChannel
-- | Create a value of RemoveNotificationChannel with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RemoveNotificationChannel, removeNotificationChannel_id
-- - The ID of the notification channel to be removed.
newRemoveNotificationChannel :: Text -> RemoveNotificationChannel
-- | See: newRemoveNotificationChannelResponse smart
-- constructor.
data RemoveNotificationChannelResponse
RemoveNotificationChannelResponse' :: Int -> RemoveNotificationChannelResponse
-- | Create a value of RemoveNotificationChannelResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:RemoveNotificationChannelResponse',
-- removeNotificationChannelResponse_httpStatus - The response's
-- http status code.
newRemoveNotificationChannelResponse :: Int -> RemoveNotificationChannelResponse
-- | See: newSearchInsights smart constructor.
data SearchInsights
SearchInsights' :: Maybe SearchInsightsFilters -> Maybe Natural -> Maybe Text -> StartTimeRange -> InsightType -> SearchInsights
-- | Create a value of SearchInsights with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchInsights, searchInsights_filters - A
-- SearchInsightsFilters object that is used to set the severity
-- and status filters on your insight search.
--
-- $sel:maxResults:SearchInsights',
-- searchInsights_maxResults - The maximum number of results to
-- return with a single call. To retrieve the remaining results, make
-- another call with the returned nextToken value.
--
-- SearchInsights, searchInsights_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If this value is null, it retrieves the first page.
--
-- SearchInsights, searchInsights_startTimeRange - The
-- start of the time range passed in. Returned insights occurred after
-- this time.
--
-- SearchInsights, searchInsights_type - The type of
-- insights you are searching for (REACTIVE or
-- PROACTIVE).
newSearchInsights :: StartTimeRange -> InsightType -> SearchInsights
-- | See: newSearchInsightsResponse smart constructor.
data SearchInsightsResponse
SearchInsightsResponse' :: Maybe Text -> Maybe [ProactiveInsightSummary] -> Maybe [ReactiveInsightSummary] -> Int -> SearchInsightsResponse
-- | Create a value of SearchInsightsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchInsights, searchInsightsResponse_nextToken - The
-- pagination token to use to retrieve the next page of results for this
-- operation. If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:SearchInsightsResponse',
-- searchInsightsResponse_proactiveInsights - The returned
-- proactive insights.
--
-- $sel:reactiveInsights:SearchInsightsResponse',
-- searchInsightsResponse_reactiveInsights - The returned reactive
-- insights.
--
-- $sel:httpStatus:SearchInsightsResponse',
-- searchInsightsResponse_httpStatus - The response's http status
-- code.
newSearchInsightsResponse :: Int -> SearchInsightsResponse
-- | See: newSearchOrganizationInsights smart constructor.
data SearchOrganizationInsights
SearchOrganizationInsights' :: Maybe SearchOrganizationInsightsFilters -> Maybe Natural -> Maybe Text -> NonEmpty Text -> StartTimeRange -> InsightType -> SearchOrganizationInsights
-- | Create a value of SearchOrganizationInsights with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_filters - A
-- SearchOrganizationInsightsFilters object that is used to set
-- the severity and status filters on your insight search.
--
-- $sel:maxResults:SearchOrganizationInsights',
-- searchOrganizationInsights_maxResults - The maximum number of
-- results to return with a single call. To retrieve the remaining
-- results, make another call with the returned nextToken value.
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_nextToken - The pagination token to
-- use to retrieve the next page of results for this operation. If this
-- value is null, it retrieves the first page.
--
-- $sel:accountIds:SearchOrganizationInsights',
-- searchOrganizationInsights_accountIds - The ID of the Amazon
-- Web Services account.
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_startTimeRange - Undocumented
-- member.
--
-- SearchOrganizationInsights,
-- searchOrganizationInsights_type - The type of insights you are
-- searching for (REACTIVE or PROACTIVE).
newSearchOrganizationInsights :: NonEmpty Text -> StartTimeRange -> InsightType -> SearchOrganizationInsights
-- | See: newSearchOrganizationInsightsResponse smart
-- constructor.
data SearchOrganizationInsightsResponse
SearchOrganizationInsightsResponse' :: Maybe Text -> Maybe [ProactiveInsightSummary] -> Maybe [ReactiveInsightSummary] -> Int -> SearchOrganizationInsightsResponse
-- | Create a value of SearchOrganizationInsightsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SearchOrganizationInsights,
-- searchOrganizationInsightsResponse_nextToken - The pagination
-- token to use to retrieve the next page of results for this operation.
-- If there are no more pages, this value is null.
--
-- $sel:proactiveInsights:SearchOrganizationInsightsResponse',
-- searchOrganizationInsightsResponse_proactiveInsights - An
-- integer that specifies the number of open proactive insights in your
-- Amazon Web Services account.
--
-- $sel:reactiveInsights:SearchOrganizationInsightsResponse',
-- searchOrganizationInsightsResponse_reactiveInsights - An
-- integer that specifies the number of open reactive insights in your
-- Amazon Web Services account.
--
-- $sel:httpStatus:SearchOrganizationInsightsResponse',
-- searchOrganizationInsightsResponse_httpStatus - The response's
-- http status code.
newSearchOrganizationInsightsResponse :: Int -> SearchOrganizationInsightsResponse
-- | See: newStartCostEstimation smart constructor.
data StartCostEstimation
StartCostEstimation' :: Maybe Text -> CostEstimationResourceCollectionFilter -> StartCostEstimation
-- | Create a value of StartCostEstimation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clientToken:StartCostEstimation',
-- startCostEstimation_clientToken - The idempotency token used to
-- identify each cost estimate request.
--
-- StartCostEstimation,
-- startCostEstimation_resourceCollection - The collection of
-- Amazon Web Services resources used to create a monthly DevOps Guru
-- cost estimate.
newStartCostEstimation :: CostEstimationResourceCollectionFilter -> StartCostEstimation
-- | See: newStartCostEstimationResponse smart constructor.
data StartCostEstimationResponse
StartCostEstimationResponse' :: Int -> StartCostEstimationResponse
-- | Create a value of StartCostEstimationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:StartCostEstimationResponse',
-- startCostEstimationResponse_httpStatus - The response's http
-- status code.
newStartCostEstimationResponse :: Int -> StartCostEstimationResponse
-- | See: newUpdateEventSourcesConfig smart constructor.
data UpdateEventSourcesConfig
UpdateEventSourcesConfig' :: Maybe EventSourcesConfig -> UpdateEventSourcesConfig
-- | Create a value of UpdateEventSourcesConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eventSources:UpdateEventSourcesConfig',
-- updateEventSourcesConfig_eventSources - Configuration
-- information about the integration of DevOps Guru as the Consumer via
-- EventBridge with another AWS Service.
newUpdateEventSourcesConfig :: UpdateEventSourcesConfig
-- | See: newUpdateEventSourcesConfigResponse smart
-- constructor.
data UpdateEventSourcesConfigResponse
UpdateEventSourcesConfigResponse' :: Int -> UpdateEventSourcesConfigResponse
-- | Create a value of UpdateEventSourcesConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateEventSourcesConfigResponse',
-- updateEventSourcesConfigResponse_httpStatus - The response's
-- http status code.
newUpdateEventSourcesConfigResponse :: Int -> UpdateEventSourcesConfigResponse
-- | See: newUpdateResourceCollection smart constructor.
data UpdateResourceCollection
UpdateResourceCollection' :: UpdateResourceCollectionAction -> UpdateResourceCollectionFilter -> UpdateResourceCollection
-- | Create a value of UpdateResourceCollection with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:action:UpdateResourceCollection',
-- updateResourceCollection_action - Specifies if the resource
-- collection in the request is added or deleted to the resource
-- collection.
--
-- UpdateResourceCollection,
-- updateResourceCollection_resourceCollection - Undocumented
-- member.
newUpdateResourceCollection :: UpdateResourceCollectionAction -> UpdateResourceCollectionFilter -> UpdateResourceCollection
-- | See: newUpdateResourceCollectionResponse smart
-- constructor.
data UpdateResourceCollectionResponse
UpdateResourceCollectionResponse' :: Int -> UpdateResourceCollectionResponse
-- | Create a value of UpdateResourceCollectionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateResourceCollectionResponse',
-- updateResourceCollectionResponse_httpStatus - The response's
-- http status code.
newUpdateResourceCollectionResponse :: Int -> UpdateResourceCollectionResponse
-- | See: newUpdateServiceIntegration smart constructor.
data UpdateServiceIntegration
UpdateServiceIntegration' :: UpdateServiceIntegrationConfig -> UpdateServiceIntegration
-- | Create a value of UpdateServiceIntegration with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceIntegration:UpdateServiceIntegration',
-- updateServiceIntegration_serviceIntegration - An
-- IntegratedServiceConfig object used to specify the integrated
-- service you want to update, and whether you want to update it to
-- enabled or disabled.
newUpdateServiceIntegration :: UpdateServiceIntegrationConfig -> UpdateServiceIntegration
-- | See: newUpdateServiceIntegrationResponse smart
-- constructor.
data UpdateServiceIntegrationResponse
UpdateServiceIntegrationResponse' :: Int -> UpdateServiceIntegrationResponse
-- | Create a value of UpdateServiceIntegrationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateServiceIntegrationResponse',
-- updateServiceIntegrationResponse_httpStatus - The response's
-- http status code.
newUpdateServiceIntegrationResponse :: Int -> UpdateServiceIntegrationResponse
newtype AnomalySeverity
AnomalySeverity' :: Text -> AnomalySeverity
[fromAnomalySeverity] :: AnomalySeverity -> Text
pattern AnomalySeverity_HIGH :: AnomalySeverity
pattern AnomalySeverity_LOW :: AnomalySeverity
pattern AnomalySeverity_MEDIUM :: AnomalySeverity
newtype AnomalyStatus
AnomalyStatus' :: Text -> AnomalyStatus
[fromAnomalyStatus] :: AnomalyStatus -> Text
pattern AnomalyStatus_CLOSED :: AnomalyStatus
pattern AnomalyStatus_ONGOING :: AnomalyStatus
newtype AnomalyType
AnomalyType' :: Text -> AnomalyType
[fromAnomalyType] :: AnomalyType -> Text
pattern AnomalyType_CAUSAL :: AnomalyType
pattern AnomalyType_CONTEXTUAL :: AnomalyType
newtype CloudWatchMetricDataStatusCode
CloudWatchMetricDataStatusCode' :: Text -> CloudWatchMetricDataStatusCode
[fromCloudWatchMetricDataStatusCode] :: CloudWatchMetricDataStatusCode -> Text
pattern CloudWatchMetricDataStatusCode_Complete :: CloudWatchMetricDataStatusCode
pattern CloudWatchMetricDataStatusCode_InternalError :: CloudWatchMetricDataStatusCode
pattern CloudWatchMetricDataStatusCode_PartialData :: CloudWatchMetricDataStatusCode
newtype CloudWatchMetricsStat
CloudWatchMetricsStat' :: Text -> CloudWatchMetricsStat
[fromCloudWatchMetricsStat] :: CloudWatchMetricsStat -> Text
pattern CloudWatchMetricsStat_Average :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Maximum :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Minimum :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P50 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P90 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_P99 :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_SampleCount :: CloudWatchMetricsStat
pattern CloudWatchMetricsStat_Sum :: CloudWatchMetricsStat
newtype CostEstimationServiceResourceState
CostEstimationServiceResourceState' :: Text -> CostEstimationServiceResourceState
[fromCostEstimationServiceResourceState] :: CostEstimationServiceResourceState -> Text
pattern CostEstimationServiceResourceState_ACTIVE :: CostEstimationServiceResourceState
pattern CostEstimationServiceResourceState_INACTIVE :: CostEstimationServiceResourceState
newtype CostEstimationStatus
CostEstimationStatus' :: Text -> CostEstimationStatus
[fromCostEstimationStatus] :: CostEstimationStatus -> Text
pattern CostEstimationStatus_COMPLETED :: CostEstimationStatus
pattern CostEstimationStatus_ONGOING :: CostEstimationStatus
newtype EventClass
EventClass' :: Text -> EventClass
[fromEventClass] :: EventClass -> Text
pattern EventClass_CONFIG_CHANGE :: EventClass
pattern EventClass_DEPLOYMENT :: EventClass
pattern EventClass_INFRASTRUCTURE :: EventClass
pattern EventClass_SCHEMA_CHANGE :: EventClass
pattern EventClass_SECURITY_CHANGE :: EventClass
newtype EventDataSource
EventDataSource' :: Text -> EventDataSource
[fromEventDataSource] :: EventDataSource -> Text
pattern EventDataSource_AWS_CLOUD_TRAIL :: EventDataSource
pattern EventDataSource_AWS_CODE_DEPLOY :: EventDataSource
newtype EventSourceOptInStatus
EventSourceOptInStatus' :: Text -> EventSourceOptInStatus
[fromEventSourceOptInStatus] :: EventSourceOptInStatus -> Text
pattern EventSourceOptInStatus_DISABLED :: EventSourceOptInStatus
pattern EventSourceOptInStatus_ENABLED :: EventSourceOptInStatus
newtype InsightFeedbackOption
InsightFeedbackOption' :: Text -> InsightFeedbackOption
[fromInsightFeedbackOption] :: InsightFeedbackOption -> Text
pattern InsightFeedbackOption_ALERT_TOO_SENSITIVE :: InsightFeedbackOption
pattern InsightFeedbackOption_DATA_INCORRECT :: InsightFeedbackOption
pattern InsightFeedbackOption_DATA_NOISY_ANOMALY :: InsightFeedbackOption
pattern InsightFeedbackOption_RECOMMENDATION_USEFUL :: InsightFeedbackOption
pattern InsightFeedbackOption_VALID_COLLECTION :: InsightFeedbackOption
newtype InsightSeverity
InsightSeverity' :: Text -> InsightSeverity
[fromInsightSeverity] :: InsightSeverity -> Text
pattern InsightSeverity_HIGH :: InsightSeverity
pattern InsightSeverity_LOW :: InsightSeverity
pattern InsightSeverity_MEDIUM :: InsightSeverity
newtype InsightStatus
InsightStatus' :: Text -> InsightStatus
[fromInsightStatus] :: InsightStatus -> Text
pattern InsightStatus_CLOSED :: InsightStatus
pattern InsightStatus_ONGOING :: InsightStatus
newtype InsightType
InsightType' :: Text -> InsightType
[fromInsightType] :: InsightType -> Text
pattern InsightType_PROACTIVE :: InsightType
pattern InsightType_REACTIVE :: InsightType
newtype Locale
Locale' :: Text -> Locale
[fromLocale] :: Locale -> Text
pattern Locale_DE_DE :: Locale
pattern Locale_EN_GB :: Locale
pattern Locale_EN_US :: Locale
pattern Locale_ES_ES :: Locale
pattern Locale_FR_FR :: Locale
pattern Locale_IT_IT :: Locale
pattern Locale_JA_JP :: Locale
pattern Locale_KO_KR :: Locale
pattern Locale_PT_BR :: Locale
pattern Locale_ZH_CN :: Locale
pattern Locale_ZH_TW :: Locale
newtype LogAnomalyType
LogAnomalyType' :: Text -> LogAnomalyType
[fromLogAnomalyType] :: LogAnomalyType -> Text
pattern LogAnomalyType_BLOCK_FORMAT :: LogAnomalyType
pattern LogAnomalyType_FORMAT :: LogAnomalyType
pattern LogAnomalyType_HTTP_CODE :: LogAnomalyType
pattern LogAnomalyType_KEYWORD :: LogAnomalyType
pattern LogAnomalyType_KEYWORD_TOKEN :: LogAnomalyType
pattern LogAnomalyType_NEW_FIELD_NAME :: LogAnomalyType
pattern LogAnomalyType_NUMERICAL_NAN :: LogAnomalyType
pattern LogAnomalyType_NUMERICAL_POINT :: LogAnomalyType
newtype NotificationMessageType
NotificationMessageType' :: Text -> NotificationMessageType
[fromNotificationMessageType] :: NotificationMessageType -> Text
pattern NotificationMessageType_CLOSED_INSIGHT :: NotificationMessageType
pattern NotificationMessageType_NEW_ASSOCIATION :: NotificationMessageType
pattern NotificationMessageType_NEW_INSIGHT :: NotificationMessageType
pattern NotificationMessageType_NEW_RECOMMENDATION :: NotificationMessageType
pattern NotificationMessageType_SEVERITY_UPGRADED :: NotificationMessageType
-- | Specifies if DevOps Guru is enabled to create an Amazon Web Services
-- Systems Manager OpsItem for each created insight.
newtype OptInStatus
OptInStatus' :: Text -> OptInStatus
[fromOptInStatus] :: OptInStatus -> Text
pattern OptInStatus_DISABLED :: OptInStatus
pattern OptInStatus_ENABLED :: OptInStatus
newtype OrganizationResourceCollectionType
OrganizationResourceCollectionType' :: Text -> OrganizationResourceCollectionType
[fromOrganizationResourceCollectionType] :: OrganizationResourceCollectionType -> Text
pattern OrganizationResourceCollectionType_AWS_ACCOUNT :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_CLOUD_FORMATION :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_SERVICE :: OrganizationResourceCollectionType
pattern OrganizationResourceCollectionType_AWS_TAGS :: OrganizationResourceCollectionType
newtype ResourceCollectionType
ResourceCollectionType' :: Text -> ResourceCollectionType
[fromResourceCollectionType] :: ResourceCollectionType -> Text
pattern ResourceCollectionType_AWS_CLOUD_FORMATION :: ResourceCollectionType
pattern ResourceCollectionType_AWS_SERVICE :: ResourceCollectionType
pattern ResourceCollectionType_AWS_TAGS :: ResourceCollectionType
newtype ResourcePermission
ResourcePermission' :: Text -> ResourcePermission
[fromResourcePermission] :: ResourcePermission -> Text
pattern ResourcePermission_FULL_PERMISSION :: ResourcePermission
pattern ResourcePermission_MISSING_PERMISSION :: ResourcePermission
newtype ResourceTypeFilter
ResourceTypeFilter' :: Text -> ResourceTypeFilter
[fromResourceTypeFilter] :: ResourceTypeFilter -> Text
pattern ResourceTypeFilter_CLOUDFRONT_DISTRIBUTION :: ResourceTypeFilter
pattern ResourceTypeFilter_DYNAMODB_TABLE :: ResourceTypeFilter
pattern ResourceTypeFilter_EC2_NAT_GATEWAY :: ResourceTypeFilter
pattern ResourceTypeFilter_ECS_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ECS_SERVICE :: ResourceTypeFilter
pattern ResourceTypeFilter_EKS_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTICACHE_CACHE_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTICSEARCH_DOMAIN :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_BEANSTALK_ENVIRONMENT :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCER_LOAD_BALANCER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER :: ResourceTypeFilter
pattern ResourceTypeFilter_ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP :: ResourceTypeFilter
pattern ResourceTypeFilter_KINESIS_STREAM :: ResourceTypeFilter
pattern ResourceTypeFilter_LAMBDA_FUNCTION :: ResourceTypeFilter
pattern ResourceTypeFilter_LOG_GROUPS :: ResourceTypeFilter
pattern ResourceTypeFilter_OPEN_SEARCH_SERVICE_DOMAIN :: ResourceTypeFilter
pattern ResourceTypeFilter_RDS_DB_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_RDS_DB_INSTANCE :: ResourceTypeFilter
pattern ResourceTypeFilter_REDSHIFT_CLUSTER :: ResourceTypeFilter
pattern ResourceTypeFilter_ROUTE53_HEALTH_CHECK :: ResourceTypeFilter
pattern ResourceTypeFilter_ROUTE53_HOSTED_ZONE :: ResourceTypeFilter
pattern ResourceTypeFilter_S3_BUCKET :: ResourceTypeFilter
pattern ResourceTypeFilter_SAGEMAKER_ENDPOINT :: ResourceTypeFilter
pattern ResourceTypeFilter_SNS_TOPIC :: ResourceTypeFilter
pattern ResourceTypeFilter_SQS_QUEUE :: ResourceTypeFilter
pattern ResourceTypeFilter_STEP_FUNCTIONS_ACTIVITY :: ResourceTypeFilter
pattern ResourceTypeFilter_STEP_FUNCTIONS_STATE_MACHINE :: ResourceTypeFilter
newtype ServiceName
ServiceName' :: Text -> ServiceName
[fromServiceName] :: ServiceName -> Text
pattern ServiceName_API_GATEWAY :: ServiceName
pattern ServiceName_APPLICATION_ELB :: ServiceName
pattern ServiceName_AUTO_SCALING_GROUP :: ServiceName
pattern ServiceName_CLOUD_FRONT :: ServiceName
pattern ServiceName_DYNAMO_DB :: ServiceName
pattern ServiceName_EC2 :: ServiceName
pattern ServiceName_ECS :: ServiceName
pattern ServiceName_EKS :: ServiceName
pattern ServiceName_ELASTIC_BEANSTALK :: ServiceName
pattern ServiceName_ELASTI_CACHE :: ServiceName
pattern ServiceName_ELB :: ServiceName
pattern ServiceName_ES :: ServiceName
pattern ServiceName_KINESIS :: ServiceName
pattern ServiceName_LAMBDA :: ServiceName
pattern ServiceName_NAT_GATEWAY :: ServiceName
pattern ServiceName_NETWORK_ELB :: ServiceName
pattern ServiceName_RDS :: ServiceName
pattern ServiceName_REDSHIFT :: ServiceName
pattern ServiceName_ROUTE_53 :: ServiceName
pattern ServiceName_S3 :: ServiceName
pattern ServiceName_SAGE_MAKER :: ServiceName
pattern ServiceName_SNS :: ServiceName
pattern ServiceName_SQS :: ServiceName
pattern ServiceName_STEP_FUNCTIONS :: ServiceName
pattern ServiceName_SWF :: ServiceName
newtype UpdateResourceCollectionAction
UpdateResourceCollectionAction' :: Text -> UpdateResourceCollectionAction
[fromUpdateResourceCollectionAction] :: UpdateResourceCollectionAction -> Text
pattern UpdateResourceCollectionAction_ADD :: UpdateResourceCollectionAction
pattern UpdateResourceCollectionAction_REMOVE :: UpdateResourceCollectionAction
-- | Returns the number of open reactive insights, the number of open
-- proactive insights, and the number of metrics analyzed in your Amazon
-- Web Services account. Use these numbers to gauge the health of
-- operations in your Amazon Web Services account.
--
-- See: newAccountHealth smart constructor.
data AccountHealth
AccountHealth' :: Maybe Text -> Maybe AccountInsightHealth -> AccountHealth
-- | Create a value of AccountHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:AccountHealth', accountHealth_accountId -
-- The ID of the Amazon Web Services account.
--
-- $sel:insight:AccountHealth', accountHealth_insight -
-- Information about the health of the Amazon Web Services resources in
-- your account, including the number of open proactive, open reactive
-- insights, and the Mean Time to Recover (MTTR) of closed insights.
newAccountHealth :: AccountHealth
-- | Information about the number of open reactive and proactive insights
-- that can be used to gauge the health of your system.
--
-- See: newAccountInsightHealth smart constructor.
data AccountInsightHealth
AccountInsightHealth' :: Maybe Int -> Maybe Int -> AccountInsightHealth
-- | Create a value of AccountInsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:openProactiveInsights:AccountInsightHealth',
-- accountInsightHealth_openProactiveInsights - An integer that
-- specifies the number of open proactive insights in your Amazon Web
-- Services account.
--
-- $sel:openReactiveInsights:AccountInsightHealth',
-- accountInsightHealth_openReactiveInsights - An integer that
-- specifies the number of open reactive insights in your Amazon Web
-- Services account.
newAccountInsightHealth :: AccountInsightHealth
-- | Information about your account's integration with Amazon CodeGuru
-- Profiler. This returns whether DevOps Guru is configured to consume
-- recommendations generated from Amazon CodeGuru Profiler.
--
-- See: newAmazonCodeGuruProfilerIntegration smart
-- constructor.
data AmazonCodeGuruProfilerIntegration
AmazonCodeGuruProfilerIntegration' :: Maybe EventSourceOptInStatus -> AmazonCodeGuruProfilerIntegration
-- | Create a value of AmazonCodeGuruProfilerIntegration with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:AmazonCodeGuruProfilerIntegration',
-- amazonCodeGuruProfilerIntegration_status - The status of the
-- CodeGuru Profiler integration. Specifies if DevOps Guru is enabled to
-- consume recommendations that are generated from Amazon CodeGuru
-- Profiler.
newAmazonCodeGuruProfilerIntegration :: AmazonCodeGuruProfilerIntegration
-- | An Amazon CloudWatch log group that contains log anomalies and is used
-- to generate an insight.
--
-- See: newAnomalousLogGroup smart constructor.
data AnomalousLogGroup
AnomalousLogGroup' :: Maybe POSIX -> Maybe POSIX -> Maybe [LogAnomalyShowcase] -> Maybe Text -> Maybe Int -> AnomalousLogGroup
-- | Create a value of AnomalousLogGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:impactEndTime:AnomalousLogGroup',
-- anomalousLogGroup_impactEndTime - The time the anomalous log
-- events stopped.
--
-- $sel:impactStartTime:AnomalousLogGroup',
-- anomalousLogGroup_impactStartTime - The time the anomalous log
-- events began. The impact start time indicates the time of the first
-- log anomaly event that occurs.
--
-- $sel:logAnomalyShowcases:AnomalousLogGroup',
-- anomalousLogGroup_logAnomalyShowcases - The log anomalies in
-- the log group. Each log anomaly displayed represents a cluster of
-- similar anomalous log events.
--
-- $sel:logGroupName:AnomalousLogGroup',
-- anomalousLogGroup_logGroupName - The name of the CloudWatch log
-- group.
--
-- $sel:numberOfLogLinesScanned:AnomalousLogGroup',
-- anomalousLogGroup_numberOfLogLinesScanned - The number of log
-- lines that were scanned for anomalous log events.
newAnomalousLogGroup :: AnomalousLogGroup
-- | A time range that specifies when DevOps Guru opens and then closes an
-- anomaly. This is different from AnomalyTimeRange, which
-- specifies the time range when DevOps Guru actually observes the
-- anomalous behavior.
--
-- See: newAnomalyReportedTimeRange smart constructor.
data AnomalyReportedTimeRange
AnomalyReportedTimeRange' :: Maybe POSIX -> POSIX -> AnomalyReportedTimeRange
-- | Create a value of AnomalyReportedTimeRange with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:closeTime:AnomalyReportedTimeRange',
-- anomalyReportedTimeRange_closeTime - The time when an anomaly
-- is closed.
--
-- $sel:openTime:AnomalyReportedTimeRange',
-- anomalyReportedTimeRange_openTime - The time when an anomaly is
-- opened.
newAnomalyReportedTimeRange :: UTCTime -> AnomalyReportedTimeRange
-- | The Amazon Web Services resources in which DevOps Guru detected
-- unusual behavior that resulted in the generation of an anomaly. When
-- DevOps Guru detects multiple related anomalies, it creates and insight
-- with details about the anomalous behavior and suggestions about how to
-- correct the problem.
--
-- See: newAnomalyResource smart constructor.
data AnomalyResource
AnomalyResource' :: Maybe Text -> Maybe Text -> AnomalyResource
-- | Create a value of AnomalyResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:AnomalyResource', anomalyResource_name - The
-- name of the Amazon Web Services resource.
--
-- $sel:type':AnomalyResource', anomalyResource_type - The
-- type of the Amazon Web Services resource.
newAnomalyResource :: AnomalyResource
-- | Details about the source of the anomalous operational data that
-- triggered the anomaly.
--
-- See: newAnomalySourceDetails smart constructor.
data AnomalySourceDetails
AnomalySourceDetails' :: Maybe [CloudWatchMetricsDetail] -> Maybe [PerformanceInsightsMetricsDetail] -> AnomalySourceDetails
-- | Create a value of AnomalySourceDetails with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchMetrics:AnomalySourceDetails',
-- anomalySourceDetails_cloudWatchMetrics - An array of
-- CloudWatchMetricsDetail objects that contain information
-- about analyzed CloudWatch metrics that show anomalous behavior.
--
-- $sel:performanceInsightsMetrics:AnomalySourceDetails',
-- anomalySourceDetails_performanceInsightsMetrics - An array of
-- PerformanceInsightsMetricsDetail objects that contain
-- information about analyzed Performance Insights metrics that show
-- anomalous behavior.
newAnomalySourceDetails :: AnomalySourceDetails
-- | Metadata about the detection source that generates proactive
-- anomalies. The anomaly is detected using analysis of the metric data
-- over a period of time
--
-- See: newAnomalySourceMetadata smart constructor.
data AnomalySourceMetadata
AnomalySourceMetadata' :: Maybe Text -> Maybe Text -> Maybe Text -> AnomalySourceMetadata
-- | Create a value of AnomalySourceMetadata with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:source:AnomalySourceMetadata',
-- anomalySourceMetadata_source - The source of the anomaly.
--
-- $sel:sourceResourceName:AnomalySourceMetadata',
-- anomalySourceMetadata_sourceResourceName - The name of the
-- anomaly's resource.
--
-- $sel:sourceResourceType:AnomalySourceMetadata',
-- anomalySourceMetadata_sourceResourceType - The anomaly's
-- resource type.
newAnomalySourceMetadata :: AnomalySourceMetadata
-- | A time range that specifies when the observed unusual behavior in an
-- anomaly started and ended. This is different from
-- AnomalyReportedTimeRange, which specifies the time range when
-- DevOps Guru opens and then closes an anomaly.
--
-- See: newAnomalyTimeRange smart constructor.
data AnomalyTimeRange
AnomalyTimeRange' :: Maybe POSIX -> POSIX -> AnomalyTimeRange
-- | Create a value of AnomalyTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:AnomalyTimeRange', anomalyTimeRange_endTime
-- - The time when the anomalous behavior ended.
--
-- $sel:startTime:AnomalyTimeRange',
-- anomalyTimeRange_startTime - The time when the anomalous
-- behavior started.
newAnomalyTimeRange :: UTCTime -> AnomalyTimeRange
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
--
-- See: newCloudFormationCollection smart constructor.
data CloudFormationCollection
CloudFormationCollection' :: Maybe [Text] -> CloudFormationCollection
-- | Create a value of CloudFormationCollection with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:CloudFormationCollection',
-- cloudFormationCollection_stackNames - An array of
-- CloudFormation stack names.
newCloudFormationCollection :: CloudFormationCollection
-- | Information about Amazon Web Services CloudFormation stacks. You can
-- use up to 500 stacks to specify which Amazon Web Services resources in
-- your account to analyze. For more information, see Stacks in
-- the Amazon Web Services CloudFormation User Guide.
--
-- See: newCloudFormationCollectionFilter smart
-- constructor.
data CloudFormationCollectionFilter
CloudFormationCollectionFilter' :: Maybe [Text] -> CloudFormationCollectionFilter
-- | Create a value of CloudFormationCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:CloudFormationCollectionFilter',
-- cloudFormationCollectionFilter_stackNames - An array of
-- CloudFormation stack names.
newCloudFormationCollectionFilter :: CloudFormationCollectionFilter
-- | Information about an Amazon Web Services CloudFormation stack used to
-- create a monthly cost estimate for DevOps Guru to analyze Amazon Web
-- Services resources. The maximum number of stacks you can specify for a
-- cost estimate is one. The estimate created is for the cost to analyze
-- the Amazon Web Services resources defined by the stack. For more
-- information, see Stacks in the Amazon Web Services
-- CloudFormation User Guide.
--
-- See:
-- newCloudFormationCostEstimationResourceCollectionFilter smart
-- constructor.
data CloudFormationCostEstimationResourceCollectionFilter
CloudFormationCostEstimationResourceCollectionFilter' :: Maybe (NonEmpty Text) -> CloudFormationCostEstimationResourceCollectionFilter
-- | Create a value of
-- CloudFormationCostEstimationResourceCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:stackNames:CloudFormationCostEstimationResourceCollectionFilter',
-- cloudFormationCostEstimationResourceCollectionFilter_stackNames
-- - An array of CloudFormation stack names. Its size is fixed at 1 item.
newCloudFormationCostEstimationResourceCollectionFilter :: CloudFormationCostEstimationResourceCollectionFilter
-- | Information about the health of Amazon Web Services resources in your
-- account that are specified by an Amazon Web Services CloudFormation
-- stack.
--
-- See: newCloudFormationHealth smart constructor.
data CloudFormationHealth
CloudFormationHealth' :: Maybe Integer -> Maybe InsightHealth -> Maybe Text -> CloudFormationHealth
-- | Create a value of CloudFormationHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:CloudFormationHealth',
-- cloudFormationHealth_analyzedResourceCount - Number of
-- resources that DevOps Guru is monitoring in your account that are
-- specified by an Amazon Web Services CloudFormation stack.
--
-- $sel:insight:CloudFormationHealth',
-- cloudFormationHealth_insight - Information about the health of
-- the Amazon Web Services resources in your account that are specified
-- by an Amazon Web Services CloudFormation stack, including the number
-- of open proactive, open reactive insights, and the Mean Time to
-- Recover (MTTR) of closed insights.
--
-- $sel:stackName:CloudFormationHealth',
-- cloudFormationHealth_stackName - The name of the CloudFormation
-- stack.
newCloudFormationHealth :: CloudFormationHealth
-- | Contains information about the analyzed metrics that displayed
-- anomalous behavior.
--
-- See: newCloudWatchMetricsDataSummary smart constructor.
data CloudWatchMetricsDataSummary
CloudWatchMetricsDataSummary' :: Maybe CloudWatchMetricDataStatusCode -> Maybe [TimestampMetricValuePair] -> CloudWatchMetricsDataSummary
-- | Create a value of CloudWatchMetricsDataSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:statusCode:CloudWatchMetricsDataSummary',
-- cloudWatchMetricsDataSummary_statusCode - This is an enum of
-- the status showing whether the metric value pair list has partial or
-- complete data, or if there was an error.
--
--
-- $sel:timestampMetricValuePairList:CloudWatchMetricsDataSummary',
-- cloudWatchMetricsDataSummary_timestampMetricValuePairList -
-- This is a list of Amazon CloudWatch metric values at given timestamp.
newCloudWatchMetricsDataSummary :: CloudWatchMetricsDataSummary
-- | Information about an Amazon CloudWatch metric.
--
-- See: newCloudWatchMetricsDetail smart constructor.
data CloudWatchMetricsDetail
CloudWatchMetricsDetail' :: Maybe [CloudWatchMetricsDimension] -> Maybe CloudWatchMetricsDataSummary -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe CloudWatchMetricsStat -> Maybe Text -> CloudWatchMetricsDetail
-- | Create a value of CloudWatchMetricsDetail with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dimensions:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_dimensions - An array of CloudWatch
-- dimensions associated with
--
-- $sel:metricDataSummary:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_metricDataSummary - This object returns
-- anomaly metric data.
--
-- $sel:metricName:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_metricName - The name of the CloudWatch
-- metric.
--
-- $sel:namespace:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_namespace - The namespace of the
-- CloudWatch metric. A namespace is a container for CloudWatch metrics.
--
-- $sel:period:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_period - The length of time associated
-- with the CloudWatch metric in number of seconds.
--
-- $sel:stat:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_stat - The type of statistic associated
-- with the CloudWatch metric. For more information, see
-- Statistics in the Amazon CloudWatch User Guide.
--
-- $sel:unit:CloudWatchMetricsDetail',
-- cloudWatchMetricsDetail_unit - The unit of measure used for the
-- CloudWatch metric. For example, Bytes, Seconds,
-- Count, and Percent.
newCloudWatchMetricsDetail :: CloudWatchMetricsDetail
-- | The dimension of an Amazon CloudWatch metric that is used when DevOps
-- Guru analyzes the resources in your account for operational problems
-- and anomalous behavior. A dimension is a name/value pair that is part
-- of the identity of a metric. A metric can have up to 10 dimensions.
-- For more information, see Dimensions in the Amazon
-- CloudWatch User Guide.
--
-- See: newCloudWatchMetricsDimension smart constructor.
data CloudWatchMetricsDimension
CloudWatchMetricsDimension' :: Maybe Text -> Maybe Text -> CloudWatchMetricsDimension
-- | Create a value of CloudWatchMetricsDimension with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:CloudWatchMetricsDimension',
-- cloudWatchMetricsDimension_name - The name of the CloudWatch
-- dimension.
--
-- $sel:value:CloudWatchMetricsDimension',
-- cloudWatchMetricsDimension_value - The value of the CloudWatch
-- dimension.
newCloudWatchMetricsDimension :: CloudWatchMetricsDimension
-- | Information about a filter used to specify which Amazon Web Services
-- resources are analyzed to create a monthly DevOps Guru cost estimate.
-- For more information, see Estimate your Amazon DevOps Guru
-- costs and Amazon DevOps Guru pricing.
--
-- See: newCostEstimationResourceCollectionFilter smart
-- constructor.
data CostEstimationResourceCollectionFilter
CostEstimationResourceCollectionFilter' :: Maybe CloudFormationCostEstimationResourceCollectionFilter -> Maybe [TagCostEstimationResourceCollectionFilter] -> CostEstimationResourceCollectionFilter
-- | Create a value of CostEstimationResourceCollectionFilter with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:CostEstimationResourceCollectionFilter',
-- costEstimationResourceCollectionFilter_cloudFormation - An
-- object that specifies the CloudFormation stack that defines the Amazon
-- Web Services resources used to create a monthly estimate for DevOps
-- Guru.
--
-- $sel:tags:CostEstimationResourceCollectionFilter',
-- costEstimationResourceCollectionFilter_tags - The Amazon Web
-- Services tags used to filter the resource collection that is used for
-- a cost estimate.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newCostEstimationResourceCollectionFilter :: CostEstimationResourceCollectionFilter
-- | The time range of a cost estimation.
--
-- See: newCostEstimationTimeRange smart constructor.
data CostEstimationTimeRange
CostEstimationTimeRange' :: Maybe POSIX -> Maybe POSIX -> CostEstimationTimeRange
-- | Create a value of CostEstimationTimeRange with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:CostEstimationTimeRange',
-- costEstimationTimeRange_endTime - The end time of the cost
-- estimation.
--
-- $sel:startTime:CostEstimationTimeRange',
-- costEstimationTimeRange_startTime - The start time of the cost
-- estimation.
newCostEstimationTimeRange :: CostEstimationTimeRange
-- | A range of time that specifies when anomalous behavior in an anomaly
-- or insight ended.
--
-- See: newEndTimeRange smart constructor.
data EndTimeRange
EndTimeRange' :: Maybe POSIX -> Maybe POSIX -> EndTimeRange
-- | Create a value of EndTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:EndTimeRange', endTimeRange_fromTime - The
-- earliest end time in the time range.
--
-- $sel:toTime:EndTimeRange', endTimeRange_toTime - The
-- latest end time in the time range.
newEndTimeRange :: EndTimeRange
-- | An Amazon Web Services resource event. Amazon Web Services resource
-- events and metrics are analyzed by DevOps Guru to find anomalous
-- behavior and provide recommendations to improve your operational
-- solutions.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe EventDataSource -> Maybe EventClass -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe [EventResource] -> Maybe POSIX -> Event
-- | Create a value of Event with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dataSource:Event', event_dataSource - The source,
-- AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps
-- Guru analysis found the event.
--
-- $sel:eventClass:Event', event_eventClass - The class of
-- the event. The class specifies what the event is related to, such as
-- an infrastructure change, a deployment, or a schema change.
--
-- $sel:eventSource:Event', event_eventSource - The Amazon
-- Web Services source that emitted the event.
--
-- $sel:id:Event', event_id - The ID of the event.
--
-- Event, event_name - The name of the event.
--
-- $sel:resourceCollection:Event', event_resourceCollection
-- - Undocumented member.
--
-- $sel:resources:Event', event_resources - An
-- EventResource object that contains information about the
-- resource that emitted the event.
--
-- $sel:time:Event', event_time - A Timestamp that
-- specifies the time the event occurred.
newEvent :: Event
-- | The Amazon Web Services resource that emitted an event. Amazon Web
-- Services resource events and metrics are analyzed by DevOps Guru to
-- find anomalous behavior and provide recommendations to improve your
-- operational solutions.
--
-- See: newEventResource smart constructor.
data EventResource
EventResource' :: Maybe Text -> Maybe Text -> Maybe Text -> EventResource
-- | Create a value of EventResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:EventResource', eventResource_arn - The Amazon
-- Resource Name (ARN) of the resource that emitted an event.
--
-- $sel:name:EventResource', eventResource_name - The name
-- of the resource that emitted an event.
--
-- $sel:type':EventResource', eventResource_type - The type
-- of resource that emitted an event.
newEventResource :: EventResource
-- | Information about the integration of DevOps Guru as consumer with
-- another AWS service, such as AWS CodeGuru Profiler via EventBridge.
--
-- See: newEventSourcesConfig smart constructor.
data EventSourcesConfig
EventSourcesConfig' :: Maybe AmazonCodeGuruProfilerIntegration -> EventSourcesConfig
-- | Create a value of EventSourcesConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:amazonCodeGuruProfiler:EventSourcesConfig',
-- eventSourcesConfig_amazonCodeGuruProfiler - Information about
-- whether DevOps Guru is configured to consume recommendations which are
-- generated from AWS CodeGuru Profiler.
newEventSourcesConfig :: EventSourcesConfig
-- | The time range during which an Amazon Web Services event occurred.
-- Amazon Web Services resource events and metrics are analyzed by DevOps
-- Guru to find anomalous behavior and provide recommendations to improve
-- your operational solutions.
--
-- See: newEventTimeRange smart constructor.
data EventTimeRange
EventTimeRange' :: POSIX -> POSIX -> EventTimeRange
-- | Create a value of EventTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:EventTimeRange', eventTimeRange_fromTime -
-- The time when the event started.
--
-- $sel:toTime:EventTimeRange', eventTimeRange_toTime - The
-- time when the event ended.
newEventTimeRange :: UTCTime -> UTCTime -> EventTimeRange
-- | Information about insight feedback received from a customer.
--
-- See: newInsightFeedback smart constructor.
data InsightFeedback
InsightFeedback' :: Maybe InsightFeedbackOption -> Maybe Text -> InsightFeedback
-- | Create a value of InsightFeedback with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:feedback:InsightFeedback', insightFeedback_feedback
-- - The feedback provided by the customer.
--
-- $sel:id:InsightFeedback', insightFeedback_id - The
-- insight feedback ID.
newInsightFeedback :: InsightFeedback
-- | Information about the number of open reactive and proactive insights
-- that can be used to gauge the health of your system.
--
-- See: newInsightHealth smart constructor.
data InsightHealth
InsightHealth' :: Maybe Integer -> Maybe Int -> Maybe Int -> InsightHealth
-- | Create a value of InsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:meanTimeToRecoverInMilliseconds:InsightHealth',
-- insightHealth_meanTimeToRecoverInMilliseconds - The Meant Time
-- to Recover (MTTR) for the insight.
--
-- $sel:openProactiveInsights:InsightHealth',
-- insightHealth_openProactiveInsights - The number of open
-- proactive insights.
--
-- $sel:openReactiveInsights:InsightHealth',
-- insightHealth_openReactiveInsights - The number of open
-- reactive insights.
newInsightHealth :: InsightHealth
-- | A time ranged that specifies when the observed behavior in an insight
-- started and ended.
--
-- See: newInsightTimeRange smart constructor.
data InsightTimeRange
InsightTimeRange' :: Maybe POSIX -> POSIX -> InsightTimeRange
-- | Create a value of InsightTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:InsightTimeRange', insightTimeRange_endTime
-- - The time when the behavior described in an insight ended.
--
-- $sel:startTime:InsightTimeRange',
-- insightTimeRange_startTime - The time when the behavior
-- described in an insight started.
newInsightTimeRange :: UTCTime -> InsightTimeRange
-- | Filters you can use to specify which events are returned when
-- ListEvents is called.
--
-- See: newListEventsFilters smart constructor.
data ListEventsFilters
ListEventsFilters' :: Maybe EventDataSource -> Maybe EventClass -> Maybe Text -> Maybe EventTimeRange -> Maybe Text -> Maybe ResourceCollection -> ListEventsFilters
-- | Create a value of ListEventsFilters with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dataSource:ListEventsFilters',
-- listEventsFilters_dataSource - The source,
-- AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of the events
-- you want returned.
--
-- $sel:eventClass:ListEventsFilters',
-- listEventsFilters_eventClass - The class of the events you want
-- to filter for, such as an infrastructure change, a deployment, or a
-- schema change.
--
-- $sel:eventSource:ListEventsFilters',
-- listEventsFilters_eventSource - The Amazon Web Services source
-- that emitted the events you want to filter for.
--
-- $sel:eventTimeRange:ListEventsFilters',
-- listEventsFilters_eventTimeRange - A time range during which
-- you want the filtered events to have occurred.
--
-- $sel:insightId:ListEventsFilters',
-- listEventsFilters_insightId - An ID of an insight that is
-- related to the events you want to filter for.
--
-- $sel:resourceCollection:ListEventsFilters',
-- listEventsFilters_resourceCollection - Undocumented member.
newListEventsFilters :: ListEventsFilters
-- | Used to filter for insights that have any status.
--
-- See: newListInsightsAnyStatusFilter smart constructor.
data ListInsightsAnyStatusFilter
ListInsightsAnyStatusFilter' :: InsightType -> StartTimeRange -> ListInsightsAnyStatusFilter
-- | Create a value of ListInsightsAnyStatusFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsAnyStatusFilter',
-- listInsightsAnyStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
--
-- $sel:startTimeRange:ListInsightsAnyStatusFilter',
-- listInsightsAnyStatusFilter_startTimeRange - A time range used
-- to specify when the behavior of the filtered insights started.
newListInsightsAnyStatusFilter :: InsightType -> StartTimeRange -> ListInsightsAnyStatusFilter
-- | Used to filter for insights that have the status CLOSED.
--
-- See: newListInsightsClosedStatusFilter smart
-- constructor.
data ListInsightsClosedStatusFilter
ListInsightsClosedStatusFilter' :: InsightType -> EndTimeRange -> ListInsightsClosedStatusFilter
-- | Create a value of ListInsightsClosedStatusFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsClosedStatusFilter',
-- listInsightsClosedStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
--
-- $sel:endTimeRange:ListInsightsClosedStatusFilter',
-- listInsightsClosedStatusFilter_endTimeRange - A time range used
-- to specify when the behavior of the filtered insights ended.
newListInsightsClosedStatusFilter :: InsightType -> EndTimeRange -> ListInsightsClosedStatusFilter
-- | Used to filter for insights that have the status ONGOING.
--
-- See: newListInsightsOngoingStatusFilter smart
-- constructor.
data ListInsightsOngoingStatusFilter
ListInsightsOngoingStatusFilter' :: InsightType -> ListInsightsOngoingStatusFilter
-- | Create a value of ListInsightsOngoingStatusFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ListInsightsOngoingStatusFilter',
-- listInsightsOngoingStatusFilter_type - Use to filter for either
-- REACTIVE or PROACTIVE insights.
newListInsightsOngoingStatusFilter :: InsightType -> ListInsightsOngoingStatusFilter
-- | A filter used by ListInsights to specify which insights to
-- return.
--
-- See: newListInsightsStatusFilter smart constructor.
data ListInsightsStatusFilter
ListInsightsStatusFilter' :: Maybe ListInsightsAnyStatusFilter -> Maybe ListInsightsClosedStatusFilter -> Maybe ListInsightsOngoingStatusFilter -> ListInsightsStatusFilter
-- | Create a value of ListInsightsStatusFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:any:ListInsightsStatusFilter',
-- listInsightsStatusFilter_any - A
-- ListInsightsAnyStatusFilter that specifies insights of any
-- status that are either REACTIVE or PROACTIVE.
--
-- $sel:closed:ListInsightsStatusFilter',
-- listInsightsStatusFilter_closed - A
-- ListInsightsClosedStatusFilter that specifies closed insights
-- that are either REACTIVE or PROACTIVE.
--
-- $sel:ongoing:ListInsightsStatusFilter',
-- listInsightsStatusFilter_ongoing - A
-- ListInsightsAnyStatusFilter that specifies ongoing insights
-- that are either REACTIVE or PROACTIVE.
newListInsightsStatusFilter :: ListInsightsStatusFilter
-- | Filters to determine which monitored resources you want to retrieve.
-- You can filter by resource type or resource permission status.
--
-- See: newListMonitoredResourcesFilters smart constructor.
data ListMonitoredResourcesFilters
ListMonitoredResourcesFilters' :: ResourcePermission -> [ResourceTypeFilter] -> ListMonitoredResourcesFilters
-- | Create a value of ListMonitoredResourcesFilters with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourcePermission:ListMonitoredResourcesFilters',
-- listMonitoredResourcesFilters_resourcePermission - The
-- permission status of a resource.
--
-- $sel:resourceTypeFilters:ListMonitoredResourcesFilters',
-- listMonitoredResourcesFilters_resourceTypeFilters - The type of
-- resource that you wish to retrieve, such as log groups.
newListMonitoredResourcesFilters :: ResourcePermission -> ListMonitoredResourcesFilters
-- | Information about an anomalous log event found within a log group.
--
-- See: newLogAnomalyClass smart constructor.
data LogAnomalyClass
LogAnomalyClass' :: Maybe Text -> Maybe Text -> Maybe LogAnomalyType -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Int -> LogAnomalyClass
-- | Create a value of LogAnomalyClass with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:explanation:LogAnomalyClass',
-- logAnomalyClass_explanation - The explanation for why the log
-- event is considered an anomaly.
--
-- $sel:logAnomalyToken:LogAnomalyClass',
-- logAnomalyClass_logAnomalyToken - The token where the anomaly
-- was detected. This may refer to an exception or another location, or
-- it may be blank for log anomalies such as format anomalies.
--
-- $sel:logAnomalyType:LogAnomalyClass',
-- logAnomalyClass_logAnomalyType - The type of log anomaly that
-- has been detected.
--
-- $sel:logEventId:LogAnomalyClass',
-- logAnomalyClass_logEventId - The ID of the log event.
--
-- $sel:logEventTimestamp:LogAnomalyClass',
-- logAnomalyClass_logEventTimestamp - The time of the first
-- occurrence of the anomalous log event.
--
-- $sel:logStreamName:LogAnomalyClass',
-- logAnomalyClass_logStreamName - The name of the Amazon
-- CloudWatch log stream that the anomalous log event belongs to. A log
-- stream is a sequence of log events that share the same source.
--
-- $sel:numberOfLogLinesOccurrences:LogAnomalyClass',
-- logAnomalyClass_numberOfLogLinesOccurrences - The number of log
-- lines where this anomalous log event occurs.
newLogAnomalyClass :: LogAnomalyClass
-- | A cluster of similar anomalous log events found within a log group.
--
-- See: newLogAnomalyShowcase smart constructor.
data LogAnomalyShowcase
LogAnomalyShowcase' :: Maybe [LogAnomalyClass] -> LogAnomalyShowcase
-- | Create a value of LogAnomalyShowcase with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logAnomalyClasses:LogAnomalyShowcase',
-- logAnomalyShowcase_logAnomalyClasses - A list of anomalous log
-- events that may be related.
newLogAnomalyShowcase :: LogAnomalyShowcase
-- | Information about the integration of DevOps Guru with CloudWatch log
-- groups for log anomaly detection.
--
-- See: newLogsAnomalyDetectionIntegration smart
-- constructor.
data LogsAnomalyDetectionIntegration
LogsAnomalyDetectionIntegration' :: Maybe OptInStatus -> LogsAnomalyDetectionIntegration
-- | Create a value of LogsAnomalyDetectionIntegration with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:LogsAnomalyDetectionIntegration',
-- logsAnomalyDetectionIntegration_optInStatus - Specifies if
-- DevOps Guru is configured to perform log anomaly detection on
-- CloudWatch log groups.
newLogsAnomalyDetectionIntegration :: LogsAnomalyDetectionIntegration
-- | Information about the integration of DevOps Guru with CloudWatch log
-- groups for log anomaly detection. You can use this to update the
-- configuration.
--
-- See: newLogsAnomalyDetectionIntegrationConfig smart
-- constructor.
data LogsAnomalyDetectionIntegrationConfig
LogsAnomalyDetectionIntegrationConfig' :: Maybe OptInStatus -> LogsAnomalyDetectionIntegrationConfig
-- | Create a value of LogsAnomalyDetectionIntegrationConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:LogsAnomalyDetectionIntegrationConfig',
-- logsAnomalyDetectionIntegrationConfig_optInStatus - Specifies
-- if DevOps Guru is configured to perform log anomaly detection on
-- CloudWatch log groups.
newLogsAnomalyDetectionIntegrationConfig :: LogsAnomalyDetectionIntegrationConfig
-- | Information about the resource that is being monitored, including the
-- name of the resource, the type of resource, and whether or not
-- permission is given to DevOps Guru to access that resource.
--
-- See: newMonitoredResourceIdentifier smart constructor.
data MonitoredResourceIdentifier
MonitoredResourceIdentifier' :: Maybe POSIX -> Maybe Text -> Maybe ResourceCollection -> Maybe ResourcePermission -> Maybe Text -> MonitoredResourceIdentifier
-- | Create a value of MonitoredResourceIdentifier with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastUpdated:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_lastUpdated - The time at which
-- DevOps Guru last updated this resource.
--
-- $sel:monitoredResourceName:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_monitoredResourceName - The name of
-- the resource being monitored.
--
-- $sel:resourceCollection:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_resourceCollection - Undocumented
-- member.
--
-- $sel:resourcePermission:MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_resourcePermission - The permission
-- status of a resource.
--
-- $sel:type':MonitoredResourceIdentifier',
-- monitoredResourceIdentifier_type - The type of resource being
-- monitored.
newMonitoredResourceIdentifier :: MonitoredResourceIdentifier
-- | Information about a notification channel. A notification channel is
-- used to notify you when DevOps Guru creates an insight. The one
-- supported notification channel is Amazon Simple Notification Service
-- (Amazon SNS).
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
--
-- See: newNotificationChannel smart constructor.
data NotificationChannel
NotificationChannel' :: Maybe NotificationChannelConfig -> Maybe Text -> NotificationChannel
-- | Create a value of NotificationChannel with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:config:NotificationChannel',
-- notificationChannel_config - A
-- NotificationChannelConfig object that contains information
-- about configured notification channels.
--
-- $sel:id:NotificationChannel', notificationChannel_id -
-- The ID of a notification channel.
newNotificationChannel :: NotificationChannel
-- | Information about notification channels you have configured with
-- DevOps Guru. The one supported notification channel is Amazon Simple
-- Notification Service (Amazon SNS).
--
-- See: newNotificationChannelConfig smart constructor.
data NotificationChannelConfig
NotificationChannelConfig' :: Maybe NotificationFilterConfig -> SnsChannelConfig -> NotificationChannelConfig
-- | Create a value of NotificationChannelConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filters:NotificationChannelConfig',
-- notificationChannelConfig_filters - The filter configurations
-- for the Amazon SNS notification topic you use with DevOps Guru. If you
-- do not provide filter configurations, the default configurations are
-- to receive notifications for all message types of High or
-- Medium severity.
--
-- $sel:sns:NotificationChannelConfig',
-- notificationChannelConfig_sns - Information about a
-- notification channel configured in DevOps Guru to send notifications
-- when insights are created.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
newNotificationChannelConfig :: SnsChannelConfig -> NotificationChannelConfig
-- | The filter configurations for the Amazon SNS notification topic you
-- use with DevOps Guru. You can choose to specify which events or
-- message types to receive notifications for. You can also choose to
-- specify which severity levels to receive notifications for.
--
-- See: newNotificationFilterConfig smart constructor.
data NotificationFilterConfig
NotificationFilterConfig' :: Maybe [NotificationMessageType] -> Maybe [InsightSeverity] -> NotificationFilterConfig
-- | Create a value of NotificationFilterConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:messageTypes:NotificationFilterConfig',
-- notificationFilterConfig_messageTypes - The events that you
-- want to receive notifications for. For example, you can choose to
-- receive notifications only when the severity level is upgraded or a
-- new insight is created.
--
-- $sel:severities:NotificationFilterConfig',
-- notificationFilterConfig_severities - The severity levels that
-- you want to receive notifications for. For example, you can choose to
-- receive notifications only for insights with HIGH and
-- MEDIUM severity levels. For more information, see
-- Understanding insight severities.
newNotificationFilterConfig :: NotificationFilterConfig
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight.
--
-- See: newOpsCenterIntegration smart constructor.
data OpsCenterIntegration
OpsCenterIntegration' :: Maybe OptInStatus -> OpsCenterIntegration
-- | Create a value of OpsCenterIntegration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:OpsCenterIntegration',
-- opsCenterIntegration_optInStatus - Specifies if DevOps Guru is
-- enabled to create an Amazon Web Services Systems Manager OpsItem for
-- each created insight.
newOpsCenterIntegration :: OpsCenterIntegration
-- | Information about whether DevOps Guru is configured to create an
-- OpsItem in Amazon Web Services Systems Manager OpsCenter for each
-- created insight. You can use this to update the configuration.
--
-- See: newOpsCenterIntegrationConfig smart constructor.
data OpsCenterIntegrationConfig
OpsCenterIntegrationConfig' :: Maybe OptInStatus -> OpsCenterIntegrationConfig
-- | Create a value of OpsCenterIntegrationConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:optInStatus:OpsCenterIntegrationConfig',
-- opsCenterIntegrationConfig_optInStatus - Specifies if DevOps
-- Guru is enabled to create an Amazon Web Services Systems Manager
-- OpsItem for each created insight.
newOpsCenterIntegrationConfig :: OpsCenterIntegrationConfig
-- | A logical grouping of Performance Insights metrics for a related
-- subject area. For example, the db.sql dimension group
-- consists of the following dimensions: db.sql.id,
-- db.sql.db_id, db.sql.statement, and
-- db.sql.tokenized_id.
--
-- Each response element returns a maximum of 500 bytes. For larger
-- elements, such as SQL statements, only the first 500 bytes are
-- returned.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricDimensionGroup smart
-- constructor.
data PerformanceInsightsMetricDimensionGroup
PerformanceInsightsMetricDimensionGroup' :: Maybe [Text] -> Maybe Text -> Maybe Natural -> PerformanceInsightsMetricDimensionGroup
-- | Create a value of PerformanceInsightsMetricDimensionGroup with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:dimensions:PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_dimensions - A list of
-- specific dimensions from a dimension group. If this parameter is not
-- present, then it signifies that all of the dimensions in the group
-- were requested or are present in the response.
--
-- Valid values for elements in the Dimensions array are:
--
--
-- - db.application.name - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host.id - The host ID of the connected client (all
-- engines)
-- - db.host.name - The host name of the connected client (all
-- engines)
-- - db.name - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.session_type.name - The type of the current session
-- (only Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql.id - The SQL ID generated by Performance Insights
-- (all engines)
-- - db.sql.db_id - The SQL ID generated by the database (all
-- engines)
-- - db.sql.statement - The SQL text that is being executed
-- (all engines)
-- db.sql.tokenized_id
-- - db.sql_tokenized.id - The SQL digest ID generated by
-- Performance Insights (all engines)
-- - db.sql_tokenized.db_id - SQL digest ID generated by the
-- database (all engines)
-- - db.sql_tokenized.statement - The SQL digest text (all
-- engines)
-- - db.user.id - The ID of the user logged in to the database
-- (all engines)
-- - db.user.name - The name of the user logged in to the
-- database (all engines)
-- - db.wait_event.name - The event for which the backend is
-- waiting (all engines)
-- - db.wait_event.type - The type of event for which the
-- backend is waiting (all engines)
-- - db.wait_event_type.name - The name of the event type for
-- which the backend is waiting (all engines)
--
--
-- $sel:group':PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_group - The name of the
-- dimension group. Its valid values are:
--
--
-- - db - The name of the database to which the client is
-- connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
-- MySQL, Amazon RDS MySQL, and MariaDB)
-- - db.application - The name of the application that is
-- connected to the database (only Aurora PostgreSQL and RDS
-- PostgreSQL)
-- - db.host - The host name of the connected client (all
-- engines)
-- - db.session_type - The type of the current session (only
-- Aurora PostgreSQL and RDS PostgreSQL)
-- - db.sql - The SQL that is currently executing (all
-- engines)
-- - db.sql_tokenized - The SQL digest (all engines)
-- - db.wait_event - The event for which the database backend
-- is waiting (all engines)
-- - db.wait_event_type - The type of event for which the
-- database backend is waiting (all engines)
-- - db.user - The user logged in to the database (all
-- engines)
--
--
-- $sel:limit:PerformanceInsightsMetricDimensionGroup',
-- performanceInsightsMetricDimensionGroup_limit - The maximum
-- number of items to fetch for this dimension group.
newPerformanceInsightsMetricDimensionGroup :: PerformanceInsightsMetricDimensionGroup
-- | A single query to be processed. Use these parameters to query the
-- Performance Insights GetResourceMetrics API to retrieve the
-- metrics for an anomaly. For more information, see
-- GetResourceMetrics in the Amazon RDS
-- Performance Insights API Reference.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricQuery smart
-- constructor.
data PerformanceInsightsMetricQuery
PerformanceInsightsMetricQuery' :: Maybe (HashMap Text Text) -> Maybe PerformanceInsightsMetricDimensionGroup -> Maybe Text -> PerformanceInsightsMetricQuery
-- | Create a value of PerformanceInsightsMetricQuery with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_filter - One or more filters to
-- apply to a Performance Insights GetResourceMetrics API query.
-- Restrictions:
--
--
-- - Any number of filters by the same dimension, as specified in the
-- GroupBy parameter.
-- - A single filter for any other dimension in this dimension
-- group.
--
--
-- $sel:groupBy:PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_groupBy - The specification for
-- how to aggregate the data points from a Performance Insights
-- GetResourceMetrics API query. The Performance Insights query
-- returns all of the dimensions within that group, unless you provide
-- the names of specific dimensions within that group. You can also
-- request that Performance Insights return a limited number of values
-- for a dimension.
--
-- $sel:metric:PerformanceInsightsMetricQuery',
-- performanceInsightsMetricQuery_metric - The name of the meteric
-- used used when querying an Performance Insights
-- GetResourceMetrics API for anomaly metrics.
--
-- Valid values for Metric are:
--
--
-- - db.load.avg - a scaled representation of the number of
-- active sessions for the database engine.
-- - db.sampledload.avg - the raw number of active sessions
-- for the database engine.
--
--
-- If the number of active sessions is less than an internal Performance
-- Insights threshold, db.load.avg and
-- db.sampledload.avg are the same value. If the number of
-- active sessions is greater than the internal threshold, Performance
-- Insights samples the active sessions, with db.load.avg
-- showing the scaled values, db.sampledload.avg showing the raw
-- values, and db.sampledload.avg less than
-- db.load.avg. For most use cases, you can query
-- db.load.avg only.
newPerformanceInsightsMetricQuery :: PerformanceInsightsMetricQuery
-- | Details about Performance Insights metrics.
--
-- Amazon RDS Performance Insights enables you to monitor and explore
-- different dimensions of database load based on data captured from a
-- running DB instance. DB load is measured as average active sessions.
-- Performance Insights provides the data to API consumers as a
-- two-dimensional time-series dataset. The time dimension provides DB
-- load data for each time point in the queried time range. Each time
-- point decomposes overall load in relation to the requested dimensions,
-- measured at that time point. Examples include SQL, Wait event, User,
-- and Host.
--
--
-- - To learn more about Performance Insights and Amazon Aurora DB
-- instances, go to the Amazon Aurora User Guide.
-- - To learn more about Performance Insights and Amazon RDS DB
-- instances, go to the Amazon RDS User Guide.
--
--
-- See: newPerformanceInsightsMetricsDetail smart
-- constructor.
data PerformanceInsightsMetricsDetail
PerformanceInsightsMetricsDetail' :: Maybe Text -> Maybe PerformanceInsightsMetricQuery -> Maybe [PerformanceInsightsReferenceData] -> Maybe [PerformanceInsightsStat] -> Maybe [PerformanceInsightsStat] -> Maybe Text -> PerformanceInsightsMetricsDetail
-- | Create a value of PerformanceInsightsMetricsDetail with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricDisplayName:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_metricDisplayName - The name
-- used for a specific Performance Insights metric.
--
-- $sel:metricQuery:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_metricQuery - A single query
-- to be processed for the metric. For more information, see
-- PerformanceInsightsMetricQuery .
--
-- $sel:referenceData:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_referenceData - For more
-- information, see PerformanceInsightsReferenceData
-- .
--
-- $sel:statsAtAnomaly:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_statsAtAnomaly - The metric
-- statistics during the anomalous period detected by DevOps Guru;
--
-- $sel:statsAtBaseline:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_statsAtBaseline - Typical
-- metric statistics that are not considered anomalous. When DevOps Guru
-- analyzes metrics, it compares them to StatsAtBaseline to help
-- determine if they are anomalous.
--
-- $sel:unit:PerformanceInsightsMetricsDetail',
-- performanceInsightsMetricsDetail_unit - The unit of measure for
-- a metric. For example, a session or a process.
newPerformanceInsightsMetricsDetail :: PerformanceInsightsMetricsDetail
-- | Reference scalar values and other metrics that DevOps Guru displays on
-- a graph in its console along with the actual metrics it analyzed.
-- Compare these reference values to your actual metrics to help you
-- understand anomalous behavior that DevOps Guru detected.
--
-- See: newPerformanceInsightsReferenceComparisonValues
-- smart constructor.
data PerformanceInsightsReferenceComparisonValues
PerformanceInsightsReferenceComparisonValues' :: Maybe PerformanceInsightsReferenceMetric -> Maybe PerformanceInsightsReferenceScalar -> PerformanceInsightsReferenceComparisonValues
-- | Create a value of PerformanceInsightsReferenceComparisonValues
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:referenceMetric:PerformanceInsightsReferenceComparisonValues',
-- performanceInsightsReferenceComparisonValues_referenceMetric -
-- A metric that DevOps Guru compares to actual metric values. This
-- reference metric is used to determine if an actual metric should be
-- considered anomalous.
--
--
-- $sel:referenceScalar:PerformanceInsightsReferenceComparisonValues',
-- performanceInsightsReferenceComparisonValues_referenceScalar -
-- A scalar value DevOps Guru for a metric that DevOps Guru compares to
-- actual metric values. This reference value is used to determine if an
-- actual metric value should be considered anomalous.
newPerformanceInsightsReferenceComparisonValues :: PerformanceInsightsReferenceComparisonValues
-- | Reference data used to evaluate Performance Insights to determine if
-- its performance is anomalous or not.
--
-- See: newPerformanceInsightsReferenceData smart
-- constructor.
data PerformanceInsightsReferenceData
PerformanceInsightsReferenceData' :: Maybe PerformanceInsightsReferenceComparisonValues -> Maybe Text -> PerformanceInsightsReferenceData
-- | Create a value of PerformanceInsightsReferenceData with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comparisonValues:PerformanceInsightsReferenceData',
-- performanceInsightsReferenceData_comparisonValues - The
-- specific reference values used to evaluate the Performance Insights.
-- For more information, see
-- PerformanceInsightsReferenceComparisonValues .
--
-- $sel:name:PerformanceInsightsReferenceData',
-- performanceInsightsReferenceData_name - The name of the
-- reference data.
newPerformanceInsightsReferenceData :: PerformanceInsightsReferenceData
-- | Information about a reference metric used to evaluate Performance
-- Insights.
--
-- See: newPerformanceInsightsReferenceMetric smart
-- constructor.
data PerformanceInsightsReferenceMetric
PerformanceInsightsReferenceMetric' :: Maybe PerformanceInsightsMetricQuery -> PerformanceInsightsReferenceMetric
-- | Create a value of PerformanceInsightsReferenceMetric with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricQuery:PerformanceInsightsReferenceMetric',
-- performanceInsightsReferenceMetric_metricQuery - A query to be
-- processed on the metric.
newPerformanceInsightsReferenceMetric :: PerformanceInsightsReferenceMetric
-- | A reference value to compare Performance Insights metrics against to
-- determine if the metrics demonstrate anomalous behavior.
--
-- See: newPerformanceInsightsReferenceScalar smart
-- constructor.
data PerformanceInsightsReferenceScalar
PerformanceInsightsReferenceScalar' :: Maybe Double -> PerformanceInsightsReferenceScalar
-- | Create a value of PerformanceInsightsReferenceScalar with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:value:PerformanceInsightsReferenceScalar',
-- performanceInsightsReferenceScalar_value - The reference value.
newPerformanceInsightsReferenceScalar :: PerformanceInsightsReferenceScalar
-- | A statistic in a Performance Insights collection.
--
-- See: newPerformanceInsightsStat smart constructor.
data PerformanceInsightsStat
PerformanceInsightsStat' :: Maybe Text -> Maybe Double -> PerformanceInsightsStat
-- | Create a value of PerformanceInsightsStat with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':PerformanceInsightsStat',
-- performanceInsightsStat_type - The statistic type.
--
-- $sel:value:PerformanceInsightsStat',
-- performanceInsightsStat_value - The value of the statistic.
newPerformanceInsightsStat :: PerformanceInsightsStat
-- | The time range during which anomalous behavior in a proactive anomaly
-- or an insight is expected to occur.
--
-- See: newPredictionTimeRange smart constructor.
data PredictionTimeRange
PredictionTimeRange' :: Maybe POSIX -> POSIX -> PredictionTimeRange
-- | Create a value of PredictionTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endTime:PredictionTimeRange',
-- predictionTimeRange_endTime - The time when the behavior in a
-- proactive insight is expected to end.
--
-- $sel:startTime:PredictionTimeRange',
-- predictionTimeRange_startTime - The time range during which a
-- metric limit is expected to be exceeded. This applies to proactive
-- insights only.
newPredictionTimeRange :: UTCTime -> PredictionTimeRange
-- | Information about an anomaly. This object is returned by
-- ListAnomalies.
--
-- See: newProactiveAnomaly smart constructor.
data ProactiveAnomaly
ProactiveAnomaly' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalySourceMetadata -> Maybe AnomalyStatus -> Maybe POSIX -> ProactiveAnomaly
-- | Create a value of ProactiveAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ProactiveAnomaly',
-- proactiveAnomaly_anomalyResources - Information about a
-- resource in which DevOps Guru detected anomalous behavior.
--
-- $sel:anomalyTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ProactiveAnomaly',
-- proactiveAnomaly_associatedInsightId - The ID of the insight
-- that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:id:ProactiveAnomaly', proactiveAnomaly_id - The ID
-- of a proactive anomaly.
--
-- $sel:limit:ProactiveAnomaly', proactiveAnomaly_limit - A
-- threshold that was exceeded by behavior in analyzed resources.
-- Exceeding this threshold is related to the anomalous behavior that
-- generated this anomaly.
--
-- $sel:predictionTimeRange:ProactiveAnomaly',
-- proactiveAnomaly_predictionTimeRange - Undocumented member.
--
-- $sel:resourceCollection:ProactiveAnomaly',
-- proactiveAnomaly_resourceCollection - Undocumented member.
--
-- $sel:severity:ProactiveAnomaly',
-- proactiveAnomaly_severity - The severity of the anomaly. The
-- severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ProactiveAnomaly',
-- proactiveAnomaly_sourceDetails - Details about the source of
-- the analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:sourceMetadata:ProactiveAnomaly',
-- proactiveAnomaly_sourceMetadata - The metadata for the anomaly.
--
-- $sel:status:ProactiveAnomaly', proactiveAnomaly_status -
-- The status of a proactive anomaly.
--
-- $sel:updateTime:ProactiveAnomaly',
-- proactiveAnomaly_updateTime - The time of the anomaly's most
-- recent update.
newProactiveAnomaly :: ProactiveAnomaly
-- | Details about a proactive anomaly. This object is returned by
-- DescribeAnomaly.
--
-- See: newProactiveAnomalySummary smart constructor.
data ProactiveAnomalySummary
ProactiveAnomalySummary' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalySourceMetadata -> Maybe AnomalyStatus -> Maybe POSIX -> ProactiveAnomalySummary
-- | Create a value of ProactiveAnomalySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyResources - Information about a
-- resource in which DevOps Guru detected anomalous behavior.
--
-- $sel:anomalyTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ProactiveAnomalySummary',
-- proactiveAnomalySummary_associatedInsightId - The ID of the
-- insight that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:id:ProactiveAnomalySummary',
-- proactiveAnomalySummary_id - The ID of the anomaly.
--
-- $sel:limit:ProactiveAnomalySummary',
-- proactiveAnomalySummary_limit - A threshold that was exceeded
-- by behavior in analyzed resources. Exceeding this threshold is related
-- to the anomalous behavior that generated this anomaly.
--
-- $sel:predictionTimeRange:ProactiveAnomalySummary',
-- proactiveAnomalySummary_predictionTimeRange - Undocumented
-- member.
--
-- $sel:resourceCollection:ProactiveAnomalySummary',
-- proactiveAnomalySummary_resourceCollection - Undocumented
-- member.
--
-- $sel:severity:ProactiveAnomalySummary',
-- proactiveAnomalySummary_severity - The severity of the anomaly.
-- The severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ProactiveAnomalySummary',
-- proactiveAnomalySummary_sourceDetails - Details about the
-- source of the analyzed operational data that triggered the anomaly.
-- The one supported source is Amazon CloudWatch metrics.
--
-- $sel:sourceMetadata:ProactiveAnomalySummary',
-- proactiveAnomalySummary_sourceMetadata - The metadata of the
-- source which detects proactive anomalies.
--
-- $sel:status:ProactiveAnomalySummary',
-- proactiveAnomalySummary_status - The status of the anomaly.
--
-- $sel:updateTime:ProactiveAnomalySummary',
-- proactiveAnomalySummary_updateTime - The time of the anomaly's
-- most recent update.
newProactiveAnomalySummary :: ProactiveAnomalySummary
-- | Details about a proactive insight. This object is returned by
-- ListInsights.
--
-- See: newProactiveInsight smart constructor.
data ProactiveInsight
ProactiveInsight' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe InsightSeverity -> Maybe Text -> Maybe InsightStatus -> ProactiveInsight
-- | Create a value of ProactiveInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:ProactiveInsight',
-- proactiveInsight_description - Describes the proactive insight.
--
-- $sel:id:ProactiveInsight', proactiveInsight_id - The ID
-- of the proactive insight.
--
-- $sel:insightTimeRange:ProactiveInsight',
-- proactiveInsight_insightTimeRange - Undocumented member.
--
-- $sel:name:ProactiveInsight', proactiveInsight_name - The
-- name of the proactive insight.
--
-- $sel:predictionTimeRange:ProactiveInsight',
-- proactiveInsight_predictionTimeRange - Undocumented member.
--
-- $sel:resourceCollection:ProactiveInsight',
-- proactiveInsight_resourceCollection - Undocumented member.
--
-- $sel:severity:ProactiveInsight',
-- proactiveInsight_severity - The severity of the insight. For
-- more information, see Understanding insight severities in the
-- Amazon DevOps Guru User Guide.
--
-- $sel:ssmOpsItemId:ProactiveInsight',
-- proactiveInsight_ssmOpsItemId - The ID of the Amazon Web
-- Services System Manager OpsItem created for this insight. You must
-- enable the creation of OpstItems insights before they are created for
-- each insight.
--
-- $sel:status:ProactiveInsight', proactiveInsight_status -
-- The status of the proactive insight.
newProactiveInsight :: ProactiveInsight
-- | Details about a proactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newProactiveInsightSummary smart constructor.
data ProactiveInsightSummary
ProactiveInsightSummary' :: Maybe [Text] -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ProactiveInsightSummary
-- | Create a value of ProactiveInsightSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:associatedResourceArns:ProactiveInsightSummary',
-- proactiveInsightSummary_associatedResourceArns - The Amazon
-- Resource Names (ARNs) of the Amazon Web Services resources that
-- generated this insight.
--
-- $sel:id:ProactiveInsightSummary',
-- proactiveInsightSummary_id - The ID of the proactive insight.
--
-- $sel:insightTimeRange:ProactiveInsightSummary',
-- proactiveInsightSummary_insightTimeRange - Undocumented member.
--
-- $sel:name:ProactiveInsightSummary',
-- proactiveInsightSummary_name - The name of the proactive
-- insight.
--
-- $sel:predictionTimeRange:ProactiveInsightSummary',
-- proactiveInsightSummary_predictionTimeRange - Undocumented
-- member.
--
-- $sel:resourceCollection:ProactiveInsightSummary',
-- proactiveInsightSummary_resourceCollection - Undocumented
-- member.
--
-- $sel:serviceCollection:ProactiveInsightSummary',
-- proactiveInsightSummary_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severity:ProactiveInsightSummary',
-- proactiveInsightSummary_severity - The severity of the insight.
-- For more information, see Understanding insight severities in
-- the Amazon DevOps Guru User Guide.
--
-- $sel:status:ProactiveInsightSummary',
-- proactiveInsightSummary_status - The status of the proactive
-- insight.
newProactiveInsightSummary :: ProactiveInsightSummary
-- | Details about a proactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newProactiveOrganizationInsightSummary smart
-- constructor.
data ProactiveOrganizationInsightSummary
ProactiveOrganizationInsightSummary' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe Text -> Maybe PredictionTimeRange -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ProactiveOrganizationInsightSummary
-- | Create a value of ProactiveOrganizationInsightSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_accountId - The ID of the
-- Amazon Web Services account.
--
-- $sel:id:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_id - The ID of the insight
-- summary.
--
-- $sel:insightTimeRange:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_insightTimeRange -
-- Undocumented member.
--
-- $sel:name:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_name - The name of the
-- insight summary.
--
-- $sel:organizationalUnitId:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_organizationalUnitId - The
-- ID of the organizational unit.
--
-- $sel:predictionTimeRange:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_predictionTimeRange -
-- Undocumented member.
--
-- $sel:resourceCollection:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_serviceCollection -
-- Undocumented member.
--
-- $sel:severity:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_severity - An array of
-- severity values used to search for insights. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:status:ProactiveOrganizationInsightSummary',
-- proactiveOrganizationInsightSummary_status - An array of status
-- values used to search for insights.
newProactiveOrganizationInsightSummary :: ProactiveOrganizationInsightSummary
-- | Details about a reactive anomaly. This object is returned by
-- ListAnomalies.
--
-- See: newReactiveAnomaly smart constructor.
data ReactiveAnomaly
ReactiveAnomaly' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalyStatus -> Maybe AnomalyType -> ReactiveAnomaly
-- | Create a value of ReactiveAnomaly with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ReactiveAnomaly',
-- reactiveAnomaly_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ReactiveAnomaly',
-- reactiveAnomaly_anomalyResources - The Amazon Web Services
-- resources in which anomalous behavior was detected by DevOps Guru.
--
-- $sel:anomalyTimeRange:ReactiveAnomaly',
-- reactiveAnomaly_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ReactiveAnomaly',
-- reactiveAnomaly_associatedInsightId - The ID of the insight
-- that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:causalAnomalyId:ReactiveAnomaly',
-- reactiveAnomaly_causalAnomalyId - The ID of the causal anomaly
-- that is associated with this reactive anomaly. The ID of a `CAUSAL`
-- anomaly is always `NULL`.
--
-- $sel:description:ReactiveAnomaly',
-- reactiveAnomaly_description - A description of the reactive
-- anomaly.
--
-- $sel:id:ReactiveAnomaly', reactiveAnomaly_id - The ID of
-- the reactive anomaly.
--
-- ReactiveAnomaly, reactiveAnomaly_name - The name of the
-- reactive anomaly.
--
-- $sel:resourceCollection:ReactiveAnomaly',
-- reactiveAnomaly_resourceCollection - Undocumented member.
--
-- $sel:severity:ReactiveAnomaly', reactiveAnomaly_severity
-- - The severity of the anomaly. The severity of anomalies that generate
-- an insight determine that insight's severity. For more information,
-- see Understanding insight severities in the Amazon DevOps
-- Guru User Guide.
--
-- $sel:sourceDetails:ReactiveAnomaly',
-- reactiveAnomaly_sourceDetails - Details about the source of the
-- analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:status:ReactiveAnomaly', reactiveAnomaly_status -
-- The status of the anomaly.
--
-- ReactiveAnomaly, reactiveAnomaly_type - The type of the
-- reactive anomaly. It can be one of the following types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
newReactiveAnomaly :: ReactiveAnomaly
-- | Details about a reactive anomaly. This object is returned by
-- DescribeAnomaly.
--
-- See: newReactiveAnomalySummary smart constructor.
data ReactiveAnomalySummary
ReactiveAnomalySummary' :: Maybe AnomalyReportedTimeRange -> Maybe [AnomalyResource] -> Maybe AnomalyTimeRange -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe AnomalySeverity -> Maybe AnomalySourceDetails -> Maybe AnomalyStatus -> Maybe AnomalyType -> ReactiveAnomalySummary
-- | Create a value of ReactiveAnomalySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyReportedTimeRange:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyReportedTimeRange - An
-- AnomalyReportedTimeRange object that specifies the time range
-- between when the anomaly is opened and the time when it is closed.
--
-- $sel:anomalyResources:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyResources - The Amazon Web
-- Services resources in which anomalous behavior was detected by DevOps
-- Guru.
--
-- $sel:anomalyTimeRange:ReactiveAnomalySummary',
-- reactiveAnomalySummary_anomalyTimeRange - Undocumented member.
--
-- $sel:associatedInsightId:ReactiveAnomalySummary',
-- reactiveAnomalySummary_associatedInsightId - The ID of the
-- insight that contains this anomaly. An insight is composed of related
-- anomalies.
--
-- $sel:causalAnomalyId:ReactiveAnomalySummary',
-- reactiveAnomalySummary_causalAnomalyId - The ID of the causal
-- anomaly that is associated with this reactive anomaly. The ID of a
-- `CAUSAL` anomaly is always `NULL`.
--
-- $sel:description:ReactiveAnomalySummary',
-- reactiveAnomalySummary_description - A description of the
-- reactive anomaly.
--
-- $sel:id:ReactiveAnomalySummary',
-- reactiveAnomalySummary_id - The ID of the reactive anomaly.
--
-- ReactiveAnomalySummary, reactiveAnomalySummary_name -
-- The name of the reactive anomaly.
--
-- $sel:resourceCollection:ReactiveAnomalySummary',
-- reactiveAnomalySummary_resourceCollection - Undocumented
-- member.
--
-- $sel:severity:ReactiveAnomalySummary',
-- reactiveAnomalySummary_severity - The severity of the anomaly.
-- The severity of anomalies that generate an insight determine that
-- insight's severity. For more information, see Understanding insight
-- severities in the Amazon DevOps Guru User Guide.
--
-- $sel:sourceDetails:ReactiveAnomalySummary',
-- reactiveAnomalySummary_sourceDetails - Details about the source
-- of the analyzed operational data that triggered the anomaly. The one
-- supported source is Amazon CloudWatch metrics.
--
-- $sel:status:ReactiveAnomalySummary',
-- reactiveAnomalySummary_status - The status of the reactive
-- anomaly.
--
-- ReactiveAnomalySummary, reactiveAnomalySummary_type -
-- The type of the reactive anomaly. It can be one of the following
-- types.
--
--
-- - CAUSAL - the anomaly can cause a new insight.
-- - CONTEXTUAL - the anomaly contains additional information
-- about an insight or its causal anomaly.
--
newReactiveAnomalySummary :: ReactiveAnomalySummary
-- | Information about a reactive insight. This object is returned by
-- ListInsights.
--
-- See: newReactiveInsight smart constructor.
data ReactiveInsight
ReactiveInsight' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe ResourceCollection -> Maybe InsightSeverity -> Maybe Text -> Maybe InsightStatus -> ReactiveInsight
-- | Create a value of ReactiveInsight with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:ReactiveInsight',
-- reactiveInsight_description - Describes the reactive insight.
--
-- $sel:id:ReactiveInsight', reactiveInsight_id - The ID of
-- a reactive insight.
--
-- $sel:insightTimeRange:ReactiveInsight',
-- reactiveInsight_insightTimeRange - Undocumented member.
--
-- $sel:name:ReactiveInsight', reactiveInsight_name - The
-- name of a reactive insight.
--
-- $sel:resourceCollection:ReactiveInsight',
-- reactiveInsight_resourceCollection - Undocumented member.
--
-- $sel:severity:ReactiveInsight', reactiveInsight_severity
-- - The severity of the insight. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:ssmOpsItemId:ReactiveInsight',
-- reactiveInsight_ssmOpsItemId - The ID of the Amazon Web
-- Services System Manager OpsItem created for this insight. You must
-- enable the creation of OpstItems insights before they are created for
-- each insight.
--
-- $sel:status:ReactiveInsight', reactiveInsight_status -
-- The status of a reactive insight.
newReactiveInsight :: ReactiveInsight
-- | Information about a reactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newReactiveInsightSummary smart constructor.
data ReactiveInsightSummary
ReactiveInsightSummary' :: Maybe [Text] -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ReactiveInsightSummary
-- | Create a value of ReactiveInsightSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:associatedResourceArns:ReactiveInsightSummary',
-- reactiveInsightSummary_associatedResourceArns - The Amazon
-- Resource Names (ARNs) of the Amazon Web Services resources that
-- generated this insight.
--
-- $sel:id:ReactiveInsightSummary',
-- reactiveInsightSummary_id - The ID of a reactive summary.
--
-- $sel:insightTimeRange:ReactiveInsightSummary',
-- reactiveInsightSummary_insightTimeRange - Undocumented member.
--
-- $sel:name:ReactiveInsightSummary',
-- reactiveInsightSummary_name - The name of a reactive insight.
--
-- $sel:resourceCollection:ReactiveInsightSummary',
-- reactiveInsightSummary_resourceCollection - Undocumented
-- member.
--
-- $sel:serviceCollection:ReactiveInsightSummary',
-- reactiveInsightSummary_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severity:ReactiveInsightSummary',
-- reactiveInsightSummary_severity - The severity of the insight.
-- For more information, see Understanding insight severities in
-- the Amazon DevOps Guru User Guide.
--
-- $sel:status:ReactiveInsightSummary',
-- reactiveInsightSummary_status - The status of a reactive
-- insight.
newReactiveInsightSummary :: ReactiveInsightSummary
-- | Information about a reactive insight. This object is returned by
-- DescribeInsight.
--
-- See: newReactiveOrganizationInsightSummary smart
-- constructor.
data ReactiveOrganizationInsightSummary
ReactiveOrganizationInsightSummary' :: Maybe Text -> Maybe Text -> Maybe InsightTimeRange -> Maybe Text -> Maybe Text -> Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe InsightSeverity -> Maybe InsightStatus -> ReactiveOrganizationInsightSummary
-- | Create a value of ReactiveOrganizationInsightSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_accountId - The ID of the
-- Amazon Web Services account.
--
-- $sel:id:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_id - The ID of the insight
-- summary.
--
-- $sel:insightTimeRange:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_insightTimeRange -
-- Undocumented member.
--
-- $sel:name:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_name - The name of the
-- insight summary.
--
-- $sel:organizationalUnitId:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_organizationalUnitId - The
-- ID of the organizational unit.
--
-- $sel:resourceCollection:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_serviceCollection -
-- Undocumented member.
--
-- $sel:severity:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_severity - An array of
-- severity values used to search for insights. For more information, see
-- Understanding insight severities in the Amazon DevOps Guru
-- User Guide.
--
-- $sel:status:ReactiveOrganizationInsightSummary',
-- reactiveOrganizationInsightSummary_status - An array of status
-- values used to search for insights.
newReactiveOrganizationInsightSummary :: ReactiveOrganizationInsightSummary
-- | Recommendation information to help you remediate detected anomalous
-- behavior that generated an insight.
--
-- See: newRecommendation smart constructor.
data Recommendation
Recommendation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [RecommendationRelatedAnomaly] -> Maybe [RecommendationRelatedEvent] -> Recommendation
-- | Create a value of Recommendation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:category:Recommendation', recommendation_category -
-- The category type of the recommendation.
--
-- $sel:description:Recommendation',
-- recommendation_description - A description of the problem.
--
-- $sel:link:Recommendation', recommendation_link - A
-- hyperlink to information to help you address the problem.
--
-- Recommendation, recommendation_name - The name of the
-- recommendation.
--
-- $sel:reason:Recommendation', recommendation_reason - The
-- reason DevOps Guru flagged the anomalous behavior as a problem.
--
-- $sel:relatedAnomalies:Recommendation',
-- recommendation_relatedAnomalies - Anomalies that are related to
-- the problem. Use these Anomalies to learn more about what's happening
-- and to help address the issue.
--
-- $sel:relatedEvents:Recommendation',
-- recommendation_relatedEvents - Events that are related to the
-- problem. Use these events to learn more about what's happening and to
-- help address the issue.
newRecommendation :: Recommendation
-- | Information about an anomaly that is related to a recommendation.
--
-- See: newRecommendationRelatedAnomaly smart constructor.
data RecommendationRelatedAnomaly
RecommendationRelatedAnomaly' :: Maybe Text -> Maybe [RecommendationRelatedAnomalyResource] -> Maybe [RecommendationRelatedAnomalySourceDetail] -> RecommendationRelatedAnomaly
-- | Create a value of RecommendationRelatedAnomaly with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:anomalyId:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_anomalyId - The ID of an anomaly
-- that generated the insight with this recommendation.
--
-- $sel:resources:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_resources - An array of objects
-- that represent resources in which DevOps Guru detected anomalous
-- behavior. Each object contains the name and type of the resource.
--
-- $sel:sourceDetails:RecommendationRelatedAnomaly',
-- recommendationRelatedAnomaly_sourceDetails - Information about
-- where the anomalous behavior related the recommendation was found. For
-- example, details in Amazon CloudWatch metrics.
newRecommendationRelatedAnomaly :: RecommendationRelatedAnomaly
-- | Information about a resource in which DevOps Guru detected anomalous
-- behavior.
--
-- See: newRecommendationRelatedAnomalyResource smart
-- constructor.
data RecommendationRelatedAnomalyResource
RecommendationRelatedAnomalyResource' :: Maybe Text -> Maybe Text -> RecommendationRelatedAnomalyResource
-- | Create a value of RecommendationRelatedAnomalyResource with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:RecommendationRelatedAnomalyResource',
-- recommendationRelatedAnomalyResource_name - The name of the
-- resource.
--
-- $sel:type':RecommendationRelatedAnomalyResource',
-- recommendationRelatedAnomalyResource_type - The type of the
-- resource. Resource types take the same form that is used by Amazon Web
-- Services CloudFormation resource type identifiers,
-- service-provider::service-name::data-type-name. For example,
-- AWS::RDS::DBCluster. For more information, see Amazon Web
-- Services resource and property types reference in the Amazon
-- Web Services CloudFormation User Guide.
newRecommendationRelatedAnomalyResource :: RecommendationRelatedAnomalyResource
-- | Contains an array of
-- RecommendationRelatedCloudWatchMetricsSourceDetail objects
-- that contain the name and namespace of an Amazon CloudWatch metric.
--
-- See: newRecommendationRelatedAnomalySourceDetail smart
-- constructor.
data RecommendationRelatedAnomalySourceDetail
RecommendationRelatedAnomalySourceDetail' :: Maybe [RecommendationRelatedCloudWatchMetricsSourceDetail] -> RecommendationRelatedAnomalySourceDetail
-- | Create a value of RecommendationRelatedAnomalySourceDetail with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudWatchMetrics:RecommendationRelatedAnomalySourceDetail',
-- recommendationRelatedAnomalySourceDetail_cloudWatchMetrics - An
-- array of CloudWatchMetricsDetail objects that contains
-- information about the analyzed metrics that displayed anomalous
-- behavior.
newRecommendationRelatedAnomalySourceDetail :: RecommendationRelatedAnomalySourceDetail
-- | Information about an Amazon CloudWatch metric that is analyzed by
-- DevOps Guru. It is one of many analyzed metrics that are used to
-- generate insights.
--
-- See:
-- newRecommendationRelatedCloudWatchMetricsSourceDetail smart
-- constructor.
data RecommendationRelatedCloudWatchMetricsSourceDetail
RecommendationRelatedCloudWatchMetricsSourceDetail' :: Maybe Text -> Maybe Text -> RecommendationRelatedCloudWatchMetricsSourceDetail
-- | Create a value of
-- RecommendationRelatedCloudWatchMetricsSourceDetail with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:metricName:RecommendationRelatedCloudWatchMetricsSourceDetail',
-- recommendationRelatedCloudWatchMetricsSourceDetail_metricName -
-- The name of the CloudWatch metric.
--
--
-- $sel:namespace:RecommendationRelatedCloudWatchMetricsSourceDetail',
-- recommendationRelatedCloudWatchMetricsSourceDetail_namespace -
-- The namespace of the CloudWatch metric. A namespace is a container for
-- CloudWatch metrics.
newRecommendationRelatedCloudWatchMetricsSourceDetail :: RecommendationRelatedCloudWatchMetricsSourceDetail
-- | Information about an event that is related to a recommendation.
--
-- See: newRecommendationRelatedEvent smart constructor.
data RecommendationRelatedEvent
RecommendationRelatedEvent' :: Maybe Text -> Maybe [RecommendationRelatedEventResource] -> RecommendationRelatedEvent
-- | Create a value of RecommendationRelatedEvent with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RecommendationRelatedEvent,
-- recommendationRelatedEvent_name - The name of the event. This
-- corresponds to the Name field in an Event object.
--
-- $sel:resources:RecommendationRelatedEvent',
-- recommendationRelatedEvent_resources - A
-- ResourceCollection object that contains arrays of the names
-- of Amazon Web Services CloudFormation stacks. You can specify up to
-- 500 Amazon Web Services CloudFormation stacks.
newRecommendationRelatedEvent :: RecommendationRelatedEvent
-- | Information about an Amazon Web Services resource that emitted and
-- event that is related to a recommendation in an insight.
--
-- See: newRecommendationRelatedEventResource smart
-- constructor.
data RecommendationRelatedEventResource
RecommendationRelatedEventResource' :: Maybe Text -> Maybe Text -> RecommendationRelatedEventResource
-- | Create a value of RecommendationRelatedEventResource with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:RecommendationRelatedEventResource',
-- recommendationRelatedEventResource_name - The name of the
-- resource that emitted the event. This corresponds to the Name
-- field in an EventResource object.
--
-- $sel:type':RecommendationRelatedEventResource',
-- recommendationRelatedEventResource_type - The type of the
-- resource that emitted the event. This corresponds to the Type
-- field in an EventResource object.
newRecommendationRelatedEventResource :: RecommendationRelatedEventResource
-- | A collection of Amazon Web Services resources supported by DevOps
-- Guru. The two types of Amazon Web Services resource collections
-- supported are Amazon Web Services CloudFormation stacks and Amazon Web
-- Services resources that contain the same Amazon Web Services tag.
-- DevOps Guru can be configured to analyze the Amazon Web Services
-- resources that are defined in the stacks or that are tagged using the
-- same tag key. You can specify up to 500 Amazon Web Services
-- CloudFormation stacks.
--
-- See: newResourceCollection smart constructor.
data ResourceCollection
ResourceCollection' :: Maybe CloudFormationCollection -> Maybe [TagCollection] -> ResourceCollection
-- | Create a value of ResourceCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:ResourceCollection',
-- resourceCollection_cloudFormation - An array of the names of
-- Amazon Web Services CloudFormation stacks. The stacks define Amazon
-- Web Services resources that DevOps Guru analyzes. You can specify up
-- to 500 Amazon Web Services CloudFormation stacks.
--
-- $sel:tags:ResourceCollection', resourceCollection_tags -
-- The Amazon Web Services tags that are used by resources in the
-- resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newResourceCollection :: ResourceCollection
-- | Information about a filter used to specify which Amazon Web Services
-- resources are analyzed for anomalous behavior by DevOps Guru.
--
-- See: newResourceCollectionFilter smart constructor.
data ResourceCollectionFilter
ResourceCollectionFilter' :: Maybe CloudFormationCollectionFilter -> Maybe [TagCollectionFilter] -> ResourceCollectionFilter
-- | Create a value of ResourceCollectionFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:ResourceCollectionFilter',
-- resourceCollectionFilter_cloudFormation - Information about
-- Amazon Web Services CloudFormation stacks. You can use up to 500
-- stacks to specify which Amazon Web Services resources in your account
-- to analyze. For more information, see Stacks in the Amazon
-- Web Services CloudFormation User Guide.
--
-- $sel:tags:ResourceCollectionFilter',
-- resourceCollectionFilter_tags - The Amazon Web Services tags
-- used to filter the resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newResourceCollectionFilter :: ResourceCollectionFilter
-- | Specifies one or more severity values and one or more status values
-- that are used to search for insights.
--
-- See: newSearchInsightsFilters smart constructor.
data SearchInsightsFilters
SearchInsightsFilters' :: Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe [InsightSeverity] -> Maybe [InsightStatus] -> SearchInsightsFilters
-- | Create a value of SearchInsightsFilters with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceCollection:SearchInsightsFilters',
-- searchInsightsFilters_resourceCollection - Undocumented member.
--
-- $sel:serviceCollection:SearchInsightsFilters',
-- searchInsightsFilters_serviceCollection - A collection of the
-- names of Amazon Web Services services.
--
-- $sel:severities:SearchInsightsFilters',
-- searchInsightsFilters_severities - An array of severity values
-- used to search for insights.
--
-- $sel:statuses:SearchInsightsFilters',
-- searchInsightsFilters_statuses - An array of status values used
-- to search for insights.
newSearchInsightsFilters :: SearchInsightsFilters
-- | Filters you can use to specify which events are returned when
-- ListEvents is called.
--
-- See: newSearchOrganizationInsightsFilters smart
-- constructor.
data SearchOrganizationInsightsFilters
SearchOrganizationInsightsFilters' :: Maybe ResourceCollection -> Maybe ServiceCollection -> Maybe [InsightSeverity] -> Maybe [InsightStatus] -> SearchOrganizationInsightsFilters
-- | Create a value of SearchOrganizationInsightsFilters with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceCollection:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_resourceCollection -
-- Undocumented member.
--
-- $sel:serviceCollection:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_serviceCollection -
-- Undocumented member.
--
-- $sel:severities:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_severities - An array of
-- severity values used to search for insights.
--
-- $sel:statuses:SearchOrganizationInsightsFilters',
-- searchOrganizationInsightsFilters_statuses - An array of status
-- values used to search for insights.
newSearchOrganizationInsightsFilters :: SearchOrganizationInsightsFilters
-- | A collection of the names of Amazon Web Services services.
--
-- See: newServiceCollection smart constructor.
data ServiceCollection
ServiceCollection' :: Maybe [ServiceName] -> ServiceCollection
-- | Create a value of ServiceCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceNames:ServiceCollection',
-- serviceCollection_serviceNames - An array of strings that each
-- specifies the name of an Amazon Web Services service.
newServiceCollection :: ServiceCollection
-- | Represents the health of an Amazon Web Services service.
--
-- See: newServiceHealth smart constructor.
data ServiceHealth
ServiceHealth' :: Maybe Integer -> Maybe ServiceInsightHealth -> Maybe ServiceName -> ServiceHealth
-- | Create a value of ServiceHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:ServiceHealth',
-- serviceHealth_analyzedResourceCount - Number of resources that
-- DevOps Guru is monitoring in an analyzed Amazon Web Services service.
--
-- $sel:insight:ServiceHealth', serviceHealth_insight -
-- Represents the health of an Amazon Web Services service. This is a
-- ServiceInsightHealth that contains the number of open
-- proactive and reactive insights for this service.
--
-- $sel:serviceName:ServiceHealth',
-- serviceHealth_serviceName - The name of the Amazon Web Services
-- service.
newServiceHealth :: ServiceHealth
-- | Contains the number of open proactive and reactive insights in an
-- analyzed Amazon Web Services service.
--
-- See: newServiceInsightHealth smart constructor.
data ServiceInsightHealth
ServiceInsightHealth' :: Maybe Int -> Maybe Int -> ServiceInsightHealth
-- | Create a value of ServiceInsightHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:openProactiveInsights:ServiceInsightHealth',
-- serviceInsightHealth_openProactiveInsights - The number of open
-- proactive insights in the Amazon Web Services service
--
-- $sel:openReactiveInsights:ServiceInsightHealth',
-- serviceInsightHealth_openReactiveInsights - The number of open
-- reactive insights in the Amazon Web Services service
newServiceInsightHealth :: ServiceInsightHealth
-- | Information about the integration of DevOps Guru with another Amazon
-- Web Services service, such as Amazon Web Services Systems Manager.
--
-- See: newServiceIntegrationConfig smart constructor.
data ServiceIntegrationConfig
ServiceIntegrationConfig' :: Maybe LogsAnomalyDetectionIntegration -> Maybe OpsCenterIntegration -> ServiceIntegrationConfig
-- | Create a value of ServiceIntegrationConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logsAnomalyDetection:ServiceIntegrationConfig',
-- serviceIntegrationConfig_logsAnomalyDetection - Information
-- about whether DevOps Guru is configured to perform log anomaly
-- detection on Amazon CloudWatch log groups.
--
-- $sel:opsCenter:ServiceIntegrationConfig',
-- serviceIntegrationConfig_opsCenter - Information about whether
-- DevOps Guru is configured to create an OpsItem in Amazon Web Services
-- Systems Manager OpsCenter for each created insight.
newServiceIntegrationConfig :: ServiceIntegrationConfig
-- | An object that contains information about the estimated monthly cost
-- to analyze an Amazon Web Services resource. For more information, see
-- Estimate your Amazon DevOps Guru costs and Amazon DevOps
-- Guru pricing.
--
-- See: newServiceResourceCost smart constructor.
data ServiceResourceCost
ServiceResourceCost' :: Maybe Double -> Maybe Int -> Maybe CostEstimationServiceResourceState -> Maybe Text -> Maybe Double -> ServiceResourceCost
-- | Create a value of ServiceResourceCost with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cost:ServiceResourceCost', serviceResourceCost_cost
-- - The total estimated monthly cost to analyze the active resources for
-- this resource.
--
-- $sel:count:ServiceResourceCost',
-- serviceResourceCost_count - The number of active resources
-- analyzed for this service to create a monthly cost estimate.
--
-- $sel:state:ServiceResourceCost',
-- serviceResourceCost_state - The state of the resource. The
-- resource is ACTIVE if it produces metrics, events, or logs
-- within an hour, otherwise it is INACTIVE. You pay for the
-- number of active Amazon Web Services resource hours analyzed for each
-- resource. Inactive resources are not charged.
--
-- $sel:type':ServiceResourceCost',
-- serviceResourceCost_type - The type of the Amazon Web Services
-- resource.
--
-- $sel:unitCost:ServiceResourceCost',
-- serviceResourceCost_unitCost - The price per hour to analyze
-- the resources in the service. For more information, see Estimate
-- your Amazon DevOps Guru costs and Amazon DevOps Guru
-- pricing.
newServiceResourceCost :: ServiceResourceCost
-- | Contains the Amazon Resource Name (ARN) of an Amazon Simple
-- Notification Service topic.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. DevOps Guru only
-- supports standard SNS topics. For more information, see Permissions
-- for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic in another account, you must attach a
-- policy to it that grants DevOps Guru permission to it notifications.
-- DevOps Guru adds the required policy on your behalf to send
-- notifications using Amazon SNS in your account. For more information,
-- see Permissions for cross account Amazon SNS topics.
--
-- If you use an Amazon SNS topic that is encrypted by an Amazon Web
-- Services Key Management Service customer-managed key (CMK), then you
-- must add permissions to the CMK. For more information, see
-- Permissions for Amazon Web Services KMS–encrypted Amazon SNS
-- topics.
--
-- See: newSnsChannelConfig smart constructor.
data SnsChannelConfig
SnsChannelConfig' :: Maybe Text -> SnsChannelConfig
-- | Create a value of SnsChannelConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:topicArn:SnsChannelConfig',
-- snsChannelConfig_topicArn - The Amazon Resource Name (ARN) of
-- an Amazon Simple Notification Service topic.
newSnsChannelConfig :: SnsChannelConfig
-- | A time range used to specify when the behavior of an insight or
-- anomaly started.
--
-- See: newStartTimeRange smart constructor.
data StartTimeRange
StartTimeRange' :: Maybe POSIX -> Maybe POSIX -> StartTimeRange
-- | Create a value of StartTimeRange with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fromTime:StartTimeRange', startTimeRange_fromTime -
-- The start time of the time range.
--
-- $sel:toTime:StartTimeRange', startTimeRange_toTime - The
-- end time of the time range.
newStartTimeRange :: StartTimeRange
-- | A collection of Amazon Web Services tags.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- See: newTagCollection smart constructor.
data TagCollection
TagCollection' :: Text -> [Text] -> TagCollection
-- | Create a value of TagCollection with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCollection',
-- tagCollection_appBoundaryKey - An Amazon Web Services tag
-- key that is used to identify the Amazon Web Services resources
-- that DevOps Guru analyzes. All Amazon Web Services resources in your
-- account and Region tagged with this key make up your DevOps
-- Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCollection', tagCollection_tagValues -
-- The values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCollection :: Text -> TagCollection
-- | A collection of Amazon Web Services tags used to filter insights. This
-- is used to return insights generated from only resources that contain
-- the tags in the tag collection.
--
-- See: newTagCollectionFilter smart constructor.
data TagCollectionFilter
TagCollectionFilter' :: Text -> [Text] -> TagCollectionFilter
-- | Create a value of TagCollectionFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCollectionFilter',
-- tagCollectionFilter_appBoundaryKey - An Amazon Web Services tag
-- key that is used to identify the Amazon Web Services resources
-- that DevOps Guru analyzes. All Amazon Web Services resources in your
-- account and Region tagged with this key make up your DevOps
-- Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCollectionFilter',
-- tagCollectionFilter_tagValues - The values in an Amazon Web
-- Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCollectionFilter :: Text -> TagCollectionFilter
-- | Information about a collection of Amazon Web Services resources that
-- are identified by an Amazon Web Services tag. This collection of
-- resources is used to create a monthly cost estimate for DevOps Guru to
-- analyze Amazon Web Services resources. The maximum number of tags you
-- can specify for a cost estimate is one. The estimate created is for
-- the cost to analyze the Amazon Web Services resources defined by the
-- tag. For more information, see Stacks in the Amazon Web
-- Services CloudFormation User Guide.
--
-- See: newTagCostEstimationResourceCollectionFilter smart
-- constructor.
data TagCostEstimationResourceCollectionFilter
TagCostEstimationResourceCollectionFilter' :: Text -> NonEmpty Text -> TagCostEstimationResourceCollectionFilter
-- | Create a value of TagCostEstimationResourceCollectionFilter
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:TagCostEstimationResourceCollectionFilter',
-- tagCostEstimationResourceCollectionFilter_appBoundaryKey - An
-- Amazon Web Services tag key that is used to identify the Amazon
-- Web Services resources that DevOps Guru analyzes. All Amazon Web
-- Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:TagCostEstimationResourceCollectionFilter',
-- tagCostEstimationResourceCollectionFilter_tagValues - The
-- values in an Amazon Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagCostEstimationResourceCollectionFilter :: Text -> NonEmpty Text -> TagCostEstimationResourceCollectionFilter
-- | Information about the health of Amazon Web Services resources in your
-- account that are specified by an Amazon Web Services tag key.
--
-- See: newTagHealth smart constructor.
data TagHealth
TagHealth' :: Maybe Integer -> Maybe Text -> Maybe InsightHealth -> Maybe Text -> TagHealth
-- | Create a value of TagHealth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:analyzedResourceCount:TagHealth',
-- tagHealth_analyzedResourceCount - Number of resources that
-- DevOps Guru is monitoring in your account that are specified by an
-- Amazon Web Services tag.
--
-- $sel:appBoundaryKey:TagHealth', tagHealth_appBoundaryKey
-- - An Amazon Web Services tag key that is used to identify the
-- Amazon Web Services resources that DevOps Guru analyzes. All Amazon
-- Web Services resources in your account and Region tagged with this
-- key make up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:insight:TagHealth', tagHealth_insight - Information
-- about the health of the Amazon Web Services resources in your account
-- that are specified by an Amazon Web Services tag, including the number
-- of open proactive, open reactive insights, and the Mean Time to
-- Recover (MTTR) of closed insights.
--
-- $sel:tagValue:TagHealth', tagHealth_tagValue - The value
-- in an Amazon Web Services tag.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newTagHealth :: TagHealth
-- | A pair that contains metric values at the respective timestamp.
--
-- See: newTimestampMetricValuePair smart constructor.
data TimestampMetricValuePair
TimestampMetricValuePair' :: Maybe Double -> Maybe POSIX -> TimestampMetricValuePair
-- | Create a value of TimestampMetricValuePair with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:metricValue:TimestampMetricValuePair',
-- timestampMetricValuePair_metricValue - Value of the anomalous
-- metric data point at respective Timestamp.
--
-- $sel:timestamp:TimestampMetricValuePair',
-- timestampMetricValuePair_timestamp - A Timestamp that
-- specifies the time the event occurred.
newTimestampMetricValuePair :: TimestampMetricValuePair
-- | Contains the names of Amazon Web Services CloudFormation stacks used
-- to update a collection of stacks. You can specify up to 500 Amazon Web
-- Services CloudFormation stacks.
--
-- See: newUpdateCloudFormationCollectionFilter smart
-- constructor.
data UpdateCloudFormationCollectionFilter
UpdateCloudFormationCollectionFilter' :: Maybe [Text] -> UpdateCloudFormationCollectionFilter
-- | Create a value of UpdateCloudFormationCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stackNames:UpdateCloudFormationCollectionFilter',
-- updateCloudFormationCollectionFilter_stackNames - An array of
-- the names of the Amazon Web Services CloudFormation stacks to update.
-- You can specify up to 500 Amazon Web Services CloudFormation stacks.
newUpdateCloudFormationCollectionFilter :: UpdateCloudFormationCollectionFilter
-- | Contains information used to update a collection of Amazon Web
-- Services resources.
--
-- See: newUpdateResourceCollectionFilter smart
-- constructor.
data UpdateResourceCollectionFilter
UpdateResourceCollectionFilter' :: Maybe UpdateCloudFormationCollectionFilter -> Maybe [UpdateTagCollectionFilter] -> UpdateResourceCollectionFilter
-- | Create a value of UpdateResourceCollectionFilter with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudFormation:UpdateResourceCollectionFilter',
-- updateResourceCollectionFilter_cloudFormation - A collection of
-- Amazon Web Services CloudFormation stacks. You can specify up to 500
-- Amazon Web Services CloudFormation stacks.
--
-- $sel:tags:UpdateResourceCollectionFilter',
-- updateResourceCollectionFilter_tags - The updated Amazon Web
-- Services tags used to filter the resources in the resource collection.
--
-- Tags help you identify and organize your Amazon Web Services
-- resources. Many Amazon Web Services services support tagging, so you
-- can assign the same tag to resources from different services to
-- indicate that the resources are related. For example, you can assign
-- the same tag to an Amazon DynamoDB table resource that you assign to
-- an Lambda function. For more information about using tags, see the
-- Tagging best practices whitepaper.
--
-- Each Amazon Web Services tag has two parts.
--
--
-- - A tag key (for example, CostCenter,
-- Environment, Project, or Secret). Tag
-- keys are case-sensitive.
-- - An optional field known as a tag value (for example,
-- 111122223333, Production, or a team name). Omitting
-- the tag value is the same as using an empty string. Like tag
-- keys, tag values are case-sensitive.
--
--
-- Together these are known as key-value pairs.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
newUpdateResourceCollectionFilter :: UpdateResourceCollectionFilter
-- | Information about updating the integration status of an Amazon Web
-- Services service, such as Amazon Web Services Systems Manager, with
-- DevOps Guru.
--
-- See: newUpdateServiceIntegrationConfig smart
-- constructor.
data UpdateServiceIntegrationConfig
UpdateServiceIntegrationConfig' :: Maybe LogsAnomalyDetectionIntegrationConfig -> Maybe OpsCenterIntegrationConfig -> UpdateServiceIntegrationConfig
-- | Create a value of UpdateServiceIntegrationConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logsAnomalyDetection:UpdateServiceIntegrationConfig',
-- updateServiceIntegrationConfig_logsAnomalyDetection -
-- Information about whether DevOps Guru is configured to perform log
-- anomaly detection on Amazon CloudWatch log groups.
--
-- $sel:opsCenter:UpdateServiceIntegrationConfig',
-- updateServiceIntegrationConfig_opsCenter - Undocumented member.
newUpdateServiceIntegrationConfig :: UpdateServiceIntegrationConfig
-- | A new collection of Amazon Web Services resources that are defined by
-- an Amazon Web Services tag or tag key/value pair.
--
-- See: newUpdateTagCollectionFilter smart constructor.
data UpdateTagCollectionFilter
UpdateTagCollectionFilter' :: Text -> [Text] -> UpdateTagCollectionFilter
-- | Create a value of UpdateTagCollectionFilter with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:appBoundaryKey:UpdateTagCollectionFilter',
-- updateTagCollectionFilter_appBoundaryKey - An Amazon Web
-- Services tag key that is used to identify the Amazon Web
-- Services resources that DevOps Guru analyzes. All Amazon Web Services
-- resources in your account and Region tagged with this key make
-- up your DevOps Guru application and analysis boundary.
--
-- The string used for a key in a tag that you use to define your
-- resource coverage must begin with the prefix Devops-guru-.
-- The tag key might be
-- DevOps-Guru-deployment-application or
-- devops-guru-rds-application. When you create a key,
-- the case of characters in the key can be whatever you choose.
-- After you create a key, it is case-sensitive. For example,
-- DevOps Guru works with a key named devops-guru-rds and
-- a key named DevOps-Guru-RDS, and these act as two
-- different keys. Possible key/value pairs in your
-- application might be Devops-Guru-production-application/RDS
-- or Devops-Guru-production-application/containers.
--
-- $sel:tagValues:UpdateTagCollectionFilter',
-- updateTagCollectionFilter_tagValues - The values in an Amazon
-- Web Services tag collection.
--
-- The tag's value is an optional field used to associate a string
-- with the tag key (for example, 111122223333,
-- Production, or a team name). The key and value
-- are the tag's key pair. Omitting the tag value is the
-- same as using an empty string. Like tag keys, tag values
-- are case-sensitive. You can specify a maximum of 256 characters for a
-- tag value.
newUpdateTagCollectionFilter :: Text -> UpdateTagCollectionFilter