-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon CodeGuru Profiler SDK. -- -- Derived from API version 2019-07-18 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.CodeGuruProfiler.Lens -- and are suitable for use with a lens package such as lens or -- lens-family-core. -- -- See Amazonka.CodeGuruProfiler and the AWS documentation -- to get started. @package amazonka-codeguruprofiler @version 2.0 module Amazonka.CodeGuruProfiler.Types.ActionGroup newtype ActionGroup ActionGroup' :: Text -> ActionGroup [fromActionGroup] :: ActionGroup -> Text pattern ActionGroup_AgentPermissions :: ActionGroup instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.ActionGroup.ActionGroup module Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig -- | Specifies whether profiling is enabled or disabled for a profiling -- group. It is used by ConfigureAgent to enable or disable -- profiling for a profiling group. -- -- See: newAgentOrchestrationConfig smart constructor. data AgentOrchestrationConfig AgentOrchestrationConfig' :: Bool -> AgentOrchestrationConfig -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. [$sel:profilingEnabled:AgentOrchestrationConfig'] :: AgentOrchestrationConfig -> Bool -- | Create a value of AgentOrchestrationConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:profilingEnabled:AgentOrchestrationConfig', -- agentOrchestrationConfig_profilingEnabled - A Boolean -- that specifies whether the profiling agent collects profiling data or -- not. Set to true to enable profiling. newAgentOrchestrationConfig :: Bool -> AgentOrchestrationConfig -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. agentOrchestrationConfig_profilingEnabled :: Lens' AgentOrchestrationConfig Bool instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig.AgentOrchestrationConfig module Amazonka.CodeGuruProfiler.Types.AgentParameterField newtype AgentParameterField AgentParameterField' :: Text -> AgentParameterField [fromAgentParameterField] :: AgentParameterField -> Text pattern AgentParameterField_MaxStackDepth :: AgentParameterField pattern AgentParameterField_MemoryUsageLimitPercent :: AgentParameterField pattern AgentParameterField_MinimumTimeForReportingInMilliseconds :: AgentParameterField pattern AgentParameterField_ReportingIntervalInMilliseconds :: AgentParameterField pattern AgentParameterField_SamplingIntervalInMilliseconds :: AgentParameterField instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.AgentParameterField.AgentParameterField module Amazonka.CodeGuruProfiler.Types.AgentConfiguration -- | The response of ConfigureAgent that specifies if an agent -- profiles or not and for how long to return profiling data. -- -- See: newAgentConfiguration smart constructor. data AgentConfiguration AgentConfiguration' :: Maybe (HashMap AgentParameterField Text) -> Int -> Bool -> AgentConfiguration -- | Parameters used by the profiler. The valid parameters are: -- -- [$sel:agentParameters:AgentConfiguration'] :: AgentConfiguration -> Maybe (HashMap AgentParameterField Text) -- | How long a profiling agent should send profiling data using -- ConfigureAgent . For example, if this is set to 300, the -- profiling agent calls ConfigureAgent every 5 minutes to submit -- the profiled data collected during that period. [$sel:periodInSeconds:AgentConfiguration'] :: AgentConfiguration -> Int -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. [$sel:shouldProfile:AgentConfiguration'] :: AgentConfiguration -> Bool -- | Create a value of AgentConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:agentParameters:AgentConfiguration', -- agentConfiguration_agentParameters - Parameters used by the -- profiler. The valid parameters are: -- -- -- -- $sel:periodInSeconds:AgentConfiguration', -- agentConfiguration_periodInSeconds - How long a profiling agent -- should send profiling data using ConfigureAgent . For example, -- if this is set to 300, the profiling agent calls ConfigureAgent -- every 5 minutes to submit the profiled data collected during that -- period. -- -- $sel:shouldProfile:AgentConfiguration', -- agentConfiguration_shouldProfile - A Boolean that -- specifies whether the profiling agent collects profiling data or not. -- Set to true to enable profiling. newAgentConfiguration :: Int -> Bool -> AgentConfiguration -- | Parameters used by the profiler. The valid parameters are: -- -- agentConfiguration_agentParameters :: Lens' AgentConfiguration (Maybe (HashMap AgentParameterField Text)) -- | How long a profiling agent should send profiling data using -- ConfigureAgent . For example, if this is set to 300, the -- profiling agent calls ConfigureAgent every 5 minutes to submit -- the profiled data collected during that period. agentConfiguration_periodInSeconds :: Lens' AgentConfiguration Int -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. agentConfiguration_shouldProfile :: Lens' AgentConfiguration Bool instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.AgentConfiguration.AgentConfiguration instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.AgentConfiguration.AgentConfiguration instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.AgentConfiguration.AgentConfiguration instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.AgentConfiguration.AgentConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.AgentConfiguration.AgentConfiguration instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.AgentConfiguration.AgentConfiguration instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.AgentConfiguration.AgentConfiguration module Amazonka.CodeGuruProfiler.Types.AggregationPeriod newtype AggregationPeriod AggregationPeriod' :: Text -> AggregationPeriod [fromAggregationPeriod] :: AggregationPeriod -> Text pattern AggregationPeriod_P1D :: AggregationPeriod pattern AggregationPeriod_PT1H :: AggregationPeriod pattern AggregationPeriod_PT5M :: AggregationPeriod instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.AggregationPeriod.AggregationPeriod module Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime -- | Specifies the aggregation period and aggregation start time for an -- aggregated profile. An aggregated profile is used to collect posted -- agent profiles during an aggregation period. There are three possible -- aggregation periods (1 day, 1 hour, or 5 minutes). -- -- See: newAggregatedProfileTime smart constructor. data AggregatedProfileTime AggregatedProfileTime' :: Maybe AggregationPeriod -> Maybe ISO8601 -> AggregatedProfileTime -- | The aggregation period. This indicates the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. Use one of three valid durations that are specified using the -- ISO 8601 format. -- -- [$sel:period:AggregatedProfileTime'] :: AggregatedProfileTime -> Maybe AggregationPeriod -- | The time that aggregation of posted agent profiles for a profiling -- group starts. The aggregation profile contains profiles posted by the -- agent starting at this time for an aggregation period specified by the -- period property of the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:start:AggregatedProfileTime'] :: AggregatedProfileTime -> Maybe ISO8601 -- | Create a value of AggregatedProfileTime with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:period:AggregatedProfileTime', -- aggregatedProfileTime_period - The aggregation period. This -- indicates the period during which an aggregation profile collects -- posted agent profiles for a profiling group. Use one of three valid -- durations that are specified using the ISO 8601 format. -- -- -- -- $sel:start:AggregatedProfileTime', -- aggregatedProfileTime_start - The time that aggregation of -- posted agent profiles for a profiling group starts. The aggregation -- profile contains profiles posted by the agent starting at this time -- for an aggregation period specified by the period property of -- the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. newAggregatedProfileTime :: AggregatedProfileTime -- | The aggregation period. This indicates the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. Use one of three valid durations that are specified using the -- ISO 8601 format. -- -- aggregatedProfileTime_period :: Lens' AggregatedProfileTime (Maybe AggregationPeriod) -- | The time that aggregation of posted agent profiles for a profiling -- group starts. The aggregation profile contains profiles posted by the -- agent starting at this time for an aggregation period specified by the -- period property of the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. aggregatedProfileTime_start :: Lens' AggregatedProfileTime (Maybe UTCTime) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime.AggregatedProfileTime instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime.AggregatedProfileTime instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime.AggregatedProfileTime instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime.AggregatedProfileTime instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime.AggregatedProfileTime instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime.AggregatedProfileTime instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime.AggregatedProfileTime module Amazonka.CodeGuruProfiler.Types.ComputePlatform newtype ComputePlatform ComputePlatform' :: Text -> ComputePlatform [fromComputePlatform] :: ComputePlatform -> Text pattern ComputePlatform_AWSLambda :: ComputePlatform pattern ComputePlatform_Default :: ComputePlatform instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.ComputePlatform.ComputePlatform module Amazonka.CodeGuruProfiler.Types.EventPublisher newtype EventPublisher EventPublisher' :: Text -> EventPublisher [fromEventPublisher] :: EventPublisher -> Text pattern EventPublisher_AnomalyDetection :: EventPublisher instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.EventPublisher.EventPublisher module Amazonka.CodeGuruProfiler.Types.Channel -- | Notification medium for users to get alerted for events that occur in -- application profile. We support SNS topic as a notification channel. -- -- See: newChannel smart constructor. data Channel Channel' :: Maybe Text -> NonEmpty EventPublisher -> Text -> Channel -- | Unique identifier for each Channel in the notification -- configuration of a Profiling Group. A random UUID for channelId is -- used when adding a channel to the notification configuration if not -- specified in the request. [$sel:id:Channel'] :: Channel -> Maybe Text -- | List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. [$sel:eventPublishers:Channel'] :: Channel -> NonEmpty EventPublisher -- | Unique arn of the resource to be used for notifications. We support a -- valid SNS topic arn as a channel uri. [$sel:uri:Channel'] :: Channel -> Text -- | Create a value of Channel with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:id:Channel', channel_id - Unique identifier for -- each Channel in the notification configuration of a Profiling -- Group. A random UUID for channelId is used when adding a channel to -- the notification configuration if not specified in the request. -- -- $sel:eventPublishers:Channel', channel_eventPublishers - -- List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. -- -- $sel:uri:Channel', channel_uri - Unique arn of the -- resource to be used for notifications. We support a valid SNS topic -- arn as a channel uri. newChannel :: NonEmpty EventPublisher -> Text -> Channel -- | Unique identifier for each Channel in the notification -- configuration of a Profiling Group. A random UUID for channelId is -- used when adding a channel to the notification configuration if not -- specified in the request. channel_id :: Lens' Channel (Maybe Text) -- | List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. channel_eventPublishers :: Lens' Channel (NonEmpty EventPublisher) -- | Unique arn of the resource to be used for notifications. We support a -- valid SNS topic arn as a channel uri. channel_uri :: Lens' Channel Text instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.Channel.Channel instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.Channel.Channel instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.Channel.Channel instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.Channel.Channel instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.Channel.Channel instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.Channel.Channel instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.Channel.Channel instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.Channel.Channel module Amazonka.CodeGuruProfiler.Types.FeedbackType newtype FeedbackType FeedbackType' :: Text -> FeedbackType [fromFeedbackType] :: FeedbackType -> Text pattern FeedbackType_Negative :: FeedbackType pattern FeedbackType_Positive :: FeedbackType instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.FeedbackType.FeedbackType module Amazonka.CodeGuruProfiler.Types.FindingsReportSummary -- | Information about potential recommendations that might be created from -- the analysis of profiling data. -- -- See: newFindingsReportSummary smart constructor. data FindingsReportSummary FindingsReportSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> FindingsReportSummary -- | The universally unique identifier (UUID) of the recommendation report. [$sel:id:FindingsReportSummary'] :: FindingsReportSummary -> Maybe Text -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:profileEndTime:FindingsReportSummary'] :: FindingsReportSummary -> Maybe ISO8601 -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:profileStartTime:FindingsReportSummary'] :: FindingsReportSummary -> Maybe ISO8601 -- | The name of the profiling group that is associated with the analysis -- data. [$sel:profilingGroupName:FindingsReportSummary'] :: FindingsReportSummary -> Maybe Text -- | The total number of different recommendations that were found by the -- analysis. [$sel:totalNumberOfFindings:FindingsReportSummary'] :: FindingsReportSummary -> Maybe Int -- | Create a value of FindingsReportSummary with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:id:FindingsReportSummary', findingsReportSummary_id -- - The universally unique identifier (UUID) of the recommendation -- report. -- -- $sel:profileEndTime:FindingsReportSummary', -- findingsReportSummary_profileEndTime - The end time of the -- period during which the metric is flagged as anomalous. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:profileStartTime:FindingsReportSummary', -- findingsReportSummary_profileStartTime - The start time of the -- profile the analysis data is about. This is specified using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:profilingGroupName:FindingsReportSummary', -- findingsReportSummary_profilingGroupName - The name of the -- profiling group that is associated with the analysis data. -- -- $sel:totalNumberOfFindings:FindingsReportSummary', -- findingsReportSummary_totalNumberOfFindings - The total number -- of different recommendations that were found by the analysis. newFindingsReportSummary :: FindingsReportSummary -- | The universally unique identifier (UUID) of the recommendation report. findingsReportSummary_id :: Lens' FindingsReportSummary (Maybe Text) -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. findingsReportSummary_profileEndTime :: Lens' FindingsReportSummary (Maybe UTCTime) -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. findingsReportSummary_profileStartTime :: Lens' FindingsReportSummary (Maybe UTCTime) -- | The name of the profiling group that is associated with the analysis -- data. findingsReportSummary_profilingGroupName :: Lens' FindingsReportSummary (Maybe Text) -- | The total number of different recommendations that were found by the -- analysis. findingsReportSummary_totalNumberOfFindings :: Lens' FindingsReportSummary (Maybe Int) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.FindingsReportSummary.FindingsReportSummary instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.FindingsReportSummary.FindingsReportSummary instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.FindingsReportSummary.FindingsReportSummary instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.FindingsReportSummary.FindingsReportSummary instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.FindingsReportSummary.FindingsReportSummary instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.FindingsReportSummary.FindingsReportSummary instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.FindingsReportSummary.FindingsReportSummary module Amazonka.CodeGuruProfiler.Types.Match -- | The part of a profile that contains a recommendation found during -- analysis. -- -- See: newMatch smart constructor. data Match Match' :: Maybe Text -> Maybe Int -> Maybe Double -> Match -- | The location in the profiling graph that contains a recommendation -- found during analysis. [$sel:frameAddress:Match'] :: Match -> Maybe Text -- | The target frame that triggered a match. [$sel:targetFramesIndex:Match'] :: Match -> Maybe Int -- | The value in the profile data that exceeded the recommendation -- threshold. [$sel:thresholdBreachValue:Match'] :: Match -> Maybe Double -- | Create a value of Match with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameAddress:Match', match_frameAddress - The -- location in the profiling graph that contains a recommendation found -- during analysis. -- -- $sel:targetFramesIndex:Match', match_targetFramesIndex - -- The target frame that triggered a match. -- -- $sel:thresholdBreachValue:Match', -- match_thresholdBreachValue - The value in the profile data that -- exceeded the recommendation threshold. newMatch :: Match -- | The location in the profiling graph that contains a recommendation -- found during analysis. match_frameAddress :: Lens' Match (Maybe Text) -- | The target frame that triggered a match. match_targetFramesIndex :: Lens' Match (Maybe Int) -- | The value in the profile data that exceeded the recommendation -- threshold. match_thresholdBreachValue :: Lens' Match (Maybe Double) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.Match.Match instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.Match.Match instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.Match.Match instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.Match.Match instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.Match.Match instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.Match.Match instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.Match.Match module Amazonka.CodeGuruProfiler.Types.MetadataField newtype MetadataField MetadataField' :: Text -> MetadataField [fromMetadataField] :: MetadataField -> Text pattern MetadataField_AgentId :: MetadataField pattern MetadataField_AwsRequestId :: MetadataField pattern MetadataField_ComputePlatform :: MetadataField pattern MetadataField_ExecutionEnvironment :: MetadataField pattern MetadataField_LambdaFunctionArn :: MetadataField pattern MetadataField_LambdaMemoryLimitInMB :: MetadataField pattern MetadataField_LambdaPreviousExecutionTimeInMilliseconds :: MetadataField pattern MetadataField_LambdaRemainingTimeInMilliseconds :: MetadataField pattern MetadataField_LambdaTimeGapBetweenInvokesInMilliseconds :: MetadataField instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.MetadataField.MetadataField module Amazonka.CodeGuruProfiler.Types.MetricType newtype MetricType MetricType' :: Text -> MetricType [fromMetricType] :: MetricType -> Text pattern MetricType_AggregatedRelativeTotalTime :: MetricType instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.MetricType.MetricType instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.MetricType.MetricType module Amazonka.CodeGuruProfiler.Types.Metric -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric what is analyzed to create recommendations. It -- includes the name of the frame that was analyzed and the type and -- thread states used to derive the metric value for that frame. -- -- See: newMetric smart constructor. data Metric Metric' :: Text -> [Text] -> MetricType -> Metric -- | The name of the method that appears as a frame in any stack in a -- profile. [$sel:frameName:Metric'] :: Metric -> Text -- | The list of application runtime thread states that is used to -- calculate the metric value for the frame. [$sel:threadStates:Metric'] :: Metric -> [Text] -- | A type that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurences of all frames in a profile. [$sel:type':Metric'] :: Metric -> MetricType -- | Create a value of Metric with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameName:Metric', metric_frameName - The name of -- the method that appears as a frame in any stack in a profile. -- -- $sel:threadStates:Metric', metric_threadStates - The -- list of application runtime thread states that is used to calculate -- the metric value for the frame. -- -- $sel:type':Metric', metric_type - A type that specifies -- how a metric for a frame is analyzed. The supported value -- AggregatedRelativeTotalTime is an aggregation of the metric -- value for one frame that is calculated across the occurences of all -- frames in a profile. newMetric :: Text -> MetricType -> Metric -- | The name of the method that appears as a frame in any stack in a -- profile. metric_frameName :: Lens' Metric Text -- | The list of application runtime thread states that is used to -- calculate the metric value for the frame. metric_threadStates :: Lens' Metric [Text] -- | A type that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurences of all frames in a profile. metric_type :: Lens' Metric MetricType instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.Metric.Metric instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.Metric.Metric instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.Metric.Metric instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.Metric.Metric instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.Metric.Metric instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.Metric.Metric instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.Metric.Metric module Amazonka.CodeGuruProfiler.Types.FrameMetric -- | The frame name, metric type, and thread states. These are used to -- derive the value of the metric for the frame. -- -- See: newFrameMetric smart constructor. data FrameMetric FrameMetric' :: Text -> [Text] -> MetricType -> FrameMetric -- | Name of the method common across the multiple occurrences of a frame -- in an application profile. [$sel:frameName:FrameMetric'] :: FrameMetric -> Text -- | List of application runtime thread states used to get the counts for a -- frame a derive a metric value. [$sel:threadStates:FrameMetric'] :: FrameMetric -> [Text] -- | A type of aggregation that specifies how a metric for a frame is -- analyzed. The supported value AggregatedRelativeTotalTime is -- an aggregation of the metric value for one frame that is calculated -- across the occurrences of all frames in a profile. [$sel:type':FrameMetric'] :: FrameMetric -> MetricType -- | Create a value of FrameMetric with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameName:FrameMetric', frameMetric_frameName - -- Name of the method common across the multiple occurrences of a frame -- in an application profile. -- -- $sel:threadStates:FrameMetric', frameMetric_threadStates -- - List of application runtime thread states used to get the counts for -- a frame a derive a metric value. -- -- $sel:type':FrameMetric', frameMetric_type - A type of -- aggregation that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurrences of all frames in a profile. newFrameMetric :: Text -> MetricType -> FrameMetric -- | Name of the method common across the multiple occurrences of a frame -- in an application profile. frameMetric_frameName :: Lens' FrameMetric Text -- | List of application runtime thread states used to get the counts for a -- frame a derive a metric value. frameMetric_threadStates :: Lens' FrameMetric [Text] -- | A type of aggregation that specifies how a metric for a frame is -- analyzed. The supported value AggregatedRelativeTotalTime is -- an aggregation of the metric value for one frame that is calculated -- across the occurrences of all frames in a profile. frameMetric_type :: Lens' FrameMetric MetricType instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.FrameMetric.FrameMetric module Amazonka.CodeGuruProfiler.Types.FrameMetricDatum -- | Information about a frame metric and its values. -- -- See: newFrameMetricDatum smart constructor. data FrameMetricDatum FrameMetricDatum' :: FrameMetric -> [Double] -> FrameMetricDatum [$sel:frameMetric:FrameMetricDatum'] :: FrameMetricDatum -> FrameMetric -- | A list of values that are associated with a frame metric. [$sel:values:FrameMetricDatum'] :: FrameMetricDatum -> [Double] -- | Create a value of FrameMetricDatum with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameMetric:FrameMetricDatum', -- frameMetricDatum_frameMetric - Undocumented member. -- -- $sel:values:FrameMetricDatum', frameMetricDatum_values - -- A list of values that are associated with a frame metric. newFrameMetricDatum :: FrameMetric -> FrameMetricDatum -- | Undocumented member. frameMetricDatum_frameMetric :: Lens' FrameMetricDatum FrameMetric -- | A list of values that are associated with a frame metric. frameMetricDatum_values :: Lens' FrameMetricDatum [Double] instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.FrameMetricDatum.FrameMetricDatum instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.FrameMetricDatum.FrameMetricDatum instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.FrameMetricDatum.FrameMetricDatum instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.FrameMetricDatum.FrameMetricDatum instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.FrameMetricDatum.FrameMetricDatum instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.FrameMetricDatum.FrameMetricDatum instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.FrameMetricDatum.FrameMetricDatum module Amazonka.CodeGuruProfiler.Types.NotificationConfiguration -- | The configuration for notifications stored for each profiling group. -- This includes up to to two channels and a list of event publishers -- associated with each channel. -- -- See: newNotificationConfiguration smart constructor. data NotificationConfiguration NotificationConfiguration' :: Maybe (NonEmpty Channel) -> NotificationConfiguration -- | List of up to two channels to be used for sending notifications for -- events detected from the application profile. [$sel:channels:NotificationConfiguration'] :: NotificationConfiguration -> Maybe (NonEmpty Channel) -- | Create a value of NotificationConfiguration with all optional -- fields omitted. -- -- Use 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:NotificationConfiguration', -- notificationConfiguration_channels - List of up to two channels -- to be used for sending notifications for events detected from the -- application profile. newNotificationConfiguration :: NotificationConfiguration -- | List of up to two channels to be used for sending notifications for -- events detected from the application profile. notificationConfiguration_channels :: Lens' NotificationConfiguration (Maybe (NonEmpty Channel)) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.NotificationConfiguration.NotificationConfiguration instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.NotificationConfiguration.NotificationConfiguration instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.NotificationConfiguration.NotificationConfiguration instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.NotificationConfiguration.NotificationConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.NotificationConfiguration.NotificationConfiguration instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.NotificationConfiguration.NotificationConfiguration instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.NotificationConfiguration.NotificationConfiguration module Amazonka.CodeGuruProfiler.Types.OrderBy newtype OrderBy OrderBy' :: Text -> OrderBy [fromOrderBy] :: OrderBy -> Text pattern OrderBy_TimestampAscending :: OrderBy pattern OrderBy_TimestampDescending :: OrderBy instance Amazonka.Data.XML.ToXML Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Amazonka.Data.XML.FromXML Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Amazonka.Data.Headers.ToHeader Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Amazonka.Data.Log.ToLog Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Amazonka.Data.Text.ToText Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Amazonka.Data.Text.FromText Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance GHC.Classes.Ord Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.OrderBy.OrderBy module Amazonka.CodeGuruProfiler.Types.Pattern -- | A set of rules used to make a recommendation during an analysis. -- -- See: newPattern smart constructor. data Pattern Pattern' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [[Text]] -> Maybe Double -> Pattern -- | A list of the different counters used to determine if there is a -- match. [$sel:countersToAggregate:Pattern'] :: Pattern -> Maybe [Text] -- | The description of the recommendation. This explains a potential -- inefficiency in a profiled application. [$sel:description:Pattern'] :: Pattern -> Maybe Text -- | The universally unique identifier (UUID) of this pattern. [$sel:id:Pattern'] :: Pattern -> Maybe Text -- | The name for this pattern. [$sel:name:Pattern'] :: Pattern -> Maybe Text -- | A string that contains the steps recommended to address the potential -- inefficiency. [$sel:resolutionSteps:Pattern'] :: Pattern -> Maybe Text -- | A list of frame names that were searched during the analysis that -- generated a recommendation. [$sel:targetFrames:Pattern'] :: Pattern -> Maybe [[Text]] -- | The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. [$sel:thresholdPercent:Pattern'] :: Pattern -> Maybe Double -- | Create a value of Pattern with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:countersToAggregate:Pattern', -- pattern_countersToAggregate - A list of the different counters -- used to determine if there is a match. -- -- $sel:description:Pattern', pattern_description - The -- description of the recommendation. This explains a potential -- inefficiency in a profiled application. -- -- $sel:id:Pattern', pattern_id - The universally unique -- identifier (UUID) of this pattern. -- -- $sel:name:Pattern', pattern_name - The name for this -- pattern. -- -- $sel:resolutionSteps:Pattern', pattern_resolutionSteps - -- A string that contains the steps recommended to address the potential -- inefficiency. -- -- $sel:targetFrames:Pattern', pattern_targetFrames - A -- list of frame names that were searched during the analysis that -- generated a recommendation. -- -- $sel:thresholdPercent:Pattern', pattern_thresholdPercent -- - The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. newPattern :: Pattern -- | A list of the different counters used to determine if there is a -- match. pattern_countersToAggregate :: Lens' Pattern (Maybe [Text]) -- | The description of the recommendation. This explains a potential -- inefficiency in a profiled application. pattern_description :: Lens' Pattern (Maybe Text) -- | The universally unique identifier (UUID) of this pattern. pattern_id :: Lens' Pattern (Maybe Text) -- | The name for this pattern. pattern_name :: Lens' Pattern (Maybe Text) -- | A string that contains the steps recommended to address the potential -- inefficiency. pattern_resolutionSteps :: Lens' Pattern (Maybe Text) -- | A list of frame names that were searched during the analysis that -- generated a recommendation. pattern_targetFrames :: Lens' Pattern (Maybe [[Text]]) -- | The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. pattern_thresholdPercent :: Lens' Pattern (Maybe Double) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.Pattern.Pattern instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.Pattern.Pattern instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.Pattern.Pattern instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.Pattern.Pattern instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.Pattern.Pattern instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.Pattern.Pattern instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.Pattern.Pattern module Amazonka.CodeGuruProfiler.Types.ProfileTime -- | Contains the start time of a profile. -- -- See: newProfileTime smart constructor. data ProfileTime ProfileTime' :: Maybe ISO8601 -> ProfileTime -- | The start time of a profile. It is specified using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. [$sel:start:ProfileTime'] :: ProfileTime -> Maybe ISO8601 -- | Create a value of ProfileTime with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:start:ProfileTime', profileTime_start - The start -- time of a profile. It is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. newProfileTime :: ProfileTime -- | The start time of a profile. It is specified using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. profileTime_start :: Lens' ProfileTime (Maybe UTCTime) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.ProfileTime.ProfileTime instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.ProfileTime.ProfileTime instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.ProfileTime.ProfileTime instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.ProfileTime.ProfileTime instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.ProfileTime.ProfileTime instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.ProfileTime.ProfileTime instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.ProfileTime.ProfileTime module Amazonka.CodeGuruProfiler.Types.ProfilingStatus -- | Profiling status includes information about the last time a profile -- agent pinged back, the last time a profile was received, and the -- aggregation period and start time for the most recent aggregated -- profile. -- -- See: newProfilingStatus smart constructor. data ProfilingStatus ProfilingStatus' :: Maybe ISO8601 -> Maybe ISO8601 -> Maybe AggregatedProfileTime -> ProfilingStatus -- | The date and time when the profiling agent most recently pinged back. -- Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:latestAgentOrchestratedAt:ProfilingStatus'] :: ProfilingStatus -> Maybe ISO8601 -- | The date and time when the most recent profile was received. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:latestAgentProfileReportedAt:ProfilingStatus'] :: ProfilingStatus -> Maybe ISO8601 -- | An AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. [$sel:latestAggregatedProfile:ProfilingStatus'] :: ProfilingStatus -> Maybe AggregatedProfileTime -- | Create a value of ProfilingStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:latestAgentOrchestratedAt:ProfilingStatus', -- profilingStatus_latestAgentOrchestratedAt - The date and time -- when the profiling agent most recently pinged back. Specify using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:latestAgentProfileReportedAt:ProfilingStatus', -- profilingStatus_latestAgentProfileReportedAt - The date and -- time when the most recent profile was received. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:latestAggregatedProfile:ProfilingStatus', -- profilingStatus_latestAggregatedProfile - An -- AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. newProfilingStatus :: ProfilingStatus -- | The date and time when the profiling agent most recently pinged back. -- Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. profilingStatus_latestAgentOrchestratedAt :: Lens' ProfilingStatus (Maybe UTCTime) -- | The date and time when the most recent profile was received. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. profilingStatus_latestAgentProfileReportedAt :: Lens' ProfilingStatus (Maybe UTCTime) -- | An AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. profilingStatus_latestAggregatedProfile :: Lens' ProfilingStatus (Maybe AggregatedProfileTime) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.ProfilingStatus.ProfilingStatus instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.ProfilingStatus.ProfilingStatus instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.ProfilingStatus.ProfilingStatus instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.ProfilingStatus.ProfilingStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.ProfilingStatus.ProfilingStatus instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.ProfilingStatus.ProfilingStatus instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.ProfilingStatus.ProfilingStatus module Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription -- | Contains information about a profiling group. -- -- See: newProfilingGroupDescription smart constructor. data ProfilingGroupDescription ProfilingGroupDescription' :: Maybe AgentOrchestrationConfig -> Maybe Text -> Maybe ComputePlatform -> Maybe ISO8601 -> Maybe Text -> Maybe ProfilingStatus -> Maybe (HashMap Text Text) -> Maybe ISO8601 -> ProfilingGroupDescription -- | An AgentOrchestrationConfig object that indicates if the -- profiling group is enabled for profiled or not. [$sel:agentOrchestrationConfig:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe AgentOrchestrationConfig -- | The Amazon Resource Name (ARN) identifying the profiling group -- resource. [$sel:arn:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe Text -- | The compute platform of the profiling group. If it is set to -- AWSLambda, then the profiled application runs on AWS Lambda. -- If it is set to Default, then the profiled application runs -- on a compute platform that is not AWS Lambda, such an Amazon EC2 -- instance, an on-premises server, or a different platform. The default -- is Default. [$sel:computePlatform:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ComputePlatform -- | The time when the profiling group was created. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:createdAt:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ISO8601 -- | The name of the profiling group. [$sel:name:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe Text -- | A ProfilingStatus object that includes information about the -- last time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. [$sel:profilingStatus:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ProfilingStatus -- | A list of the tags that belong to this profiling group. [$sel:tags:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe (HashMap Text Text) -- | The date and time when the profiling group was last updated. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:updatedAt:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ISO8601 -- | Create a value of ProfilingGroupDescription with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:agentOrchestrationConfig:ProfilingGroupDescription', -- profilingGroupDescription_agentOrchestrationConfig - An -- AgentOrchestrationConfig object that indicates if the profiling -- group is enabled for profiled or not. -- -- $sel:arn:ProfilingGroupDescription', -- profilingGroupDescription_arn - The Amazon Resource Name (ARN) -- identifying the profiling group resource. -- -- $sel:computePlatform:ProfilingGroupDescription', -- profilingGroupDescription_computePlatform - The compute -- platform of the profiling group. If it is set to AWSLambda, -- then the profiled application runs on AWS Lambda. If it is set to -- Default, then the profiled application runs on a compute -- platform that is not AWS Lambda, such an Amazon EC2 instance, an -- on-premises server, or a different platform. The default is -- Default. -- -- $sel:createdAt:ProfilingGroupDescription', -- profilingGroupDescription_createdAt - The time when the -- profiling group was created. Specify using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. -- -- $sel:name:ProfilingGroupDescription', -- profilingGroupDescription_name - The name of the profiling -- group. -- -- $sel:profilingStatus:ProfilingGroupDescription', -- profilingGroupDescription_profilingStatus - A -- ProfilingStatus object that includes information about the last -- time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. -- -- $sel:tags:ProfilingGroupDescription', -- profilingGroupDescription_tags - A list of the tags that belong -- to this profiling group. -- -- $sel:updatedAt:ProfilingGroupDescription', -- profilingGroupDescription_updatedAt - The date and time when -- the profiling group was last updated. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. newProfilingGroupDescription :: ProfilingGroupDescription -- | An AgentOrchestrationConfig object that indicates if the -- profiling group is enabled for profiled or not. profilingGroupDescription_agentOrchestrationConfig :: Lens' ProfilingGroupDescription (Maybe AgentOrchestrationConfig) -- | The Amazon Resource Name (ARN) identifying the profiling group -- resource. profilingGroupDescription_arn :: Lens' ProfilingGroupDescription (Maybe Text) -- | The compute platform of the profiling group. If it is set to -- AWSLambda, then the profiled application runs on AWS Lambda. -- If it is set to Default, then the profiled application runs -- on a compute platform that is not AWS Lambda, such an Amazon EC2 -- instance, an on-premises server, or a different platform. The default -- is Default. profilingGroupDescription_computePlatform :: Lens' ProfilingGroupDescription (Maybe ComputePlatform) -- | The time when the profiling group was created. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. profilingGroupDescription_createdAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) -- | The name of the profiling group. profilingGroupDescription_name :: Lens' ProfilingGroupDescription (Maybe Text) -- | A ProfilingStatus object that includes information about the -- last time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. profilingGroupDescription_profilingStatus :: Lens' ProfilingGroupDescription (Maybe ProfilingStatus) -- | A list of the tags that belong to this profiling group. profilingGroupDescription_tags :: Lens' ProfilingGroupDescription (Maybe (HashMap Text Text)) -- | The date and time when the profiling group was last updated. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. profilingGroupDescription_updatedAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription.ProfilingGroupDescription instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription.ProfilingGroupDescription instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription.ProfilingGroupDescription instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription.ProfilingGroupDescription instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription.ProfilingGroupDescription instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription.ProfilingGroupDescription instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription.ProfilingGroupDescription module Amazonka.CodeGuruProfiler.Types.Recommendation -- | A potential improvement that was found from analyzing the profiling -- data. -- -- See: newRecommendation smart constructor. data Recommendation Recommendation' :: Int -> Double -> ISO8601 -> Pattern -> ISO8601 -> [Match] -> Recommendation -- | How many different places in the profile graph triggered a match. [$sel:allMatchesCount:Recommendation'] :: Recommendation -> Int -- | How much of the total sample count is potentially affected. [$sel:allMatchesSum:Recommendation'] :: Recommendation -> Double -- | End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:endTime:Recommendation'] :: Recommendation -> ISO8601 -- | The pattern that analysis recognized in the profile to make this -- recommendation. [$sel:pattern':Recommendation'] :: Recommendation -> Pattern -- | The start time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:startTime:Recommendation'] :: Recommendation -> ISO8601 -- | List of the matches with most impact. [$sel:topMatches:Recommendation'] :: Recommendation -> [Match] -- | 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:allMatchesCount:Recommendation', -- recommendation_allMatchesCount - How many different places in -- the profile graph triggered a match. -- -- $sel:allMatchesSum:Recommendation', -- recommendation_allMatchesSum - How much of the total sample -- count is potentially affected. -- -- $sel:endTime:Recommendation', recommendation_endTime - -- End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:pattern':Recommendation', recommendation_pattern - -- The pattern that analysis recognized in the profile to make this -- recommendation. -- -- $sel:startTime:Recommendation', recommendation_startTime -- - The start time of the profile that was used by this analysis. This -- is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:topMatches:Recommendation', -- recommendation_topMatches - List of the matches with most -- impact. newRecommendation :: Int -> Double -> UTCTime -> Pattern -> UTCTime -> Recommendation -- | How many different places in the profile graph triggered a match. recommendation_allMatchesCount :: Lens' Recommendation Int -- | How much of the total sample count is potentially affected. recommendation_allMatchesSum :: Lens' Recommendation Double -- | End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. recommendation_endTime :: Lens' Recommendation UTCTime -- | The pattern that analysis recognized in the profile to make this -- recommendation. recommendation_pattern :: Lens' Recommendation Pattern -- | The start time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. recommendation_startTime :: Lens' Recommendation UTCTime -- | List of the matches with most impact. recommendation_topMatches :: Lens' Recommendation [Match] instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.Recommendation.Recommendation instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.Recommendation.Recommendation instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.Recommendation.Recommendation instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.Recommendation.Recommendation instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.Recommendation.Recommendation instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.Recommendation.Recommendation instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.Recommendation.Recommendation module Amazonka.CodeGuruProfiler.Types.TimestampStructure -- | A data type that contains a Timestamp object. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- See: newTimestampStructure smart constructor. data TimestampStructure TimestampStructure' :: ISO8601 -> TimestampStructure -- | A Timestamp. This is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. [$sel:value:TimestampStructure'] :: TimestampStructure -> ISO8601 -- | Create a value of TimestampStructure with all optional fields -- omitted. -- -- Use 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:TimestampStructure', timestampStructure_value -- - A Timestamp. This is specified using the ISO 8601 format. -- For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past -- June 1, 2020 1:15:02 PM UTC. newTimestampStructure :: UTCTime -> TimestampStructure -- | A Timestamp. This is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. timestampStructure_value :: Lens' TimestampStructure UTCTime instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.TimestampStructure.TimestampStructure instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.TimestampStructure.TimestampStructure instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.TimestampStructure.TimestampStructure instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.TimestampStructure.TimestampStructure instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.TimestampStructure.TimestampStructure instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.TimestampStructure.TimestampStructure instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.TimestampStructure.TimestampStructure module Amazonka.CodeGuruProfiler.Types.UserFeedback -- | Feedback that can be submitted for each instance of an anomaly by the -- user. Feedback is be used for improvements in generating -- recommendations for the application. -- -- See: newUserFeedback smart constructor. data UserFeedback UserFeedback' :: FeedbackType -> UserFeedback -- | Optional Positive or Negative feedback submitted by -- the user about whether the recommendation is useful or not. [$sel:type':UserFeedback'] :: UserFeedback -> FeedbackType -- | Create a value of UserFeedback with all optional fields -- omitted. -- -- Use 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':UserFeedback', userFeedback_type - Optional -- Positive or Negative feedback submitted by the user -- about whether the recommendation is useful or not. newUserFeedback :: FeedbackType -> UserFeedback -- | Optional Positive or Negative feedback submitted by -- the user about whether the recommendation is useful or not. userFeedback_type :: Lens' UserFeedback FeedbackType instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.UserFeedback.UserFeedback instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.UserFeedback.UserFeedback instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.UserFeedback.UserFeedback instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.UserFeedback.UserFeedback instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.UserFeedback.UserFeedback instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.UserFeedback.UserFeedback instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.UserFeedback.UserFeedback module Amazonka.CodeGuruProfiler.Types.AnomalyInstance -- | The specific duration in which the metric is flagged as anomalous. -- -- See: newAnomalyInstance smart constructor. data AnomalyInstance AnomalyInstance' :: Maybe ISO8601 -> Maybe UserFeedback -> Text -> ISO8601 -> AnomalyInstance -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:endTime:AnomalyInstance'] :: AnomalyInstance -> Maybe ISO8601 -- | Feedback type on a specific instance of anomaly submitted by the user. [$sel:userFeedback:AnomalyInstance'] :: AnomalyInstance -> Maybe UserFeedback -- | The universally unique identifier (UUID) of an instance of an anomaly -- in a metric. [$sel:id:AnomalyInstance'] :: AnomalyInstance -> Text -- | The start time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:startTime:AnomalyInstance'] :: AnomalyInstance -> ISO8601 -- | Create a value of AnomalyInstance with all optional fields -- omitted. -- -- Use 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:AnomalyInstance', anomalyInstance_endTime - -- The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:userFeedback:AnomalyInstance', -- anomalyInstance_userFeedback - Feedback type on a specific -- instance of anomaly submitted by the user. -- -- $sel:id:AnomalyInstance', anomalyInstance_id - The -- universally unique identifier (UUID) of an instance of an anomaly in a -- metric. -- -- $sel:startTime:AnomalyInstance', -- anomalyInstance_startTime - The start time of the period during -- which the metric is flagged as anomalous. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. newAnomalyInstance :: Text -> UTCTime -> AnomalyInstance -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. anomalyInstance_endTime :: Lens' AnomalyInstance (Maybe UTCTime) -- | Feedback type on a specific instance of anomaly submitted by the user. anomalyInstance_userFeedback :: Lens' AnomalyInstance (Maybe UserFeedback) -- | The universally unique identifier (UUID) of an instance of an anomaly -- in a metric. anomalyInstance_id :: Lens' AnomalyInstance Text -- | The start time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. anomalyInstance_startTime :: Lens' AnomalyInstance UTCTime instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.AnomalyInstance.AnomalyInstance instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.AnomalyInstance.AnomalyInstance instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.AnomalyInstance.AnomalyInstance instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.AnomalyInstance.AnomalyInstance instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.AnomalyInstance.AnomalyInstance instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.AnomalyInstance.AnomalyInstance instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.AnomalyInstance.AnomalyInstance module Amazonka.CodeGuruProfiler.Types.Anomaly -- | Details about an anomaly in a specific metric of application profile. -- The anomaly is detected using analysis of the metric data over a -- period of time. -- -- See: newAnomaly smart constructor. data Anomaly Anomaly' :: [AnomalyInstance] -> Metric -> Text -> Anomaly -- | A list of the instances of the detected anomalies during the requested -- period. [$sel:instances:Anomaly'] :: Anomaly -> [AnomalyInstance] -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric includes the name of the frame that was analyzed -- with the type and thread states used to derive the metric value for -- that frame. [$sel:metric:Anomaly'] :: Anomaly -> Metric -- | The reason for which metric was flagged as anomalous. [$sel:reason:Anomaly'] :: Anomaly -> Text -- | Create a value of Anomaly with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:instances:Anomaly', anomaly_instances - A list of -- the instances of the detected anomalies during the requested period. -- -- $sel:metric:Anomaly', anomaly_metric - Details about the -- metric that the analysis used when it detected the anomaly. The metric -- includes the name of the frame that was analyzed with the type and -- thread states used to derive the metric value for that frame. -- -- $sel:reason:Anomaly', anomaly_reason - The reason for -- which metric was flagged as anomalous. newAnomaly :: Metric -> Text -> Anomaly -- | A list of the instances of the detected anomalies during the requested -- period. anomaly_instances :: Lens' Anomaly [AnomalyInstance] -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric includes the name of the frame that was analyzed -- with the type and thread states used to derive the metric value for -- that frame. anomaly_metric :: Lens' Anomaly Metric -- | The reason for which metric was flagged as anomalous. anomaly_reason :: Lens' Anomaly Text instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.Types.Anomaly.Anomaly instance GHC.Show.Show Amazonka.CodeGuruProfiler.Types.Anomaly.Anomaly instance GHC.Read.Read Amazonka.CodeGuruProfiler.Types.Anomaly.Anomaly instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.Types.Anomaly.Anomaly instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeGuruProfiler.Types.Anomaly.Anomaly instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.Types.Anomaly.Anomaly instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.Types.Anomaly.Anomaly module Amazonka.CodeGuruProfiler.Types -- | API version 2019-07-18 of the Amazon CodeGuru Profiler SDK -- configuration. defaultService :: Service -- | The requested operation would cause a conflict with the current state -- of a service resource associated with the request. Resolve the -- conflict before retrying this request. _ConflictException :: AsError a => Fold a ServiceError -- | The server encountered an internal error and is unable to complete the -- request. _InternalServerException :: AsError a => Fold a ServiceError -- | The resource specified in the request does not exist. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | You have exceeded your service quota. To perform the requested action, -- remove some of the relevant resources, or use Service Quotas to -- request a service quota increase. _ServiceQuotaExceededException :: AsError a => Fold a ServiceError -- | The request was denied due to request throttling. _ThrottlingException :: AsError a => Fold a ServiceError -- | The parameter is not valid. _ValidationException :: AsError a => Fold a ServiceError newtype ActionGroup ActionGroup' :: Text -> ActionGroup [fromActionGroup] :: ActionGroup -> Text pattern ActionGroup_AgentPermissions :: ActionGroup newtype AgentParameterField AgentParameterField' :: Text -> AgentParameterField [fromAgentParameterField] :: AgentParameterField -> Text pattern AgentParameterField_MaxStackDepth :: AgentParameterField pattern AgentParameterField_MemoryUsageLimitPercent :: AgentParameterField pattern AgentParameterField_MinimumTimeForReportingInMilliseconds :: AgentParameterField pattern AgentParameterField_ReportingIntervalInMilliseconds :: AgentParameterField pattern AgentParameterField_SamplingIntervalInMilliseconds :: AgentParameterField newtype AggregationPeriod AggregationPeriod' :: Text -> AggregationPeriod [fromAggregationPeriod] :: AggregationPeriod -> Text pattern AggregationPeriod_P1D :: AggregationPeriod pattern AggregationPeriod_PT1H :: AggregationPeriod pattern AggregationPeriod_PT5M :: AggregationPeriod newtype ComputePlatform ComputePlatform' :: Text -> ComputePlatform [fromComputePlatform] :: ComputePlatform -> Text pattern ComputePlatform_AWSLambda :: ComputePlatform pattern ComputePlatform_Default :: ComputePlatform newtype EventPublisher EventPublisher' :: Text -> EventPublisher [fromEventPublisher] :: EventPublisher -> Text pattern EventPublisher_AnomalyDetection :: EventPublisher newtype FeedbackType FeedbackType' :: Text -> FeedbackType [fromFeedbackType] :: FeedbackType -> Text pattern FeedbackType_Negative :: FeedbackType pattern FeedbackType_Positive :: FeedbackType newtype MetadataField MetadataField' :: Text -> MetadataField [fromMetadataField] :: MetadataField -> Text pattern MetadataField_AgentId :: MetadataField pattern MetadataField_AwsRequestId :: MetadataField pattern MetadataField_ComputePlatform :: MetadataField pattern MetadataField_ExecutionEnvironment :: MetadataField pattern MetadataField_LambdaFunctionArn :: MetadataField pattern MetadataField_LambdaMemoryLimitInMB :: MetadataField pattern MetadataField_LambdaPreviousExecutionTimeInMilliseconds :: MetadataField pattern MetadataField_LambdaRemainingTimeInMilliseconds :: MetadataField pattern MetadataField_LambdaTimeGapBetweenInvokesInMilliseconds :: MetadataField newtype MetricType MetricType' :: Text -> MetricType [fromMetricType] :: MetricType -> Text pattern MetricType_AggregatedRelativeTotalTime :: MetricType newtype OrderBy OrderBy' :: Text -> OrderBy [fromOrderBy] :: OrderBy -> Text pattern OrderBy_TimestampAscending :: OrderBy pattern OrderBy_TimestampDescending :: OrderBy -- | The response of ConfigureAgent that specifies if an agent -- profiles or not and for how long to return profiling data. -- -- See: newAgentConfiguration smart constructor. data AgentConfiguration AgentConfiguration' :: Maybe (HashMap AgentParameterField Text) -> Int -> Bool -> AgentConfiguration -- | Parameters used by the profiler. The valid parameters are: -- -- [$sel:agentParameters:AgentConfiguration'] :: AgentConfiguration -> Maybe (HashMap AgentParameterField Text) -- | How long a profiling agent should send profiling data using -- ConfigureAgent . For example, if this is set to 300, the -- profiling agent calls ConfigureAgent every 5 minutes to submit -- the profiled data collected during that period. [$sel:periodInSeconds:AgentConfiguration'] :: AgentConfiguration -> Int -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. [$sel:shouldProfile:AgentConfiguration'] :: AgentConfiguration -> Bool -- | Create a value of AgentConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:agentParameters:AgentConfiguration', -- agentConfiguration_agentParameters - Parameters used by the -- profiler. The valid parameters are: -- -- -- -- $sel:periodInSeconds:AgentConfiguration', -- agentConfiguration_periodInSeconds - How long a profiling agent -- should send profiling data using ConfigureAgent . For example, -- if this is set to 300, the profiling agent calls ConfigureAgent -- every 5 minutes to submit the profiled data collected during that -- period. -- -- $sel:shouldProfile:AgentConfiguration', -- agentConfiguration_shouldProfile - A Boolean that -- specifies whether the profiling agent collects profiling data or not. -- Set to true to enable profiling. newAgentConfiguration :: Int -> Bool -> AgentConfiguration -- | Parameters used by the profiler. The valid parameters are: -- -- agentConfiguration_agentParameters :: Lens' AgentConfiguration (Maybe (HashMap AgentParameterField Text)) -- | How long a profiling agent should send profiling data using -- ConfigureAgent . For example, if this is set to 300, the -- profiling agent calls ConfigureAgent every 5 minutes to submit -- the profiled data collected during that period. agentConfiguration_periodInSeconds :: Lens' AgentConfiguration Int -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. agentConfiguration_shouldProfile :: Lens' AgentConfiguration Bool -- | Specifies whether profiling is enabled or disabled for a profiling -- group. It is used by ConfigureAgent to enable or disable -- profiling for a profiling group. -- -- See: newAgentOrchestrationConfig smart constructor. data AgentOrchestrationConfig AgentOrchestrationConfig' :: Bool -> AgentOrchestrationConfig -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. [$sel:profilingEnabled:AgentOrchestrationConfig'] :: AgentOrchestrationConfig -> Bool -- | Create a value of AgentOrchestrationConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:profilingEnabled:AgentOrchestrationConfig', -- agentOrchestrationConfig_profilingEnabled - A Boolean -- that specifies whether the profiling agent collects profiling data or -- not. Set to true to enable profiling. newAgentOrchestrationConfig :: Bool -> AgentOrchestrationConfig -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. agentOrchestrationConfig_profilingEnabled :: Lens' AgentOrchestrationConfig Bool -- | Specifies the aggregation period and aggregation start time for an -- aggregated profile. An aggregated profile is used to collect posted -- agent profiles during an aggregation period. There are three possible -- aggregation periods (1 day, 1 hour, or 5 minutes). -- -- See: newAggregatedProfileTime smart constructor. data AggregatedProfileTime AggregatedProfileTime' :: Maybe AggregationPeriod -> Maybe ISO8601 -> AggregatedProfileTime -- | The aggregation period. This indicates the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. Use one of three valid durations that are specified using the -- ISO 8601 format. -- -- [$sel:period:AggregatedProfileTime'] :: AggregatedProfileTime -> Maybe AggregationPeriod -- | The time that aggregation of posted agent profiles for a profiling -- group starts. The aggregation profile contains profiles posted by the -- agent starting at this time for an aggregation period specified by the -- period property of the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:start:AggregatedProfileTime'] :: AggregatedProfileTime -> Maybe ISO8601 -- | Create a value of AggregatedProfileTime with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:period:AggregatedProfileTime', -- aggregatedProfileTime_period - The aggregation period. This -- indicates the period during which an aggregation profile collects -- posted agent profiles for a profiling group. Use one of three valid -- durations that are specified using the ISO 8601 format. -- -- -- -- $sel:start:AggregatedProfileTime', -- aggregatedProfileTime_start - The time that aggregation of -- posted agent profiles for a profiling group starts. The aggregation -- profile contains profiles posted by the agent starting at this time -- for an aggregation period specified by the period property of -- the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. newAggregatedProfileTime :: AggregatedProfileTime -- | The aggregation period. This indicates the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. Use one of three valid durations that are specified using the -- ISO 8601 format. -- -- aggregatedProfileTime_period :: Lens' AggregatedProfileTime (Maybe AggregationPeriod) -- | The time that aggregation of posted agent profiles for a profiling -- group starts. The aggregation profile contains profiles posted by the -- agent starting at this time for an aggregation period specified by the -- period property of the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. aggregatedProfileTime_start :: Lens' AggregatedProfileTime (Maybe UTCTime) -- | Details about an anomaly in a specific metric of application profile. -- The anomaly is detected using analysis of the metric data over a -- period of time. -- -- See: newAnomaly smart constructor. data Anomaly Anomaly' :: [AnomalyInstance] -> Metric -> Text -> Anomaly -- | A list of the instances of the detected anomalies during the requested -- period. [$sel:instances:Anomaly'] :: Anomaly -> [AnomalyInstance] -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric includes the name of the frame that was analyzed -- with the type and thread states used to derive the metric value for -- that frame. [$sel:metric:Anomaly'] :: Anomaly -> Metric -- | The reason for which metric was flagged as anomalous. [$sel:reason:Anomaly'] :: Anomaly -> Text -- | Create a value of Anomaly with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:instances:Anomaly', anomaly_instances - A list of -- the instances of the detected anomalies during the requested period. -- -- $sel:metric:Anomaly', anomaly_metric - Details about the -- metric that the analysis used when it detected the anomaly. The metric -- includes the name of the frame that was analyzed with the type and -- thread states used to derive the metric value for that frame. -- -- $sel:reason:Anomaly', anomaly_reason - The reason for -- which metric was flagged as anomalous. newAnomaly :: Metric -> Text -> Anomaly -- | A list of the instances of the detected anomalies during the requested -- period. anomaly_instances :: Lens' Anomaly [AnomalyInstance] -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric includes the name of the frame that was analyzed -- with the type and thread states used to derive the metric value for -- that frame. anomaly_metric :: Lens' Anomaly Metric -- | The reason for which metric was flagged as anomalous. anomaly_reason :: Lens' Anomaly Text -- | The specific duration in which the metric is flagged as anomalous. -- -- See: newAnomalyInstance smart constructor. data AnomalyInstance AnomalyInstance' :: Maybe ISO8601 -> Maybe UserFeedback -> Text -> ISO8601 -> AnomalyInstance -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:endTime:AnomalyInstance'] :: AnomalyInstance -> Maybe ISO8601 -- | Feedback type on a specific instance of anomaly submitted by the user. [$sel:userFeedback:AnomalyInstance'] :: AnomalyInstance -> Maybe UserFeedback -- | The universally unique identifier (UUID) of an instance of an anomaly -- in a metric. [$sel:id:AnomalyInstance'] :: AnomalyInstance -> Text -- | The start time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:startTime:AnomalyInstance'] :: AnomalyInstance -> ISO8601 -- | Create a value of AnomalyInstance with all optional fields -- omitted. -- -- Use 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:AnomalyInstance', anomalyInstance_endTime - -- The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:userFeedback:AnomalyInstance', -- anomalyInstance_userFeedback - Feedback type on a specific -- instance of anomaly submitted by the user. -- -- $sel:id:AnomalyInstance', anomalyInstance_id - The -- universally unique identifier (UUID) of an instance of an anomaly in a -- metric. -- -- $sel:startTime:AnomalyInstance', -- anomalyInstance_startTime - The start time of the period during -- which the metric is flagged as anomalous. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. newAnomalyInstance :: Text -> UTCTime -> AnomalyInstance -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. anomalyInstance_endTime :: Lens' AnomalyInstance (Maybe UTCTime) -- | Feedback type on a specific instance of anomaly submitted by the user. anomalyInstance_userFeedback :: Lens' AnomalyInstance (Maybe UserFeedback) -- | The universally unique identifier (UUID) of an instance of an anomaly -- in a metric. anomalyInstance_id :: Lens' AnomalyInstance Text -- | The start time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. anomalyInstance_startTime :: Lens' AnomalyInstance UTCTime -- | Notification medium for users to get alerted for events that occur in -- application profile. We support SNS topic as a notification channel. -- -- See: newChannel smart constructor. data Channel Channel' :: Maybe Text -> NonEmpty EventPublisher -> Text -> Channel -- | Unique identifier for each Channel in the notification -- configuration of a Profiling Group. A random UUID for channelId is -- used when adding a channel to the notification configuration if not -- specified in the request. [$sel:id:Channel'] :: Channel -> Maybe Text -- | List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. [$sel:eventPublishers:Channel'] :: Channel -> NonEmpty EventPublisher -- | Unique arn of the resource to be used for notifications. We support a -- valid SNS topic arn as a channel uri. [$sel:uri:Channel'] :: Channel -> Text -- | Create a value of Channel with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:id:Channel', channel_id - Unique identifier for -- each Channel in the notification configuration of a Profiling -- Group. A random UUID for channelId is used when adding a channel to -- the notification configuration if not specified in the request. -- -- $sel:eventPublishers:Channel', channel_eventPublishers - -- List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. -- -- $sel:uri:Channel', channel_uri - Unique arn of the -- resource to be used for notifications. We support a valid SNS topic -- arn as a channel uri. newChannel :: NonEmpty EventPublisher -> Text -> Channel -- | Unique identifier for each Channel in the notification -- configuration of a Profiling Group. A random UUID for channelId is -- used when adding a channel to the notification configuration if not -- specified in the request. channel_id :: Lens' Channel (Maybe Text) -- | List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. channel_eventPublishers :: Lens' Channel (NonEmpty EventPublisher) -- | Unique arn of the resource to be used for notifications. We support a -- valid SNS topic arn as a channel uri. channel_uri :: Lens' Channel Text -- | Information about potential recommendations that might be created from -- the analysis of profiling data. -- -- See: newFindingsReportSummary smart constructor. data FindingsReportSummary FindingsReportSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> FindingsReportSummary -- | The universally unique identifier (UUID) of the recommendation report. [$sel:id:FindingsReportSummary'] :: FindingsReportSummary -> Maybe Text -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:profileEndTime:FindingsReportSummary'] :: FindingsReportSummary -> Maybe ISO8601 -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:profileStartTime:FindingsReportSummary'] :: FindingsReportSummary -> Maybe ISO8601 -- | The name of the profiling group that is associated with the analysis -- data. [$sel:profilingGroupName:FindingsReportSummary'] :: FindingsReportSummary -> Maybe Text -- | The total number of different recommendations that were found by the -- analysis. [$sel:totalNumberOfFindings:FindingsReportSummary'] :: FindingsReportSummary -> Maybe Int -- | Create a value of FindingsReportSummary with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:id:FindingsReportSummary', findingsReportSummary_id -- - The universally unique identifier (UUID) of the recommendation -- report. -- -- $sel:profileEndTime:FindingsReportSummary', -- findingsReportSummary_profileEndTime - The end time of the -- period during which the metric is flagged as anomalous. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:profileStartTime:FindingsReportSummary', -- findingsReportSummary_profileStartTime - The start time of the -- profile the analysis data is about. This is specified using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:profilingGroupName:FindingsReportSummary', -- findingsReportSummary_profilingGroupName - The name of the -- profiling group that is associated with the analysis data. -- -- $sel:totalNumberOfFindings:FindingsReportSummary', -- findingsReportSummary_totalNumberOfFindings - The total number -- of different recommendations that were found by the analysis. newFindingsReportSummary :: FindingsReportSummary -- | The universally unique identifier (UUID) of the recommendation report. findingsReportSummary_id :: Lens' FindingsReportSummary (Maybe Text) -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. findingsReportSummary_profileEndTime :: Lens' FindingsReportSummary (Maybe UTCTime) -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. findingsReportSummary_profileStartTime :: Lens' FindingsReportSummary (Maybe UTCTime) -- | The name of the profiling group that is associated with the analysis -- data. findingsReportSummary_profilingGroupName :: Lens' FindingsReportSummary (Maybe Text) -- | The total number of different recommendations that were found by the -- analysis. findingsReportSummary_totalNumberOfFindings :: Lens' FindingsReportSummary (Maybe Int) -- | The frame name, metric type, and thread states. These are used to -- derive the value of the metric for the frame. -- -- See: newFrameMetric smart constructor. data FrameMetric FrameMetric' :: Text -> [Text] -> MetricType -> FrameMetric -- | Name of the method common across the multiple occurrences of a frame -- in an application profile. [$sel:frameName:FrameMetric'] :: FrameMetric -> Text -- | List of application runtime thread states used to get the counts for a -- frame a derive a metric value. [$sel:threadStates:FrameMetric'] :: FrameMetric -> [Text] -- | A type of aggregation that specifies how a metric for a frame is -- analyzed. The supported value AggregatedRelativeTotalTime is -- an aggregation of the metric value for one frame that is calculated -- across the occurrences of all frames in a profile. [$sel:type':FrameMetric'] :: FrameMetric -> MetricType -- | Create a value of FrameMetric with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameName:FrameMetric', frameMetric_frameName - -- Name of the method common across the multiple occurrences of a frame -- in an application profile. -- -- $sel:threadStates:FrameMetric', frameMetric_threadStates -- - List of application runtime thread states used to get the counts for -- a frame a derive a metric value. -- -- $sel:type':FrameMetric', frameMetric_type - A type of -- aggregation that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurrences of all frames in a profile. newFrameMetric :: Text -> MetricType -> FrameMetric -- | Name of the method common across the multiple occurrences of a frame -- in an application profile. frameMetric_frameName :: Lens' FrameMetric Text -- | List of application runtime thread states used to get the counts for a -- frame a derive a metric value. frameMetric_threadStates :: Lens' FrameMetric [Text] -- | A type of aggregation that specifies how a metric for a frame is -- analyzed. The supported value AggregatedRelativeTotalTime is -- an aggregation of the metric value for one frame that is calculated -- across the occurrences of all frames in a profile. frameMetric_type :: Lens' FrameMetric MetricType -- | Information about a frame metric and its values. -- -- See: newFrameMetricDatum smart constructor. data FrameMetricDatum FrameMetricDatum' :: FrameMetric -> [Double] -> FrameMetricDatum [$sel:frameMetric:FrameMetricDatum'] :: FrameMetricDatum -> FrameMetric -- | A list of values that are associated with a frame metric. [$sel:values:FrameMetricDatum'] :: FrameMetricDatum -> [Double] -- | Create a value of FrameMetricDatum with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameMetric:FrameMetricDatum', -- frameMetricDatum_frameMetric - Undocumented member. -- -- $sel:values:FrameMetricDatum', frameMetricDatum_values - -- A list of values that are associated with a frame metric. newFrameMetricDatum :: FrameMetric -> FrameMetricDatum -- | Undocumented member. frameMetricDatum_frameMetric :: Lens' FrameMetricDatum FrameMetric -- | A list of values that are associated with a frame metric. frameMetricDatum_values :: Lens' FrameMetricDatum [Double] -- | The part of a profile that contains a recommendation found during -- analysis. -- -- See: newMatch smart constructor. data Match Match' :: Maybe Text -> Maybe Int -> Maybe Double -> Match -- | The location in the profiling graph that contains a recommendation -- found during analysis. [$sel:frameAddress:Match'] :: Match -> Maybe Text -- | The target frame that triggered a match. [$sel:targetFramesIndex:Match'] :: Match -> Maybe Int -- | The value in the profile data that exceeded the recommendation -- threshold. [$sel:thresholdBreachValue:Match'] :: Match -> Maybe Double -- | Create a value of Match with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameAddress:Match', match_frameAddress - The -- location in the profiling graph that contains a recommendation found -- during analysis. -- -- $sel:targetFramesIndex:Match', match_targetFramesIndex - -- The target frame that triggered a match. -- -- $sel:thresholdBreachValue:Match', -- match_thresholdBreachValue - The value in the profile data that -- exceeded the recommendation threshold. newMatch :: Match -- | The location in the profiling graph that contains a recommendation -- found during analysis. match_frameAddress :: Lens' Match (Maybe Text) -- | The target frame that triggered a match. match_targetFramesIndex :: Lens' Match (Maybe Int) -- | The value in the profile data that exceeded the recommendation -- threshold. match_thresholdBreachValue :: Lens' Match (Maybe Double) -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric what is analyzed to create recommendations. It -- includes the name of the frame that was analyzed and the type and -- thread states used to derive the metric value for that frame. -- -- See: newMetric smart constructor. data Metric Metric' :: Text -> [Text] -> MetricType -> Metric -- | The name of the method that appears as a frame in any stack in a -- profile. [$sel:frameName:Metric'] :: Metric -> Text -- | The list of application runtime thread states that is used to -- calculate the metric value for the frame. [$sel:threadStates:Metric'] :: Metric -> [Text] -- | A type that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurences of all frames in a profile. [$sel:type':Metric'] :: Metric -> MetricType -- | Create a value of Metric with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameName:Metric', metric_frameName - The name of -- the method that appears as a frame in any stack in a profile. -- -- $sel:threadStates:Metric', metric_threadStates - The -- list of application runtime thread states that is used to calculate -- the metric value for the frame. -- -- $sel:type':Metric', metric_type - A type that specifies -- how a metric for a frame is analyzed. The supported value -- AggregatedRelativeTotalTime is an aggregation of the metric -- value for one frame that is calculated across the occurences of all -- frames in a profile. newMetric :: Text -> MetricType -> Metric -- | The name of the method that appears as a frame in any stack in a -- profile. metric_frameName :: Lens' Metric Text -- | The list of application runtime thread states that is used to -- calculate the metric value for the frame. metric_threadStates :: Lens' Metric [Text] -- | A type that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurences of all frames in a profile. metric_type :: Lens' Metric MetricType -- | The configuration for notifications stored for each profiling group. -- This includes up to to two channels and a list of event publishers -- associated with each channel. -- -- See: newNotificationConfiguration smart constructor. data NotificationConfiguration NotificationConfiguration' :: Maybe (NonEmpty Channel) -> NotificationConfiguration -- | List of up to two channels to be used for sending notifications for -- events detected from the application profile. [$sel:channels:NotificationConfiguration'] :: NotificationConfiguration -> Maybe (NonEmpty Channel) -- | Create a value of NotificationConfiguration with all optional -- fields omitted. -- -- Use 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:NotificationConfiguration', -- notificationConfiguration_channels - List of up to two channels -- to be used for sending notifications for events detected from the -- application profile. newNotificationConfiguration :: NotificationConfiguration -- | List of up to two channels to be used for sending notifications for -- events detected from the application profile. notificationConfiguration_channels :: Lens' NotificationConfiguration (Maybe (NonEmpty Channel)) -- | A set of rules used to make a recommendation during an analysis. -- -- See: newPattern smart constructor. data Pattern Pattern' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [[Text]] -> Maybe Double -> Pattern -- | A list of the different counters used to determine if there is a -- match. [$sel:countersToAggregate:Pattern'] :: Pattern -> Maybe [Text] -- | The description of the recommendation. This explains a potential -- inefficiency in a profiled application. [$sel:description:Pattern'] :: Pattern -> Maybe Text -- | The universally unique identifier (UUID) of this pattern. [$sel:id:Pattern'] :: Pattern -> Maybe Text -- | The name for this pattern. [$sel:name:Pattern'] :: Pattern -> Maybe Text -- | A string that contains the steps recommended to address the potential -- inefficiency. [$sel:resolutionSteps:Pattern'] :: Pattern -> Maybe Text -- | A list of frame names that were searched during the analysis that -- generated a recommendation. [$sel:targetFrames:Pattern'] :: Pattern -> Maybe [[Text]] -- | The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. [$sel:thresholdPercent:Pattern'] :: Pattern -> Maybe Double -- | Create a value of Pattern with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:countersToAggregate:Pattern', -- pattern_countersToAggregate - A list of the different counters -- used to determine if there is a match. -- -- $sel:description:Pattern', pattern_description - The -- description of the recommendation. This explains a potential -- inefficiency in a profiled application. -- -- $sel:id:Pattern', pattern_id - The universally unique -- identifier (UUID) of this pattern. -- -- $sel:name:Pattern', pattern_name - The name for this -- pattern. -- -- $sel:resolutionSteps:Pattern', pattern_resolutionSteps - -- A string that contains the steps recommended to address the potential -- inefficiency. -- -- $sel:targetFrames:Pattern', pattern_targetFrames - A -- list of frame names that were searched during the analysis that -- generated a recommendation. -- -- $sel:thresholdPercent:Pattern', pattern_thresholdPercent -- - The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. newPattern :: Pattern -- | A list of the different counters used to determine if there is a -- match. pattern_countersToAggregate :: Lens' Pattern (Maybe [Text]) -- | The description of the recommendation. This explains a potential -- inefficiency in a profiled application. pattern_description :: Lens' Pattern (Maybe Text) -- | The universally unique identifier (UUID) of this pattern. pattern_id :: Lens' Pattern (Maybe Text) -- | The name for this pattern. pattern_name :: Lens' Pattern (Maybe Text) -- | A string that contains the steps recommended to address the potential -- inefficiency. pattern_resolutionSteps :: Lens' Pattern (Maybe Text) -- | A list of frame names that were searched during the analysis that -- generated a recommendation. pattern_targetFrames :: Lens' Pattern (Maybe [[Text]]) -- | The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. pattern_thresholdPercent :: Lens' Pattern (Maybe Double) -- | Contains the start time of a profile. -- -- See: newProfileTime smart constructor. data ProfileTime ProfileTime' :: Maybe ISO8601 -> ProfileTime -- | The start time of a profile. It is specified using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. [$sel:start:ProfileTime'] :: ProfileTime -> Maybe ISO8601 -- | Create a value of ProfileTime with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:start:ProfileTime', profileTime_start - The start -- time of a profile. It is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. newProfileTime :: ProfileTime -- | The start time of a profile. It is specified using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. profileTime_start :: Lens' ProfileTime (Maybe UTCTime) -- | Contains information about a profiling group. -- -- See: newProfilingGroupDescription smart constructor. data ProfilingGroupDescription ProfilingGroupDescription' :: Maybe AgentOrchestrationConfig -> Maybe Text -> Maybe ComputePlatform -> Maybe ISO8601 -> Maybe Text -> Maybe ProfilingStatus -> Maybe (HashMap Text Text) -> Maybe ISO8601 -> ProfilingGroupDescription -- | An AgentOrchestrationConfig object that indicates if the -- profiling group is enabled for profiled or not. [$sel:agentOrchestrationConfig:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe AgentOrchestrationConfig -- | The Amazon Resource Name (ARN) identifying the profiling group -- resource. [$sel:arn:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe Text -- | The compute platform of the profiling group. If it is set to -- AWSLambda, then the profiled application runs on AWS Lambda. -- If it is set to Default, then the profiled application runs -- on a compute platform that is not AWS Lambda, such an Amazon EC2 -- instance, an on-premises server, or a different platform. The default -- is Default. [$sel:computePlatform:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ComputePlatform -- | The time when the profiling group was created. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:createdAt:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ISO8601 -- | The name of the profiling group. [$sel:name:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe Text -- | A ProfilingStatus object that includes information about the -- last time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. [$sel:profilingStatus:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ProfilingStatus -- | A list of the tags that belong to this profiling group. [$sel:tags:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe (HashMap Text Text) -- | The date and time when the profiling group was last updated. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:updatedAt:ProfilingGroupDescription'] :: ProfilingGroupDescription -> Maybe ISO8601 -- | Create a value of ProfilingGroupDescription with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:agentOrchestrationConfig:ProfilingGroupDescription', -- profilingGroupDescription_agentOrchestrationConfig - An -- AgentOrchestrationConfig object that indicates if the profiling -- group is enabled for profiled or not. -- -- $sel:arn:ProfilingGroupDescription', -- profilingGroupDescription_arn - The Amazon Resource Name (ARN) -- identifying the profiling group resource. -- -- $sel:computePlatform:ProfilingGroupDescription', -- profilingGroupDescription_computePlatform - The compute -- platform of the profiling group. If it is set to AWSLambda, -- then the profiled application runs on AWS Lambda. If it is set to -- Default, then the profiled application runs on a compute -- platform that is not AWS Lambda, such an Amazon EC2 instance, an -- on-premises server, or a different platform. The default is -- Default. -- -- $sel:createdAt:ProfilingGroupDescription', -- profilingGroupDescription_createdAt - The time when the -- profiling group was created. Specify using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. -- -- $sel:name:ProfilingGroupDescription', -- profilingGroupDescription_name - The name of the profiling -- group. -- -- $sel:profilingStatus:ProfilingGroupDescription', -- profilingGroupDescription_profilingStatus - A -- ProfilingStatus object that includes information about the last -- time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. -- -- $sel:tags:ProfilingGroupDescription', -- profilingGroupDescription_tags - A list of the tags that belong -- to this profiling group. -- -- $sel:updatedAt:ProfilingGroupDescription', -- profilingGroupDescription_updatedAt - The date and time when -- the profiling group was last updated. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. newProfilingGroupDescription :: ProfilingGroupDescription -- | An AgentOrchestrationConfig object that indicates if the -- profiling group is enabled for profiled or not. profilingGroupDescription_agentOrchestrationConfig :: Lens' ProfilingGroupDescription (Maybe AgentOrchestrationConfig) -- | The Amazon Resource Name (ARN) identifying the profiling group -- resource. profilingGroupDescription_arn :: Lens' ProfilingGroupDescription (Maybe Text) -- | The compute platform of the profiling group. If it is set to -- AWSLambda, then the profiled application runs on AWS Lambda. -- If it is set to Default, then the profiled application runs -- on a compute platform that is not AWS Lambda, such an Amazon EC2 -- instance, an on-premises server, or a different platform. The default -- is Default. profilingGroupDescription_computePlatform :: Lens' ProfilingGroupDescription (Maybe ComputePlatform) -- | The time when the profiling group was created. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. profilingGroupDescription_createdAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) -- | The name of the profiling group. profilingGroupDescription_name :: Lens' ProfilingGroupDescription (Maybe Text) -- | A ProfilingStatus object that includes information about the -- last time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. profilingGroupDescription_profilingStatus :: Lens' ProfilingGroupDescription (Maybe ProfilingStatus) -- | A list of the tags that belong to this profiling group. profilingGroupDescription_tags :: Lens' ProfilingGroupDescription (Maybe (HashMap Text Text)) -- | The date and time when the profiling group was last updated. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. profilingGroupDescription_updatedAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) -- | Profiling status includes information about the last time a profile -- agent pinged back, the last time a profile was received, and the -- aggregation period and start time for the most recent aggregated -- profile. -- -- See: newProfilingStatus smart constructor. data ProfilingStatus ProfilingStatus' :: Maybe ISO8601 -> Maybe ISO8601 -> Maybe AggregatedProfileTime -> ProfilingStatus -- | The date and time when the profiling agent most recently pinged back. -- Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:latestAgentOrchestratedAt:ProfilingStatus'] :: ProfilingStatus -> Maybe ISO8601 -- | The date and time when the most recent profile was received. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:latestAgentProfileReportedAt:ProfilingStatus'] :: ProfilingStatus -> Maybe ISO8601 -- | An AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. [$sel:latestAggregatedProfile:ProfilingStatus'] :: ProfilingStatus -> Maybe AggregatedProfileTime -- | Create a value of ProfilingStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:latestAgentOrchestratedAt:ProfilingStatus', -- profilingStatus_latestAgentOrchestratedAt - The date and time -- when the profiling agent most recently pinged back. Specify using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:latestAgentProfileReportedAt:ProfilingStatus', -- profilingStatus_latestAgentProfileReportedAt - The date and -- time when the most recent profile was received. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:latestAggregatedProfile:ProfilingStatus', -- profilingStatus_latestAggregatedProfile - An -- AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. newProfilingStatus :: ProfilingStatus -- | The date and time when the profiling agent most recently pinged back. -- Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. profilingStatus_latestAgentOrchestratedAt :: Lens' ProfilingStatus (Maybe UTCTime) -- | The date and time when the most recent profile was received. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. profilingStatus_latestAgentProfileReportedAt :: Lens' ProfilingStatus (Maybe UTCTime) -- | An AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. profilingStatus_latestAggregatedProfile :: Lens' ProfilingStatus (Maybe AggregatedProfileTime) -- | A potential improvement that was found from analyzing the profiling -- data. -- -- See: newRecommendation smart constructor. data Recommendation Recommendation' :: Int -> Double -> ISO8601 -> Pattern -> ISO8601 -> [Match] -> Recommendation -- | How many different places in the profile graph triggered a match. [$sel:allMatchesCount:Recommendation'] :: Recommendation -> Int -- | How much of the total sample count is potentially affected. [$sel:allMatchesSum:Recommendation'] :: Recommendation -> Double -- | End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:endTime:Recommendation'] :: Recommendation -> ISO8601 -- | The pattern that analysis recognized in the profile to make this -- recommendation. [$sel:pattern':Recommendation'] :: Recommendation -> Pattern -- | The start time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:startTime:Recommendation'] :: Recommendation -> ISO8601 -- | List of the matches with most impact. [$sel:topMatches:Recommendation'] :: Recommendation -> [Match] -- | 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:allMatchesCount:Recommendation', -- recommendation_allMatchesCount - How many different places in -- the profile graph triggered a match. -- -- $sel:allMatchesSum:Recommendation', -- recommendation_allMatchesSum - How much of the total sample -- count is potentially affected. -- -- $sel:endTime:Recommendation', recommendation_endTime - -- End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:pattern':Recommendation', recommendation_pattern - -- The pattern that analysis recognized in the profile to make this -- recommendation. -- -- $sel:startTime:Recommendation', recommendation_startTime -- - The start time of the profile that was used by this analysis. This -- is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:topMatches:Recommendation', -- recommendation_topMatches - List of the matches with most -- impact. newRecommendation :: Int -> Double -> UTCTime -> Pattern -> UTCTime -> Recommendation -- | How many different places in the profile graph triggered a match. recommendation_allMatchesCount :: Lens' Recommendation Int -- | How much of the total sample count is potentially affected. recommendation_allMatchesSum :: Lens' Recommendation Double -- | End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. recommendation_endTime :: Lens' Recommendation UTCTime -- | The pattern that analysis recognized in the profile to make this -- recommendation. recommendation_pattern :: Lens' Recommendation Pattern -- | The start time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. recommendation_startTime :: Lens' Recommendation UTCTime -- | List of the matches with most impact. recommendation_topMatches :: Lens' Recommendation [Match] -- | A data type that contains a Timestamp object. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- See: newTimestampStructure smart constructor. data TimestampStructure TimestampStructure' :: ISO8601 -> TimestampStructure -- | A Timestamp. This is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. [$sel:value:TimestampStructure'] :: TimestampStructure -> ISO8601 -- | Create a value of TimestampStructure with all optional fields -- omitted. -- -- Use 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:TimestampStructure', timestampStructure_value -- - A Timestamp. This is specified using the ISO 8601 format. -- For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past -- June 1, 2020 1:15:02 PM UTC. newTimestampStructure :: UTCTime -> TimestampStructure -- | A Timestamp. This is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. timestampStructure_value :: Lens' TimestampStructure UTCTime -- | Feedback that can be submitted for each instance of an anomaly by the -- user. Feedback is be used for improvements in generating -- recommendations for the application. -- -- See: newUserFeedback smart constructor. data UserFeedback UserFeedback' :: FeedbackType -> UserFeedback -- | Optional Positive or Negative feedback submitted by -- the user about whether the recommendation is useful or not. [$sel:type':UserFeedback'] :: UserFeedback -> FeedbackType -- | Create a value of UserFeedback with all optional fields -- omitted. -- -- Use 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':UserFeedback', userFeedback_type - Optional -- Positive or Negative feedback submitted by the user -- about whether the recommendation is useful or not. newUserFeedback :: FeedbackType -> UserFeedback -- | Optional Positive or Negative feedback submitted by -- the user about whether the recommendation is useful or not. userFeedback_type :: Lens' UserFeedback FeedbackType -- | Use to assign one or more tags to a resource. module Amazonka.CodeGuruProfiler.TagResource -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | The Amazon Resource Name (ARN) of the resource that the tags are added -- to. [$sel:resourceArn:TagResource'] :: TagResource -> Text -- | The list of tags that are added to the specified resource. [$sel:tags:TagResource'] :: TagResource -> HashMap Text Text -- | Create a value of TagResource with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourceArn:TagResource', tagResource_resourceArn - -- The Amazon Resource Name (ARN) of the resource that the tags are added -- to. -- -- TagResource, tagResource_tags - The list of tags that -- are added to the specified resource. newTagResource :: Text -> TagResource -- | The Amazon Resource Name (ARN) of the resource that the tags are added -- to. tagResource_resourceArn :: Lens' TagResource Text -- | The list of tags that are added to the specified resource. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | The response's http status code. [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int -- | Create a value of TagResourceResponse with all optional fields -- omitted. -- -- Use 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:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.TagResource.TagResource instance GHC.Show.Show Amazonka.CodeGuruProfiler.TagResource.TagResource instance GHC.Read.Read Amazonka.CodeGuruProfiler.TagResource.TagResource instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.TagResource.TagResource instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.TagResource.TagResourceResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.TagResource.TagResourceResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.TagResource.TagResourceResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.TagResource.TagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.TagResource.TagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.TagResource.TagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.TagResource.TagResource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.TagResource.TagResource instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.TagResource.TagResource instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.TagResource.TagResource -- | Sends feedback to CodeGuru Profiler about whether the anomaly detected -- by the analysis is useful or not. module Amazonka.CodeGuruProfiler.SubmitFeedback -- | The structure representing the SubmitFeedbackRequest. -- -- See: newSubmitFeedback smart constructor. data SubmitFeedback SubmitFeedback' :: Maybe Text -> Text -> Text -> FeedbackType -> SubmitFeedback -- | Optional feedback about this anomaly. [$sel:comment:SubmitFeedback'] :: SubmitFeedback -> Maybe Text -- | The universally unique identifier (UUID) of the AnomalyInstance -- object that is included in the analysis data. [$sel:anomalyInstanceId:SubmitFeedback'] :: SubmitFeedback -> Text -- | The name of the profiling group that is associated with the analysis -- data. [$sel:profilingGroupName:SubmitFeedback'] :: SubmitFeedback -> Text -- | The feedback tpye. Thee are two valid values, Positive and -- Negative. [$sel:type':SubmitFeedback'] :: SubmitFeedback -> FeedbackType -- | Create a value of SubmitFeedback with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:comment:SubmitFeedback', submitFeedback_comment - -- Optional feedback about this anomaly. -- -- $sel:anomalyInstanceId:SubmitFeedback', -- submitFeedback_anomalyInstanceId - The universally unique -- identifier (UUID) of the AnomalyInstance object that is -- included in the analysis data. -- -- SubmitFeedback, submitFeedback_profilingGroupName - The -- name of the profiling group that is associated with the analysis data. -- -- SubmitFeedback, submitFeedback_type - The feedback tpye. -- Thee are two valid values, Positive and Negative. newSubmitFeedback :: Text -> Text -> FeedbackType -> SubmitFeedback -- | Optional feedback about this anomaly. submitFeedback_comment :: Lens' SubmitFeedback (Maybe Text) -- | The universally unique identifier (UUID) of the AnomalyInstance -- object that is included in the analysis data. submitFeedback_anomalyInstanceId :: Lens' SubmitFeedback Text -- | The name of the profiling group that is associated with the analysis -- data. submitFeedback_profilingGroupName :: Lens' SubmitFeedback Text -- | The feedback tpye. Thee are two valid values, Positive and -- Negative. submitFeedback_type :: Lens' SubmitFeedback FeedbackType -- | The structure representing the SubmitFeedbackResponse. -- -- See: newSubmitFeedbackResponse smart constructor. data SubmitFeedbackResponse SubmitFeedbackResponse' :: Int -> SubmitFeedbackResponse -- | The response's http status code. [$sel:httpStatus:SubmitFeedbackResponse'] :: SubmitFeedbackResponse -> Int -- | Create a value of SubmitFeedbackResponse with all optional -- fields omitted. -- -- Use 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:SubmitFeedbackResponse', -- submitFeedbackResponse_httpStatus - The response's http status -- code. newSubmitFeedbackResponse :: Int -> SubmitFeedbackResponse -- | The response's http status code. submitFeedbackResponse_httpStatus :: Lens' SubmitFeedbackResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance GHC.Show.Show Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance GHC.Read.Read Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedbackResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedbackResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedbackResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedbackResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedbackResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.SubmitFeedback.SubmitFeedback -- | Removes permissions from a profiling group's resource-based policy -- that are provided using an action group. The one supported action -- group that can be removed is agentPermission which grants -- ConfigureAgent and PostAgent permissions. For more -- information, see Resource-based policies in CodeGuru Profiler -- in the Amazon CodeGuru Profiler User Guide, -- ConfigureAgent , and PostAgentProfile . module Amazonka.CodeGuruProfiler.RemovePermission -- |
--   The structure representing the <code>removePermissionRequest</code>.</p>
--   
-- -- See: newRemovePermission smart constructor. data RemovePermission RemovePermission' :: ActionGroup -> Text -> Text -> RemovePermission -- | Specifies an action group that contains the permissions to remove from -- a profiling group's resource-based policy. One action group is -- supported, agentPermissions, which grants -- ConfigureAgent and PostAgentProfile permissions. [$sel:actionGroup:RemovePermission'] :: RemovePermission -> ActionGroup -- | The name of the profiling group. [$sel:profilingGroupName:RemovePermission'] :: RemovePermission -> Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy from which you want to remove permissions. [$sel:revisionId:RemovePermission'] :: RemovePermission -> Text -- | Create a value of RemovePermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:actionGroup:RemovePermission', -- removePermission_actionGroup - Specifies an action group that -- contains the permissions to remove from a profiling group's -- resource-based policy. One action group is supported, -- agentPermissions, which grants ConfigureAgent and -- PostAgentProfile permissions. -- -- RemovePermission, removePermission_profilingGroupName - -- The name of the profiling group. -- -- RemovePermission, removePermission_revisionId - A -- universally unique identifier (UUID) for the revision of the -- resource-based policy from which you want to remove permissions. newRemovePermission :: ActionGroup -> Text -> Text -> RemovePermission -- | Specifies an action group that contains the permissions to remove from -- a profiling group's resource-based policy. One action group is -- supported, agentPermissions, which grants -- ConfigureAgent and PostAgentProfile permissions. removePermission_actionGroup :: Lens' RemovePermission ActionGroup -- | The name of the profiling group. removePermission_profilingGroupName :: Lens' RemovePermission Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy from which you want to remove permissions. removePermission_revisionId :: Lens' RemovePermission Text -- | The structure representing the removePermissionResponse. -- -- See: newRemovePermissionResponse smart constructor. data RemovePermissionResponse RemovePermissionResponse' :: Int -> Text -> Text -> RemovePermissionResponse -- | The response's http status code. [$sel:httpStatus:RemovePermissionResponse'] :: RemovePermissionResponse -> Int -- | The JSON-formatted resource-based policy on the profiling group after -- the specified permissions were removed. [$sel:policy:RemovePermissionResponse'] :: RemovePermissionResponse -> Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy after the specified permissions were removed. -- The updated JSON-formatted policy is in the policy element of -- the response. [$sel:revisionId:RemovePermissionResponse'] :: RemovePermissionResponse -> Text -- | Create a value of RemovePermissionResponse with all optional -- fields omitted. -- -- Use 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:RemovePermissionResponse', -- removePermissionResponse_httpStatus - The response's http -- status code. -- -- $sel:policy:RemovePermissionResponse', -- removePermissionResponse_policy - The JSON-formatted -- resource-based policy on the profiling group after the specified -- permissions were removed. -- -- RemovePermission, removePermissionResponse_revisionId - -- A universally unique identifier (UUID) for the revision of the -- resource-based policy after the specified permissions were removed. -- The updated JSON-formatted policy is in the policy element of -- the response. newRemovePermissionResponse :: Int -> Text -> Text -> RemovePermissionResponse -- | The response's http status code. removePermissionResponse_httpStatus :: Lens' RemovePermissionResponse Int -- | The JSON-formatted resource-based policy on the profiling group after -- the specified permissions were removed. removePermissionResponse_policy :: Lens' RemovePermissionResponse Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy after the specified permissions were removed. -- The updated JSON-formatted policy is in the policy element of -- the response. removePermissionResponse_revisionId :: Lens' RemovePermissionResponse Text instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance GHC.Show.Show Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance GHC.Read.Read Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.RemovePermission.RemovePermissionResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.RemovePermission.RemovePermissionResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.RemovePermission.RemovePermissionResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.RemovePermission.RemovePermissionResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.RemovePermission.RemovePermissionResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.RemovePermission.RemovePermission -- | Remove one anomaly notifications channel for a profiling group. module Amazonka.CodeGuruProfiler.RemoveNotificationChannel -- | The structure representing the RemoveNotificationChannelRequest. -- -- See: newRemoveNotificationChannel smart constructor. data RemoveNotificationChannel RemoveNotificationChannel' :: Text -> Text -> RemoveNotificationChannel -- | The id of the channel that we want to stop receiving notifications. [$sel:channelId:RemoveNotificationChannel'] :: RemoveNotificationChannel -> Text -- | The name of the profiling group we want to change notification -- configuration for. [$sel:profilingGroupName: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: -- -- $sel:channelId:RemoveNotificationChannel', -- removeNotificationChannel_channelId - The id of the channel -- that we want to stop receiving notifications. -- -- RemoveNotificationChannel, -- removeNotificationChannel_profilingGroupName - The name of the -- profiling group we want to change notification configuration for. newRemoveNotificationChannel :: Text -> Text -> RemoveNotificationChannel -- | The id of the channel that we want to stop receiving notifications. removeNotificationChannel_channelId :: Lens' RemoveNotificationChannel Text -- | The name of the profiling group we want to change notification -- configuration for. removeNotificationChannel_profilingGroupName :: Lens' RemoveNotificationChannel Text -- | The structure representing the RemoveNotificationChannelResponse. -- -- See: newRemoveNotificationChannelResponse smart -- constructor. data RemoveNotificationChannelResponse RemoveNotificationChannelResponse' :: Maybe NotificationConfiguration -> Int -> RemoveNotificationChannelResponse -- | The new notification configuration for this profiling group. [$sel:notificationConfiguration:RemoveNotificationChannelResponse'] :: RemoveNotificationChannelResponse -> Maybe NotificationConfiguration -- | 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:notificationConfiguration:RemoveNotificationChannelResponse', -- removeNotificationChannelResponse_notificationConfiguration - -- The new notification configuration for this profiling group. -- -- $sel:httpStatus:RemoveNotificationChannelResponse', -- removeNotificationChannelResponse_httpStatus - The response's -- http status code. newRemoveNotificationChannelResponse :: Int -> RemoveNotificationChannelResponse -- | The new notification configuration for this profiling group. removeNotificationChannelResponse_notificationConfiguration :: Lens' RemoveNotificationChannelResponse (Maybe NotificationConfiguration) -- | The response's http status code. removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance GHC.Show.Show Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance GHC.Read.Read Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannelResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannelResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannelResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannelResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannelResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.RemoveNotificationChannel.RemoveNotificationChannel -- | Adds permissions to a profiling group's resource-based policy that are -- provided using an action group. If a profiling group doesn't have a -- resource-based policy, one is created for it using the permissions in -- the action group and the roles and users in the principals -- parameter. -- --
--   <p> The one supported action group that can be added is <code>agentPermission</code> which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html"> <code>ConfigureAgent</code> </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html"> <code>PostAgentProfile</code> </a>. </p> <p> The first time you call <code>PutPermission</code> on a profiling group, do not specify a <code>revisionId</code> because it doesn't have a resource-based policy. Subsequent calls must provide a <code>revisionId</code> to specify which revision of the resource-based policy to add the permissions to. </p> <p> The response contains the profiling group's JSON-formatted resource policy. </p>
--   
module Amazonka.CodeGuruProfiler.PutPermission -- | The structure representing the putPermissionRequest. -- -- See: newPutPermission smart constructor. data PutPermission PutPermission' :: Maybe Text -> ActionGroup -> NonEmpty Text -> Text -> PutPermission -- | A universally unique identifier (UUID) for the revision of the policy -- you are adding to the profiling group. Do not specify this when you -- add permissions to a profiling group for the first time. If a policy -- already exists on the profiling group, you must specify the -- revisionId. [$sel:revisionId:PutPermission'] :: PutPermission -> Maybe Text -- | Specifies an action group that contains permissions to add to a -- profiling group resource. One action group is supported, -- agentPermissions, which grants permission to perform actions -- required by the profiling agent, ConfigureAgent and -- PostAgentProfile permissions. [$sel:actionGroup:PutPermission'] :: PutPermission -> ActionGroup -- | A list ARNs for the roles and users you want to grant access to the -- profiling group. Wildcards are not are supported in the ARNs. [$sel:principals:PutPermission'] :: PutPermission -> NonEmpty Text -- | The name of the profiling group to grant access to. [$sel:profilingGroupName:PutPermission'] :: PutPermission -> Text -- | Create a value of PutPermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutPermission, putPermission_revisionId - A universally -- unique identifier (UUID) for the revision of the policy you are adding -- to the profiling group. Do not specify this when you add permissions -- to a profiling group for the first time. If a policy already exists on -- the profiling group, you must specify the revisionId. -- -- $sel:actionGroup:PutPermission', -- putPermission_actionGroup - Specifies an action group that -- contains permissions to add to a profiling group resource. One action -- group is supported, agentPermissions, which grants permission -- to perform actions required by the profiling agent, -- ConfigureAgent and PostAgentProfile permissions. -- -- $sel:principals:PutPermission', putPermission_principals -- - A list ARNs for the roles and users you want to grant access to the -- profiling group. Wildcards are not are supported in the ARNs. -- -- PutPermission, putPermission_profilingGroupName - The -- name of the profiling group to grant access to. newPutPermission :: ActionGroup -> NonEmpty Text -> Text -> PutPermission -- | A universally unique identifier (UUID) for the revision of the policy -- you are adding to the profiling group. Do not specify this when you -- add permissions to a profiling group for the first time. If a policy -- already exists on the profiling group, you must specify the -- revisionId. putPermission_revisionId :: Lens' PutPermission (Maybe Text) -- | Specifies an action group that contains permissions to add to a -- profiling group resource. One action group is supported, -- agentPermissions, which grants permission to perform actions -- required by the profiling agent, ConfigureAgent and -- PostAgentProfile permissions. putPermission_actionGroup :: Lens' PutPermission ActionGroup -- | A list ARNs for the roles and users you want to grant access to the -- profiling group. Wildcards are not are supported in the ARNs. putPermission_principals :: Lens' PutPermission (NonEmpty Text) -- | The name of the profiling group to grant access to. putPermission_profilingGroupName :: Lens' PutPermission Text -- | The structure representing the putPermissionResponse. -- -- See: newPutPermissionResponse smart constructor. data PutPermissionResponse PutPermissionResponse' :: Int -> Text -> Text -> PutPermissionResponse -- | The response's http status code. [$sel:httpStatus:PutPermissionResponse'] :: PutPermissionResponse -> Int -- | The JSON-formatted resource-based policy on the profiling group that -- includes the added permissions. [$sel:policy:PutPermissionResponse'] :: PutPermissionResponse -> Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy that includes the added permissions. The -- JSON-formatted policy is in the policy element of the -- response. [$sel:revisionId:PutPermissionResponse'] :: PutPermissionResponse -> Text -- | Create a value of PutPermissionResponse with all optional -- fields omitted. -- -- Use 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:PutPermissionResponse', -- putPermissionResponse_httpStatus - The response's http status -- code. -- -- $sel:policy:PutPermissionResponse', -- putPermissionResponse_policy - The JSON-formatted -- resource-based policy on the profiling group that includes the added -- permissions. -- -- PutPermission, putPermissionResponse_revisionId - A -- universally unique identifier (UUID) for the revision of the -- resource-based policy that includes the added permissions. The -- JSON-formatted policy is in the policy element of the -- response. newPutPermissionResponse :: Int -> Text -> Text -> PutPermissionResponse -- | The response's http status code. putPermissionResponse_httpStatus :: Lens' PutPermissionResponse Int -- | The JSON-formatted resource-based policy on the profiling group that -- includes the added permissions. putPermissionResponse_policy :: Lens' PutPermissionResponse Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy that includes the added permissions. The -- JSON-formatted policy is in the policy element of the -- response. putPermissionResponse_revisionId :: Lens' PutPermissionResponse Text instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance GHC.Show.Show Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance GHC.Read.Read Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.PutPermission.PutPermissionResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.PutPermission.PutPermissionResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.PutPermission.PutPermissionResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.PutPermission.PutPermissionResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.PutPermission.PutPermissionResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.PutPermission.PutPermission instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.PutPermission.PutPermission -- | Submits profiling data to an aggregated profile of a profiling group. -- To get an aggregated profile that is created with this profiling data, -- use GetProfile . module Amazonka.CodeGuruProfiler.PostAgentProfile -- | The structure representing the postAgentProfileRequest. -- -- See: newPostAgentProfile smart constructor. data PostAgentProfile PostAgentProfile' :: Maybe Text -> ByteString -> Text -> Text -> PostAgentProfile -- | Amazon CodeGuru Profiler uses this universally unique identifier -- (UUID) to prevent the accidental submission of duplicate profiling -- data if there are failures and retries. [$sel:profileToken:PostAgentProfile'] :: PostAgentProfile -> Maybe Text -- | The submitted profiling data. [$sel:agentProfile:PostAgentProfile'] :: PostAgentProfile -> ByteString -- | The format of the submitted profiling data. The format maps to the -- Accept and Content-Type headers of the HTTP request. -- You can specify one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
[$sel:contentType:PostAgentProfile'] :: PostAgentProfile -> Text -- | The name of the profiling group with the aggregated profile that -- receives the submitted profiling data. [$sel:profilingGroupName:PostAgentProfile'] :: PostAgentProfile -> Text -- | Create a value of PostAgentProfile with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:profileToken:PostAgentProfile', -- postAgentProfile_profileToken - Amazon CodeGuru Profiler uses -- this universally unique identifier (UUID) to prevent the accidental -- submission of duplicate profiling data if there are failures and -- retries. -- -- $sel:agentProfile:PostAgentProfile', -- postAgentProfile_agentProfile - The submitted profiling data. -- -- $sel:contentType:PostAgentProfile', -- postAgentProfile_contentType - The format of the submitted -- profiling data. The format maps to the Accept and -- Content-Type headers of the HTTP request. You can specify one -- of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
-- -- PostAgentProfile, postAgentProfile_profilingGroupName - -- The name of the profiling group with the aggregated profile that -- receives the submitted profiling data. newPostAgentProfile :: ByteString -> Text -> Text -> PostAgentProfile -- | Amazon CodeGuru Profiler uses this universally unique identifier -- (UUID) to prevent the accidental submission of duplicate profiling -- data if there are failures and retries. postAgentProfile_profileToken :: Lens' PostAgentProfile (Maybe Text) -- | The submitted profiling data. postAgentProfile_agentProfile :: Lens' PostAgentProfile ByteString -- | The format of the submitted profiling data. The format maps to the -- Accept and Content-Type headers of the HTTP request. -- You can specify one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
postAgentProfile_contentType :: Lens' PostAgentProfile Text -- | The name of the profiling group with the aggregated profile that -- receives the submitted profiling data. postAgentProfile_profilingGroupName :: Lens' PostAgentProfile Text -- | The structure representing the postAgentProfileResponse. -- -- See: newPostAgentProfileResponse smart constructor. data PostAgentProfileResponse PostAgentProfileResponse' :: Int -> PostAgentProfileResponse -- | The response's http status code. [$sel:httpStatus:PostAgentProfileResponse'] :: PostAgentProfileResponse -> Int -- | Create a value of PostAgentProfileResponse with all optional -- fields omitted. -- -- Use 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:PostAgentProfileResponse', -- postAgentProfileResponse_httpStatus - The response's http -- status code. newPostAgentProfileResponse :: Int -> PostAgentProfileResponse -- | The response's http status code. postAgentProfileResponse_httpStatus :: Lens' PostAgentProfileResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance GHC.Show.Show Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance GHC.Read.Read Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfileResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfileResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfileResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfileResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfileResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance Amazonka.Data.Body.ToBody Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.PostAgentProfile.PostAgentProfile -- | Returns a list of the tags that are assigned to a specified resource. module Amazonka.CodeGuruProfiler.ListTagsForResource -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | The Amazon Resource Name (ARN) of the resource that contains the tags -- to return. [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text -- | Create a value of ListTagsForResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourceArn:ListTagsForResource', -- listTagsForResource_resourceArn - The Amazon Resource Name -- (ARN) of the resource that contains the tags to return. newListTagsForResource :: Text -> ListTagsForResource -- | The Amazon Resource Name (ARN) of the resource that contains the tags -- to return. listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse -- | The list of tags assigned to the specified resource. This is the list -- of tags returned in the response. [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (HashMap Text Text) -- | The response's http status code. [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int -- | Create a value of ListTagsForResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListTagsForResourceResponse, -- listTagsForResourceResponse_tags - The list of tags assigned to -- the specified resource. This is the list of tags returned in the -- response. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | The list of tags assigned to the specified resource. This is the list -- of tags returned in the response. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResourceResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResourceResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResourceResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResourceResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResourceResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.ListTagsForResource.ListTagsForResource -- | Returns a list of profiling groups. The profiling groups are returned -- as ProfilingGroupDescription objects. module Amazonka.CodeGuruProfiler.ListProfilingGroups -- | The structure representing the listProfilingGroupsRequest. -- -- See: newListProfilingGroups smart constructor. data ListProfilingGroups ListProfilingGroups' :: Maybe Bool -> Maybe Natural -> Maybe Text -> ListProfilingGroups -- | A Boolean value indicating whether to include a description. -- If true, then a list of ProfilingGroupDescription -- objects that contain detailed information about profiling groups is -- returned. If false, then a list of profiling group names is -- returned. [$sel:includeDescription:ListProfilingGroups'] :: ListProfilingGroups -> Maybe Bool -- | The maximum number of profiling groups results returned by -- ListProfilingGroups in paginated output. When this parameter -- is used, ListProfilingGroups only returns maxResults -- results in a single page along with a nextToken response -- element. The remaining results of the initial request can be seen by -- sending another ListProfilingGroups request with the returned -- nextToken value. [$sel:maxResults:ListProfilingGroups'] :: ListProfilingGroups -> Maybe Natural -- | The nextToken value returned from a previous paginated -- ListProfilingGroups request where maxResults was -- used and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. [$sel:nextToken:ListProfilingGroups'] :: ListProfilingGroups -> Maybe Text -- | Create a value of ListProfilingGroups with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:includeDescription:ListProfilingGroups', -- listProfilingGroups_includeDescription - A Boolean -- value indicating whether to include a description. If true, -- then a list of ProfilingGroupDescription objects that contain -- detailed information about profiling groups is returned. If -- false, then a list of profiling group names is returned. -- -- $sel:maxResults:ListProfilingGroups', -- listProfilingGroups_maxResults - The maximum number of -- profiling groups results returned by ListProfilingGroups in -- paginated output. When this parameter is used, -- ListProfilingGroups only returns maxResults results -- in a single page along with a nextToken response element. The -- remaining results of the initial request can be seen by sending -- another ListProfilingGroups request with the returned -- nextToken value. -- -- ListProfilingGroups, listProfilingGroups_nextToken - The -- nextToken value returned from a previous paginated -- ListProfilingGroups request where maxResults was -- used and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. newListProfilingGroups :: ListProfilingGroups -- | A Boolean value indicating whether to include a description. -- If true, then a list of ProfilingGroupDescription -- objects that contain detailed information about profiling groups is -- returned. If false, then a list of profiling group names is -- returned. listProfilingGroups_includeDescription :: Lens' ListProfilingGroups (Maybe Bool) -- | The maximum number of profiling groups results returned by -- ListProfilingGroups in paginated output. When this parameter -- is used, ListProfilingGroups only returns maxResults -- results in a single page along with a nextToken response -- element. The remaining results of the initial request can be seen by -- sending another ListProfilingGroups request with the returned -- nextToken value. listProfilingGroups_maxResults :: Lens' ListProfilingGroups (Maybe Natural) -- | The nextToken value returned from a previous paginated -- ListProfilingGroups request where maxResults was -- used and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. listProfilingGroups_nextToken :: Lens' ListProfilingGroups (Maybe Text) -- | The structure representing the listProfilingGroupsResponse. -- -- See: newListProfilingGroupsResponse smart constructor. data ListProfilingGroupsResponse ListProfilingGroupsResponse' :: Maybe Text -> Maybe [ProfilingGroupDescription] -> Int -> [Text] -> ListProfilingGroupsResponse -- | The nextToken value to include in a future -- ListProfilingGroups request. When the results of a -- ListProfilingGroups request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. [$sel:nextToken:ListProfilingGroupsResponse'] :: ListProfilingGroupsResponse -> Maybe Text -- | A returned list ProfilingGroupDescription objects. A list of -- ProfilingGroupDescription objects is returned only if -- includeDescription is true, otherwise a list of -- profiling group names is returned. [$sel:profilingGroups:ListProfilingGroupsResponse'] :: ListProfilingGroupsResponse -> Maybe [ProfilingGroupDescription] -- | The response's http status code. [$sel:httpStatus:ListProfilingGroupsResponse'] :: ListProfilingGroupsResponse -> Int -- | A returned list of profiling group names. A list of the names is -- returned only if includeDescription is false, -- otherwise a list of ProfilingGroupDescription objects is -- returned. [$sel:profilingGroupNames:ListProfilingGroupsResponse'] :: ListProfilingGroupsResponse -> [Text] -- | Create a value of ListProfilingGroupsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListProfilingGroups, -- listProfilingGroupsResponse_nextToken - The nextToken -- value to include in a future ListProfilingGroups request. -- When the results of a ListProfilingGroups request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. -- -- $sel:profilingGroups:ListProfilingGroupsResponse', -- listProfilingGroupsResponse_profilingGroups - A returned list -- ProfilingGroupDescription objects. A list of -- ProfilingGroupDescription objects is returned only if -- includeDescription is true, otherwise a list of -- profiling group names is returned. -- -- $sel:httpStatus:ListProfilingGroupsResponse', -- listProfilingGroupsResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroupNames:ListProfilingGroupsResponse', -- listProfilingGroupsResponse_profilingGroupNames - A returned -- list of profiling group names. A list of the names is returned only if -- includeDescription is false, otherwise a list of -- ProfilingGroupDescription objects is returned. newListProfilingGroupsResponse :: Int -> ListProfilingGroupsResponse -- | The nextToken value to include in a future -- ListProfilingGroups request. When the results of a -- ListProfilingGroups request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. listProfilingGroupsResponse_nextToken :: Lens' ListProfilingGroupsResponse (Maybe Text) -- | A returned list ProfilingGroupDescription objects. A list of -- ProfilingGroupDescription objects is returned only if -- includeDescription is true, otherwise a list of -- profiling group names is returned. listProfilingGroupsResponse_profilingGroups :: Lens' ListProfilingGroupsResponse (Maybe [ProfilingGroupDescription]) -- | The response's http status code. listProfilingGroupsResponse_httpStatus :: Lens' ListProfilingGroupsResponse Int -- | A returned list of profiling group names. A list of the names is -- returned only if includeDescription is false, -- otherwise a list of ProfilingGroupDescription objects is -- returned. listProfilingGroupsResponse_profilingGroupNames :: Lens' ListProfilingGroupsResponse [Text] instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroupsResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroupsResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroupsResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroupsResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroupsResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.ListProfilingGroups.ListProfilingGroups -- | Lists the start times of the available aggregated profiles of a -- profiling group for an aggregation period within the specified time -- range. -- -- This operation returns paginated results. module Amazonka.CodeGuruProfiler.ListProfileTimes -- | The structure representing the listProfileTimesRequest. -- -- See: newListProfileTimes smart constructor. data ListProfileTimes ListProfileTimes' :: Maybe Natural -> Maybe Text -> Maybe OrderBy -> ISO8601 -> AggregationPeriod -> Text -> ISO8601 -> ListProfileTimes -- | The maximum number of profile time results returned by -- ListProfileTimes in paginated output. When this parameter is -- used, ListProfileTimes only returns maxResults -- results in a single page with a nextToken response element. -- The remaining results of the initial request can be seen by sending -- another ListProfileTimes request with the returned -- nextToken value. [$sel:maxResults:ListProfileTimes'] :: ListProfileTimes -> Maybe Natural -- | The nextToken value returned from a previous paginated -- ListProfileTimes request where maxResults was used -- and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. [$sel:nextToken:ListProfileTimes'] :: ListProfileTimes -> Maybe Text -- | The order (ascending or descending by start time of the profile) to -- use when listing profiles. Defaults to TIMESTAMP_DESCENDING. [$sel:orderBy:ListProfileTimes'] :: ListProfileTimes -> Maybe OrderBy -- | The end time of the time range from which to list the profiles. [$sel:endTime:ListProfileTimes'] :: ListProfileTimes -> ISO8601 -- | The aggregation period. This specifies the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. There are 3 valid values. -- -- [$sel:period:ListProfileTimes'] :: ListProfileTimes -> AggregationPeriod -- | The name of the profiling group. [$sel:profilingGroupName:ListProfileTimes'] :: ListProfileTimes -> Text -- | The start time of the time range from which to list the profiles. [$sel:startTime:ListProfileTimes'] :: ListProfileTimes -> ISO8601 -- | Create a value of ListProfileTimes with all optional fields -- omitted. -- -- Use 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:ListProfileTimes', -- listProfileTimes_maxResults - The maximum number of profile -- time results returned by ListProfileTimes in paginated -- output. When this parameter is used, ListProfileTimes only -- returns maxResults results in a single page with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- ListProfileTimes request with the returned nextToken -- value. -- -- ListProfileTimes, listProfileTimes_nextToken - The -- nextToken value returned from a previous paginated -- ListProfileTimes request where maxResults was used -- and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. -- -- $sel:orderBy:ListProfileTimes', listProfileTimes_orderBy -- - The order (ascending or descending by start time of the profile) to -- use when listing profiles. Defaults to TIMESTAMP_DESCENDING. -- -- ListProfileTimes, listProfileTimes_endTime - The end -- time of the time range from which to list the profiles. -- -- ListProfileTimes, listProfileTimes_period - The -- aggregation period. This specifies the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. There are 3 valid values. -- -- -- -- ListProfileTimes, listProfileTimes_profilingGroupName - -- The name of the profiling group. -- -- ListProfileTimes, listProfileTimes_startTime - The start -- time of the time range from which to list the profiles. newListProfileTimes :: UTCTime -> AggregationPeriod -> Text -> UTCTime -> ListProfileTimes -- | The maximum number of profile time results returned by -- ListProfileTimes in paginated output. When this parameter is -- used, ListProfileTimes only returns maxResults -- results in a single page with a nextToken response element. -- The remaining results of the initial request can be seen by sending -- another ListProfileTimes request with the returned -- nextToken value. listProfileTimes_maxResults :: Lens' ListProfileTimes (Maybe Natural) -- | The nextToken value returned from a previous paginated -- ListProfileTimes request where maxResults was used -- and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. listProfileTimes_nextToken :: Lens' ListProfileTimes (Maybe Text) -- | The order (ascending or descending by start time of the profile) to -- use when listing profiles. Defaults to TIMESTAMP_DESCENDING. listProfileTimes_orderBy :: Lens' ListProfileTimes (Maybe OrderBy) -- | The end time of the time range from which to list the profiles. listProfileTimes_endTime :: Lens' ListProfileTimes UTCTime -- | The aggregation period. This specifies the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. There are 3 valid values. -- -- listProfileTimes_period :: Lens' ListProfileTimes AggregationPeriod -- | The name of the profiling group. listProfileTimes_profilingGroupName :: Lens' ListProfileTimes Text -- | The start time of the time range from which to list the profiles. listProfileTimes_startTime :: Lens' ListProfileTimes UTCTime -- | The structure representing the listProfileTimesResponse. -- -- See: newListProfileTimesResponse smart constructor. data ListProfileTimesResponse ListProfileTimesResponse' :: Maybe Text -> Int -> [ProfileTime] -> ListProfileTimesResponse -- | The nextToken value to include in a future -- ListProfileTimes request. When the results of a -- ListProfileTimes request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. [$sel:nextToken:ListProfileTimesResponse'] :: ListProfileTimesResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListProfileTimesResponse'] :: ListProfileTimesResponse -> Int -- | The list of start times of the available profiles for the aggregation -- period in the specified time range. [$sel:profileTimes:ListProfileTimesResponse'] :: ListProfileTimesResponse -> [ProfileTime] -- | Create a value of ListProfileTimesResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListProfileTimes, listProfileTimesResponse_nextToken - -- The nextToken value to include in a future -- ListProfileTimes request. When the results of a -- ListProfileTimes request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. -- -- $sel:httpStatus:ListProfileTimesResponse', -- listProfileTimesResponse_httpStatus - The response's http -- status code. -- -- $sel:profileTimes:ListProfileTimesResponse', -- listProfileTimesResponse_profileTimes - The list of start times -- of the available profiles for the aggregation period in the specified -- time range. newListProfileTimesResponse :: Int -> ListProfileTimesResponse -- | The nextToken value to include in a future -- ListProfileTimes request. When the results of a -- ListProfileTimes request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. listProfileTimesResponse_nextToken :: Lens' ListProfileTimesResponse (Maybe Text) -- | The response's http status code. listProfileTimesResponse_httpStatus :: Lens' ListProfileTimesResponse Int -- | The list of start times of the available profiles for the aggregation -- period in the specified time range. listProfileTimesResponse_profileTimes :: Lens' ListProfileTimesResponse [ProfileTime] instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimesResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimesResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimesResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimesResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimesResponse instance Amazonka.Pager.AWSPager Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.ListProfileTimes.ListProfileTimes -- | List the available reports for a given profiling group and time range. module Amazonka.CodeGuruProfiler.ListFindingsReports -- | The structure representing the ListFindingsReportsRequest. -- -- See: newListFindingsReports smart constructor. data ListFindingsReports ListFindingsReports' :: Maybe Bool -> Maybe Natural -> Maybe Text -> ISO8601 -> Text -> ISO8601 -> ListFindingsReports -- | A Boolean value indicating whether to only return reports -- from daily profiles. If set to True, only analysis data from -- daily profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). [$sel:dailyReportsOnly:ListFindingsReports'] :: ListFindingsReports -> Maybe Bool -- | The maximum number of report results returned by -- ListFindingsReports in paginated output. When this parameter -- is used, ListFindingsReports only returns maxResults -- results in a single page along with a nextToken response -- element. The remaining results of the initial request can be seen by -- sending another ListFindingsReports request with the returned -- nextToken value. [$sel:maxResults:ListFindingsReports'] :: ListFindingsReports -> Maybe Natural -- | The nextToken value returned from a previous paginated -- ListFindingsReportsRequest request where maxResults -- was used and the results exceeded the value of that parameter. -- Pagination continues from the end of the previous results that -- returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. [$sel:nextToken:ListFindingsReports'] :: ListFindingsReports -> Maybe Text -- | The end time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:endTime:ListFindingsReports'] :: ListFindingsReports -> ISO8601 -- | The name of the profiling group from which to search for analysis -- data. [$sel:profilingGroupName:ListFindingsReports'] :: ListFindingsReports -> Text -- | The start time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:startTime:ListFindingsReports'] :: ListFindingsReports -> ISO8601 -- | Create a value of ListFindingsReports with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:dailyReportsOnly:ListFindingsReports', -- listFindingsReports_dailyReportsOnly - A Boolean value -- indicating whether to only return reports from daily profiles. If set -- to True, only analysis data from daily profiles is returned. -- If set to False, analysis data is returned from smaller time -- windows (for example, one hour). -- -- $sel:maxResults:ListFindingsReports', -- listFindingsReports_maxResults - The maximum number of report -- results returned by ListFindingsReports in paginated output. -- When this parameter is used, ListFindingsReports only returns -- maxResults results in a single page along with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- ListFindingsReports request with the returned -- nextToken value. -- -- ListFindingsReports, listFindingsReports_nextToken - The -- nextToken value returned from a previous paginated -- ListFindingsReportsRequest request where maxResults -- was used and the results exceeded the value of that parameter. -- Pagination continues from the end of the previous results that -- returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. -- -- ListFindingsReports, listFindingsReports_endTime - The -- end time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- ListFindingsReports, -- listFindingsReports_profilingGroupName - The name of the -- profiling group from which to search for analysis data. -- -- ListFindingsReports, listFindingsReports_startTime - The -- start time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. newListFindingsReports :: UTCTime -> Text -> UTCTime -> ListFindingsReports -- | A Boolean value indicating whether to only return reports -- from daily profiles. If set to True, only analysis data from -- daily profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). listFindingsReports_dailyReportsOnly :: Lens' ListFindingsReports (Maybe Bool) -- | The maximum number of report results returned by -- ListFindingsReports in paginated output. When this parameter -- is used, ListFindingsReports only returns maxResults -- results in a single page along with a nextToken response -- element. The remaining results of the initial request can be seen by -- sending another ListFindingsReports request with the returned -- nextToken value. listFindingsReports_maxResults :: Lens' ListFindingsReports (Maybe Natural) -- | The nextToken value returned from a previous paginated -- ListFindingsReportsRequest request where maxResults -- was used and the results exceeded the value of that parameter. -- Pagination continues from the end of the previous results that -- returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. listFindingsReports_nextToken :: Lens' ListFindingsReports (Maybe Text) -- | The end time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. listFindingsReports_endTime :: Lens' ListFindingsReports UTCTime -- | The name of the profiling group from which to search for analysis -- data. listFindingsReports_profilingGroupName :: Lens' ListFindingsReports Text -- | The start time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. listFindingsReports_startTime :: Lens' ListFindingsReports UTCTime -- | The structure representing the ListFindingsReportsResponse. -- -- See: newListFindingsReportsResponse smart constructor. data ListFindingsReportsResponse ListFindingsReportsResponse' :: Maybe Text -> Int -> [FindingsReportSummary] -> ListFindingsReportsResponse -- | The nextToken value to include in a future -- ListFindingsReports request. When the results of a -- ListFindingsReports request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. [$sel:nextToken:ListFindingsReportsResponse'] :: ListFindingsReportsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListFindingsReportsResponse'] :: ListFindingsReportsResponse -> Int -- | The list of analysis results summaries. [$sel:findingsReportSummaries:ListFindingsReportsResponse'] :: ListFindingsReportsResponse -> [FindingsReportSummary] -- | Create a value of ListFindingsReportsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListFindingsReports, -- listFindingsReportsResponse_nextToken - The nextToken -- value to include in a future ListFindingsReports request. -- When the results of a ListFindingsReports request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. -- -- $sel:httpStatus:ListFindingsReportsResponse', -- listFindingsReportsResponse_httpStatus - The response's http -- status code. -- -- $sel:findingsReportSummaries:ListFindingsReportsResponse', -- listFindingsReportsResponse_findingsReportSummaries - The list -- of analysis results summaries. newListFindingsReportsResponse :: Int -> ListFindingsReportsResponse -- | The nextToken value to include in a future -- ListFindingsReports request. When the results of a -- ListFindingsReports request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. listFindingsReportsResponse_nextToken :: Lens' ListFindingsReportsResponse (Maybe Text) -- | The response's http status code. listFindingsReportsResponse_httpStatus :: Lens' ListFindingsReportsResponse Int -- | The list of analysis results summaries. listFindingsReportsResponse_findingsReportSummaries :: Lens' ListFindingsReportsResponse [FindingsReportSummary] instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReportsResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReportsResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReportsResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReportsResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReportsResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.ListFindingsReports.ListFindingsReports -- | Returns a list of Recommendation objects that contain -- recommendations for a profiling group for a given time period. A list -- of Anomaly objects that contains details about anomalies -- detected in the profiling group for the same time period is also -- returned. module Amazonka.CodeGuruProfiler.GetRecommendations -- | The structure representing the GetRecommendationsRequest. -- -- See: newGetRecommendations smart constructor. data GetRecommendations GetRecommendations' :: Maybe Text -> ISO8601 -> Text -> ISO8601 -> GetRecommendations -- | The language used to provide analysis. Specify using a string that is -- one of the following BCP 47 language codes. -- -- [$sel:locale:GetRecommendations'] :: GetRecommendations -> Maybe Text -- | The start time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:endTime:GetRecommendations'] :: GetRecommendations -> ISO8601 -- | The name of the profiling group to get analysis data about. [$sel:profilingGroupName:GetRecommendations'] :: GetRecommendations -> Text -- | The end time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. [$sel:startTime:GetRecommendations'] :: GetRecommendations -> ISO8601 -- | Create a value of GetRecommendations with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:locale:GetRecommendations', -- getRecommendations_locale - The language used to provide -- analysis. Specify using a string that is one of the following BCP -- 47 language codes. -- -- -- -- GetRecommendations, getRecommendations_endTime - The -- start time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- GetRecommendations, -- getRecommendations_profilingGroupName - The name of the -- profiling group to get analysis data about. -- -- GetRecommendations, getRecommendations_startTime - The -- end time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. newGetRecommendations :: UTCTime -> Text -> UTCTime -> GetRecommendations -- | The language used to provide analysis. Specify using a string that is -- one of the following BCP 47 language codes. -- -- getRecommendations_locale :: Lens' GetRecommendations (Maybe Text) -- | The start time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. getRecommendations_endTime :: Lens' GetRecommendations UTCTime -- | The name of the profiling group to get analysis data about. getRecommendations_profilingGroupName :: Lens' GetRecommendations Text -- | The end time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. getRecommendations_startTime :: Lens' GetRecommendations UTCTime -- | The structure representing the GetRecommendationsResponse. -- -- See: newGetRecommendationsResponse smart constructor. data GetRecommendationsResponse GetRecommendationsResponse' :: Int -> [Anomaly] -> ISO8601 -> ISO8601 -> Text -> [Recommendation] -> GetRecommendationsResponse -- | The response's http status code. [$sel:httpStatus:GetRecommendationsResponse'] :: GetRecommendationsResponse -> Int -- | The list of anomalies that the analysis has found for this profile. [$sel:anomalies:GetRecommendationsResponse'] :: GetRecommendationsResponse -> [Anomaly] -- | The end time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:profileEndTime:GetRecommendationsResponse'] :: GetRecommendationsResponse -> ISO8601 -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:profileStartTime:GetRecommendationsResponse'] :: GetRecommendationsResponse -> ISO8601 -- | The name of the profiling group the analysis data is about. [$sel:profilingGroupName:GetRecommendationsResponse'] :: GetRecommendationsResponse -> Text -- | The list of recommendations that the analysis found for this profile. [$sel:recommendations:GetRecommendationsResponse'] :: GetRecommendationsResponse -> [Recommendation] -- | Create a value of GetRecommendationsResponse with all optional -- fields omitted. -- -- Use 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:GetRecommendationsResponse', -- getRecommendationsResponse_httpStatus - The response's http -- status code. -- -- $sel:anomalies:GetRecommendationsResponse', -- getRecommendationsResponse_anomalies - The list of anomalies -- that the analysis has found for this profile. -- -- GetRecommendationsResponse, -- getRecommendationsResponse_profileEndTime - The end time of the -- profile the analysis data is about. This is specified using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- GetRecommendationsResponse, -- getRecommendationsResponse_profileStartTime - The start time of -- the profile the analysis data is about. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- GetRecommendations, -- getRecommendationsResponse_profilingGroupName - The name of the -- profiling group the analysis data is about. -- -- $sel:recommendations:GetRecommendationsResponse', -- getRecommendationsResponse_recommendations - The list of -- recommendations that the analysis found for this profile. newGetRecommendationsResponse :: Int -> UTCTime -> UTCTime -> Text -> GetRecommendationsResponse -- | The response's http status code. getRecommendationsResponse_httpStatus :: Lens' GetRecommendationsResponse Int -- | The list of anomalies that the analysis has found for this profile. getRecommendationsResponse_anomalies :: Lens' GetRecommendationsResponse [Anomaly] -- | The end time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. getRecommendationsResponse_profileEndTime :: Lens' GetRecommendationsResponse UTCTime -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. getRecommendationsResponse_profileStartTime :: Lens' GetRecommendationsResponse UTCTime -- | The name of the profiling group the analysis data is about. getRecommendationsResponse_profilingGroupName :: Lens' GetRecommendationsResponse Text -- | The list of recommendations that the analysis found for this profile. getRecommendationsResponse_recommendations :: Lens' GetRecommendationsResponse [Recommendation] instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendationsResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendationsResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendationsResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendationsResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendationsResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.GetRecommendations.GetRecommendations -- | Gets the aggregated profile of a profiling group for a specified time -- range. Amazon CodeGuru Profiler collects posted agent profiles for a -- profiling group into aggregated profiles. -- --
--   <note> <p> Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent. </p> </note> <p> Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>, <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters, an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned. </p> <p> Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to UTC. The aggregation period of an aggregated profile determines how long it is retained. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html"> <code>AggregatedProfileTime</code> </a>. The aggregated profile's aggregation period determines how long it is retained by CodeGuru Profiler. </p> <ul> <li> <p> If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days. </p> </li> <li> <p> If the aggregation period is 1 hour, the aggregated profile is retained for 60 days. </p> </li> <li> <p> If the aggregation period is 1 day, the aggregated profile is retained for 3 years. </p> </li> </ul> <p>There are two use cases for calling <code>GetProfile</code>.</p> <ol> <li> <p> If you want to return an aggregated profile that already exists, use <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html"> <code>ListProfileTimes</code> </a> to view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific, existing aggregated profile. </p> </li> <li> <p> If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile, then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time range and return them as one aggregated profile. </p> <p> If aggregated profiles do not exist for the full time range requested, then aggregated profiles for a smaller time range are returned. For example, if the requested time range is from 00:00 to 00:20, and the existing aggregated profiles are from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p> </li> </ol>
--   
module Amazonka.CodeGuruProfiler.GetProfile -- | The structure representing the getProfileRequest. -- -- See: newGetProfile smart constructor. data GetProfile GetProfile' :: Maybe Text -> Maybe ISO8601 -> Maybe Natural -> Maybe Text -> Maybe ISO8601 -> Text -> GetProfile -- | The format of the returned profiling data. The format maps to the -- Accept and Content-Type headers of the HTTP request. -- You can specify one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
[$sel:accept:GetProfile'] :: GetProfile -> Maybe Text -- | The end time of the requested profile. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. -- -- If you specify endTime, then you must also specify -- period or startTime, but not both. [$sel:endTime:GetProfile'] :: GetProfile -> Maybe ISO8601 -- | The maximum depth of the stacks in the code that is represented in the -- aggregated profile. For example, if CodeGuru Profiler finds a method -- A, which calls method B, which calls method -- C, which calls method D, then the depth is 4. If the -- maxDepth is set to 2, then the aggregated profile contains -- representations of methods A and B. [$sel:maxDepth:GetProfile'] :: GetProfile -> Maybe Natural -- | Used with startTime or endTime to specify the time -- range for the returned aggregated profile. Specify using the ISO 8601 -- format. For example, P1DT1H1M1S. -- --
--   <p> To get the latest aggregated profile, specify only <code>period</code>. </p>
--   
[$sel:period:GetProfile'] :: GetProfile -> Maybe Text -- | The start time of the profile to get. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. -- --
--   <p> If you specify <code>startTime</code>, then you must also specify <code>period</code> or <code>endTime</code>, but not both. </p>
--   
[$sel:startTime:GetProfile'] :: GetProfile -> Maybe ISO8601 -- | The name of the profiling group to get. [$sel:profilingGroupName:GetProfile'] :: GetProfile -> Text -- | Create a value of GetProfile with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:accept:GetProfile', getProfile_accept - The format -- of the returned profiling data. The format maps to the Accept -- and Content-Type headers of the HTTP request. You can specify -- one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
-- -- GetProfile, getProfile_endTime - The end time of the -- requested profile. Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- If you specify endTime, then you must also specify -- period or startTime, but not both. -- -- $sel:maxDepth:GetProfile', getProfile_maxDepth - The -- maximum depth of the stacks in the code that is represented in the -- aggregated profile. For example, if CodeGuru Profiler finds a method -- A, which calls method B, which calls method -- C, which calls method D, then the depth is 4. If the -- maxDepth is set to 2, then the aggregated profile contains -- representations of methods A and B. -- -- GetProfile, getProfile_period - Used with -- startTime or endTime to specify the time range for -- the returned aggregated profile. Specify using the ISO 8601 format. -- For example, P1DT1H1M1S. -- --
--   <p> To get the latest aggregated profile, specify only <code>period</code>. </p>
--   
-- -- GetProfile, getProfile_startTime - The start time of the -- profile to get. Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- --
--   <p> If you specify <code>startTime</code>, then you must also specify <code>period</code> or <code>endTime</code>, but not both. </p>
--   
-- -- GetProfile, getProfile_profilingGroupName - The name of -- the profiling group to get. newGetProfile :: Text -> GetProfile -- | The format of the returned profiling data. The format maps to the -- Accept and Content-Type headers of the HTTP request. -- You can specify one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
getProfile_accept :: Lens' GetProfile (Maybe Text) -- | The end time of the requested profile. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. -- -- If you specify endTime, then you must also specify -- period or startTime, but not both. getProfile_endTime :: Lens' GetProfile (Maybe UTCTime) -- | The maximum depth of the stacks in the code that is represented in the -- aggregated profile. For example, if CodeGuru Profiler finds a method -- A, which calls method B, which calls method -- C, which calls method D, then the depth is 4. If the -- maxDepth is set to 2, then the aggregated profile contains -- representations of methods A and B. getProfile_maxDepth :: Lens' GetProfile (Maybe Natural) -- | Used with startTime or endTime to specify the time -- range for the returned aggregated profile. Specify using the ISO 8601 -- format. For example, P1DT1H1M1S. -- --
--   <p> To get the latest aggregated profile, specify only <code>period</code>. </p>
--   
getProfile_period :: Lens' GetProfile (Maybe Text) -- | The start time of the profile to get. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. -- --
--   <p> If you specify <code>startTime</code>, then you must also specify <code>period</code> or <code>endTime</code>, but not both. </p>
--   
getProfile_startTime :: Lens' GetProfile (Maybe UTCTime) -- | The name of the profiling group to get. getProfile_profilingGroupName :: Lens' GetProfile Text -- | The structure representing the getProfileResponse. -- -- See: newGetProfileResponse smart constructor. data GetProfileResponse GetProfileResponse' :: Maybe Text -> Int -> Text -> ByteString -> GetProfileResponse -- | The content encoding of the profile. [$sel:contentEncoding:GetProfileResponse'] :: GetProfileResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:GetProfileResponse'] :: GetProfileResponse -> Int -- | The content type of the profile in the payload. It is either -- application/json or the default -- application/x-amzn-ion. [$sel:contentType:GetProfileResponse'] :: GetProfileResponse -> Text -- | Information about the profile. [$sel:profile:GetProfileResponse'] :: GetProfileResponse -> ByteString -- | Create a value of GetProfileResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:contentEncoding:GetProfileResponse', -- getProfileResponse_contentEncoding - The content encoding of -- the profile. -- -- $sel:httpStatus:GetProfileResponse', -- getProfileResponse_httpStatus - The response's http status -- code. -- -- $sel:contentType:GetProfileResponse', -- getProfileResponse_contentType - The content type of the -- profile in the payload. It is either application/json or the -- default application/x-amzn-ion. -- -- $sel:profile:GetProfileResponse', -- getProfileResponse_profile - Information about the profile. newGetProfileResponse :: Int -> Text -> ByteString -> GetProfileResponse -- | The content encoding of the profile. getProfileResponse_contentEncoding :: Lens' GetProfileResponse (Maybe Text) -- | The response's http status code. getProfileResponse_httpStatus :: Lens' GetProfileResponse Int -- | The content type of the profile in the payload. It is either -- application/json or the default -- application/x-amzn-ion. getProfileResponse_contentType :: Lens' GetProfileResponse Text -- | Information about the profile. getProfileResponse_profile :: Lens' GetProfileResponse ByteString instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetProfile.GetProfileResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetProfile.GetProfileResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetProfile.GetProfileResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetProfile.GetProfileResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetProfile.GetProfileResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.GetProfile.GetProfile instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.GetProfile.GetProfile -- | Returns the JSON-formatted resource-based policy on a profiling group. module Amazonka.CodeGuruProfiler.GetPolicy -- | The structure representing the getPolicyRequest. -- -- See: newGetPolicy smart constructor. data GetPolicy GetPolicy' :: Text -> GetPolicy -- | The name of the profiling group. [$sel:profilingGroupName:GetPolicy'] :: GetPolicy -> Text -- | Create a value of GetPolicy with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetPolicy, getPolicy_profilingGroupName - The name of -- the profiling group. newGetPolicy :: Text -> GetPolicy -- | The name of the profiling group. getPolicy_profilingGroupName :: Lens' GetPolicy Text -- | The structure representing the getPolicyResponse. -- -- See: newGetPolicyResponse smart constructor. data GetPolicyResponse GetPolicyResponse' :: Int -> Text -> Text -> GetPolicyResponse -- | The response's http status code. [$sel:httpStatus:GetPolicyResponse'] :: GetPolicyResponse -> Int -- | The JSON-formatted resource-based policy attached to the -- ProfilingGroup. [$sel:policy:GetPolicyResponse'] :: GetPolicyResponse -> Text -- | A unique identifier for the current revision of the returned policy. [$sel:revisionId:GetPolicyResponse'] :: GetPolicyResponse -> Text -- | Create a value of GetPolicyResponse with all optional fields -- omitted. -- -- Use 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:GetPolicyResponse', -- getPolicyResponse_httpStatus - The response's http status code. -- -- $sel:policy:GetPolicyResponse', getPolicyResponse_policy -- - The JSON-formatted resource-based policy attached to the -- ProfilingGroup. -- -- $sel:revisionId:GetPolicyResponse', -- getPolicyResponse_revisionId - A unique identifier for the -- current revision of the returned policy. newGetPolicyResponse :: Int -> Text -> Text -> GetPolicyResponse -- | The response's http status code. getPolicyResponse_httpStatus :: Lens' GetPolicyResponse Int -- | The JSON-formatted resource-based policy attached to the -- ProfilingGroup. getPolicyResponse_policy :: Lens' GetPolicyResponse Text -- | A unique identifier for the current revision of the returned policy. getPolicyResponse_revisionId :: Lens' GetPolicyResponse Text instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetPolicy.GetPolicyResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetPolicy.GetPolicyResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetPolicy.GetPolicyResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetPolicy.GetPolicyResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetPolicy.GetPolicyResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.GetPolicy.GetPolicy -- | Get the current configuration for anomaly notifications for a -- profiling group. module Amazonka.CodeGuruProfiler.GetNotificationConfiguration -- | The structure representing the GetNotificationConfigurationRequest. -- -- See: newGetNotificationConfiguration smart constructor. data GetNotificationConfiguration GetNotificationConfiguration' :: Text -> GetNotificationConfiguration -- | The name of the profiling group we want to get the notification -- configuration for. [$sel:profilingGroupName:GetNotificationConfiguration'] :: GetNotificationConfiguration -> Text -- | Create a value of GetNotificationConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetNotificationConfiguration, -- getNotificationConfiguration_profilingGroupName - The name of -- the profiling group we want to get the notification configuration for. newGetNotificationConfiguration :: Text -> GetNotificationConfiguration -- | The name of the profiling group we want to get the notification -- configuration for. getNotificationConfiguration_profilingGroupName :: Lens' GetNotificationConfiguration Text -- | The structure representing the GetNotificationConfigurationResponse. -- -- See: newGetNotificationConfigurationResponse smart -- constructor. data GetNotificationConfigurationResponse GetNotificationConfigurationResponse' :: Int -> NotificationConfiguration -> GetNotificationConfigurationResponse -- | The response's http status code. [$sel:httpStatus:GetNotificationConfigurationResponse'] :: GetNotificationConfigurationResponse -> Int -- | The current notification configuration for this profiling group. [$sel:notificationConfiguration:GetNotificationConfigurationResponse'] :: GetNotificationConfigurationResponse -> NotificationConfiguration -- | Create a value of GetNotificationConfigurationResponse with all -- optional fields omitted. -- -- Use 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:GetNotificationConfigurationResponse', -- getNotificationConfigurationResponse_httpStatus - The -- response's http status code. -- -- -- $sel:notificationConfiguration:GetNotificationConfigurationResponse', -- getNotificationConfigurationResponse_notificationConfiguration -- - The current notification configuration for this profiling group. newGetNotificationConfigurationResponse :: Int -> NotificationConfiguration -> GetNotificationConfigurationResponse -- | The response's http status code. getNotificationConfigurationResponse_httpStatus :: Lens' GetNotificationConfigurationResponse Int -- | The current notification configuration for this profiling group. getNotificationConfigurationResponse_notificationConfiguration :: Lens' GetNotificationConfigurationResponse NotificationConfiguration instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfigurationResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfigurationResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfigurationResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfigurationResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfigurationResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.GetNotificationConfiguration.GetNotificationConfiguration -- | Returns a list of FindingsReportSummary objects that contain -- analysis results for all profiling groups in your AWS account. module Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary -- | The structure representing the GetFindingsReportAccountSummaryRequest. -- -- See: newGetFindingsReportAccountSummary smart -- constructor. data GetFindingsReportAccountSummary GetFindingsReportAccountSummary' :: Maybe Bool -> Maybe Natural -> Maybe Text -> GetFindingsReportAccountSummary -- | A Boolean value indicating whether to only return reports -- from daily profiles. If set to True, only analysis data from -- daily profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). [$sel:dailyReportsOnly:GetFindingsReportAccountSummary'] :: GetFindingsReportAccountSummary -> Maybe Bool -- | The maximum number of results returned by -- GetFindingsReportAccountSummary in paginated output. When this -- parameter is used, GetFindingsReportAccountSummary only -- returns maxResults results in a single page along with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- GetFindingsReportAccountSummary request with the returned -- nextToken value. [$sel:maxResults:GetFindingsReportAccountSummary'] :: GetFindingsReportAccountSummary -> Maybe Natural -- | The nextToken value returned from a previous paginated -- GetFindingsReportAccountSummary request where -- maxResults was used and the results exceeded the value of -- that parameter. Pagination continues from the end of the previous -- results that returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. [$sel:nextToken:GetFindingsReportAccountSummary'] :: GetFindingsReportAccountSummary -> Maybe Text -- | Create a value of GetFindingsReportAccountSummary with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:dailyReportsOnly:GetFindingsReportAccountSummary', -- getFindingsReportAccountSummary_dailyReportsOnly - A -- Boolean value indicating whether to only return reports from -- daily profiles. If set to True, only analysis data from daily -- profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). -- -- $sel:maxResults:GetFindingsReportAccountSummary', -- getFindingsReportAccountSummary_maxResults - The maximum number -- of results returned by GetFindingsReportAccountSummary in -- paginated output. When this parameter is used, -- GetFindingsReportAccountSummary only returns -- maxResults results in a single page along with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- GetFindingsReportAccountSummary request with the returned -- nextToken value. -- -- GetFindingsReportAccountSummary, -- getFindingsReportAccountSummary_nextToken - The -- nextToken value returned from a previous paginated -- GetFindingsReportAccountSummary request where -- maxResults was used and the results exceeded the value of -- that parameter. Pagination continues from the end of the previous -- results that returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. newGetFindingsReportAccountSummary :: GetFindingsReportAccountSummary -- | A Boolean value indicating whether to only return reports -- from daily profiles. If set to True, only analysis data from -- daily profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). getFindingsReportAccountSummary_dailyReportsOnly :: Lens' GetFindingsReportAccountSummary (Maybe Bool) -- | The maximum number of results returned by -- GetFindingsReportAccountSummary in paginated output. When this -- parameter is used, GetFindingsReportAccountSummary only -- returns maxResults results in a single page along with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- GetFindingsReportAccountSummary request with the returned -- nextToken value. getFindingsReportAccountSummary_maxResults :: Lens' GetFindingsReportAccountSummary (Maybe Natural) -- | The nextToken value returned from a previous paginated -- GetFindingsReportAccountSummary request where -- maxResults was used and the results exceeded the value of -- that parameter. Pagination continues from the end of the previous -- results that returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. getFindingsReportAccountSummary_nextToken :: Lens' GetFindingsReportAccountSummary (Maybe Text) -- | The structure representing the -- GetFindingsReportAccountSummaryResponse. -- -- See: newGetFindingsReportAccountSummaryResponse smart -- constructor. data GetFindingsReportAccountSummaryResponse GetFindingsReportAccountSummaryResponse' :: Maybe Text -> Int -> [FindingsReportSummary] -> GetFindingsReportAccountSummaryResponse -- | The nextToken value to include in a future -- GetFindingsReportAccountSummary request. When the results of -- a GetFindingsReportAccountSummary request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. [$sel:nextToken:GetFindingsReportAccountSummaryResponse'] :: GetFindingsReportAccountSummaryResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:GetFindingsReportAccountSummaryResponse'] :: GetFindingsReportAccountSummaryResponse -> Int -- | The return list of FindingsReportSummary objects taht contain -- summaries of analysis results for all profiling groups in your AWS -- account. [$sel:reportSummaries:GetFindingsReportAccountSummaryResponse'] :: GetFindingsReportAccountSummaryResponse -> [FindingsReportSummary] -- | Create a value of GetFindingsReportAccountSummaryResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFindingsReportAccountSummary, -- getFindingsReportAccountSummaryResponse_nextToken - The -- nextToken value to include in a future -- GetFindingsReportAccountSummary request. When the results of -- a GetFindingsReportAccountSummary request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. -- -- $sel:httpStatus:GetFindingsReportAccountSummaryResponse', -- getFindingsReportAccountSummaryResponse_httpStatus - The -- response's http status code. -- -- $sel:reportSummaries:GetFindingsReportAccountSummaryResponse', -- getFindingsReportAccountSummaryResponse_reportSummaries - The -- return list of FindingsReportSummary objects taht contain -- summaries of analysis results for all profiling groups in your AWS -- account. newGetFindingsReportAccountSummaryResponse :: Int -> GetFindingsReportAccountSummaryResponse -- | The nextToken value to include in a future -- GetFindingsReportAccountSummary request. When the results of -- a GetFindingsReportAccountSummary request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. getFindingsReportAccountSummaryResponse_nextToken :: Lens' GetFindingsReportAccountSummaryResponse (Maybe Text) -- | The response's http status code. getFindingsReportAccountSummaryResponse_httpStatus :: Lens' GetFindingsReportAccountSummaryResponse Int -- | The return list of FindingsReportSummary objects taht contain -- summaries of analysis results for all profiling groups in your AWS -- account. getFindingsReportAccountSummaryResponse_reportSummaries :: Lens' GetFindingsReportAccountSummaryResponse [FindingsReportSummary] instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummaryResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummaryResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummaryResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummaryResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummaryResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.GetFindingsReportAccountSummary.GetFindingsReportAccountSummary -- | Returns a ProfilingGroupDescription object that contains -- information about the requested profiling group. module Amazonka.CodeGuruProfiler.DescribeProfilingGroup -- | The structure representing the describeProfilingGroupRequest. -- -- See: newDescribeProfilingGroup smart constructor. data DescribeProfilingGroup DescribeProfilingGroup' :: Text -> DescribeProfilingGroup -- | The name of the profiling group to get information about. [$sel:profilingGroupName:DescribeProfilingGroup'] :: DescribeProfilingGroup -> Text -- | Create a value of DescribeProfilingGroup with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DescribeProfilingGroup, -- describeProfilingGroup_profilingGroupName - The name of the -- profiling group to get information about. newDescribeProfilingGroup :: Text -> DescribeProfilingGroup -- | The name of the profiling group to get information about. describeProfilingGroup_profilingGroupName :: Lens' DescribeProfilingGroup Text -- | The structure representing the describeProfilingGroupResponse. -- -- See: newDescribeProfilingGroupResponse smart -- constructor. data DescribeProfilingGroupResponse DescribeProfilingGroupResponse' :: Int -> ProfilingGroupDescription -> DescribeProfilingGroupResponse -- | The response's http status code. [$sel:httpStatus:DescribeProfilingGroupResponse'] :: DescribeProfilingGroupResponse -> Int -- | The returned ProfilingGroupDescription object that contains -- information about the requested profiling group. [$sel:profilingGroup:DescribeProfilingGroupResponse'] :: DescribeProfilingGroupResponse -> ProfilingGroupDescription -- | Create a value of DescribeProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:DescribeProfilingGroupResponse', -- describeProfilingGroupResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroup:DescribeProfilingGroupResponse', -- describeProfilingGroupResponse_profilingGroup - The returned -- ProfilingGroupDescription object that contains information -- about the requested profiling group. newDescribeProfilingGroupResponse :: Int -> ProfilingGroupDescription -> DescribeProfilingGroupResponse -- | The response's http status code. describeProfilingGroupResponse_httpStatus :: Lens' DescribeProfilingGroupResponse Int -- | The returned ProfilingGroupDescription object that contains -- information about the requested profiling group. describeProfilingGroupResponse_profilingGroup :: Lens' DescribeProfilingGroupResponse ProfilingGroupDescription instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance GHC.Show.Show Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance GHC.Read.Read Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroupResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroupResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroupResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroupResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroupResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.DescribeProfilingGroup.DescribeProfilingGroup -- | Deletes a profiling group. module Amazonka.CodeGuruProfiler.DeleteProfilingGroup -- | The structure representing the deleteProfilingGroupRequest. -- -- See: newDeleteProfilingGroup smart constructor. data DeleteProfilingGroup DeleteProfilingGroup' :: Text -> DeleteProfilingGroup -- | The name of the profiling group to delete. [$sel:profilingGroupName:DeleteProfilingGroup'] :: DeleteProfilingGroup -> Text -- | Create a value of DeleteProfilingGroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteProfilingGroup, -- deleteProfilingGroup_profilingGroupName - The name of the -- profiling group to delete. newDeleteProfilingGroup :: Text -> DeleteProfilingGroup -- | The name of the profiling group to delete. deleteProfilingGroup_profilingGroupName :: Lens' DeleteProfilingGroup Text -- | The structure representing the deleteProfilingGroupResponse. -- -- See: newDeleteProfilingGroupResponse smart constructor. data DeleteProfilingGroupResponse DeleteProfilingGroupResponse' :: Int -> DeleteProfilingGroupResponse -- | The response's http status code. [$sel:httpStatus:DeleteProfilingGroupResponse'] :: DeleteProfilingGroupResponse -> Int -- | Create a value of DeleteProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:DeleteProfilingGroupResponse', -- deleteProfilingGroupResponse_httpStatus - The response's http -- status code. newDeleteProfilingGroupResponse :: Int -> DeleteProfilingGroupResponse -- | The response's http status code. deleteProfilingGroupResponse_httpStatus :: Lens' DeleteProfilingGroupResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance GHC.Show.Show Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance GHC.Read.Read Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroupResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroupResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroupResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroupResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroupResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.DeleteProfilingGroup.DeleteProfilingGroup -- | Creates a profiling group. module Amazonka.CodeGuruProfiler.CreateProfilingGroup -- | The structure representing the createProfiliingGroupRequest. -- -- See: newCreateProfilingGroup smart constructor. data CreateProfilingGroup CreateProfilingGroup' :: Maybe AgentOrchestrationConfig -> Maybe ComputePlatform -> Maybe (HashMap Text Text) -> Text -> Text -> CreateProfilingGroup -- | Specifies whether profiling is enabled or disabled for the created -- profiling group. [$sel:agentOrchestrationConfig:CreateProfilingGroup'] :: CreateProfilingGroup -> Maybe AgentOrchestrationConfig -- | The compute platform of the profiling group. Use AWSLambda if -- your application runs on AWS Lambda. Use Default if your -- application runs on a compute platform that is not AWS Lambda, such an -- Amazon EC2 instance, an on-premises server, or a different platform. -- If not specified, Default is used. [$sel:computePlatform:CreateProfilingGroup'] :: CreateProfilingGroup -> Maybe ComputePlatform -- | A list of tags to add to the created profiling group. [$sel:tags:CreateProfilingGroup'] :: CreateProfilingGroup -> Maybe (HashMap Text Text) -- | Amazon CodeGuru Profiler uses this universally unique identifier -- (UUID) to prevent the accidental creation of duplicate profiling -- groups if there are failures and retries. [$sel:clientToken:CreateProfilingGroup'] :: CreateProfilingGroup -> Text -- | The name of the profiling group to create. [$sel:profilingGroupName:CreateProfilingGroup'] :: CreateProfilingGroup -> Text -- | Create a value of CreateProfilingGroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateProfilingGroup, -- createProfilingGroup_agentOrchestrationConfig - Specifies -- whether profiling is enabled or disabled for the created profiling -- group. -- -- CreateProfilingGroup, -- createProfilingGroup_computePlatform - The compute platform of -- the profiling group. Use AWSLambda if your application runs -- on AWS Lambda. Use Default if your application runs on a -- compute platform that is not AWS Lambda, such an Amazon EC2 instance, -- an on-premises server, or a different platform. If not specified, -- Default is used. -- -- CreateProfilingGroup, createProfilingGroup_tags - A list -- of tags to add to the created profiling group. -- -- $sel:clientToken:CreateProfilingGroup', -- createProfilingGroup_clientToken - Amazon CodeGuru Profiler -- uses this universally unique identifier (UUID) to prevent the -- accidental creation of duplicate profiling groups if there are -- failures and retries. -- -- CreateProfilingGroup, -- createProfilingGroup_profilingGroupName - The name of the -- profiling group to create. newCreateProfilingGroup :: Text -> Text -> CreateProfilingGroup -- | Specifies whether profiling is enabled or disabled for the created -- profiling group. createProfilingGroup_agentOrchestrationConfig :: Lens' CreateProfilingGroup (Maybe AgentOrchestrationConfig) -- | The compute platform of the profiling group. Use AWSLambda if -- your application runs on AWS Lambda. Use Default if your -- application runs on a compute platform that is not AWS Lambda, such an -- Amazon EC2 instance, an on-premises server, or a different platform. -- If not specified, Default is used. createProfilingGroup_computePlatform :: Lens' CreateProfilingGroup (Maybe ComputePlatform) -- | A list of tags to add to the created profiling group. createProfilingGroup_tags :: Lens' CreateProfilingGroup (Maybe (HashMap Text Text)) -- | Amazon CodeGuru Profiler uses this universally unique identifier -- (UUID) to prevent the accidental creation of duplicate profiling -- groups if there are failures and retries. createProfilingGroup_clientToken :: Lens' CreateProfilingGroup Text -- | The name of the profiling group to create. createProfilingGroup_profilingGroupName :: Lens' CreateProfilingGroup Text -- | The structure representing the createProfilingGroupResponse. -- -- See: newCreateProfilingGroupResponse smart constructor. data CreateProfilingGroupResponse CreateProfilingGroupResponse' :: Int -> ProfilingGroupDescription -> CreateProfilingGroupResponse -- | The response's http status code. [$sel:httpStatus:CreateProfilingGroupResponse'] :: CreateProfilingGroupResponse -> Int -- | The returned ProfilingGroupDescription object that contains -- information about the created profiling group. [$sel:profilingGroup:CreateProfilingGroupResponse'] :: CreateProfilingGroupResponse -> ProfilingGroupDescription -- | Create a value of CreateProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:CreateProfilingGroupResponse', -- createProfilingGroupResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroup:CreateProfilingGroupResponse', -- createProfilingGroupResponse_profilingGroup - The returned -- ProfilingGroupDescription object that contains information -- about the created profiling group. newCreateProfilingGroupResponse :: Int -> ProfilingGroupDescription -> CreateProfilingGroupResponse -- | The response's http status code. createProfilingGroupResponse_httpStatus :: Lens' CreateProfilingGroupResponse Int -- | The returned ProfilingGroupDescription object that contains -- information about the created profiling group. createProfilingGroupResponse_profilingGroup :: Lens' CreateProfilingGroupResponse ProfilingGroupDescription instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance GHC.Show.Show Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance GHC.Read.Read Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroupResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroupResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroupResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroupResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroupResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.CreateProfilingGroup.CreateProfilingGroup -- | Used by profiler agents to report their current state and to receive -- remote configuration updates. For example, ConfigureAgent can -- be used to tell an agent whether to profile or not and for how long to -- return profiling data. module Amazonka.CodeGuruProfiler.ConfigureAgent -- | The structure representing the configureAgentRequest. -- -- See: newConfigureAgent smart constructor. data ConfigureAgent ConfigureAgent' :: Maybe Text -> Maybe (HashMap MetadataField Text) -> Text -> ConfigureAgent -- | A universally unique identifier (UUID) for a profiling instance. For -- example, if the profiling instance is an Amazon EC2 instance, it is -- the instance ID. If it is an AWS Fargate container, it is the -- container's task ID. [$sel:fleetInstanceId:ConfigureAgent'] :: ConfigureAgent -> Maybe Text -- | Metadata captured about the compute platform the agent is running on. -- It includes information about sampling and reporting. The valid fields -- are: -- -- [$sel:metadata:ConfigureAgent'] :: ConfigureAgent -> Maybe (HashMap MetadataField Text) -- | The name of the profiling group for which the configured agent is -- collecting profiling data. [$sel:profilingGroupName:ConfigureAgent'] :: ConfigureAgent -> Text -- | Create a value of ConfigureAgent with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:fleetInstanceId:ConfigureAgent', -- configureAgent_fleetInstanceId - A universally unique -- identifier (UUID) for a profiling instance. For example, if the -- profiling instance is an Amazon EC2 instance, it is the instance ID. -- If it is an AWS Fargate container, it is the container's task ID. -- -- $sel:metadata:ConfigureAgent', configureAgent_metadata - -- Metadata captured about the compute platform the agent is running on. -- It includes information about sampling and reporting. The valid fields -- are: -- -- -- -- ConfigureAgent, configureAgent_profilingGroupName - The -- name of the profiling group for which the configured agent is -- collecting profiling data. newConfigureAgent :: Text -> ConfigureAgent -- | A universally unique identifier (UUID) for a profiling instance. For -- example, if the profiling instance is an Amazon EC2 instance, it is -- the instance ID. If it is an AWS Fargate container, it is the -- container's task ID. configureAgent_fleetInstanceId :: Lens' ConfigureAgent (Maybe Text) -- | Metadata captured about the compute platform the agent is running on. -- It includes information about sampling and reporting. The valid fields -- are: -- -- configureAgent_metadata :: Lens' ConfigureAgent (Maybe (HashMap MetadataField Text)) -- | The name of the profiling group for which the configured agent is -- collecting profiling data. configureAgent_profilingGroupName :: Lens' ConfigureAgent Text -- | The structure representing the configureAgentResponse. -- -- See: newConfigureAgentResponse smart constructor. data ConfigureAgentResponse ConfigureAgentResponse' :: Int -> AgentConfiguration -> ConfigureAgentResponse -- | The response's http status code. [$sel:httpStatus:ConfigureAgentResponse'] :: ConfigureAgentResponse -> Int -- | An AgentConfiguration object that specifies if an agent -- profiles or not and for how long to return profiling data. [$sel:configuration:ConfigureAgentResponse'] :: ConfigureAgentResponse -> AgentConfiguration -- | Create a value of ConfigureAgentResponse with all optional -- fields omitted. -- -- Use 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:ConfigureAgentResponse', -- configureAgentResponse_httpStatus - The response's http status -- code. -- -- $sel:configuration:ConfigureAgentResponse', -- configureAgentResponse_configuration - An -- AgentConfiguration object that specifies if an agent profiles -- or not and for how long to return profiling data. newConfigureAgentResponse :: Int -> AgentConfiguration -> ConfigureAgentResponse -- | The response's http status code. configureAgentResponse_httpStatus :: Lens' ConfigureAgentResponse Int -- | An AgentConfiguration object that specifies if an agent -- profiles or not and for how long to return profiling data. configureAgentResponse_configuration :: Lens' ConfigureAgentResponse AgentConfiguration instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance GHC.Show.Show Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance GHC.Read.Read Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgentResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgentResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgentResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgentResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgentResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.ConfigureAgent.ConfigureAgent -- | Returns the time series of values for a requested list of frame -- metrics from a time period. module Amazonka.CodeGuruProfiler.BatchGetFrameMetricData -- | The structure representing the BatchGetFrameMetricDataRequest. -- -- See: newBatchGetFrameMetricData smart constructor. data BatchGetFrameMetricData BatchGetFrameMetricData' :: Maybe ISO8601 -> Maybe [FrameMetric] -> Maybe Text -> Maybe ISO8601 -> Maybe AggregationPeriod -> Text -> BatchGetFrameMetricData -- | The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:endTime:BatchGetFrameMetricData'] :: BatchGetFrameMetricData -> Maybe ISO8601 -- | The details of the metrics that are used to request a time series of -- values. The metric includes the name of the frame, the aggregation -- type to calculate the metric value for the frame, and the thread -- states to use to get the count for the metric value of the frame. [$sel:frameMetrics:BatchGetFrameMetricData'] :: BatchGetFrameMetricData -> Maybe [FrameMetric] -- | The duration of the frame metrics used to return the time series -- values. Specify using the ISO 8601 format. The maximum period duration -- is one day (PT24H or P1D). [$sel:period:BatchGetFrameMetricData'] :: BatchGetFrameMetricData -> Maybe Text -- | The start time of the time period for the frame metrics used to return -- the time series values. This is specified using the ISO 8601 format. -- For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past -- June 1, 2020 1:15:02 PM UTC. [$sel:startTime:BatchGetFrameMetricData'] :: BatchGetFrameMetricData -> Maybe ISO8601 -- | The requested resolution of time steps for the returned time series of -- values. If the requested target resolution is not available due to -- data not being retained we provide a best effort result by falling -- back to the most granular available resolution after the target -- resolution. There are 3 valid values. -- -- [$sel:targetResolution:BatchGetFrameMetricData'] :: BatchGetFrameMetricData -> Maybe AggregationPeriod -- | The name of the profiling group associated with the the frame metrics -- used to return the time series values. [$sel:profilingGroupName:BatchGetFrameMetricData'] :: BatchGetFrameMetricData -> Text -- | Create a value of BatchGetFrameMetricData with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- BatchGetFrameMetricData, batchGetFrameMetricData_endTime -- - The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:frameMetrics:BatchGetFrameMetricData', -- batchGetFrameMetricData_frameMetrics - The details of the -- metrics that are used to request a time series of values. The metric -- includes the name of the frame, the aggregation type to calculate the -- metric value for the frame, and the thread states to use to get the -- count for the metric value of the frame. -- -- BatchGetFrameMetricData, batchGetFrameMetricData_period -- - The duration of the frame metrics used to return the time series -- values. Specify using the ISO 8601 format. The maximum period duration -- is one day (PT24H or P1D). -- -- BatchGetFrameMetricData, -- batchGetFrameMetricData_startTime - The start time of the time -- period for the frame metrics used to return the time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:targetResolution:BatchGetFrameMetricData', -- batchGetFrameMetricData_targetResolution - The requested -- resolution of time steps for the returned time series of values. If -- the requested target resolution is not available due to data not being -- retained we provide a best effort result by falling back to the most -- granular available resolution after the target resolution. There are 3 -- valid values. -- -- -- -- BatchGetFrameMetricData, -- batchGetFrameMetricData_profilingGroupName - The name of the -- profiling group associated with the the frame metrics used to return -- the time series values. newBatchGetFrameMetricData :: Text -> BatchGetFrameMetricData -- | The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. batchGetFrameMetricData_endTime :: Lens' BatchGetFrameMetricData (Maybe UTCTime) -- | The details of the metrics that are used to request a time series of -- values. The metric includes the name of the frame, the aggregation -- type to calculate the metric value for the frame, and the thread -- states to use to get the count for the metric value of the frame. batchGetFrameMetricData_frameMetrics :: Lens' BatchGetFrameMetricData (Maybe [FrameMetric]) -- | The duration of the frame metrics used to return the time series -- values. Specify using the ISO 8601 format. The maximum period duration -- is one day (PT24H or P1D). batchGetFrameMetricData_period :: Lens' BatchGetFrameMetricData (Maybe Text) -- | The start time of the time period for the frame metrics used to return -- the time series values. This is specified using the ISO 8601 format. -- For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past -- June 1, 2020 1:15:02 PM UTC. batchGetFrameMetricData_startTime :: Lens' BatchGetFrameMetricData (Maybe UTCTime) -- | The requested resolution of time steps for the returned time series of -- values. If the requested target resolution is not available due to -- data not being retained we provide a best effort result by falling -- back to the most granular available resolution after the target -- resolution. There are 3 valid values. -- -- batchGetFrameMetricData_targetResolution :: Lens' BatchGetFrameMetricData (Maybe AggregationPeriod) -- | The name of the profiling group associated with the the frame metrics -- used to return the time series values. batchGetFrameMetricData_profilingGroupName :: Lens' BatchGetFrameMetricData Text -- | The structure representing the BatchGetFrameMetricDataResponse. -- -- See: newBatchGetFrameMetricDataResponse smart -- constructor. data BatchGetFrameMetricDataResponse BatchGetFrameMetricDataResponse' :: Int -> ISO8601 -> [TimestampStructure] -> [FrameMetricDatum] -> AggregationPeriod -> ISO8601 -> HashMap Text [TimestampStructure] -> BatchGetFrameMetricDataResponse -- | The response's http status code. [$sel:httpStatus:BatchGetFrameMetricDataResponse'] :: BatchGetFrameMetricDataResponse -> Int -- | The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:endTime:BatchGetFrameMetricDataResponse'] :: BatchGetFrameMetricDataResponse -> ISO8601 -- | List of instances, or time steps, in the time series. For example, if -- the period is one day (PT24H)), and the -- resolution is five minutes (PT5M), then there are -- 288 endTimes in the list that are each five minutes appart. [$sel:endTimes:BatchGetFrameMetricDataResponse'] :: BatchGetFrameMetricDataResponse -> [TimestampStructure] -- | Details of the metrics to request a time series of values. The metric -- includes the name of the frame, the aggregation type to calculate the -- metric value for the frame, and the thread states to use to get the -- count for the metric value of the frame. [$sel:frameMetricData:BatchGetFrameMetricDataResponse'] :: BatchGetFrameMetricDataResponse -> [FrameMetricDatum] -- | Resolution or granularity of the profile data used to generate the -- time series. This is the value used to jump through time steps in a -- time series. There are 3 valid values. -- -- [$sel:resolution:BatchGetFrameMetricDataResponse'] :: BatchGetFrameMetricDataResponse -> AggregationPeriod -- | The start time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. [$sel:startTime:BatchGetFrameMetricDataResponse'] :: BatchGetFrameMetricDataResponse -> ISO8601 -- | List of instances which remained unprocessed. This will create a -- missing time step in the list of end times. [$sel:unprocessedEndTimes:BatchGetFrameMetricDataResponse'] :: BatchGetFrameMetricDataResponse -> HashMap Text [TimestampStructure] -- | Create a value of BatchGetFrameMetricDataResponse with all -- optional fields omitted. -- -- Use 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:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_httpStatus - The response's -- http status code. -- -- BatchGetFrameMetricData, -- batchGetFrameMetricDataResponse_endTime - The end time of the -- time period for the returned time series values. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:endTimes:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_endTimes - List of instances, -- or time steps, in the time series. For example, if the period -- is one day (PT24H)), and the resolution is five -- minutes (PT5M), then there are 288 endTimes in the -- list that are each five minutes appart. -- -- $sel:frameMetricData:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_frameMetricData - Details of -- the metrics to request a time series of values. The metric includes -- the name of the frame, the aggregation type to calculate the metric -- value for the frame, and the thread states to use to get the count for -- the metric value of the frame. -- -- $sel:resolution:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_resolution - Resolution or -- granularity of the profile data used to generate the time series. This -- is the value used to jump through time steps in a time series. There -- are 3 valid values. -- -- -- -- BatchGetFrameMetricData, -- batchGetFrameMetricDataResponse_startTime - The start time of -- the time period for the returned time series values. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:unprocessedEndTimes:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_unprocessedEndTimes - List of -- instances which remained unprocessed. This will create a missing time -- step in the list of end times. newBatchGetFrameMetricDataResponse :: Int -> UTCTime -> AggregationPeriod -> UTCTime -> BatchGetFrameMetricDataResponse -- | The response's http status code. batchGetFrameMetricDataResponse_httpStatus :: Lens' BatchGetFrameMetricDataResponse Int -- | The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. batchGetFrameMetricDataResponse_endTime :: Lens' BatchGetFrameMetricDataResponse UTCTime -- | List of instances, or time steps, in the time series. For example, if -- the period is one day (PT24H)), and the -- resolution is five minutes (PT5M), then there are -- 288 endTimes in the list that are each five minutes appart. batchGetFrameMetricDataResponse_endTimes :: Lens' BatchGetFrameMetricDataResponse [TimestampStructure] -- | Details of the metrics to request a time series of values. The metric -- includes the name of the frame, the aggregation type to calculate the -- metric value for the frame, and the thread states to use to get the -- count for the metric value of the frame. batchGetFrameMetricDataResponse_frameMetricData :: Lens' BatchGetFrameMetricDataResponse [FrameMetricDatum] -- | Resolution or granularity of the profile data used to generate the -- time series. This is the value used to jump through time steps in a -- time series. There are 3 valid values. -- -- batchGetFrameMetricDataResponse_resolution :: Lens' BatchGetFrameMetricDataResponse AggregationPeriod -- | The start time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. batchGetFrameMetricDataResponse_startTime :: Lens' BatchGetFrameMetricDataResponse UTCTime -- | List of instances which remained unprocessed. This will create a -- missing time step in the list of end times. batchGetFrameMetricDataResponse_unprocessedEndTimes :: Lens' BatchGetFrameMetricDataResponse (HashMap Text [TimestampStructure]) instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance GHC.Show.Show Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance GHC.Read.Read Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricDataResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricDataResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricDataResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricDataResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricDataResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.BatchGetFrameMetricData.BatchGetFrameMetricData -- | Add up to 2 anomaly notifications channels for a profiling group. module Amazonka.CodeGuruProfiler.AddNotificationChannels -- | The structure representing the AddNotificationChannelsRequest. -- -- See: newAddNotificationChannels smart constructor. data AddNotificationChannels AddNotificationChannels' :: NonEmpty Channel -> Text -> AddNotificationChannels -- | One or 2 channels to report to when anomalies are detected. [$sel:channels:AddNotificationChannels'] :: AddNotificationChannels -> NonEmpty Channel -- | The name of the profiling group that we are setting up notifications -- for. [$sel:profilingGroupName:AddNotificationChannels'] :: AddNotificationChannels -> Text -- | Create a value of AddNotificationChannels with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- AddNotificationChannels, -- addNotificationChannels_channels - One or 2 channels to report -- to when anomalies are detected. -- -- AddNotificationChannels, -- addNotificationChannels_profilingGroupName - The name of the -- profiling group that we are setting up notifications for. newAddNotificationChannels :: NonEmpty Channel -> Text -> AddNotificationChannels -- | One or 2 channels to report to when anomalies are detected. addNotificationChannels_channels :: Lens' AddNotificationChannels (NonEmpty Channel) -- | The name of the profiling group that we are setting up notifications -- for. addNotificationChannels_profilingGroupName :: Lens' AddNotificationChannels Text -- | The structure representing the AddNotificationChannelsResponse. -- -- See: newAddNotificationChannelsResponse smart -- constructor. data AddNotificationChannelsResponse AddNotificationChannelsResponse' :: Maybe NotificationConfiguration -> Int -> AddNotificationChannelsResponse -- | The new notification configuration for this profiling group. [$sel:notificationConfiguration:AddNotificationChannelsResponse'] :: AddNotificationChannelsResponse -> Maybe NotificationConfiguration -- | The response's http status code. [$sel:httpStatus:AddNotificationChannelsResponse'] :: AddNotificationChannelsResponse -> Int -- | Create a value of AddNotificationChannelsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:notificationConfiguration:AddNotificationChannelsResponse', -- addNotificationChannelsResponse_notificationConfiguration - The -- new notification configuration for this profiling group. -- -- $sel:httpStatus:AddNotificationChannelsResponse', -- addNotificationChannelsResponse_httpStatus - The response's -- http status code. newAddNotificationChannelsResponse :: Int -> AddNotificationChannelsResponse -- | The new notification configuration for this profiling group. addNotificationChannelsResponse_notificationConfiguration :: Lens' AddNotificationChannelsResponse (Maybe NotificationConfiguration) -- | The response's http status code. addNotificationChannelsResponse_httpStatus :: Lens' AddNotificationChannelsResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance GHC.Show.Show Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance GHC.Read.Read Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannelsResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannelsResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannelsResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannelsResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannelsResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.AddNotificationChannels.AddNotificationChannels -- | Use to remove one or more tags from a resource. module Amazonka.CodeGuruProfiler.UntagResource -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | The Amazon Resource Name (ARN) of the resource that contains the tags -- to remove. [$sel:resourceArn:UntagResource'] :: UntagResource -> Text -- | A list of tag keys. Existing tags of resources with keys in this list -- are removed from the specified resource. [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text] -- | Create a value of UntagResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourceArn:UntagResource', -- untagResource_resourceArn - The Amazon Resource Name (ARN) of -- the resource that contains the tags to remove. -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - A -- list of tag keys. Existing tags of resources with keys in this list -- are removed from the specified resource. newUntagResource :: Text -> UntagResource -- | The Amazon Resource Name (ARN) of the resource that contains the tags -- to remove. untagResource_resourceArn :: Lens' UntagResource Text -- | A list of tag keys. Existing tags of resources with keys in this list -- are removed from the specified resource. untagResource_tagKeys :: Lens' UntagResource [Text] -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | The response's http status code. [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int -- | Create a value of UntagResourceResponse with all optional -- fields omitted. -- -- Use 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:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance GHC.Show.Show Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance GHC.Read.Read Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.UntagResource.UntagResourceResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.UntagResource.UntagResourceResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.UntagResource.UntagResourceResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.UntagResource.UntagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.UntagResource.UntagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.UntagResource.UntagResource instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.UntagResource.UntagResource -- | Updates a profiling group. module Amazonka.CodeGuruProfiler.UpdateProfilingGroup -- | The structure representing the updateProfilingGroupRequest. -- -- See: newUpdateProfilingGroup smart constructor. data UpdateProfilingGroup UpdateProfilingGroup' :: AgentOrchestrationConfig -> Text -> UpdateProfilingGroup -- | Specifies whether profiling is enabled or disabled for a profiling -- group. [$sel:agentOrchestrationConfig:UpdateProfilingGroup'] :: UpdateProfilingGroup -> AgentOrchestrationConfig -- | The name of the profiling group to update. [$sel:profilingGroupName:UpdateProfilingGroup'] :: UpdateProfilingGroup -> Text -- | Create a value of UpdateProfilingGroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateProfilingGroup, -- updateProfilingGroup_agentOrchestrationConfig - Specifies -- whether profiling is enabled or disabled for a profiling group. -- -- UpdateProfilingGroup, -- updateProfilingGroup_profilingGroupName - The name of the -- profiling group to update. newUpdateProfilingGroup :: AgentOrchestrationConfig -> Text -> UpdateProfilingGroup -- | Specifies whether profiling is enabled or disabled for a profiling -- group. updateProfilingGroup_agentOrchestrationConfig :: Lens' UpdateProfilingGroup AgentOrchestrationConfig -- | The name of the profiling group to update. updateProfilingGroup_profilingGroupName :: Lens' UpdateProfilingGroup Text -- | The structure representing the updateProfilingGroupResponse. -- -- See: newUpdateProfilingGroupResponse smart constructor. data UpdateProfilingGroupResponse UpdateProfilingGroupResponse' :: Int -> ProfilingGroupDescription -> UpdateProfilingGroupResponse -- | The response's http status code. [$sel:httpStatus:UpdateProfilingGroupResponse'] :: UpdateProfilingGroupResponse -> Int -- | A ProfilingGroupDescription that contains information about the -- returned updated profiling group. [$sel:profilingGroup:UpdateProfilingGroupResponse'] :: UpdateProfilingGroupResponse -> ProfilingGroupDescription -- | Create a value of UpdateProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:UpdateProfilingGroupResponse', -- updateProfilingGroupResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroup:UpdateProfilingGroupResponse', -- updateProfilingGroupResponse_profilingGroup - A -- ProfilingGroupDescription that contains information about the -- returned updated profiling group. newUpdateProfilingGroupResponse :: Int -> ProfilingGroupDescription -> UpdateProfilingGroupResponse -- | The response's http status code. updateProfilingGroupResponse_httpStatus :: Lens' UpdateProfilingGroupResponse Int -- | A ProfilingGroupDescription that contains information about the -- returned updated profiling group. updateProfilingGroupResponse_profilingGroup :: Lens' UpdateProfilingGroupResponse ProfilingGroupDescription instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance GHC.Show.Show Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance GHC.Read.Read Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance GHC.Generics.Generic Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroupResponse instance GHC.Show.Show Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroupResponse instance GHC.Read.Read Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroupResponse instance GHC.Classes.Eq Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroupResponse instance Amazonka.Types.AWSRequest Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroupResponse instance Data.Hashable.Class.Hashable Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance Control.DeepSeq.NFData Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance Amazonka.Data.Path.ToPath Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup instance Amazonka.Data.Query.ToQuery Amazonka.CodeGuruProfiler.UpdateProfilingGroup.UpdateProfilingGroup module Amazonka.CodeGuruProfiler.Lens -- | One or 2 channels to report to when anomalies are detected. addNotificationChannels_channels :: Lens' AddNotificationChannels (NonEmpty Channel) -- | The name of the profiling group that we are setting up notifications -- for. addNotificationChannels_profilingGroupName :: Lens' AddNotificationChannels Text -- | The new notification configuration for this profiling group. addNotificationChannelsResponse_notificationConfiguration :: Lens' AddNotificationChannelsResponse (Maybe NotificationConfiguration) -- | The response's http status code. addNotificationChannelsResponse_httpStatus :: Lens' AddNotificationChannelsResponse Int -- | The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. batchGetFrameMetricData_endTime :: Lens' BatchGetFrameMetricData (Maybe UTCTime) -- | The details of the metrics that are used to request a time series of -- values. The metric includes the name of the frame, the aggregation -- type to calculate the metric value for the frame, and the thread -- states to use to get the count for the metric value of the frame. batchGetFrameMetricData_frameMetrics :: Lens' BatchGetFrameMetricData (Maybe [FrameMetric]) -- | The duration of the frame metrics used to return the time series -- values. Specify using the ISO 8601 format. The maximum period duration -- is one day (PT24H or P1D). batchGetFrameMetricData_period :: Lens' BatchGetFrameMetricData (Maybe Text) -- | The start time of the time period for the frame metrics used to return -- the time series values. This is specified using the ISO 8601 format. -- For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past -- June 1, 2020 1:15:02 PM UTC. batchGetFrameMetricData_startTime :: Lens' BatchGetFrameMetricData (Maybe UTCTime) -- | The requested resolution of time steps for the returned time series of -- values. If the requested target resolution is not available due to -- data not being retained we provide a best effort result by falling -- back to the most granular available resolution after the target -- resolution. There are 3 valid values. -- -- batchGetFrameMetricData_targetResolution :: Lens' BatchGetFrameMetricData (Maybe AggregationPeriod) -- | The name of the profiling group associated with the the frame metrics -- used to return the time series values. batchGetFrameMetricData_profilingGroupName :: Lens' BatchGetFrameMetricData Text -- | The response's http status code. batchGetFrameMetricDataResponse_httpStatus :: Lens' BatchGetFrameMetricDataResponse Int -- | The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. batchGetFrameMetricDataResponse_endTime :: Lens' BatchGetFrameMetricDataResponse UTCTime -- | List of instances, or time steps, in the time series. For example, if -- the period is one day (PT24H)), and the -- resolution is five minutes (PT5M), then there are -- 288 endTimes in the list that are each five minutes appart. batchGetFrameMetricDataResponse_endTimes :: Lens' BatchGetFrameMetricDataResponse [TimestampStructure] -- | Details of the metrics to request a time series of values. The metric -- includes the name of the frame, the aggregation type to calculate the -- metric value for the frame, and the thread states to use to get the -- count for the metric value of the frame. batchGetFrameMetricDataResponse_frameMetricData :: Lens' BatchGetFrameMetricDataResponse [FrameMetricDatum] -- | Resolution or granularity of the profile data used to generate the -- time series. This is the value used to jump through time steps in a -- time series. There are 3 valid values. -- -- batchGetFrameMetricDataResponse_resolution :: Lens' BatchGetFrameMetricDataResponse AggregationPeriod -- | The start time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. batchGetFrameMetricDataResponse_startTime :: Lens' BatchGetFrameMetricDataResponse UTCTime -- | List of instances which remained unprocessed. This will create a -- missing time step in the list of end times. batchGetFrameMetricDataResponse_unprocessedEndTimes :: Lens' BatchGetFrameMetricDataResponse (HashMap Text [TimestampStructure]) -- | A universally unique identifier (UUID) for a profiling instance. For -- example, if the profiling instance is an Amazon EC2 instance, it is -- the instance ID. If it is an AWS Fargate container, it is the -- container's task ID. configureAgent_fleetInstanceId :: Lens' ConfigureAgent (Maybe Text) -- | Metadata captured about the compute platform the agent is running on. -- It includes information about sampling and reporting. The valid fields -- are: -- -- configureAgent_metadata :: Lens' ConfigureAgent (Maybe (HashMap MetadataField Text)) -- | The name of the profiling group for which the configured agent is -- collecting profiling data. configureAgent_profilingGroupName :: Lens' ConfigureAgent Text -- | The response's http status code. configureAgentResponse_httpStatus :: Lens' ConfigureAgentResponse Int -- | An AgentConfiguration object that specifies if an agent -- profiles or not and for how long to return profiling data. configureAgentResponse_configuration :: Lens' ConfigureAgentResponse AgentConfiguration -- | Specifies whether profiling is enabled or disabled for the created -- profiling group. createProfilingGroup_agentOrchestrationConfig :: Lens' CreateProfilingGroup (Maybe AgentOrchestrationConfig) -- | The compute platform of the profiling group. Use AWSLambda if -- your application runs on AWS Lambda. Use Default if your -- application runs on a compute platform that is not AWS Lambda, such an -- Amazon EC2 instance, an on-premises server, or a different platform. -- If not specified, Default is used. createProfilingGroup_computePlatform :: Lens' CreateProfilingGroup (Maybe ComputePlatform) -- | A list of tags to add to the created profiling group. createProfilingGroup_tags :: Lens' CreateProfilingGroup (Maybe (HashMap Text Text)) -- | Amazon CodeGuru Profiler uses this universally unique identifier -- (UUID) to prevent the accidental creation of duplicate profiling -- groups if there are failures and retries. createProfilingGroup_clientToken :: Lens' CreateProfilingGroup Text -- | The name of the profiling group to create. createProfilingGroup_profilingGroupName :: Lens' CreateProfilingGroup Text -- | The response's http status code. createProfilingGroupResponse_httpStatus :: Lens' CreateProfilingGroupResponse Int -- | The returned ProfilingGroupDescription object that contains -- information about the created profiling group. createProfilingGroupResponse_profilingGroup :: Lens' CreateProfilingGroupResponse ProfilingGroupDescription -- | The name of the profiling group to delete. deleteProfilingGroup_profilingGroupName :: Lens' DeleteProfilingGroup Text -- | The response's http status code. deleteProfilingGroupResponse_httpStatus :: Lens' DeleteProfilingGroupResponse Int -- | The name of the profiling group to get information about. describeProfilingGroup_profilingGroupName :: Lens' DescribeProfilingGroup Text -- | The response's http status code. describeProfilingGroupResponse_httpStatus :: Lens' DescribeProfilingGroupResponse Int -- | The returned ProfilingGroupDescription object that contains -- information about the requested profiling group. describeProfilingGroupResponse_profilingGroup :: Lens' DescribeProfilingGroupResponse ProfilingGroupDescription -- | A Boolean value indicating whether to only return reports -- from daily profiles. If set to True, only analysis data from -- daily profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). getFindingsReportAccountSummary_dailyReportsOnly :: Lens' GetFindingsReportAccountSummary (Maybe Bool) -- | The maximum number of results returned by -- GetFindingsReportAccountSummary in paginated output. When this -- parameter is used, GetFindingsReportAccountSummary only -- returns maxResults results in a single page along with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- GetFindingsReportAccountSummary request with the returned -- nextToken value. getFindingsReportAccountSummary_maxResults :: Lens' GetFindingsReportAccountSummary (Maybe Natural) -- | The nextToken value returned from a previous paginated -- GetFindingsReportAccountSummary request where -- maxResults was used and the results exceeded the value of -- that parameter. Pagination continues from the end of the previous -- results that returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. getFindingsReportAccountSummary_nextToken :: Lens' GetFindingsReportAccountSummary (Maybe Text) -- | The nextToken value to include in a future -- GetFindingsReportAccountSummary request. When the results of -- a GetFindingsReportAccountSummary request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. getFindingsReportAccountSummaryResponse_nextToken :: Lens' GetFindingsReportAccountSummaryResponse (Maybe Text) -- | The response's http status code. getFindingsReportAccountSummaryResponse_httpStatus :: Lens' GetFindingsReportAccountSummaryResponse Int -- | The return list of FindingsReportSummary objects taht contain -- summaries of analysis results for all profiling groups in your AWS -- account. getFindingsReportAccountSummaryResponse_reportSummaries :: Lens' GetFindingsReportAccountSummaryResponse [FindingsReportSummary] -- | The name of the profiling group we want to get the notification -- configuration for. getNotificationConfiguration_profilingGroupName :: Lens' GetNotificationConfiguration Text -- | The response's http status code. getNotificationConfigurationResponse_httpStatus :: Lens' GetNotificationConfigurationResponse Int -- | The current notification configuration for this profiling group. getNotificationConfigurationResponse_notificationConfiguration :: Lens' GetNotificationConfigurationResponse NotificationConfiguration -- | The name of the profiling group. getPolicy_profilingGroupName :: Lens' GetPolicy Text -- | The response's http status code. getPolicyResponse_httpStatus :: Lens' GetPolicyResponse Int -- | The JSON-formatted resource-based policy attached to the -- ProfilingGroup. getPolicyResponse_policy :: Lens' GetPolicyResponse Text -- | A unique identifier for the current revision of the returned policy. getPolicyResponse_revisionId :: Lens' GetPolicyResponse Text -- | The format of the returned profiling data. The format maps to the -- Accept and Content-Type headers of the HTTP request. -- You can specify one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
getProfile_accept :: Lens' GetProfile (Maybe Text) -- | The end time of the requested profile. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. -- -- If you specify endTime, then you must also specify -- period or startTime, but not both. getProfile_endTime :: Lens' GetProfile (Maybe UTCTime) -- | The maximum depth of the stacks in the code that is represented in the -- aggregated profile. For example, if CodeGuru Profiler finds a method -- A, which calls method B, which calls method -- C, which calls method D, then the depth is 4. If the -- maxDepth is set to 2, then the aggregated profile contains -- representations of methods A and B. getProfile_maxDepth :: Lens' GetProfile (Maybe Natural) -- | Used with startTime or endTime to specify the time -- range for the returned aggregated profile. Specify using the ISO 8601 -- format. For example, P1DT1H1M1S. -- --
--   <p> To get the latest aggregated profile, specify only <code>period</code>. </p>
--   
getProfile_period :: Lens' GetProfile (Maybe Text) -- | The start time of the profile to get. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. -- --
--   <p> If you specify <code>startTime</code>, then you must also specify <code>period</code> or <code>endTime</code>, but not both. </p>
--   
getProfile_startTime :: Lens' GetProfile (Maybe UTCTime) -- | The name of the profiling group to get. getProfile_profilingGroupName :: Lens' GetProfile Text -- | The content encoding of the profile. getProfileResponse_contentEncoding :: Lens' GetProfileResponse (Maybe Text) -- | The response's http status code. getProfileResponse_httpStatus :: Lens' GetProfileResponse Int -- | The content type of the profile in the payload. It is either -- application/json or the default -- application/x-amzn-ion. getProfileResponse_contentType :: Lens' GetProfileResponse Text -- | Information about the profile. getProfileResponse_profile :: Lens' GetProfileResponse ByteString -- | The language used to provide analysis. Specify using a string that is -- one of the following BCP 47 language codes. -- -- getRecommendations_locale :: Lens' GetRecommendations (Maybe Text) -- | The start time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. getRecommendations_endTime :: Lens' GetRecommendations UTCTime -- | The name of the profiling group to get analysis data about. getRecommendations_profilingGroupName :: Lens' GetRecommendations Text -- | The end time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. getRecommendations_startTime :: Lens' GetRecommendations UTCTime -- | The response's http status code. getRecommendationsResponse_httpStatus :: Lens' GetRecommendationsResponse Int -- | The list of anomalies that the analysis has found for this profile. getRecommendationsResponse_anomalies :: Lens' GetRecommendationsResponse [Anomaly] -- | The end time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. getRecommendationsResponse_profileEndTime :: Lens' GetRecommendationsResponse UTCTime -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. getRecommendationsResponse_profileStartTime :: Lens' GetRecommendationsResponse UTCTime -- | The name of the profiling group the analysis data is about. getRecommendationsResponse_profilingGroupName :: Lens' GetRecommendationsResponse Text -- | The list of recommendations that the analysis found for this profile. getRecommendationsResponse_recommendations :: Lens' GetRecommendationsResponse [Recommendation] -- | A Boolean value indicating whether to only return reports -- from daily profiles. If set to True, only analysis data from -- daily profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). listFindingsReports_dailyReportsOnly :: Lens' ListFindingsReports (Maybe Bool) -- | The maximum number of report results returned by -- ListFindingsReports in paginated output. When this parameter -- is used, ListFindingsReports only returns maxResults -- results in a single page along with a nextToken response -- element. The remaining results of the initial request can be seen by -- sending another ListFindingsReports request with the returned -- nextToken value. listFindingsReports_maxResults :: Lens' ListFindingsReports (Maybe Natural) -- | The nextToken value returned from a previous paginated -- ListFindingsReportsRequest request where maxResults -- was used and the results exceeded the value of that parameter. -- Pagination continues from the end of the previous results that -- returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. listFindingsReports_nextToken :: Lens' ListFindingsReports (Maybe Text) -- | The end time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. listFindingsReports_endTime :: Lens' ListFindingsReports UTCTime -- | The name of the profiling group from which to search for analysis -- data. listFindingsReports_profilingGroupName :: Lens' ListFindingsReports Text -- | The start time of the profile to get analysis data about. You must -- specify startTime and endTime. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. listFindingsReports_startTime :: Lens' ListFindingsReports UTCTime -- | The nextToken value to include in a future -- ListFindingsReports request. When the results of a -- ListFindingsReports request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. listFindingsReportsResponse_nextToken :: Lens' ListFindingsReportsResponse (Maybe Text) -- | The response's http status code. listFindingsReportsResponse_httpStatus :: Lens' ListFindingsReportsResponse Int -- | The list of analysis results summaries. listFindingsReportsResponse_findingsReportSummaries :: Lens' ListFindingsReportsResponse [FindingsReportSummary] -- | The maximum number of profile time results returned by -- ListProfileTimes in paginated output. When this parameter is -- used, ListProfileTimes only returns maxResults -- results in a single page with a nextToken response element. -- The remaining results of the initial request can be seen by sending -- another ListProfileTimes request with the returned -- nextToken value. listProfileTimes_maxResults :: Lens' ListProfileTimes (Maybe Natural) -- | The nextToken value returned from a previous paginated -- ListProfileTimes request where maxResults was used -- and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. listProfileTimes_nextToken :: Lens' ListProfileTimes (Maybe Text) -- | The order (ascending or descending by start time of the profile) to -- use when listing profiles. Defaults to TIMESTAMP_DESCENDING. listProfileTimes_orderBy :: Lens' ListProfileTimes (Maybe OrderBy) -- | The end time of the time range from which to list the profiles. listProfileTimes_endTime :: Lens' ListProfileTimes UTCTime -- | The aggregation period. This specifies the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. There are 3 valid values. -- -- listProfileTimes_period :: Lens' ListProfileTimes AggregationPeriod -- | The name of the profiling group. listProfileTimes_profilingGroupName :: Lens' ListProfileTimes Text -- | The start time of the time range from which to list the profiles. listProfileTimes_startTime :: Lens' ListProfileTimes UTCTime -- | The nextToken value to include in a future -- ListProfileTimes request. When the results of a -- ListProfileTimes request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. listProfileTimesResponse_nextToken :: Lens' ListProfileTimesResponse (Maybe Text) -- | The response's http status code. listProfileTimesResponse_httpStatus :: Lens' ListProfileTimesResponse Int -- | The list of start times of the available profiles for the aggregation -- period in the specified time range. listProfileTimesResponse_profileTimes :: Lens' ListProfileTimesResponse [ProfileTime] -- | A Boolean value indicating whether to include a description. -- If true, then a list of ProfilingGroupDescription -- objects that contain detailed information about profiling groups is -- returned. If false, then a list of profiling group names is -- returned. listProfilingGroups_includeDescription :: Lens' ListProfilingGroups (Maybe Bool) -- | The maximum number of profiling groups results returned by -- ListProfilingGroups in paginated output. When this parameter -- is used, ListProfilingGroups only returns maxResults -- results in a single page along with a nextToken response -- element. The remaining results of the initial request can be seen by -- sending another ListProfilingGroups request with the returned -- nextToken value. listProfilingGroups_maxResults :: Lens' ListProfilingGroups (Maybe Natural) -- | The nextToken value returned from a previous paginated -- ListProfilingGroups request where maxResults was -- used and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. listProfilingGroups_nextToken :: Lens' ListProfilingGroups (Maybe Text) -- | The nextToken value to include in a future -- ListProfilingGroups request. When the results of a -- ListProfilingGroups request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. listProfilingGroupsResponse_nextToken :: Lens' ListProfilingGroupsResponse (Maybe Text) -- | A returned list ProfilingGroupDescription objects. A list of -- ProfilingGroupDescription objects is returned only if -- includeDescription is true, otherwise a list of -- profiling group names is returned. listProfilingGroupsResponse_profilingGroups :: Lens' ListProfilingGroupsResponse (Maybe [ProfilingGroupDescription]) -- | The response's http status code. listProfilingGroupsResponse_httpStatus :: Lens' ListProfilingGroupsResponse Int -- | A returned list of profiling group names. A list of the names is -- returned only if includeDescription is false, -- otherwise a list of ProfilingGroupDescription objects is -- returned. listProfilingGroupsResponse_profilingGroupNames :: Lens' ListProfilingGroupsResponse [Text] -- | The Amazon Resource Name (ARN) of the resource that contains the tags -- to return. listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | The list of tags assigned to the specified resource. This is the list -- of tags returned in the response. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int -- | Amazon CodeGuru Profiler uses this universally unique identifier -- (UUID) to prevent the accidental submission of duplicate profiling -- data if there are failures and retries. postAgentProfile_profileToken :: Lens' PostAgentProfile (Maybe Text) -- | The submitted profiling data. postAgentProfile_agentProfile :: Lens' PostAgentProfile ByteString -- | The format of the submitted profiling data. The format maps to the -- Accept and Content-Type headers of the HTTP request. -- You can specify one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
postAgentProfile_contentType :: Lens' PostAgentProfile Text -- | The name of the profiling group with the aggregated profile that -- receives the submitted profiling data. postAgentProfile_profilingGroupName :: Lens' PostAgentProfile Text -- | The response's http status code. postAgentProfileResponse_httpStatus :: Lens' PostAgentProfileResponse Int -- | A universally unique identifier (UUID) for the revision of the policy -- you are adding to the profiling group. Do not specify this when you -- add permissions to a profiling group for the first time. If a policy -- already exists on the profiling group, you must specify the -- revisionId. putPermission_revisionId :: Lens' PutPermission (Maybe Text) -- | Specifies an action group that contains permissions to add to a -- profiling group resource. One action group is supported, -- agentPermissions, which grants permission to perform actions -- required by the profiling agent, ConfigureAgent and -- PostAgentProfile permissions. putPermission_actionGroup :: Lens' PutPermission ActionGroup -- | A list ARNs for the roles and users you want to grant access to the -- profiling group. Wildcards are not are supported in the ARNs. putPermission_principals :: Lens' PutPermission (NonEmpty Text) -- | The name of the profiling group to grant access to. putPermission_profilingGroupName :: Lens' PutPermission Text -- | The response's http status code. putPermissionResponse_httpStatus :: Lens' PutPermissionResponse Int -- | The JSON-formatted resource-based policy on the profiling group that -- includes the added permissions. putPermissionResponse_policy :: Lens' PutPermissionResponse Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy that includes the added permissions. The -- JSON-formatted policy is in the policy element of the -- response. putPermissionResponse_revisionId :: Lens' PutPermissionResponse Text -- | The id of the channel that we want to stop receiving notifications. removeNotificationChannel_channelId :: Lens' RemoveNotificationChannel Text -- | The name of the profiling group we want to change notification -- configuration for. removeNotificationChannel_profilingGroupName :: Lens' RemoveNotificationChannel Text -- | The new notification configuration for this profiling group. removeNotificationChannelResponse_notificationConfiguration :: Lens' RemoveNotificationChannelResponse (Maybe NotificationConfiguration) -- | The response's http status code. removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int -- | Specifies an action group that contains the permissions to remove from -- a profiling group's resource-based policy. One action group is -- supported, agentPermissions, which grants -- ConfigureAgent and PostAgentProfile permissions. removePermission_actionGroup :: Lens' RemovePermission ActionGroup -- | The name of the profiling group. removePermission_profilingGroupName :: Lens' RemovePermission Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy from which you want to remove permissions. removePermission_revisionId :: Lens' RemovePermission Text -- | The response's http status code. removePermissionResponse_httpStatus :: Lens' RemovePermissionResponse Int -- | The JSON-formatted resource-based policy on the profiling group after -- the specified permissions were removed. removePermissionResponse_policy :: Lens' RemovePermissionResponse Text -- | A universally unique identifier (UUID) for the revision of the -- resource-based policy after the specified permissions were removed. -- The updated JSON-formatted policy is in the policy element of -- the response. removePermissionResponse_revisionId :: Lens' RemovePermissionResponse Text -- | Optional feedback about this anomaly. submitFeedback_comment :: Lens' SubmitFeedback (Maybe Text) -- | The universally unique identifier (UUID) of the AnomalyInstance -- object that is included in the analysis data. submitFeedback_anomalyInstanceId :: Lens' SubmitFeedback Text -- | The name of the profiling group that is associated with the analysis -- data. submitFeedback_profilingGroupName :: Lens' SubmitFeedback Text -- | The feedback tpye. Thee are two valid values, Positive and -- Negative. submitFeedback_type :: Lens' SubmitFeedback FeedbackType -- | The response's http status code. submitFeedbackResponse_httpStatus :: Lens' SubmitFeedbackResponse Int -- | The Amazon Resource Name (ARN) of the resource that the tags are added -- to. tagResource_resourceArn :: Lens' TagResource Text -- | The list of tags that are added to the specified resource. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int -- | The Amazon Resource Name (ARN) of the resource that contains the tags -- to remove. untagResource_resourceArn :: Lens' UntagResource Text -- | A list of tag keys. Existing tags of resources with keys in this list -- are removed from the specified resource. untagResource_tagKeys :: Lens' UntagResource [Text] -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int -- | Specifies whether profiling is enabled or disabled for a profiling -- group. updateProfilingGroup_agentOrchestrationConfig :: Lens' UpdateProfilingGroup AgentOrchestrationConfig -- | The name of the profiling group to update. updateProfilingGroup_profilingGroupName :: Lens' UpdateProfilingGroup Text -- | The response's http status code. updateProfilingGroupResponse_httpStatus :: Lens' UpdateProfilingGroupResponse Int -- | A ProfilingGroupDescription that contains information about the -- returned updated profiling group. updateProfilingGroupResponse_profilingGroup :: Lens' UpdateProfilingGroupResponse ProfilingGroupDescription -- | Parameters used by the profiler. The valid parameters are: -- -- agentConfiguration_agentParameters :: Lens' AgentConfiguration (Maybe (HashMap AgentParameterField Text)) -- | How long a profiling agent should send profiling data using -- ConfigureAgent . For example, if this is set to 300, the -- profiling agent calls ConfigureAgent every 5 minutes to submit -- the profiled data collected during that period. agentConfiguration_periodInSeconds :: Lens' AgentConfiguration Int -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. agentConfiguration_shouldProfile :: Lens' AgentConfiguration Bool -- | A Boolean that specifies whether the profiling agent collects -- profiling data or not. Set to true to enable profiling. agentOrchestrationConfig_profilingEnabled :: Lens' AgentOrchestrationConfig Bool -- | The aggregation period. This indicates the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. Use one of three valid durations that are specified using the -- ISO 8601 format. -- -- aggregatedProfileTime_period :: Lens' AggregatedProfileTime (Maybe AggregationPeriod) -- | The time that aggregation of posted agent profiles for a profiling -- group starts. The aggregation profile contains profiles posted by the -- agent starting at this time for an aggregation period specified by the -- period property of the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. aggregatedProfileTime_start :: Lens' AggregatedProfileTime (Maybe UTCTime) -- | A list of the instances of the detected anomalies during the requested -- period. anomaly_instances :: Lens' Anomaly [AnomalyInstance] -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric includes the name of the frame that was analyzed -- with the type and thread states used to derive the metric value for -- that frame. anomaly_metric :: Lens' Anomaly Metric -- | The reason for which metric was flagged as anomalous. anomaly_reason :: Lens' Anomaly Text -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. anomalyInstance_endTime :: Lens' AnomalyInstance (Maybe UTCTime) -- | Feedback type on a specific instance of anomaly submitted by the user. anomalyInstance_userFeedback :: Lens' AnomalyInstance (Maybe UserFeedback) -- | The universally unique identifier (UUID) of an instance of an anomaly -- in a metric. anomalyInstance_id :: Lens' AnomalyInstance Text -- | The start time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. anomalyInstance_startTime :: Lens' AnomalyInstance UTCTime -- | Unique identifier for each Channel in the notification -- configuration of a Profiling Group. A random UUID for channelId is -- used when adding a channel to the notification configuration if not -- specified in the request. channel_id :: Lens' Channel (Maybe Text) -- | List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. channel_eventPublishers :: Lens' Channel (NonEmpty EventPublisher) -- | Unique arn of the resource to be used for notifications. We support a -- valid SNS topic arn as a channel uri. channel_uri :: Lens' Channel Text -- | The universally unique identifier (UUID) of the recommendation report. findingsReportSummary_id :: Lens' FindingsReportSummary (Maybe Text) -- | The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. findingsReportSummary_profileEndTime :: Lens' FindingsReportSummary (Maybe UTCTime) -- | The start time of the profile the analysis data is about. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. findingsReportSummary_profileStartTime :: Lens' FindingsReportSummary (Maybe UTCTime) -- | The name of the profiling group that is associated with the analysis -- data. findingsReportSummary_profilingGroupName :: Lens' FindingsReportSummary (Maybe Text) -- | The total number of different recommendations that were found by the -- analysis. findingsReportSummary_totalNumberOfFindings :: Lens' FindingsReportSummary (Maybe Int) -- | Name of the method common across the multiple occurrences of a frame -- in an application profile. frameMetric_frameName :: Lens' FrameMetric Text -- | List of application runtime thread states used to get the counts for a -- frame a derive a metric value. frameMetric_threadStates :: Lens' FrameMetric [Text] -- | A type of aggregation that specifies how a metric for a frame is -- analyzed. The supported value AggregatedRelativeTotalTime is -- an aggregation of the metric value for one frame that is calculated -- across the occurrences of all frames in a profile. frameMetric_type :: Lens' FrameMetric MetricType -- | Undocumented member. frameMetricDatum_frameMetric :: Lens' FrameMetricDatum FrameMetric -- | A list of values that are associated with a frame metric. frameMetricDatum_values :: Lens' FrameMetricDatum [Double] -- | The location in the profiling graph that contains a recommendation -- found during analysis. match_frameAddress :: Lens' Match (Maybe Text) -- | The target frame that triggered a match. match_targetFramesIndex :: Lens' Match (Maybe Int) -- | The value in the profile data that exceeded the recommendation -- threshold. match_thresholdBreachValue :: Lens' Match (Maybe Double) -- | The name of the method that appears as a frame in any stack in a -- profile. metric_frameName :: Lens' Metric Text -- | The list of application runtime thread states that is used to -- calculate the metric value for the frame. metric_threadStates :: Lens' Metric [Text] -- | A type that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurences of all frames in a profile. metric_type :: Lens' Metric MetricType -- | List of up to two channels to be used for sending notifications for -- events detected from the application profile. notificationConfiguration_channels :: Lens' NotificationConfiguration (Maybe (NonEmpty Channel)) -- | A list of the different counters used to determine if there is a -- match. pattern_countersToAggregate :: Lens' Pattern (Maybe [Text]) -- | The description of the recommendation. This explains a potential -- inefficiency in a profiled application. pattern_description :: Lens' Pattern (Maybe Text) -- | The universally unique identifier (UUID) of this pattern. pattern_id :: Lens' Pattern (Maybe Text) -- | The name for this pattern. pattern_name :: Lens' Pattern (Maybe Text) -- | A string that contains the steps recommended to address the potential -- inefficiency. pattern_resolutionSteps :: Lens' Pattern (Maybe Text) -- | A list of frame names that were searched during the analysis that -- generated a recommendation. pattern_targetFrames :: Lens' Pattern (Maybe [[Text]]) -- | The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. pattern_thresholdPercent :: Lens' Pattern (Maybe Double) -- | The start time of a profile. It is specified using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. profileTime_start :: Lens' ProfileTime (Maybe UTCTime) -- | An AgentOrchestrationConfig object that indicates if the -- profiling group is enabled for profiled or not. profilingGroupDescription_agentOrchestrationConfig :: Lens' ProfilingGroupDescription (Maybe AgentOrchestrationConfig) -- | The Amazon Resource Name (ARN) identifying the profiling group -- resource. profilingGroupDescription_arn :: Lens' ProfilingGroupDescription (Maybe Text) -- | The compute platform of the profiling group. If it is set to -- AWSLambda, then the profiled application runs on AWS Lambda. -- If it is set to Default, then the profiled application runs -- on a compute platform that is not AWS Lambda, such an Amazon EC2 -- instance, an on-premises server, or a different platform. The default -- is Default. profilingGroupDescription_computePlatform :: Lens' ProfilingGroupDescription (Maybe ComputePlatform) -- | The time when the profiling group was created. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. profilingGroupDescription_createdAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) -- | The name of the profiling group. profilingGroupDescription_name :: Lens' ProfilingGroupDescription (Maybe Text) -- | A ProfilingStatus object that includes information about the -- last time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. profilingGroupDescription_profilingStatus :: Lens' ProfilingGroupDescription (Maybe ProfilingStatus) -- | A list of the tags that belong to this profiling group. profilingGroupDescription_tags :: Lens' ProfilingGroupDescription (Maybe (HashMap Text Text)) -- | The date and time when the profiling group was last updated. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. profilingGroupDescription_updatedAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) -- | The date and time when the profiling agent most recently pinged back. -- Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. profilingStatus_latestAgentOrchestratedAt :: Lens' ProfilingStatus (Maybe UTCTime) -- | The date and time when the most recent profile was received. Specify -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. profilingStatus_latestAgentProfileReportedAt :: Lens' ProfilingStatus (Maybe UTCTime) -- | An AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. profilingStatus_latestAggregatedProfile :: Lens' ProfilingStatus (Maybe AggregatedProfileTime) -- | How many different places in the profile graph triggered a match. recommendation_allMatchesCount :: Lens' Recommendation Int -- | How much of the total sample count is potentially affected. recommendation_allMatchesSum :: Lens' Recommendation Double -- | End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. recommendation_endTime :: Lens' Recommendation UTCTime -- | The pattern that analysis recognized in the profile to make this -- recommendation. recommendation_pattern :: Lens' Recommendation Pattern -- | The start time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. recommendation_startTime :: Lens' Recommendation UTCTime -- | List of the matches with most impact. recommendation_topMatches :: Lens' Recommendation [Match] -- | A Timestamp. This is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. timestampStructure_value :: Lens' TimestampStructure UTCTime -- | Optional Positive or Negative feedback submitted by -- the user about whether the recommendation is useful or not. userFeedback_type :: Lens' UserFeedback FeedbackType module Amazonka.CodeGuruProfiler.Waiters -- | Derived from API version 2019-07-18 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- This section provides documentation for the Amazon CodeGuru Profiler -- API operations. -- -- Amazon CodeGuru Profiler collects runtime performance data from your -- live applications, and provides recommendations that can help you -- fine-tune your application performance. Using machine learning -- algorithms, CodeGuru Profiler can help you find your most expensive -- lines of code and suggest ways you can improve efficiency and remove -- CPU bottlenecks. -- -- Amazon CodeGuru Profiler provides different visualizations of -- profiling data to help you identify what code is running on the CPU, -- see how much time is consumed, and suggest ways to reduce CPU -- utilization. -- -- Amazon CodeGuru Profiler currently supports applications written in -- all Java virtual machine (JVM) languages and Python. While CodeGuru -- Profiler supports both visualizations and recommendations for -- applications written in Java, it can also generate visualizations and -- a subset of recommendations for applications written in other JVM -- languages and Python. -- -- For more information, see What is Amazon CodeGuru Profiler in -- the Amazon CodeGuru Profiler User Guide. module Amazonka.CodeGuruProfiler -- | API version 2019-07-18 of the Amazon CodeGuru Profiler SDK -- configuration. defaultService :: Service -- | The requested operation would cause a conflict with the current state -- of a service resource associated with the request. Resolve the -- conflict before retrying this request. _ConflictException :: AsError a => Fold a ServiceError -- | The server encountered an internal error and is unable to complete the -- request. _InternalServerException :: AsError a => Fold a ServiceError -- | The resource specified in the request does not exist. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | You have exceeded your service quota. To perform the requested action, -- remove some of the relevant resources, or use Service Quotas to -- request a service quota increase. _ServiceQuotaExceededException :: AsError a => Fold a ServiceError -- | The request was denied due to request throttling. _ThrottlingException :: AsError a => Fold a ServiceError -- | The parameter is not valid. _ValidationException :: AsError a => Fold a ServiceError -- | The structure representing the AddNotificationChannelsRequest. -- -- See: newAddNotificationChannels smart constructor. data AddNotificationChannels AddNotificationChannels' :: NonEmpty Channel -> Text -> AddNotificationChannels -- | Create a value of AddNotificationChannels with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- AddNotificationChannels, -- addNotificationChannels_channels - One or 2 channels to report -- to when anomalies are detected. -- -- AddNotificationChannels, -- addNotificationChannels_profilingGroupName - The name of the -- profiling group that we are setting up notifications for. newAddNotificationChannels :: NonEmpty Channel -> Text -> AddNotificationChannels -- | The structure representing the AddNotificationChannelsResponse. -- -- See: newAddNotificationChannelsResponse smart -- constructor. data AddNotificationChannelsResponse AddNotificationChannelsResponse' :: Maybe NotificationConfiguration -> Int -> AddNotificationChannelsResponse -- | Create a value of AddNotificationChannelsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:notificationConfiguration:AddNotificationChannelsResponse', -- addNotificationChannelsResponse_notificationConfiguration - The -- new notification configuration for this profiling group. -- -- $sel:httpStatus:AddNotificationChannelsResponse', -- addNotificationChannelsResponse_httpStatus - The response's -- http status code. newAddNotificationChannelsResponse :: Int -> AddNotificationChannelsResponse -- | The structure representing the BatchGetFrameMetricDataRequest. -- -- See: newBatchGetFrameMetricData smart constructor. data BatchGetFrameMetricData BatchGetFrameMetricData' :: Maybe ISO8601 -> Maybe [FrameMetric] -> Maybe Text -> Maybe ISO8601 -> Maybe AggregationPeriod -> Text -> BatchGetFrameMetricData -- | Create a value of BatchGetFrameMetricData with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- BatchGetFrameMetricData, batchGetFrameMetricData_endTime -- - The end time of the time period for the returned time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:frameMetrics:BatchGetFrameMetricData', -- batchGetFrameMetricData_frameMetrics - The details of the -- metrics that are used to request a time series of values. The metric -- includes the name of the frame, the aggregation type to calculate the -- metric value for the frame, and the thread states to use to get the -- count for the metric value of the frame. -- -- BatchGetFrameMetricData, batchGetFrameMetricData_period -- - The duration of the frame metrics used to return the time series -- values. Specify using the ISO 8601 format. The maximum period duration -- is one day (PT24H or P1D). -- -- BatchGetFrameMetricData, -- batchGetFrameMetricData_startTime - The start time of the time -- period for the frame metrics used to return the time series values. -- This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:targetResolution:BatchGetFrameMetricData', -- batchGetFrameMetricData_targetResolution - The requested -- resolution of time steps for the returned time series of values. If -- the requested target resolution is not available due to data not being -- retained we provide a best effort result by falling back to the most -- granular available resolution after the target resolution. There are 3 -- valid values. -- -- -- -- BatchGetFrameMetricData, -- batchGetFrameMetricData_profilingGroupName - The name of the -- profiling group associated with the the frame metrics used to return -- the time series values. newBatchGetFrameMetricData :: Text -> BatchGetFrameMetricData -- | The structure representing the BatchGetFrameMetricDataResponse. -- -- See: newBatchGetFrameMetricDataResponse smart -- constructor. data BatchGetFrameMetricDataResponse BatchGetFrameMetricDataResponse' :: Int -> ISO8601 -> [TimestampStructure] -> [FrameMetricDatum] -> AggregationPeriod -> ISO8601 -> HashMap Text [TimestampStructure] -> BatchGetFrameMetricDataResponse -- | Create a value of BatchGetFrameMetricDataResponse with all -- optional fields omitted. -- -- Use 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:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_httpStatus - The response's -- http status code. -- -- BatchGetFrameMetricData, -- batchGetFrameMetricDataResponse_endTime - The end time of the -- time period for the returned time series values. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:endTimes:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_endTimes - List of instances, -- or time steps, in the time series. For example, if the period -- is one day (PT24H)), and the resolution is five -- minutes (PT5M), then there are 288 endTimes in the -- list that are each five minutes appart. -- -- $sel:frameMetricData:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_frameMetricData - Details of -- the metrics to request a time series of values. The metric includes -- the name of the frame, the aggregation type to calculate the metric -- value for the frame, and the thread states to use to get the count for -- the metric value of the frame. -- -- $sel:resolution:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_resolution - Resolution or -- granularity of the profile data used to generate the time series. This -- is the value used to jump through time steps in a time series. There -- are 3 valid values. -- -- -- -- BatchGetFrameMetricData, -- batchGetFrameMetricDataResponse_startTime - The start time of -- the time period for the returned time series values. This is specified -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:unprocessedEndTimes:BatchGetFrameMetricDataResponse', -- batchGetFrameMetricDataResponse_unprocessedEndTimes - List of -- instances which remained unprocessed. This will create a missing time -- step in the list of end times. newBatchGetFrameMetricDataResponse :: Int -> UTCTime -> AggregationPeriod -> UTCTime -> BatchGetFrameMetricDataResponse -- | The structure representing the configureAgentRequest. -- -- See: newConfigureAgent smart constructor. data ConfigureAgent ConfigureAgent' :: Maybe Text -> Maybe (HashMap MetadataField Text) -> Text -> ConfigureAgent -- | Create a value of ConfigureAgent with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:fleetInstanceId:ConfigureAgent', -- configureAgent_fleetInstanceId - A universally unique -- identifier (UUID) for a profiling instance. For example, if the -- profiling instance is an Amazon EC2 instance, it is the instance ID. -- If it is an AWS Fargate container, it is the container's task ID. -- -- $sel:metadata:ConfigureAgent', configureAgent_metadata - -- Metadata captured about the compute platform the agent is running on. -- It includes information about sampling and reporting. The valid fields -- are: -- -- -- -- ConfigureAgent, configureAgent_profilingGroupName - The -- name of the profiling group for which the configured agent is -- collecting profiling data. newConfigureAgent :: Text -> ConfigureAgent -- | The structure representing the configureAgentResponse. -- -- See: newConfigureAgentResponse smart constructor. data ConfigureAgentResponse ConfigureAgentResponse' :: Int -> AgentConfiguration -> ConfigureAgentResponse -- | Create a value of ConfigureAgentResponse with all optional -- fields omitted. -- -- Use 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:ConfigureAgentResponse', -- configureAgentResponse_httpStatus - The response's http status -- code. -- -- $sel:configuration:ConfigureAgentResponse', -- configureAgentResponse_configuration - An -- AgentConfiguration object that specifies if an agent profiles -- or not and for how long to return profiling data. newConfigureAgentResponse :: Int -> AgentConfiguration -> ConfigureAgentResponse -- | The structure representing the createProfiliingGroupRequest. -- -- See: newCreateProfilingGroup smart constructor. data CreateProfilingGroup CreateProfilingGroup' :: Maybe AgentOrchestrationConfig -> Maybe ComputePlatform -> Maybe (HashMap Text Text) -> Text -> Text -> CreateProfilingGroup -- | Create a value of CreateProfilingGroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateProfilingGroup, -- createProfilingGroup_agentOrchestrationConfig - Specifies -- whether profiling is enabled or disabled for the created profiling -- group. -- -- CreateProfilingGroup, -- createProfilingGroup_computePlatform - The compute platform of -- the profiling group. Use AWSLambda if your application runs -- on AWS Lambda. Use Default if your application runs on a -- compute platform that is not AWS Lambda, such an Amazon EC2 instance, -- an on-premises server, or a different platform. If not specified, -- Default is used. -- -- CreateProfilingGroup, createProfilingGroup_tags - A list -- of tags to add to the created profiling group. -- -- $sel:clientToken:CreateProfilingGroup', -- createProfilingGroup_clientToken - Amazon CodeGuru Profiler -- uses this universally unique identifier (UUID) to prevent the -- accidental creation of duplicate profiling groups if there are -- failures and retries. -- -- CreateProfilingGroup, -- createProfilingGroup_profilingGroupName - The name of the -- profiling group to create. newCreateProfilingGroup :: Text -> Text -> CreateProfilingGroup -- | The structure representing the createProfilingGroupResponse. -- -- See: newCreateProfilingGroupResponse smart constructor. data CreateProfilingGroupResponse CreateProfilingGroupResponse' :: Int -> ProfilingGroupDescription -> CreateProfilingGroupResponse -- | Create a value of CreateProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:CreateProfilingGroupResponse', -- createProfilingGroupResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroup:CreateProfilingGroupResponse', -- createProfilingGroupResponse_profilingGroup - The returned -- ProfilingGroupDescription object that contains information -- about the created profiling group. newCreateProfilingGroupResponse :: Int -> ProfilingGroupDescription -> CreateProfilingGroupResponse -- | The structure representing the deleteProfilingGroupRequest. -- -- See: newDeleteProfilingGroup smart constructor. data DeleteProfilingGroup DeleteProfilingGroup' :: Text -> DeleteProfilingGroup -- | Create a value of DeleteProfilingGroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteProfilingGroup, -- deleteProfilingGroup_profilingGroupName - The name of the -- profiling group to delete. newDeleteProfilingGroup :: Text -> DeleteProfilingGroup -- | The structure representing the deleteProfilingGroupResponse. -- -- See: newDeleteProfilingGroupResponse smart constructor. data DeleteProfilingGroupResponse DeleteProfilingGroupResponse' :: Int -> DeleteProfilingGroupResponse -- | Create a value of DeleteProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:DeleteProfilingGroupResponse', -- deleteProfilingGroupResponse_httpStatus - The response's http -- status code. newDeleteProfilingGroupResponse :: Int -> DeleteProfilingGroupResponse -- | The structure representing the describeProfilingGroupRequest. -- -- See: newDescribeProfilingGroup smart constructor. data DescribeProfilingGroup DescribeProfilingGroup' :: Text -> DescribeProfilingGroup -- | Create a value of DescribeProfilingGroup with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DescribeProfilingGroup, -- describeProfilingGroup_profilingGroupName - The name of the -- profiling group to get information about. newDescribeProfilingGroup :: Text -> DescribeProfilingGroup -- | The structure representing the describeProfilingGroupResponse. -- -- See: newDescribeProfilingGroupResponse smart -- constructor. data DescribeProfilingGroupResponse DescribeProfilingGroupResponse' :: Int -> ProfilingGroupDescription -> DescribeProfilingGroupResponse -- | Create a value of DescribeProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:DescribeProfilingGroupResponse', -- describeProfilingGroupResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroup:DescribeProfilingGroupResponse', -- describeProfilingGroupResponse_profilingGroup - The returned -- ProfilingGroupDescription object that contains information -- about the requested profiling group. newDescribeProfilingGroupResponse :: Int -> ProfilingGroupDescription -> DescribeProfilingGroupResponse -- | The structure representing the GetFindingsReportAccountSummaryRequest. -- -- See: newGetFindingsReportAccountSummary smart -- constructor. data GetFindingsReportAccountSummary GetFindingsReportAccountSummary' :: Maybe Bool -> Maybe Natural -> Maybe Text -> GetFindingsReportAccountSummary -- | Create a value of GetFindingsReportAccountSummary with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:dailyReportsOnly:GetFindingsReportAccountSummary', -- getFindingsReportAccountSummary_dailyReportsOnly - A -- Boolean value indicating whether to only return reports from -- daily profiles. If set to True, only analysis data from daily -- profiles is returned. If set to False, analysis data is -- returned from smaller time windows (for example, one hour). -- -- $sel:maxResults:GetFindingsReportAccountSummary', -- getFindingsReportAccountSummary_maxResults - The maximum number -- of results returned by GetFindingsReportAccountSummary in -- paginated output. When this parameter is used, -- GetFindingsReportAccountSummary only returns -- maxResults results in a single page along with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- GetFindingsReportAccountSummary request with the returned -- nextToken value. -- -- GetFindingsReportAccountSummary, -- getFindingsReportAccountSummary_nextToken - The -- nextToken value returned from a previous paginated -- GetFindingsReportAccountSummary request where -- maxResults was used and the results exceeded the value of -- that parameter. Pagination continues from the end of the previous -- results that returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. newGetFindingsReportAccountSummary :: GetFindingsReportAccountSummary -- | The structure representing the -- GetFindingsReportAccountSummaryResponse. -- -- See: newGetFindingsReportAccountSummaryResponse smart -- constructor. data GetFindingsReportAccountSummaryResponse GetFindingsReportAccountSummaryResponse' :: Maybe Text -> Int -> [FindingsReportSummary] -> GetFindingsReportAccountSummaryResponse -- | Create a value of GetFindingsReportAccountSummaryResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFindingsReportAccountSummary, -- getFindingsReportAccountSummaryResponse_nextToken - The -- nextToken value to include in a future -- GetFindingsReportAccountSummary request. When the results of -- a GetFindingsReportAccountSummary request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. -- -- $sel:httpStatus:GetFindingsReportAccountSummaryResponse', -- getFindingsReportAccountSummaryResponse_httpStatus - The -- response's http status code. -- -- $sel:reportSummaries:GetFindingsReportAccountSummaryResponse', -- getFindingsReportAccountSummaryResponse_reportSummaries - The -- return list of FindingsReportSummary objects taht contain -- summaries of analysis results for all profiling groups in your AWS -- account. newGetFindingsReportAccountSummaryResponse :: Int -> GetFindingsReportAccountSummaryResponse -- | The structure representing the GetNotificationConfigurationRequest. -- -- See: newGetNotificationConfiguration smart constructor. data GetNotificationConfiguration GetNotificationConfiguration' :: Text -> GetNotificationConfiguration -- | Create a value of GetNotificationConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetNotificationConfiguration, -- getNotificationConfiguration_profilingGroupName - The name of -- the profiling group we want to get the notification configuration for. newGetNotificationConfiguration :: Text -> GetNotificationConfiguration -- | The structure representing the GetNotificationConfigurationResponse. -- -- See: newGetNotificationConfigurationResponse smart -- constructor. data GetNotificationConfigurationResponse GetNotificationConfigurationResponse' :: Int -> NotificationConfiguration -> GetNotificationConfigurationResponse -- | Create a value of GetNotificationConfigurationResponse with all -- optional fields omitted. -- -- Use 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:GetNotificationConfigurationResponse', -- getNotificationConfigurationResponse_httpStatus - The -- response's http status code. -- -- -- $sel:notificationConfiguration:GetNotificationConfigurationResponse', -- getNotificationConfigurationResponse_notificationConfiguration -- - The current notification configuration for this profiling group. newGetNotificationConfigurationResponse :: Int -> NotificationConfiguration -> GetNotificationConfigurationResponse -- | The structure representing the getPolicyRequest. -- -- See: newGetPolicy smart constructor. data GetPolicy GetPolicy' :: Text -> GetPolicy -- | Create a value of GetPolicy with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetPolicy, getPolicy_profilingGroupName - The name of -- the profiling group. newGetPolicy :: Text -> GetPolicy -- | The structure representing the getPolicyResponse. -- -- See: newGetPolicyResponse smart constructor. data GetPolicyResponse GetPolicyResponse' :: Int -> Text -> Text -> GetPolicyResponse -- | Create a value of GetPolicyResponse with all optional fields -- omitted. -- -- Use 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:GetPolicyResponse', -- getPolicyResponse_httpStatus - The response's http status code. -- -- $sel:policy:GetPolicyResponse', getPolicyResponse_policy -- - The JSON-formatted resource-based policy attached to the -- ProfilingGroup. -- -- $sel:revisionId:GetPolicyResponse', -- getPolicyResponse_revisionId - A unique identifier for the -- current revision of the returned policy. newGetPolicyResponse :: Int -> Text -> Text -> GetPolicyResponse -- | The structure representing the getProfileRequest. -- -- See: newGetProfile smart constructor. data GetProfile GetProfile' :: Maybe Text -> Maybe ISO8601 -> Maybe Natural -> Maybe Text -> Maybe ISO8601 -> Text -> GetProfile -- | Create a value of GetProfile with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:accept:GetProfile', getProfile_accept - The format -- of the returned profiling data. The format maps to the Accept -- and Content-Type headers of the HTTP request. You can specify -- one of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
-- -- GetProfile, getProfile_endTime - The end time of the -- requested profile. Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- If you specify endTime, then you must also specify -- period or startTime, but not both. -- -- $sel:maxDepth:GetProfile', getProfile_maxDepth - The -- maximum depth of the stacks in the code that is represented in the -- aggregated profile. For example, if CodeGuru Profiler finds a method -- A, which calls method B, which calls method -- C, which calls method D, then the depth is 4. If the -- maxDepth is set to 2, then the aggregated profile contains -- representations of methods A and B. -- -- GetProfile, getProfile_period - Used with -- startTime or endTime to specify the time range for -- the returned aggregated profile. Specify using the ISO 8601 format. -- For example, P1DT1H1M1S. -- --
--   <p> To get the latest aggregated profile, specify only <code>period</code>. </p>
--   
-- -- GetProfile, getProfile_startTime - The start time of the -- profile to get. Specify using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- --
--   <p> If you specify <code>startTime</code>, then you must also specify <code>period</code> or <code>endTime</code>, but not both. </p>
--   
-- -- GetProfile, getProfile_profilingGroupName - The name of -- the profiling group to get. newGetProfile :: Text -> GetProfile -- | The structure representing the getProfileResponse. -- -- See: newGetProfileResponse smart constructor. data GetProfileResponse GetProfileResponse' :: Maybe Text -> Int -> Text -> ByteString -> GetProfileResponse -- | Create a value of GetProfileResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:contentEncoding:GetProfileResponse', -- getProfileResponse_contentEncoding - The content encoding of -- the profile. -- -- $sel:httpStatus:GetProfileResponse', -- getProfileResponse_httpStatus - The response's http status -- code. -- -- $sel:contentType:GetProfileResponse', -- getProfileResponse_contentType - The content type of the -- profile in the payload. It is either application/json or the -- default application/x-amzn-ion. -- -- $sel:profile:GetProfileResponse', -- getProfileResponse_profile - Information about the profile. newGetProfileResponse :: Int -> Text -> ByteString -> GetProfileResponse -- | The structure representing the GetRecommendationsRequest. -- -- See: newGetRecommendations smart constructor. data GetRecommendations GetRecommendations' :: Maybe Text -> ISO8601 -> Text -> ISO8601 -> GetRecommendations -- | Create a value of GetRecommendations with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:locale:GetRecommendations', -- getRecommendations_locale - The language used to provide -- analysis. Specify using a string that is one of the following BCP -- 47 language codes. -- -- -- -- GetRecommendations, getRecommendations_endTime - The -- start time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- GetRecommendations, -- getRecommendations_profilingGroupName - The name of the -- profiling group to get analysis data about. -- -- GetRecommendations, getRecommendations_startTime - The -- end time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. newGetRecommendations :: UTCTime -> Text -> UTCTime -> GetRecommendations -- | The structure representing the GetRecommendationsResponse. -- -- See: newGetRecommendationsResponse smart constructor. data GetRecommendationsResponse GetRecommendationsResponse' :: Int -> [Anomaly] -> ISO8601 -> ISO8601 -> Text -> [Recommendation] -> GetRecommendationsResponse -- | Create a value of GetRecommendationsResponse with all optional -- fields omitted. -- -- Use 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:GetRecommendationsResponse', -- getRecommendationsResponse_httpStatus - The response's http -- status code. -- -- $sel:anomalies:GetRecommendationsResponse', -- getRecommendationsResponse_anomalies - The list of anomalies -- that the analysis has found for this profile. -- -- GetRecommendationsResponse, -- getRecommendationsResponse_profileEndTime - The end time of the -- profile the analysis data is about. This is specified using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- GetRecommendationsResponse, -- getRecommendationsResponse_profileStartTime - The start time of -- the profile the analysis data is about. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- GetRecommendations, -- getRecommendationsResponse_profilingGroupName - The name of the -- profiling group the analysis data is about. -- -- $sel:recommendations:GetRecommendationsResponse', -- getRecommendationsResponse_recommendations - The list of -- recommendations that the analysis found for this profile. newGetRecommendationsResponse :: Int -> UTCTime -> UTCTime -> Text -> GetRecommendationsResponse -- | The structure representing the ListFindingsReportsRequest. -- -- See: newListFindingsReports smart constructor. data ListFindingsReports ListFindingsReports' :: Maybe Bool -> Maybe Natural -> Maybe Text -> ISO8601 -> Text -> ISO8601 -> ListFindingsReports -- | Create a value of ListFindingsReports with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:dailyReportsOnly:ListFindingsReports', -- listFindingsReports_dailyReportsOnly - A Boolean value -- indicating whether to only return reports from daily profiles. If set -- to True, only analysis data from daily profiles is returned. -- If set to False, analysis data is returned from smaller time -- windows (for example, one hour). -- -- $sel:maxResults:ListFindingsReports', -- listFindingsReports_maxResults - The maximum number of report -- results returned by ListFindingsReports in paginated output. -- When this parameter is used, ListFindingsReports only returns -- maxResults results in a single page along with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- ListFindingsReports request with the returned -- nextToken value. -- -- ListFindingsReports, listFindingsReports_nextToken - The -- nextToken value returned from a previous paginated -- ListFindingsReportsRequest request where maxResults -- was used and the results exceeded the value of that parameter. -- Pagination continues from the end of the previous results that -- returned the nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. -- -- ListFindingsReports, listFindingsReports_endTime - The -- end time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- ListFindingsReports, -- listFindingsReports_profilingGroupName - The name of the -- profiling group from which to search for analysis data. -- -- ListFindingsReports, listFindingsReports_startTime - The -- start time of the profile to get analysis data about. You must specify -- startTime and endTime. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. newListFindingsReports :: UTCTime -> Text -> UTCTime -> ListFindingsReports -- | The structure representing the ListFindingsReportsResponse. -- -- See: newListFindingsReportsResponse smart constructor. data ListFindingsReportsResponse ListFindingsReportsResponse' :: Maybe Text -> Int -> [FindingsReportSummary] -> ListFindingsReportsResponse -- | Create a value of ListFindingsReportsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListFindingsReports, -- listFindingsReportsResponse_nextToken - The nextToken -- value to include in a future ListFindingsReports request. -- When the results of a ListFindingsReports request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. -- -- $sel:httpStatus:ListFindingsReportsResponse', -- listFindingsReportsResponse_httpStatus - The response's http -- status code. -- -- $sel:findingsReportSummaries:ListFindingsReportsResponse', -- listFindingsReportsResponse_findingsReportSummaries - The list -- of analysis results summaries. newListFindingsReportsResponse :: Int -> ListFindingsReportsResponse -- | The structure representing the listProfileTimesRequest. -- -- See: newListProfileTimes smart constructor. data ListProfileTimes ListProfileTimes' :: Maybe Natural -> Maybe Text -> Maybe OrderBy -> ISO8601 -> AggregationPeriod -> Text -> ISO8601 -> ListProfileTimes -- | Create a value of ListProfileTimes with all optional fields -- omitted. -- -- Use 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:ListProfileTimes', -- listProfileTimes_maxResults - The maximum number of profile -- time results returned by ListProfileTimes in paginated -- output. When this parameter is used, ListProfileTimes only -- returns maxResults results in a single page with a -- nextToken response element. The remaining results of the -- initial request can be seen by sending another -- ListProfileTimes request with the returned nextToken -- value. -- -- ListProfileTimes, listProfileTimes_nextToken - The -- nextToken value returned from a previous paginated -- ListProfileTimes request where maxResults was used -- and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. -- -- $sel:orderBy:ListProfileTimes', listProfileTimes_orderBy -- - The order (ascending or descending by start time of the profile) to -- use when listing profiles. Defaults to TIMESTAMP_DESCENDING. -- -- ListProfileTimes, listProfileTimes_endTime - The end -- time of the time range from which to list the profiles. -- -- ListProfileTimes, listProfileTimes_period - The -- aggregation period. This specifies the period during which an -- aggregation profile collects posted agent profiles for a profiling -- group. There are 3 valid values. -- -- -- -- ListProfileTimes, listProfileTimes_profilingGroupName - -- The name of the profiling group. -- -- ListProfileTimes, listProfileTimes_startTime - The start -- time of the time range from which to list the profiles. newListProfileTimes :: UTCTime -> AggregationPeriod -> Text -> UTCTime -> ListProfileTimes -- | The structure representing the listProfileTimesResponse. -- -- See: newListProfileTimesResponse smart constructor. data ListProfileTimesResponse ListProfileTimesResponse' :: Maybe Text -> Int -> [ProfileTime] -> ListProfileTimesResponse -- | Create a value of ListProfileTimesResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListProfileTimes, listProfileTimesResponse_nextToken - -- The nextToken value to include in a future -- ListProfileTimes request. When the results of a -- ListProfileTimes request exceed maxResults, this -- value can be used to retrieve the next page of results. This value is -- null when there are no more results to return. -- -- $sel:httpStatus:ListProfileTimesResponse', -- listProfileTimesResponse_httpStatus - The response's http -- status code. -- -- $sel:profileTimes:ListProfileTimesResponse', -- listProfileTimesResponse_profileTimes - The list of start times -- of the available profiles for the aggregation period in the specified -- time range. newListProfileTimesResponse :: Int -> ListProfileTimesResponse -- | The structure representing the listProfilingGroupsRequest. -- -- See: newListProfilingGroups smart constructor. data ListProfilingGroups ListProfilingGroups' :: Maybe Bool -> Maybe Natural -> Maybe Text -> ListProfilingGroups -- | Create a value of ListProfilingGroups with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:includeDescription:ListProfilingGroups', -- listProfilingGroups_includeDescription - A Boolean -- value indicating whether to include a description. If true, -- then a list of ProfilingGroupDescription objects that contain -- detailed information about profiling groups is returned. If -- false, then a list of profiling group names is returned. -- -- $sel:maxResults:ListProfilingGroups', -- listProfilingGroups_maxResults - The maximum number of -- profiling groups results returned by ListProfilingGroups in -- paginated output. When this parameter is used, -- ListProfilingGroups only returns maxResults results -- in a single page along with a nextToken response element. The -- remaining results of the initial request can be seen by sending -- another ListProfilingGroups request with the returned -- nextToken value. -- -- ListProfilingGroups, listProfilingGroups_nextToken - The -- nextToken value returned from a previous paginated -- ListProfilingGroups request where maxResults was -- used and the results exceeded the value of that parameter. Pagination -- continues from the end of the previous results that returned the -- nextToken value. -- -- This token should be treated as an opaque identifier that is only used -- to retrieve the next items in a list and not for other programmatic -- purposes. newListProfilingGroups :: ListProfilingGroups -- | The structure representing the listProfilingGroupsResponse. -- -- See: newListProfilingGroupsResponse smart constructor. data ListProfilingGroupsResponse ListProfilingGroupsResponse' :: Maybe Text -> Maybe [ProfilingGroupDescription] -> Int -> [Text] -> ListProfilingGroupsResponse -- | Create a value of ListProfilingGroupsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListProfilingGroups, -- listProfilingGroupsResponse_nextToken - The nextToken -- value to include in a future ListProfilingGroups request. -- When the results of a ListProfilingGroups request exceed -- maxResults, this value can be used to retrieve the next page -- of results. This value is null when there are no more results -- to return. -- -- $sel:profilingGroups:ListProfilingGroupsResponse', -- listProfilingGroupsResponse_profilingGroups - A returned list -- ProfilingGroupDescription objects. A list of -- ProfilingGroupDescription objects is returned only if -- includeDescription is true, otherwise a list of -- profiling group names is returned. -- -- $sel:httpStatus:ListProfilingGroupsResponse', -- listProfilingGroupsResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroupNames:ListProfilingGroupsResponse', -- listProfilingGroupsResponse_profilingGroupNames - A returned -- list of profiling group names. A list of the names is returned only if -- includeDescription is false, otherwise a list of -- ProfilingGroupDescription objects is returned. newListProfilingGroupsResponse :: Int -> ListProfilingGroupsResponse -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | Create a value of ListTagsForResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourceArn:ListTagsForResource', -- listTagsForResource_resourceArn - The Amazon Resource Name -- (ARN) of the resource that contains the tags to return. newListTagsForResource :: Text -> ListTagsForResource -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse -- | Create a value of ListTagsForResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListTagsForResourceResponse, -- listTagsForResourceResponse_tags - The list of tags assigned to -- the specified resource. This is the list of tags returned in the -- response. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | The structure representing the postAgentProfileRequest. -- -- See: newPostAgentProfile smart constructor. data PostAgentProfile PostAgentProfile' :: Maybe Text -> ByteString -> Text -> Text -> PostAgentProfile -- | Create a value of PostAgentProfile with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:profileToken:PostAgentProfile', -- postAgentProfile_profileToken - Amazon CodeGuru Profiler uses -- this universally unique identifier (UUID) to prevent the accidental -- submission of duplicate profiling data if there are failures and -- retries. -- -- $sel:agentProfile:PostAgentProfile', -- postAgentProfile_agentProfile - The submitted profiling data. -- -- $sel:contentType:PostAgentProfile', -- postAgentProfile_contentType - The format of the submitted -- profiling data. The format maps to the Accept and -- Content-Type headers of the HTTP request. You can specify one -- of the following: or the default . -- --
--   <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
--   
-- -- PostAgentProfile, postAgentProfile_profilingGroupName - -- The name of the profiling group with the aggregated profile that -- receives the submitted profiling data. newPostAgentProfile :: ByteString -> Text -> Text -> PostAgentProfile -- | The structure representing the postAgentProfileResponse. -- -- See: newPostAgentProfileResponse smart constructor. data PostAgentProfileResponse PostAgentProfileResponse' :: Int -> PostAgentProfileResponse -- | Create a value of PostAgentProfileResponse with all optional -- fields omitted. -- -- Use 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:PostAgentProfileResponse', -- postAgentProfileResponse_httpStatus - The response's http -- status code. newPostAgentProfileResponse :: Int -> PostAgentProfileResponse -- | The structure representing the putPermissionRequest. -- -- See: newPutPermission smart constructor. data PutPermission PutPermission' :: Maybe Text -> ActionGroup -> NonEmpty Text -> Text -> PutPermission -- | Create a value of PutPermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutPermission, putPermission_revisionId - A universally -- unique identifier (UUID) for the revision of the policy you are adding -- to the profiling group. Do not specify this when you add permissions -- to a profiling group for the first time. If a policy already exists on -- the profiling group, you must specify the revisionId. -- -- $sel:actionGroup:PutPermission', -- putPermission_actionGroup - Specifies an action group that -- contains permissions to add to a profiling group resource. One action -- group is supported, agentPermissions, which grants permission -- to perform actions required by the profiling agent, -- ConfigureAgent and PostAgentProfile permissions. -- -- $sel:principals:PutPermission', putPermission_principals -- - A list ARNs for the roles and users you want to grant access to the -- profiling group. Wildcards are not are supported in the ARNs. -- -- PutPermission, putPermission_profilingGroupName - The -- name of the profiling group to grant access to. newPutPermission :: ActionGroup -> NonEmpty Text -> Text -> PutPermission -- | The structure representing the putPermissionResponse. -- -- See: newPutPermissionResponse smart constructor. data PutPermissionResponse PutPermissionResponse' :: Int -> Text -> Text -> PutPermissionResponse -- | Create a value of PutPermissionResponse with all optional -- fields omitted. -- -- Use 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:PutPermissionResponse', -- putPermissionResponse_httpStatus - The response's http status -- code. -- -- $sel:policy:PutPermissionResponse', -- putPermissionResponse_policy - The JSON-formatted -- resource-based policy on the profiling group that includes the added -- permissions. -- -- PutPermission, putPermissionResponse_revisionId - A -- universally unique identifier (UUID) for the revision of the -- resource-based policy that includes the added permissions. The -- JSON-formatted policy is in the policy element of the -- response. newPutPermissionResponse :: Int -> Text -> Text -> PutPermissionResponse -- | The structure representing the RemoveNotificationChannelRequest. -- -- See: newRemoveNotificationChannel smart constructor. data RemoveNotificationChannel RemoveNotificationChannel' :: Text -> 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: -- -- $sel:channelId:RemoveNotificationChannel', -- removeNotificationChannel_channelId - The id of the channel -- that we want to stop receiving notifications. -- -- RemoveNotificationChannel, -- removeNotificationChannel_profilingGroupName - The name of the -- profiling group we want to change notification configuration for. newRemoveNotificationChannel :: Text -> Text -> RemoveNotificationChannel -- | The structure representing the RemoveNotificationChannelResponse. -- -- See: newRemoveNotificationChannelResponse smart -- constructor. data RemoveNotificationChannelResponse RemoveNotificationChannelResponse' :: Maybe NotificationConfiguration -> 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:notificationConfiguration:RemoveNotificationChannelResponse', -- removeNotificationChannelResponse_notificationConfiguration - -- The new notification configuration for this profiling group. -- -- $sel:httpStatus:RemoveNotificationChannelResponse', -- removeNotificationChannelResponse_httpStatus - The response's -- http status code. newRemoveNotificationChannelResponse :: Int -> RemoveNotificationChannelResponse -- |
--   The structure representing the <code>removePermissionRequest</code>.</p>
--   
-- -- See: newRemovePermission smart constructor. data RemovePermission RemovePermission' :: ActionGroup -> Text -> Text -> RemovePermission -- | Create a value of RemovePermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:actionGroup:RemovePermission', -- removePermission_actionGroup - Specifies an action group that -- contains the permissions to remove from a profiling group's -- resource-based policy. One action group is supported, -- agentPermissions, which grants ConfigureAgent and -- PostAgentProfile permissions. -- -- RemovePermission, removePermission_profilingGroupName - -- The name of the profiling group. -- -- RemovePermission, removePermission_revisionId - A -- universally unique identifier (UUID) for the revision of the -- resource-based policy from which you want to remove permissions. newRemovePermission :: ActionGroup -> Text -> Text -> RemovePermission -- | The structure representing the removePermissionResponse. -- -- See: newRemovePermissionResponse smart constructor. data RemovePermissionResponse RemovePermissionResponse' :: Int -> Text -> Text -> RemovePermissionResponse -- | Create a value of RemovePermissionResponse with all optional -- fields omitted. -- -- Use 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:RemovePermissionResponse', -- removePermissionResponse_httpStatus - The response's http -- status code. -- -- $sel:policy:RemovePermissionResponse', -- removePermissionResponse_policy - The JSON-formatted -- resource-based policy on the profiling group after the specified -- permissions were removed. -- -- RemovePermission, removePermissionResponse_revisionId - -- A universally unique identifier (UUID) for the revision of the -- resource-based policy after the specified permissions were removed. -- The updated JSON-formatted policy is in the policy element of -- the response. newRemovePermissionResponse :: Int -> Text -> Text -> RemovePermissionResponse -- | The structure representing the SubmitFeedbackRequest. -- -- See: newSubmitFeedback smart constructor. data SubmitFeedback SubmitFeedback' :: Maybe Text -> Text -> Text -> FeedbackType -> SubmitFeedback -- | Create a value of SubmitFeedback with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:comment:SubmitFeedback', submitFeedback_comment - -- Optional feedback about this anomaly. -- -- $sel:anomalyInstanceId:SubmitFeedback', -- submitFeedback_anomalyInstanceId - The universally unique -- identifier (UUID) of the AnomalyInstance object that is -- included in the analysis data. -- -- SubmitFeedback, submitFeedback_profilingGroupName - The -- name of the profiling group that is associated with the analysis data. -- -- SubmitFeedback, submitFeedback_type - The feedback tpye. -- Thee are two valid values, Positive and Negative. newSubmitFeedback :: Text -> Text -> FeedbackType -> SubmitFeedback -- | The structure representing the SubmitFeedbackResponse. -- -- See: newSubmitFeedbackResponse smart constructor. data SubmitFeedbackResponse SubmitFeedbackResponse' :: Int -> SubmitFeedbackResponse -- | Create a value of SubmitFeedbackResponse with all optional -- fields omitted. -- -- Use 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:SubmitFeedbackResponse', -- submitFeedbackResponse_httpStatus - The response's http status -- code. newSubmitFeedbackResponse :: Int -> SubmitFeedbackResponse -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | Create a value of TagResource with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourceArn:TagResource', tagResource_resourceArn - -- The Amazon Resource Name (ARN) of the resource that the tags are added -- to. -- -- TagResource, tagResource_tags - The list of tags that -- are added to the specified resource. newTagResource :: Text -> TagResource -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | Create a value of TagResourceResponse with all optional fields -- omitted. -- -- Use 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:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | Create a value of UntagResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourceArn:UntagResource', -- untagResource_resourceArn - The Amazon Resource Name (ARN) of -- the resource that contains the tags to remove. -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - A -- list of tag keys. Existing tags of resources with keys in this list -- are removed from the specified resource. newUntagResource :: Text -> UntagResource -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | Create a value of UntagResourceResponse with all optional -- fields omitted. -- -- Use 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:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | The structure representing the updateProfilingGroupRequest. -- -- See: newUpdateProfilingGroup smart constructor. data UpdateProfilingGroup UpdateProfilingGroup' :: AgentOrchestrationConfig -> Text -> UpdateProfilingGroup -- | Create a value of UpdateProfilingGroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateProfilingGroup, -- updateProfilingGroup_agentOrchestrationConfig - Specifies -- whether profiling is enabled or disabled for a profiling group. -- -- UpdateProfilingGroup, -- updateProfilingGroup_profilingGroupName - The name of the -- profiling group to update. newUpdateProfilingGroup :: AgentOrchestrationConfig -> Text -> UpdateProfilingGroup -- | The structure representing the updateProfilingGroupResponse. -- -- See: newUpdateProfilingGroupResponse smart constructor. data UpdateProfilingGroupResponse UpdateProfilingGroupResponse' :: Int -> ProfilingGroupDescription -> UpdateProfilingGroupResponse -- | Create a value of UpdateProfilingGroupResponse with all -- optional fields omitted. -- -- Use 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:UpdateProfilingGroupResponse', -- updateProfilingGroupResponse_httpStatus - The response's http -- status code. -- -- $sel:profilingGroup:UpdateProfilingGroupResponse', -- updateProfilingGroupResponse_profilingGroup - A -- ProfilingGroupDescription that contains information about the -- returned updated profiling group. newUpdateProfilingGroupResponse :: Int -> ProfilingGroupDescription -> UpdateProfilingGroupResponse newtype ActionGroup ActionGroup' :: Text -> ActionGroup [fromActionGroup] :: ActionGroup -> Text pattern ActionGroup_AgentPermissions :: ActionGroup newtype AgentParameterField AgentParameterField' :: Text -> AgentParameterField [fromAgentParameterField] :: AgentParameterField -> Text pattern AgentParameterField_MaxStackDepth :: AgentParameterField pattern AgentParameterField_MemoryUsageLimitPercent :: AgentParameterField pattern AgentParameterField_MinimumTimeForReportingInMilliseconds :: AgentParameterField pattern AgentParameterField_ReportingIntervalInMilliseconds :: AgentParameterField pattern AgentParameterField_SamplingIntervalInMilliseconds :: AgentParameterField newtype AggregationPeriod AggregationPeriod' :: Text -> AggregationPeriod [fromAggregationPeriod] :: AggregationPeriod -> Text pattern AggregationPeriod_P1D :: AggregationPeriod pattern AggregationPeriod_PT1H :: AggregationPeriod pattern AggregationPeriod_PT5M :: AggregationPeriod newtype ComputePlatform ComputePlatform' :: Text -> ComputePlatform [fromComputePlatform] :: ComputePlatform -> Text pattern ComputePlatform_AWSLambda :: ComputePlatform pattern ComputePlatform_Default :: ComputePlatform newtype EventPublisher EventPublisher' :: Text -> EventPublisher [fromEventPublisher] :: EventPublisher -> Text pattern EventPublisher_AnomalyDetection :: EventPublisher newtype FeedbackType FeedbackType' :: Text -> FeedbackType [fromFeedbackType] :: FeedbackType -> Text pattern FeedbackType_Negative :: FeedbackType pattern FeedbackType_Positive :: FeedbackType newtype MetadataField MetadataField' :: Text -> MetadataField [fromMetadataField] :: MetadataField -> Text pattern MetadataField_AgentId :: MetadataField pattern MetadataField_AwsRequestId :: MetadataField pattern MetadataField_ComputePlatform :: MetadataField pattern MetadataField_ExecutionEnvironment :: MetadataField pattern MetadataField_LambdaFunctionArn :: MetadataField pattern MetadataField_LambdaMemoryLimitInMB :: MetadataField pattern MetadataField_LambdaPreviousExecutionTimeInMilliseconds :: MetadataField pattern MetadataField_LambdaRemainingTimeInMilliseconds :: MetadataField pattern MetadataField_LambdaTimeGapBetweenInvokesInMilliseconds :: MetadataField newtype MetricType MetricType' :: Text -> MetricType [fromMetricType] :: MetricType -> Text pattern MetricType_AggregatedRelativeTotalTime :: MetricType newtype OrderBy OrderBy' :: Text -> OrderBy [fromOrderBy] :: OrderBy -> Text pattern OrderBy_TimestampAscending :: OrderBy pattern OrderBy_TimestampDescending :: OrderBy -- | The response of ConfigureAgent that specifies if an agent -- profiles or not and for how long to return profiling data. -- -- See: newAgentConfiguration smart constructor. data AgentConfiguration AgentConfiguration' :: Maybe (HashMap AgentParameterField Text) -> Int -> Bool -> AgentConfiguration -- | Create a value of AgentConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:agentParameters:AgentConfiguration', -- agentConfiguration_agentParameters - Parameters used by the -- profiler. The valid parameters are: -- -- -- -- $sel:periodInSeconds:AgentConfiguration', -- agentConfiguration_periodInSeconds - How long a profiling agent -- should send profiling data using ConfigureAgent . For example, -- if this is set to 300, the profiling agent calls ConfigureAgent -- every 5 minutes to submit the profiled data collected during that -- period. -- -- $sel:shouldProfile:AgentConfiguration', -- agentConfiguration_shouldProfile - A Boolean that -- specifies whether the profiling agent collects profiling data or not. -- Set to true to enable profiling. newAgentConfiguration :: Int -> Bool -> AgentConfiguration -- | Specifies whether profiling is enabled or disabled for a profiling -- group. It is used by ConfigureAgent to enable or disable -- profiling for a profiling group. -- -- See: newAgentOrchestrationConfig smart constructor. data AgentOrchestrationConfig AgentOrchestrationConfig' :: Bool -> AgentOrchestrationConfig -- | Create a value of AgentOrchestrationConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:profilingEnabled:AgentOrchestrationConfig', -- agentOrchestrationConfig_profilingEnabled - A Boolean -- that specifies whether the profiling agent collects profiling data or -- not. Set to true to enable profiling. newAgentOrchestrationConfig :: Bool -> AgentOrchestrationConfig -- | Specifies the aggregation period and aggregation start time for an -- aggregated profile. An aggregated profile is used to collect posted -- agent profiles during an aggregation period. There are three possible -- aggregation periods (1 day, 1 hour, or 5 minutes). -- -- See: newAggregatedProfileTime smart constructor. data AggregatedProfileTime AggregatedProfileTime' :: Maybe AggregationPeriod -> Maybe ISO8601 -> AggregatedProfileTime -- | Create a value of AggregatedProfileTime with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:period:AggregatedProfileTime', -- aggregatedProfileTime_period - The aggregation period. This -- indicates the period during which an aggregation profile collects -- posted agent profiles for a profiling group. Use one of three valid -- durations that are specified using the ISO 8601 format. -- -- -- -- $sel:start:AggregatedProfileTime', -- aggregatedProfileTime_start - The time that aggregation of -- posted agent profiles for a profiling group starts. The aggregation -- profile contains profiles posted by the agent starting at this time -- for an aggregation period specified by the period property of -- the AggregatedProfileTime object. -- -- Specify start using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. newAggregatedProfileTime :: AggregatedProfileTime -- | Details about an anomaly in a specific metric of application profile. -- The anomaly is detected using analysis of the metric data over a -- period of time. -- -- See: newAnomaly smart constructor. data Anomaly Anomaly' :: [AnomalyInstance] -> Metric -> Text -> Anomaly -- | Create a value of Anomaly with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:instances:Anomaly', anomaly_instances - A list of -- the instances of the detected anomalies during the requested period. -- -- $sel:metric:Anomaly', anomaly_metric - Details about the -- metric that the analysis used when it detected the anomaly. The metric -- includes the name of the frame that was analyzed with the type and -- thread states used to derive the metric value for that frame. -- -- $sel:reason:Anomaly', anomaly_reason - The reason for -- which metric was flagged as anomalous. newAnomaly :: Metric -> Text -> Anomaly -- | The specific duration in which the metric is flagged as anomalous. -- -- See: newAnomalyInstance smart constructor. data AnomalyInstance AnomalyInstance' :: Maybe ISO8601 -> Maybe UserFeedback -> Text -> ISO8601 -> AnomalyInstance -- | Create a value of AnomalyInstance with all optional fields -- omitted. -- -- Use 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:AnomalyInstance', anomalyInstance_endTime - -- The end time of the period during which the metric is flagged as -- anomalous. This is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:userFeedback:AnomalyInstance', -- anomalyInstance_userFeedback - Feedback type on a specific -- instance of anomaly submitted by the user. -- -- $sel:id:AnomalyInstance', anomalyInstance_id - The -- universally unique identifier (UUID) of an instance of an anomaly in a -- metric. -- -- $sel:startTime:AnomalyInstance', -- anomalyInstance_startTime - The start time of the period during -- which the metric is flagged as anomalous. This is specified using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. newAnomalyInstance :: Text -> UTCTime -> AnomalyInstance -- | Notification medium for users to get alerted for events that occur in -- application profile. We support SNS topic as a notification channel. -- -- See: newChannel smart constructor. data Channel Channel' :: Maybe Text -> NonEmpty EventPublisher -> Text -> Channel -- | Create a value of Channel with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:id:Channel', channel_id - Unique identifier for -- each Channel in the notification configuration of a Profiling -- Group. A random UUID for channelId is used when adding a channel to -- the notification configuration if not specified in the request. -- -- $sel:eventPublishers:Channel', channel_eventPublishers - -- List of publishers for different type of events that may be detected -- in an application from the profile. Anomaly detection is the only -- event publisher in Profiler. -- -- $sel:uri:Channel', channel_uri - Unique arn of the -- resource to be used for notifications. We support a valid SNS topic -- arn as a channel uri. newChannel :: NonEmpty EventPublisher -> Text -> Channel -- | Information about potential recommendations that might be created from -- the analysis of profiling data. -- -- See: newFindingsReportSummary smart constructor. data FindingsReportSummary FindingsReportSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> FindingsReportSummary -- | Create a value of FindingsReportSummary with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:id:FindingsReportSummary', findingsReportSummary_id -- - The universally unique identifier (UUID) of the recommendation -- report. -- -- $sel:profileEndTime:FindingsReportSummary', -- findingsReportSummary_profileEndTime - The end time of the -- period during which the metric is flagged as anomalous. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:profileStartTime:FindingsReportSummary', -- findingsReportSummary_profileStartTime - The start time of the -- profile the analysis data is about. This is specified using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:profilingGroupName:FindingsReportSummary', -- findingsReportSummary_profilingGroupName - The name of the -- profiling group that is associated with the analysis data. -- -- $sel:totalNumberOfFindings:FindingsReportSummary', -- findingsReportSummary_totalNumberOfFindings - The total number -- of different recommendations that were found by the analysis. newFindingsReportSummary :: FindingsReportSummary -- | The frame name, metric type, and thread states. These are used to -- derive the value of the metric for the frame. -- -- See: newFrameMetric smart constructor. data FrameMetric FrameMetric' :: Text -> [Text] -> MetricType -> FrameMetric -- | Create a value of FrameMetric with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameName:FrameMetric', frameMetric_frameName - -- Name of the method common across the multiple occurrences of a frame -- in an application profile. -- -- $sel:threadStates:FrameMetric', frameMetric_threadStates -- - List of application runtime thread states used to get the counts for -- a frame a derive a metric value. -- -- $sel:type':FrameMetric', frameMetric_type - A type of -- aggregation that specifies how a metric for a frame is analyzed. The -- supported value AggregatedRelativeTotalTime is an aggregation -- of the metric value for one frame that is calculated across the -- occurrences of all frames in a profile. newFrameMetric :: Text -> MetricType -> FrameMetric -- | Information about a frame metric and its values. -- -- See: newFrameMetricDatum smart constructor. data FrameMetricDatum FrameMetricDatum' :: FrameMetric -> [Double] -> FrameMetricDatum -- | Create a value of FrameMetricDatum with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameMetric:FrameMetricDatum', -- frameMetricDatum_frameMetric - Undocumented member. -- -- $sel:values:FrameMetricDatum', frameMetricDatum_values - -- A list of values that are associated with a frame metric. newFrameMetricDatum :: FrameMetric -> FrameMetricDatum -- | The part of a profile that contains a recommendation found during -- analysis. -- -- See: newMatch smart constructor. data Match Match' :: Maybe Text -> Maybe Int -> Maybe Double -> Match -- | Create a value of Match with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameAddress:Match', match_frameAddress - The -- location in the profiling graph that contains a recommendation found -- during analysis. -- -- $sel:targetFramesIndex:Match', match_targetFramesIndex - -- The target frame that triggered a match. -- -- $sel:thresholdBreachValue:Match', -- match_thresholdBreachValue - The value in the profile data that -- exceeded the recommendation threshold. newMatch :: Match -- | Details about the metric that the analysis used when it detected the -- anomaly. The metric what is analyzed to create recommendations. It -- includes the name of the frame that was analyzed and the type and -- thread states used to derive the metric value for that frame. -- -- See: newMetric smart constructor. data Metric Metric' :: Text -> [Text] -> MetricType -> Metric -- | Create a value of Metric with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:frameName:Metric', metric_frameName - The name of -- the method that appears as a frame in any stack in a profile. -- -- $sel:threadStates:Metric', metric_threadStates - The -- list of application runtime thread states that is used to calculate -- the metric value for the frame. -- -- $sel:type':Metric', metric_type - A type that specifies -- how a metric for a frame is analyzed. The supported value -- AggregatedRelativeTotalTime is an aggregation of the metric -- value for one frame that is calculated across the occurences of all -- frames in a profile. newMetric :: Text -> MetricType -> Metric -- | The configuration for notifications stored for each profiling group. -- This includes up to to two channels and a list of event publishers -- associated with each channel. -- -- See: newNotificationConfiguration smart constructor. data NotificationConfiguration NotificationConfiguration' :: Maybe (NonEmpty Channel) -> NotificationConfiguration -- | Create a value of NotificationConfiguration with all optional -- fields omitted. -- -- Use 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:NotificationConfiguration', -- notificationConfiguration_channels - List of up to two channels -- to be used for sending notifications for events detected from the -- application profile. newNotificationConfiguration :: NotificationConfiguration -- | A set of rules used to make a recommendation during an analysis. -- -- See: newPattern smart constructor. data Pattern Pattern' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [[Text]] -> Maybe Double -> Pattern -- | Create a value of Pattern with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:countersToAggregate:Pattern', -- pattern_countersToAggregate - A list of the different counters -- used to determine if there is a match. -- -- $sel:description:Pattern', pattern_description - The -- description of the recommendation. This explains a potential -- inefficiency in a profiled application. -- -- $sel:id:Pattern', pattern_id - The universally unique -- identifier (UUID) of this pattern. -- -- $sel:name:Pattern', pattern_name - The name for this -- pattern. -- -- $sel:resolutionSteps:Pattern', pattern_resolutionSteps - -- A string that contains the steps recommended to address the potential -- inefficiency. -- -- $sel:targetFrames:Pattern', pattern_targetFrames - A -- list of frame names that were searched during the analysis that -- generated a recommendation. -- -- $sel:thresholdPercent:Pattern', pattern_thresholdPercent -- - The percentage of time an application spends in one method that -- triggers a recommendation. The percentage of time is the same as the -- percentage of the total gathered sample counts during analysis. newPattern :: Pattern -- | Contains the start time of a profile. -- -- See: newProfileTime smart constructor. data ProfileTime ProfileTime' :: Maybe ISO8601 -> ProfileTime -- | Create a value of ProfileTime with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:start:ProfileTime', profileTime_start - The start -- time of a profile. It is specified using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. newProfileTime :: ProfileTime -- | Contains information about a profiling group. -- -- See: newProfilingGroupDescription smart constructor. data ProfilingGroupDescription ProfilingGroupDescription' :: Maybe AgentOrchestrationConfig -> Maybe Text -> Maybe ComputePlatform -> Maybe ISO8601 -> Maybe Text -> Maybe ProfilingStatus -> Maybe (HashMap Text Text) -> Maybe ISO8601 -> ProfilingGroupDescription -- | Create a value of ProfilingGroupDescription with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:agentOrchestrationConfig:ProfilingGroupDescription', -- profilingGroupDescription_agentOrchestrationConfig - An -- AgentOrchestrationConfig object that indicates if the profiling -- group is enabled for profiled or not. -- -- $sel:arn:ProfilingGroupDescription', -- profilingGroupDescription_arn - The Amazon Resource Name (ARN) -- identifying the profiling group resource. -- -- $sel:computePlatform:ProfilingGroupDescription', -- profilingGroupDescription_computePlatform - The compute -- platform of the profiling group. If it is set to AWSLambda, -- then the profiled application runs on AWS Lambda. If it is set to -- Default, then the profiled application runs on a compute -- platform that is not AWS Lambda, such an Amazon EC2 instance, an -- on-premises server, or a different platform. The default is -- Default. -- -- $sel:createdAt:ProfilingGroupDescription', -- profilingGroupDescription_createdAt - The time when the -- profiling group was created. Specify using the ISO 8601 format. For -- example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June -- 1, 2020 1:15:02 PM UTC. -- -- $sel:name:ProfilingGroupDescription', -- profilingGroupDescription_name - The name of the profiling -- group. -- -- $sel:profilingStatus:ProfilingGroupDescription', -- profilingGroupDescription_profilingStatus - A -- ProfilingStatus object that includes information about the last -- time a profile agent pinged back, the last time a profile was -- received, and the aggregation period and start time for the most -- recent aggregated profile. -- -- $sel:tags:ProfilingGroupDescription', -- profilingGroupDescription_tags - A list of the tags that belong -- to this profiling group. -- -- $sel:updatedAt:ProfilingGroupDescription', -- profilingGroupDescription_updatedAt - The date and time when -- the profiling group was last updated. Specify using the ISO 8601 -- format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond -- past June 1, 2020 1:15:02 PM UTC. newProfilingGroupDescription :: ProfilingGroupDescription -- | Profiling status includes information about the last time a profile -- agent pinged back, the last time a profile was received, and the -- aggregation period and start time for the most recent aggregated -- profile. -- -- See: newProfilingStatus smart constructor. data ProfilingStatus ProfilingStatus' :: Maybe ISO8601 -> Maybe ISO8601 -> Maybe AggregatedProfileTime -> ProfilingStatus -- | Create a value of ProfilingStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:latestAgentOrchestratedAt:ProfilingStatus', -- profilingStatus_latestAgentOrchestratedAt - The date and time -- when the profiling agent most recently pinged back. Specify using the -- ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:latestAgentProfileReportedAt:ProfilingStatus', -- profilingStatus_latestAgentProfileReportedAt - The date and -- time when the most recent profile was received. Specify using the ISO -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 -- millisecond past June 1, 2020 1:15:02 PM UTC. -- -- $sel:latestAggregatedProfile:ProfilingStatus', -- profilingStatus_latestAggregatedProfile - An -- AggregatedProfileTime object that contains the aggregation -- period and start time for an aggregated profile. newProfilingStatus :: ProfilingStatus -- | A potential improvement that was found from analyzing the profiling -- data. -- -- See: newRecommendation smart constructor. data Recommendation Recommendation' :: Int -> Double -> ISO8601 -> Pattern -> ISO8601 -> [Match] -> 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:allMatchesCount:Recommendation', -- recommendation_allMatchesCount - How many different places in -- the profile graph triggered a match. -- -- $sel:allMatchesSum:Recommendation', -- recommendation_allMatchesSum - How much of the total sample -- count is potentially affected. -- -- $sel:endTime:Recommendation', recommendation_endTime - -- End time of the profile that was used by this analysis. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:pattern':Recommendation', recommendation_pattern - -- The pattern that analysis recognized in the profile to make this -- recommendation. -- -- $sel:startTime:Recommendation', recommendation_startTime -- - The start time of the profile that was used by this analysis. This -- is specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- $sel:topMatches:Recommendation', -- recommendation_topMatches - List of the matches with most -- impact. newRecommendation :: Int -> Double -> UTCTime -> Pattern -> UTCTime -> Recommendation -- | A data type that contains a Timestamp object. This is -- specified using the ISO 8601 format. For example, -- 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 -- 1:15:02 PM UTC. -- -- See: newTimestampStructure smart constructor. data TimestampStructure TimestampStructure' :: ISO8601 -> TimestampStructure -- | Create a value of TimestampStructure with all optional fields -- omitted. -- -- Use 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:TimestampStructure', timestampStructure_value -- - A Timestamp. This is specified using the ISO 8601 format. -- For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past -- June 1, 2020 1:15:02 PM UTC. newTimestampStructure :: UTCTime -> TimestampStructure -- | Feedback that can be submitted for each instance of an anomaly by the -- user. Feedback is be used for improvements in generating -- recommendations for the application. -- -- See: newUserFeedback smart constructor. data UserFeedback UserFeedback' :: FeedbackType -> UserFeedback -- | Create a value of UserFeedback with all optional fields -- omitted. -- -- Use 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':UserFeedback', userFeedback_type - Optional -- Positive or Negative feedback submitted by the user -- about whether the recommendation is useful or not. newUserFeedback :: FeedbackType -> UserFeedback