Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- ActionGroup
- AgentParameterField
- AggregationPeriod
- ComputePlatform
- EventPublisher
- FeedbackType
- MetadataField
- MetricType
- OrderBy
- AgentConfiguration
- AgentOrchestrationConfig
- AggregatedProfileTime
- Anomaly
- AnomalyInstance
- Channel
- FindingsReportSummary
- FrameMetric
- FrameMetricDatum
- Match
- Metric
- NotificationConfiguration
- Pattern
- ProfileTime
- ProfilingGroupDescription
- ProfilingStatus
- Recommendation
- TimestampStructure
- UserFeedback
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype ActionGroup where
- ActionGroup' { }
- pattern ActionGroup_AgentPermissions :: ActionGroup
- newtype AgentParameterField where
- AgentParameterField' { }
- pattern AgentParameterField_MaxStackDepth :: AgentParameterField
- pattern AgentParameterField_MemoryUsageLimitPercent :: AgentParameterField
- pattern AgentParameterField_MinimumTimeForReportingInMilliseconds :: AgentParameterField
- pattern AgentParameterField_ReportingIntervalInMilliseconds :: AgentParameterField
- pattern AgentParameterField_SamplingIntervalInMilliseconds :: AgentParameterField
- newtype AggregationPeriod where
- AggregationPeriod' { }
- pattern AggregationPeriod_P1D :: AggregationPeriod
- pattern AggregationPeriod_PT1H :: AggregationPeriod
- pattern AggregationPeriod_PT5M :: AggregationPeriod
- newtype ComputePlatform where
- ComputePlatform' { }
- pattern ComputePlatform_AWSLambda :: ComputePlatform
- pattern ComputePlatform_Default :: ComputePlatform
- newtype EventPublisher where
- EventPublisher' { }
- pattern EventPublisher_AnomalyDetection :: EventPublisher
- newtype FeedbackType where
- FeedbackType' { }
- pattern FeedbackType_Negative :: FeedbackType
- pattern FeedbackType_Positive :: FeedbackType
- newtype MetadataField where
- MetadataField' { }
- 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 where
- MetricType' { }
- pattern MetricType_AggregatedRelativeTotalTime :: MetricType
- newtype OrderBy where
- OrderBy' {
- fromOrderBy :: Text
- pattern OrderBy_TimestampAscending :: OrderBy
- pattern OrderBy_TimestampDescending :: OrderBy
- OrderBy' {
- data AgentConfiguration = AgentConfiguration' {}
- newAgentConfiguration :: Int -> Bool -> AgentConfiguration
- agentConfiguration_agentParameters :: Lens' AgentConfiguration (Maybe (HashMap AgentParameterField Text))
- agentConfiguration_periodInSeconds :: Lens' AgentConfiguration Int
- agentConfiguration_shouldProfile :: Lens' AgentConfiguration Bool
- data AgentOrchestrationConfig = AgentOrchestrationConfig' {}
- newAgentOrchestrationConfig :: Bool -> AgentOrchestrationConfig
- agentOrchestrationConfig_profilingEnabled :: Lens' AgentOrchestrationConfig Bool
- data AggregatedProfileTime = AggregatedProfileTime' {}
- newAggregatedProfileTime :: AggregatedProfileTime
- aggregatedProfileTime_period :: Lens' AggregatedProfileTime (Maybe AggregationPeriod)
- aggregatedProfileTime_start :: Lens' AggregatedProfileTime (Maybe UTCTime)
- data Anomaly = Anomaly' {}
- newAnomaly :: Metric -> Text -> Anomaly
- anomaly_instances :: Lens' Anomaly [AnomalyInstance]
- anomaly_metric :: Lens' Anomaly Metric
- anomaly_reason :: Lens' Anomaly Text
- data AnomalyInstance = AnomalyInstance' {
- endTime :: Maybe POSIX
- userFeedback :: Maybe UserFeedback
- id :: Text
- startTime :: POSIX
- newAnomalyInstance :: Text -> UTCTime -> AnomalyInstance
- anomalyInstance_endTime :: Lens' AnomalyInstance (Maybe UTCTime)
- anomalyInstance_userFeedback :: Lens' AnomalyInstance (Maybe UserFeedback)
- anomalyInstance_id :: Lens' AnomalyInstance Text
- anomalyInstance_startTime :: Lens' AnomalyInstance UTCTime
- data Channel = Channel' {
- id :: Maybe Text
- eventPublishers :: NonEmpty EventPublisher
- uri :: Text
- newChannel :: NonEmpty EventPublisher -> Text -> Channel
- channel_id :: Lens' Channel (Maybe Text)
- channel_eventPublishers :: Lens' Channel (NonEmpty EventPublisher)
- channel_uri :: Lens' Channel Text
- data FindingsReportSummary = FindingsReportSummary' {}
- newFindingsReportSummary :: FindingsReportSummary
- findingsReportSummary_profileStartTime :: Lens' FindingsReportSummary (Maybe UTCTime)
- findingsReportSummary_profileEndTime :: Lens' FindingsReportSummary (Maybe UTCTime)
- findingsReportSummary_id :: Lens' FindingsReportSummary (Maybe Text)
- findingsReportSummary_profilingGroupName :: Lens' FindingsReportSummary (Maybe Text)
- findingsReportSummary_totalNumberOfFindings :: Lens' FindingsReportSummary (Maybe Int)
- data FrameMetric = FrameMetric' {
- frameName :: Text
- threadStates :: [Text]
- type' :: MetricType
- newFrameMetric :: Text -> MetricType -> FrameMetric
- frameMetric_frameName :: Lens' FrameMetric Text
- frameMetric_threadStates :: Lens' FrameMetric [Text]
- frameMetric_type :: Lens' FrameMetric MetricType
- data FrameMetricDatum = FrameMetricDatum' {
- frameMetric :: FrameMetric
- values :: [Double]
- newFrameMetricDatum :: FrameMetric -> FrameMetricDatum
- frameMetricDatum_frameMetric :: Lens' FrameMetricDatum FrameMetric
- frameMetricDatum_values :: Lens' FrameMetricDatum [Double]
- data Match = Match' {}
- newMatch :: Match
- match_thresholdBreachValue :: Lens' Match (Maybe Double)
- match_frameAddress :: Lens' Match (Maybe Text)
- match_targetFramesIndex :: Lens' Match (Maybe Int)
- data Metric = Metric' {
- frameName :: Text
- threadStates :: [Text]
- type' :: MetricType
- newMetric :: Text -> MetricType -> Metric
- metric_frameName :: Lens' Metric Text
- metric_threadStates :: Lens' Metric [Text]
- metric_type :: Lens' Metric MetricType
- data NotificationConfiguration = NotificationConfiguration' {}
- newNotificationConfiguration :: NotificationConfiguration
- notificationConfiguration_channels :: Lens' NotificationConfiguration (Maybe (NonEmpty Channel))
- data Pattern = Pattern' {
- thresholdPercent :: Maybe Double
- targetFrames :: Maybe [[Text]]
- countersToAggregate :: Maybe [Text]
- name :: Maybe Text
- resolutionSteps :: Maybe Text
- id :: Maybe Text
- description :: Maybe Text
- newPattern :: Pattern
- pattern_thresholdPercent :: Lens' Pattern (Maybe Double)
- pattern_targetFrames :: Lens' Pattern (Maybe [[Text]])
- pattern_countersToAggregate :: Lens' Pattern (Maybe [Text])
- pattern_name :: Lens' Pattern (Maybe Text)
- pattern_resolutionSteps :: Lens' Pattern (Maybe Text)
- pattern_id :: Lens' Pattern (Maybe Text)
- pattern_description :: Lens' Pattern (Maybe Text)
- data ProfileTime = ProfileTime' {}
- newProfileTime :: ProfileTime
- profileTime_start :: Lens' ProfileTime (Maybe UTCTime)
- data ProfilingGroupDescription = ProfilingGroupDescription' {}
- newProfilingGroupDescription :: ProfilingGroupDescription
- profilingGroupDescription_computePlatform :: Lens' ProfilingGroupDescription (Maybe ComputePlatform)
- profilingGroupDescription_arn :: Lens' ProfilingGroupDescription (Maybe Text)
- profilingGroupDescription_createdAt :: Lens' ProfilingGroupDescription (Maybe UTCTime)
- profilingGroupDescription_name :: Lens' ProfilingGroupDescription (Maybe Text)
- profilingGroupDescription_profilingStatus :: Lens' ProfilingGroupDescription (Maybe ProfilingStatus)
- profilingGroupDescription_updatedAt :: Lens' ProfilingGroupDescription (Maybe UTCTime)
- profilingGroupDescription_agentOrchestrationConfig :: Lens' ProfilingGroupDescription (Maybe AgentOrchestrationConfig)
- profilingGroupDescription_tags :: Lens' ProfilingGroupDescription (Maybe (HashMap Text Text))
- data ProfilingStatus = ProfilingStatus' {}
- newProfilingStatus :: ProfilingStatus
- profilingStatus_latestAgentOrchestratedAt :: Lens' ProfilingStatus (Maybe UTCTime)
- profilingStatus_latestAgentProfileReportedAt :: Lens' ProfilingStatus (Maybe UTCTime)
- profilingStatus_latestAggregatedProfile :: Lens' ProfilingStatus (Maybe AggregatedProfileTime)
- data Recommendation = Recommendation' {
- allMatchesCount :: Int
- allMatchesSum :: Double
- endTime :: POSIX
- pattern' :: Pattern
- startTime :: POSIX
- topMatches :: [Match]
- newRecommendation :: Int -> Double -> UTCTime -> Pattern -> UTCTime -> Recommendation
- recommendation_allMatchesCount :: Lens' Recommendation Int
- recommendation_allMatchesSum :: Lens' Recommendation Double
- recommendation_endTime :: Lens' Recommendation UTCTime
- recommendation_pattern :: Lens' Recommendation Pattern
- recommendation_startTime :: Lens' Recommendation UTCTime
- recommendation_topMatches :: Lens' Recommendation [Match]
- data TimestampStructure = TimestampStructure' {}
- newTimestampStructure :: UTCTime -> TimestampStructure
- timestampStructure_value :: Lens' TimestampStructure UTCTime
- data UserFeedback = UserFeedback' {}
- newUserFeedback :: FeedbackType -> UserFeedback
- userFeedback_type :: Lens' UserFeedback FeedbackType
Service Configuration
defaultService :: Service Source #
API version 2019-07-18
of the Amazon CodeGuru Profiler SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The parameter is not valid.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was denied due to request throttling.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The server encountered an internal error and is unable to complete the request.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource specified in the request does not exist.
ActionGroup
newtype ActionGroup Source #
pattern ActionGroup_AgentPermissions :: ActionGroup |
Instances
AgentParameterField
newtype AgentParameterField Source #
Instances
AggregationPeriod
newtype AggregationPeriod Source #
pattern AggregationPeriod_P1D :: AggregationPeriod | |
pattern AggregationPeriod_PT1H :: AggregationPeriod | |
pattern AggregationPeriod_PT5M :: AggregationPeriod |
Instances
ComputePlatform
newtype ComputePlatform Source #
pattern ComputePlatform_AWSLambda :: ComputePlatform | |
pattern ComputePlatform_Default :: ComputePlatform |
Instances
EventPublisher
newtype EventPublisher Source #
pattern EventPublisher_AnomalyDetection :: EventPublisher |
Instances
FeedbackType
newtype FeedbackType Source #
pattern FeedbackType_Negative :: FeedbackType | |
pattern FeedbackType_Positive :: FeedbackType |
Instances
MetadataField
newtype MetadataField Source #
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 |
Instances
MetricType
newtype MetricType Source #
pattern MetricType_AggregatedRelativeTotalTime :: MetricType |
Instances
OrderBy
pattern OrderBy_TimestampAscending :: OrderBy | |
pattern OrderBy_TimestampDescending :: OrderBy |
Instances
AgentConfiguration
data AgentConfiguration Source #
The response of ConfigureAgent that specifies if an agent profiles or not and for how long to return profiling data.
See: newAgentConfiguration
smart constructor.
AgentConfiguration' | |
|
Instances
newAgentConfiguration Source #
:: 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:
MaxStackDepth
- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA
, which calls methodB
, which calls methodC
, which calls methodD
, then the depth is 4. If themaxDepth
is set to 2, then the profiler evaluatesA
andB
.MemoryUsageLimitPercent
- The percentage of memory that is used by the profiler.MinimumTimeForReportingInMilliseconds
- The minimum time in milliseconds between sending reports.ReportingIntervalInMilliseconds
- The reporting interval in milliseconds used to report profiles.SamplingIntervalInMilliseconds
- The sampling interval in milliseconds that is used to profile samples.
$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.
agentConfiguration_agentParameters :: Lens' AgentConfiguration (Maybe (HashMap AgentParameterField Text)) Source #
Parameters used by the profiler. The valid parameters are:
MaxStackDepth
- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA
, which calls methodB
, which calls methodC
, which calls methodD
, then the depth is 4. If themaxDepth
is set to 2, then the profiler evaluatesA
andB
.MemoryUsageLimitPercent
- The percentage of memory that is used by the profiler.MinimumTimeForReportingInMilliseconds
- The minimum time in milliseconds between sending reports.ReportingIntervalInMilliseconds
- The reporting interval in milliseconds used to report profiles.SamplingIntervalInMilliseconds
- The sampling interval in milliseconds that is used to profile samples.
agentConfiguration_periodInSeconds :: Lens' AgentConfiguration Int Source #
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_shouldProfile :: Lens' AgentConfiguration Bool Source #
A Boolean
that specifies whether the profiling agent collects
profiling data or not. Set to true
to enable profiling.
AgentOrchestrationConfig
data AgentOrchestrationConfig Source #
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.
AgentOrchestrationConfig' | |
|
Instances
newAgentOrchestrationConfig Source #
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.
agentOrchestrationConfig_profilingEnabled :: Lens' AgentOrchestrationConfig Bool Source #
A Boolean
that specifies whether the profiling agent collects
profiling data or not. Set to true
to enable profiling.
AggregatedProfileTime
data AggregatedProfileTime Source #
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.
AggregatedProfileTime' | |
|
Instances
newAggregatedProfileTime :: AggregatedProfileTime Source #
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.
P1D
— 1 dayPT1H
— 1 hourPT5M
— 5 minutes
$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.
aggregatedProfileTime_period :: Lens' AggregatedProfileTime (Maybe AggregationPeriod) Source #
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.
P1D
— 1 dayPT1H
— 1 hourPT5M
— 5 minutes
aggregatedProfileTime_start :: Lens' AggregatedProfileTime (Maybe UTCTime) Source #
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.
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.
Anomaly' | |
|
Instances
Eq Anomaly Source # | |
Read Anomaly Source # | |
Show Anomaly Source # | |
Generic Anomaly Source # | |
NFData Anomaly Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Anomaly | |
Hashable Anomaly Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Anomaly | |
FromJSON Anomaly Source # | |
type Rep Anomaly Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Anomaly type Rep Anomaly = D1 ('MetaData "Anomaly" "Amazonka.CodeGuruProfiler.Types.Anomaly" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "Anomaly'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AnomalyInstance]) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Metric) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 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.
anomaly_instances :: Lens' Anomaly [AnomalyInstance] Source #
A list of the instances of the detected anomalies during the requested period.
anomaly_metric :: Lens' Anomaly Metric Source #
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.
AnomalyInstance
data AnomalyInstance Source #
The specific duration in which the metric is flagged as anomalous.
See: newAnomalyInstance
smart constructor.
AnomalyInstance' | |
|
Instances
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.
anomalyInstance_endTime :: Lens' AnomalyInstance (Maybe UTCTime) Source #
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_userFeedback :: Lens' AnomalyInstance (Maybe UserFeedback) Source #
Feedback type on a specific instance of anomaly submitted by the user.
anomalyInstance_id :: Lens' AnomalyInstance Text Source #
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
anomalyInstance_startTime :: Lens' AnomalyInstance UTCTime Source #
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.
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.
Channel' | |
|
Instances
Eq Channel Source # | |
Read Channel Source # | |
Show Channel Source # | |
Generic Channel Source # | |
NFData Channel Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Channel | |
Hashable Channel Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Channel | |
ToJSON Channel Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Channel | |
FromJSON Channel Source # | |
type Rep Channel Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Channel type Rep Channel = D1 ('MetaData "Channel" "Amazonka.CodeGuruProfiler.Types.Channel" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "Channel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventPublishers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty EventPublisher)) :*: S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 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.
channel_id :: Lens' Channel (Maybe Text) Source #
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_eventPublishers :: Lens' Channel (NonEmpty EventPublisher) Source #
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_uri :: Lens' Channel Text Source #
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
FindingsReportSummary
data FindingsReportSummary Source #
Information about potential recommendations that might be created from the analysis of profiling data.
See: newFindingsReportSummary
smart constructor.
FindingsReportSummary' | |
|
Instances
newFindingsReportSummary :: FindingsReportSummary Source #
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: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: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:id:FindingsReportSummary'
, findingsReportSummary_id
- The universally unique identifier (UUID) of the recommendation report.
$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.
findingsReportSummary_profileStartTime :: Lens' FindingsReportSummary (Maybe UTCTime) Source #
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_profileEndTime :: Lens' FindingsReportSummary (Maybe UTCTime) Source #
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_id :: Lens' FindingsReportSummary (Maybe Text) Source #
The universally unique identifier (UUID) of the recommendation report.
findingsReportSummary_profilingGroupName :: Lens' FindingsReportSummary (Maybe Text) Source #
The name of the profiling group that is associated with the analysis data.
findingsReportSummary_totalNumberOfFindings :: Lens' FindingsReportSummary (Maybe Int) Source #
The total number of different recommendations that were found by the analysis.
FrameMetric
data FrameMetric Source #
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.
FrameMetric' | |
|
Instances
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.
frameMetric_frameName :: Lens' FrameMetric Text Source #
Name of the method common across the multiple occurrences of a frame in an application profile.
frameMetric_threadStates :: Lens' FrameMetric [Text] Source #
List of application runtime thread states used to get the counts for a frame a derive a metric value.
frameMetric_type :: Lens' FrameMetric MetricType Source #
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.
FrameMetricDatum
data FrameMetricDatum Source #
Information about a frame metric and its values.
See: newFrameMetricDatum
smart constructor.
FrameMetricDatum' | |
|
Instances
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.
frameMetricDatum_frameMetric :: Lens' FrameMetricDatum FrameMetric Source #
Undocumented member.
frameMetricDatum_values :: Lens' FrameMetricDatum [Double] Source #
A list of values that are associated with a frame metric.
Match
The part of a profile that contains a recommendation found during analysis.
See: newMatch
smart constructor.
Match' | |
|
Instances
Eq Match Source # | |
Read Match Source # | |
Show Match Source # | |
Generic Match Source # | |
NFData Match Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Match | |
Hashable Match Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Match | |
FromJSON Match Source # | |
type Rep Match Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Match type Rep Match = D1 ('MetaData "Match" "Amazonka.CodeGuruProfiler.Types.Match" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "Match'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thresholdBreachValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "frameAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetFramesIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) |
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:thresholdBreachValue:Match'
, match_thresholdBreachValue
- The value in the profile data that exceeded the recommendation
threshold.
$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.
match_thresholdBreachValue :: Lens' Match (Maybe Double) Source #
The value in the profile data that exceeded the recommendation threshold.
match_frameAddress :: Lens' Match (Maybe Text) Source #
The location in the profiling graph that contains a recommendation found during analysis.
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.
Metric' | |
|
Instances
Eq Metric Source # | |
Read Metric Source # | |
Show Metric Source # | |
Generic Metric Source # | |
NFData Metric Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Metric | |
Hashable Metric Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Metric | |
FromJSON Metric Source # | |
type Rep Metric Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Metric type Rep Metric = D1 ('MetaData "Metric" "Amazonka.CodeGuruProfiler.Types.Metric" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "Metric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frameName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "threadStates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 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.
metric_frameName :: Lens' Metric Text Source #
The name of the method that appears as a frame in any stack in a profile.
metric_threadStates :: Lens' Metric [Text] Source #
The list of application runtime thread states that is used to calculate the metric value for the frame.
metric_type :: Lens' Metric MetricType Source #
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.
NotificationConfiguration
data NotificationConfiguration Source #
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.
Instances
newNotificationConfiguration :: NotificationConfiguration Source #
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.
notificationConfiguration_channels :: Lens' NotificationConfiguration (Maybe (NonEmpty Channel)) Source #
List of up to two channels to be used for sending notifications for events detected from the application profile.
Pattern
A set of rules used to make a recommendation during an analysis.
See: newPattern
smart constructor.
Pattern' | |
|
Instances
newPattern :: Pattern Source #
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: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.
$sel:targetFrames:Pattern'
, pattern_targetFrames
- A list of frame names that were searched during the analysis that
generated a recommendation.
$sel:countersToAggregate:Pattern'
, pattern_countersToAggregate
- A list of the different counters used to determine if there is a match.
$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:id:Pattern'
, pattern_id
- The universally unique identifier (UUID) of this pattern.
$sel:description:Pattern'
, pattern_description
- The description of the recommendation. This explains a potential
inefficiency in a profiled application.
pattern_thresholdPercent :: Lens' Pattern (Maybe Double) Source #
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_targetFrames :: Lens' Pattern (Maybe [[Text]]) Source #
A list of frame names that were searched during the analysis that generated a recommendation.
pattern_countersToAggregate :: Lens' Pattern (Maybe [Text]) Source #
A list of the different counters used to determine if there is a match.
pattern_resolutionSteps :: Lens' Pattern (Maybe Text) Source #
A string that contains the steps recommended to address the potential inefficiency.
pattern_id :: Lens' Pattern (Maybe Text) Source #
The universally unique identifier (UUID) of this pattern.
pattern_description :: Lens' Pattern (Maybe Text) Source #
The description of the recommendation. This explains a potential inefficiency in a profiled application.
ProfileTime
data ProfileTime Source #
Contains the start time of a profile.
See: newProfileTime
smart constructor.
Instances
newProfileTime :: ProfileTime Source #
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.
profileTime_start :: Lens' ProfileTime (Maybe UTCTime) Source #
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.
ProfilingGroupDescription
data ProfilingGroupDescription Source #
Contains information about a profiling group.
See: newProfilingGroupDescription
smart constructor.
ProfilingGroupDescription' | |
|
Instances
newProfilingGroupDescription :: ProfilingGroupDescription Source #
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: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:arn:ProfilingGroupDescription'
, profilingGroupDescription_arn
- The Amazon Resource Name (ARN) identifying the profiling group resource.
$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: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.
$sel:agentOrchestrationConfig:ProfilingGroupDescription'
, profilingGroupDescription_agentOrchestrationConfig
- An
AgentOrchestrationConfig
object that indicates if the profiling group is enabled for profiled or
not.
$sel:tags:ProfilingGroupDescription'
, profilingGroupDescription_tags
- A list of the tags that belong to this profiling group.
profilingGroupDescription_computePlatform :: Lens' ProfilingGroupDescription (Maybe ComputePlatform) Source #
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_arn :: Lens' ProfilingGroupDescription (Maybe Text) Source #
The Amazon Resource Name (ARN) identifying the profiling group resource.
profilingGroupDescription_createdAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) Source #
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_name :: Lens' ProfilingGroupDescription (Maybe Text) Source #
The name of the profiling group.
profilingGroupDescription_profilingStatus :: Lens' ProfilingGroupDescription (Maybe ProfilingStatus) Source #
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_updatedAt :: Lens' ProfilingGroupDescription (Maybe UTCTime) Source #
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_agentOrchestrationConfig :: Lens' ProfilingGroupDescription (Maybe AgentOrchestrationConfig) Source #
An AgentOrchestrationConfig object that indicates if the profiling group is enabled for profiled or not.
profilingGroupDescription_tags :: Lens' ProfilingGroupDescription (Maybe (HashMap Text Text)) Source #
A list of the tags that belong to this profiling group.
ProfilingStatus
data ProfilingStatus Source #
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.
ProfilingStatus' | |
|
Instances
newProfilingStatus :: ProfilingStatus Source #
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.
profilingStatus_latestAgentOrchestratedAt :: Lens' ProfilingStatus (Maybe UTCTime) Source #
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_latestAgentProfileReportedAt :: Lens' ProfilingStatus (Maybe UTCTime) Source #
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_latestAggregatedProfile :: Lens' ProfilingStatus (Maybe AggregatedProfileTime) Source #
An AggregatedProfileTime object that contains the aggregation period and start time for an aggregated profile.
Recommendation
data Recommendation Source #
A potential improvement that was found from analyzing the profiling data.
See: newRecommendation
smart constructor.
Recommendation' | |
|
Instances
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.
recommendation_allMatchesCount :: Lens' Recommendation Int Source #
How many different places in the profile graph triggered a match.
recommendation_allMatchesSum :: Lens' Recommendation Double Source #
How much of the total sample count is potentially affected.
recommendation_endTime :: Lens' Recommendation UTCTime Source #
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_pattern :: Lens' Recommendation Pattern Source #
The pattern that analysis recognized in the profile to make this recommendation.
recommendation_startTime :: Lens' Recommendation UTCTime Source #
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_topMatches :: Lens' Recommendation [Match] Source #
List of the matches with most impact.
TimestampStructure
data TimestampStructure Source #
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.
Instances
newTimestampStructure Source #
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.
timestampStructure_value :: Lens' TimestampStructure UTCTime Source #
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.
UserFeedback
data UserFeedback Source #
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.
UserFeedback' | |
|
Instances
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.
userFeedback_type :: Lens' UserFeedback FeedbackType Source #
Optional Positive
or Negative
feedback submitted by the user about
whether the recommendation is useful or not.