amazonka-codeguruprofiler-2.0: Amazon CodeGuru Profiler SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeGuruProfiler.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-07-18 of the Amazon CodeGuru Profiler SDK configuration.

Errors

_ConflictException :: AsError a => Fold 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.

_InternalServerException :: AsError a => Fold a ServiceError Source #

The server encountered an internal error and is unable to complete the request.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The resource specified in the request does not exist.

_ServiceQuotaExceededException :: AsError a => Fold 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 => Fold a ServiceError Source #

The request was denied due to request throttling.

_ValidationException :: AsError a => Fold a ServiceError Source #

The parameter is not valid.

ActionGroup

newtype ActionGroup Source #

Constructors

ActionGroup' 

Bundled Patterns

pattern ActionGroup_AgentPermissions :: ActionGroup 

Instances

Instances details
FromJSON ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

FromJSONKey ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToJSON ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToJSONKey ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToByteString ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToHeader ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToLog ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToQuery ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

FromText ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToText ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

Methods

toText :: ActionGroup -> Text #

FromXML ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

ToXML ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

Methods

toXML :: ActionGroup -> XML #

Generic ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

Associated Types

type Rep ActionGroup :: Type -> Type #

Read ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

Show ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

NFData ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

Methods

rnf :: ActionGroup -> () #

Eq ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

Ord ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

Hashable ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

type Rep ActionGroup Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ActionGroup

type Rep ActionGroup = D1 ('MetaData "ActionGroup" "Amazonka.CodeGuruProfiler.Types.ActionGroup" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "ActionGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromActionGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AgentParameterField

newtype AgentParameterField Source #

Instances

Instances details
FromJSON AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

FromJSONKey AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToJSON AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToJSONKey AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToByteString AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToHeader AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToLog AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToQuery AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

FromText AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToText AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

FromXML AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

ToXML AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

Generic AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

Associated Types

type Rep AgentParameterField :: Type -> Type #

Read AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

Show AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

NFData AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

Methods

rnf :: AgentParameterField -> () #

Eq AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

Ord AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

Hashable AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

type Rep AgentParameterField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentParameterField

type Rep AgentParameterField = D1 ('MetaData "AgentParameterField" "Amazonka.CodeGuruProfiler.Types.AgentParameterField" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "AgentParameterField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAgentParameterField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AggregationPeriod

newtype AggregationPeriod Source #

Instances

Instances details
FromJSON AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

FromJSONKey AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToJSON AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToJSONKey AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToByteString AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToHeader AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToLog AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToQuery AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

FromText AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToText AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

FromXML AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

ToXML AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

Generic AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

Associated Types

type Rep AggregationPeriod :: Type -> Type #

Read AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

Show AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

NFData AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

Methods

rnf :: AggregationPeriod -> () #

Eq AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

Ord AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

Hashable AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

type Rep AggregationPeriod Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregationPeriod

type Rep AggregationPeriod = D1 ('MetaData "AggregationPeriod" "Amazonka.CodeGuruProfiler.Types.AggregationPeriod" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "AggregationPeriod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAggregationPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ComputePlatform

newtype ComputePlatform Source #

Constructors

ComputePlatform' 

Instances

Instances details
FromJSON ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

FromJSONKey ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToJSON ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToJSONKey ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToByteString ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToHeader ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToLog ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToQuery ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

FromText ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToText ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

FromXML ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

ToXML ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

Methods

toXML :: ComputePlatform -> XML #

Generic ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

Associated Types

type Rep ComputePlatform :: Type -> Type #

Read ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

Show ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

NFData ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

Methods

rnf :: ComputePlatform -> () #

Eq ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

Ord ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

Hashable ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

type Rep ComputePlatform Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ComputePlatform

type Rep ComputePlatform = D1 ('MetaData "ComputePlatform" "Amazonka.CodeGuruProfiler.Types.ComputePlatform" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "ComputePlatform'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromComputePlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventPublisher

newtype EventPublisher Source #

Constructors

EventPublisher' 

Bundled Patterns

pattern EventPublisher_AnomalyDetection :: EventPublisher 

Instances

Instances details
FromJSON EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

FromJSONKey EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToJSON EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToJSONKey EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToByteString EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToHeader EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToLog EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToQuery EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

FromText EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToText EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

FromXML EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

ToXML EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

Methods

toXML :: EventPublisher -> XML #

Generic EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

Associated Types

type Rep EventPublisher :: Type -> Type #

Read EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

Show EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

NFData EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

Methods

rnf :: EventPublisher -> () #

Eq EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

Ord EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

Hashable EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

type Rep EventPublisher Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.EventPublisher

type Rep EventPublisher = D1 ('MetaData "EventPublisher" "Amazonka.CodeGuruProfiler.Types.EventPublisher" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "EventPublisher'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventPublisher") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FeedbackType

newtype FeedbackType Source #

Constructors

FeedbackType' 

Bundled Patterns

pattern FeedbackType_Negative :: FeedbackType 
pattern FeedbackType_Positive :: FeedbackType 

Instances

Instances details
FromJSON FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

FromJSONKey FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToJSON FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToJSONKey FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToByteString FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToHeader FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToLog FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToQuery FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

FromText FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToText FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

Methods

toText :: FeedbackType -> Text #

FromXML FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

ToXML FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

Methods

toXML :: FeedbackType -> XML #

Generic FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

Associated Types

type Rep FeedbackType :: Type -> Type #

Read FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

Show FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

NFData FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

Methods

rnf :: FeedbackType -> () #

Eq FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

Ord FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

Hashable FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

type Rep FeedbackType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FeedbackType

type Rep FeedbackType = D1 ('MetaData "FeedbackType" "Amazonka.CodeGuruProfiler.Types.FeedbackType" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "FeedbackType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFeedbackType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetadataField

newtype MetadataField Source #

Constructors

MetadataField' 

Instances

Instances details
FromJSON MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

FromJSONKey MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToJSON MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToJSONKey MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToByteString MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToHeader MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToLog MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToQuery MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

FromText MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToText MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

Methods

toText :: MetadataField -> Text #

FromXML MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

ToXML MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

Methods

toXML :: MetadataField -> XML #

Generic MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

Associated Types

type Rep MetadataField :: Type -> Type #

Read MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

Show MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

NFData MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

Methods

rnf :: MetadataField -> () #

Eq MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

Ord MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

Hashable MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

type Rep MetadataField Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetadataField

type Rep MetadataField = D1 ('MetaData "MetadataField" "Amazonka.CodeGuruProfiler.Types.MetadataField" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "MetadataField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMetadataField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetricType

newtype MetricType Source #

Constructors

MetricType' 

Fields

Instances

Instances details
FromJSON MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

FromJSONKey MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToJSON MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToJSONKey MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToByteString MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToHeader MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToLog MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToQuery MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

FromText MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToText MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

Methods

toText :: MetricType -> Text #

FromXML MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

ToXML MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

Methods

toXML :: MetricType -> XML #

Generic MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

Associated Types

type Rep MetricType :: Type -> Type #

Read MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

Show MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

NFData MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

Methods

rnf :: MetricType -> () #

Eq MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

Ord MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

Hashable MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

type Rep MetricType Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.MetricType

type Rep MetricType = D1 ('MetaData "MetricType" "Amazonka.CodeGuruProfiler.Types.MetricType" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "MetricType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OrderBy

newtype OrderBy Source #

Constructors

OrderBy' 

Fields

Instances

Instances details
FromJSON OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

FromJSONKey OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

ToJSON OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

ToJSONKey OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

ToByteString OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Methods

toBS :: OrderBy -> ByteString #

ToHeader OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Methods

toHeader :: HeaderName -> OrderBy -> [Header] #

ToLog OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

ToQuery OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

FromText OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

ToText OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Methods

toText :: OrderBy -> Text #

FromXML OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

ToXML OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Methods

toXML :: OrderBy -> XML #

Generic OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Associated Types

type Rep OrderBy :: Type -> Type #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

Read OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Show OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

NFData OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Methods

rnf :: OrderBy -> () #

Eq OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Methods

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

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

Ord OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Hashable OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

Methods

hashWithSalt :: Int -> OrderBy -> Int #

hash :: OrderBy -> Int #

type Rep OrderBy Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.OrderBy

type Rep OrderBy = D1 ('MetaData "OrderBy" "Amazonka.CodeGuruProfiler.Types.OrderBy" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'True) (C1 ('MetaCons "OrderBy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOrderBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

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.

Constructors

AgentConfiguration' 

Fields

  • agentParameters :: Maybe (HashMap AgentParameterField Text)

    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 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 profiler evaluates A and B.
    • 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.
  • periodInSeconds :: Int

    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.

  • shouldProfile :: Bool

    A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.

Instances

Instances details
FromJSON AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

Generic AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

Associated Types

type Rep AgentConfiguration :: Type -> Type #

Read AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

Show AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

NFData AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

Methods

rnf :: AgentConfiguration -> () #

Eq AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

Hashable AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

type Rep AgentConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentConfiguration

type Rep AgentConfiguration = D1 ('MetaData "AgentConfiguration" "Amazonka.CodeGuruProfiler.Types.AgentConfiguration" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "AgentConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "agentParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap AgentParameterField Text))) :*: (S1 ('MetaSel ('Just "periodInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "shouldProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newAgentConfiguration Source #

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 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 profiler evaluates A and B.
  • 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 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 profiler evaluates A and B.
  • 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.

Constructors

AgentOrchestrationConfig' 

Fields

  • profilingEnabled :: Bool

    A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.

Instances

Instances details
FromJSON AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

ToJSON AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

Generic AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

Associated Types

type Rep AgentOrchestrationConfig :: Type -> Type #

Read AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

Show AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

NFData AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

Eq AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

Hashable AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

type Rep AgentOrchestrationConfig Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig

type Rep AgentOrchestrationConfig = D1 ('MetaData "AgentOrchestrationConfig" "Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "AgentOrchestrationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "profilingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

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.

Constructors

AggregatedProfileTime' 

Fields

  • period :: Maybe AggregationPeriod

    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 day
    • PT1H — 1 hour
    • PT5M — 5 minutes
  • start :: Maybe ISO8601

    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.

Instances

Instances details
FromJSON AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Generic AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Associated Types

type Rep AggregatedProfileTime :: Type -> Type #

Read AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Show AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

NFData AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Methods

rnf :: AggregatedProfileTime -> () #

Eq AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Hashable AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

type Rep AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

type Rep AggregatedProfileTime = D1 ('MetaData "AggregatedProfileTime" "Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "AggregatedProfileTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AggregationPeriod)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))

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 day
  • PT1H — 1 hour
  • PT5M — 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 day
  • PT1H — 1 hour
  • PT5M — 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

data Anomaly Source #

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.

Constructors

Anomaly' 

Fields

  • instances :: [AnomalyInstance]

    A list of the instances of the detected anomalies during the requested period.

  • metric :: 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.

  • reason :: Text

    The reason for which metric was flagged as anomalous.

Instances

Instances details
FromJSON Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Generic Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Associated Types

type Rep Anomaly :: Type -> Type #

Methods

from :: Anomaly -> Rep Anomaly x #

to :: Rep Anomaly x -> Anomaly #

Read Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Show Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

NFData Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Methods

rnf :: Anomaly -> () #

Eq Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Methods

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

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

Hashable Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Methods

hashWithSalt :: Int -> Anomaly -> Int #

hash :: Anomaly -> Int #

type Rep Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

type Rep Anomaly = D1 ('MetaData "Anomaly" "Amazonka.CodeGuruProfiler.Types.Anomaly" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" '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))))

newAnomaly Source #

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.

anomaly_reason :: Lens' Anomaly Text Source #

The reason for which metric was flagged as anomalous.

AnomalyInstance

data AnomalyInstance Source #

The specific duration in which the metric is flagged as anomalous.

See: newAnomalyInstance smart constructor.

Constructors

AnomalyInstance' 

Fields

  • endTime :: Maybe ISO8601

    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.

  • userFeedback :: Maybe UserFeedback

    Feedback type on a specific instance of anomaly submitted by the user.

  • id :: Text

    The universally unique identifier (UUID) of an instance of an anomaly in a metric.

  • startTime :: ISO8601

    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.

Instances

Instances details
FromJSON AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Generic AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Associated Types

type Rep AnomalyInstance :: Type -> Type #

Read AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Show AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

NFData AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Methods

rnf :: AnomalyInstance -> () #

Eq AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

Hashable AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

type Rep AnomalyInstance Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AnomalyInstance

type Rep AnomalyInstance = D1 ('MetaData "AnomalyInstance" "Amazonka.CodeGuruProfiler.Types.AnomalyInstance" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "AnomalyInstance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "userFeedback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserFeedback))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newAnomalyInstance Source #

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

data Channel Source #

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.

Constructors

Channel' 

Fields

  • id :: Maybe Text

    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.

  • eventPublishers :: NonEmpty EventPublisher

    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.

  • uri :: Text

    Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.

Instances

Instances details
FromJSON Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

ToJSON Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

Read Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Show Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

NFData Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Methods

rnf :: Channel -> () #

Eq Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Methods

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

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

Hashable Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

type Rep Channel Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Channel

type Rep Channel = D1 ('MetaData "Channel" "Amazonka.CodeGuruProfiler.Types.Channel" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" '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))))

newChannel Source #

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.

Constructors

FindingsReportSummary' 

Fields

  • id :: Maybe Text

    The universally unique identifier (UUID) of the recommendation report.

  • profileEndTime :: Maybe ISO8601

    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.

  • profileStartTime :: 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.

  • profilingGroupName :: Maybe Text

    The name of the profiling group that is associated with the analysis data.

  • totalNumberOfFindings :: Maybe Int

    The total number of different recommendations that were found by the analysis.

Instances

Instances details
FromJSON FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

Generic FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

Associated Types

type Rep FindingsReportSummary :: Type -> Type #

Read FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

Show FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

NFData FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

Methods

rnf :: FindingsReportSummary -> () #

Eq FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

Hashable FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

type Rep FindingsReportSummary Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FindingsReportSummary

type Rep FindingsReportSummary = D1 ('MetaData "FindingsReportSummary" "Amazonka.CodeGuruProfiler.Types.FindingsReportSummary" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "FindingsReportSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "profileEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "profileStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "profilingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalNumberOfFindings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

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: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.

findingsReportSummary_id :: Lens' FindingsReportSummary (Maybe Text) Source #

The universally unique identifier (UUID) of the recommendation report.

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_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_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.

Constructors

FrameMetric' 

Fields

  • frameName :: Text

    Name of the method common across the multiple occurrences of a frame in an application profile.

  • threadStates :: [Text]

    List of application runtime thread states used to get the counts for a frame a derive a metric value.

  • type' :: MetricType

    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.

Instances

Instances details
FromJSON FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

ToJSON FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Generic FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Associated Types

type Rep FrameMetric :: Type -> Type #

Read FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Show FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

NFData FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Methods

rnf :: FrameMetric -> () #

Eq FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

Hashable FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

type Rep FrameMetric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetric

type Rep FrameMetric = D1 ('MetaData "FrameMetric" "Amazonka.CodeGuruProfiler.Types.FrameMetric" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "FrameMetric'" '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))))

newFrameMetric Source #

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.

Constructors

FrameMetricDatum' 

Fields

Instances

Instances details
FromJSON FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

Generic FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

Associated Types

type Rep FrameMetricDatum :: Type -> Type #

Read FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

Show FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

NFData FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

Methods

rnf :: FrameMetricDatum -> () #

Eq FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

Hashable FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

type Rep FrameMetricDatum Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.FrameMetricDatum

type Rep FrameMetricDatum = D1 ('MetaData "FrameMetricDatum" "Amazonka.CodeGuruProfiler.Types.FrameMetricDatum" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "FrameMetricDatum'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frameMetric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FrameMetric) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Double])))

newFrameMetricDatum Source #

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_values :: Lens' FrameMetricDatum [Double] Source #

A list of values that are associated with a frame metric.

Match

data Match Source #

The part of a profile that contains a recommendation found during analysis.

See: newMatch smart constructor.

Constructors

Match' 

Fields

Instances

Instances details
FromJSON Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Generic Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Associated Types

type Rep Match :: Type -> Type #

Methods

from :: Match -> Rep Match x #

to :: Rep Match x -> Match #

Read Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Show Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

showsPrec :: Int -> Match -> ShowS #

show :: Match -> String #

showList :: [Match] -> ShowS #

NFData Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

rnf :: Match -> () #

Eq Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

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

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

Hashable Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

hashWithSalt :: Int -> Match -> Int #

hash :: Match -> Int #

type Rep Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

type Rep Match = D1 ('MetaData "Match" "Amazonka.CodeGuruProfiler.Types.Match" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "Match'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frameAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetFramesIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "thresholdBreachValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newMatch :: Match Source #

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.

match_frameAddress :: Lens' Match (Maybe Text) Source #

The location in the profiling graph that contains a recommendation found during analysis.

match_targetFramesIndex :: Lens' Match (Maybe Int) Source #

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.

Metric

data Metric Source #

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.

Constructors

Metric' 

Fields

  • frameName :: Text

    The name of the method that appears as a frame in any stack in a profile.

  • threadStates :: [Text]

    The list of application runtime thread states that is used to calculate the metric value for the frame.

  • type' :: MetricType

    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.

Instances

Instances details
FromJSON Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

Generic Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

Associated Types

type Rep Metric :: Type -> Type #

Methods

from :: Metric -> Rep Metric x #

to :: Rep Metric x -> Metric #

Read Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

Show Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

NFData Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

Methods

rnf :: Metric -> () #

Eq Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

Methods

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

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

Hashable Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

Methods

hashWithSalt :: Int -> Metric -> Int #

hash :: Metric -> Int #

type Rep Metric Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Metric

type Rep Metric = D1 ('MetaData "Metric" "Amazonka.CodeGuruProfiler.Types.Metric" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" '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))))

newMetric Source #

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.

Constructors

NotificationConfiguration' 

Fields

  • channels :: Maybe (NonEmpty Channel)

    List of up to two channels to be used for sending notifications for events detected from the application profile.

Instances

Instances details
FromJSON NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

Generic NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

Associated Types

type Rep NotificationConfiguration :: Type -> Type #

Read NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

Show NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

NFData NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

Eq NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

Hashable NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

type Rep NotificationConfiguration Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.NotificationConfiguration

type Rep NotificationConfiguration = D1 ('MetaData "NotificationConfiguration" "Amazonka.CodeGuruProfiler.Types.NotificationConfiguration" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "NotificationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Channel)))))

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

data Pattern Source #

A set of rules used to make a recommendation during an analysis.

See: newPattern smart constructor.

Constructors

Pattern' 

Fields

  • countersToAggregate :: Maybe [Text]

    A list of the different counters used to determine if there is a match.

  • description :: Maybe Text

    The description of the recommendation. This explains a potential inefficiency in a profiled application.

  • id :: Maybe Text

    The universally unique identifier (UUID) of this pattern.

  • name :: Maybe Text

    The name for this pattern.

  • resolutionSteps :: Maybe Text

    A string that contains the steps recommended to address the potential inefficiency.

  • targetFrames :: Maybe [[Text]]

    A list of frame names that were searched during the analysis that generated a recommendation.

  • thresholdPercent :: Maybe Double

    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.

Instances

Instances details
FromJSON Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

Generic Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

Associated Types

type Rep Pattern :: Type -> Type #

Methods

from :: Pattern -> Rep Pattern x #

to :: Rep Pattern x -> Pattern #

Read Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

Show Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

NFData Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

Methods

rnf :: Pattern -> () #

Eq Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

Methods

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

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

Hashable Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

Methods

hashWithSalt :: Int -> Pattern -> Int #

hash :: Pattern -> Int #

type Rep Pattern Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Pattern

type Rep Pattern = D1 ('MetaData "Pattern" "Amazonka.CodeGuruProfiler.Types.Pattern" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "Pattern'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "countersToAggregate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resolutionSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "targetFrames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [[Text]])) :*: S1 ('MetaSel ('Just "thresholdPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

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: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.

pattern_countersToAggregate :: Lens' Pattern (Maybe [Text]) Source #

A list of the different counters used to determine if there is a match.

pattern_description :: Lens' Pattern (Maybe Text) Source #

The description of the recommendation. This explains a potential inefficiency in a profiled application.

pattern_id :: Lens' Pattern (Maybe Text) Source #

The universally unique identifier (UUID) of this pattern.

pattern_name :: Lens' Pattern (Maybe Text) Source #

The name for this pattern.

pattern_resolutionSteps :: Lens' Pattern (Maybe Text) Source #

A string that contains the steps recommended to address the potential inefficiency.

pattern_targetFrames :: Lens' Pattern (Maybe [[Text]]) Source #

A list of frame names that were searched during the analysis that generated a recommendation.

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.

ProfileTime

data ProfileTime Source #

Contains the start time of a profile.

See: newProfileTime smart constructor.

Constructors

ProfileTime' 

Fields

  • start :: Maybe ISO8601

    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.

Instances

Instances details
FromJSON ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

Generic ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

Associated Types

type Rep ProfileTime :: Type -> Type #

Read ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

Show ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

NFData ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

Methods

rnf :: ProfileTime -> () #

Eq ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

Hashable ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

type Rep ProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfileTime

type Rep ProfileTime = D1 ('MetaData "ProfileTime" "Amazonka.CodeGuruProfiler.Types.ProfileTime" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "ProfileTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))

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.

Constructors

ProfilingGroupDescription' 

Fields

  • agentOrchestrationConfig :: Maybe AgentOrchestrationConfig

    An AgentOrchestrationConfig object that indicates if the profiling group is enabled for profiled or not.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) identifying the profiling group resource.

  • computePlatform :: Maybe 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.

  • createdAt :: Maybe ISO8601

    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.

  • name :: Maybe Text

    The name of the profiling group.

  • profilingStatus :: Maybe 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.

  • tags :: Maybe (HashMap Text Text)

    A list of the tags that belong to this profiling group.

  • updatedAt :: Maybe ISO8601

    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.

Instances

Instances details
FromJSON ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

Generic ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

Associated Types

type Rep ProfilingGroupDescription :: Type -> Type #

Read ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

Show ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

NFData ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

Eq ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

Hashable ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

type Rep ProfilingGroupDescription Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingGroupDescription

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: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.

profilingGroupDescription_arn :: Lens' ProfilingGroupDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) identifying the profiling group resource.

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_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_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_tags :: Lens' ProfilingGroupDescription (Maybe (HashMap Text Text)) Source #

A list of the tags that belong to this profiling group.

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.

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.

Constructors

ProfilingStatus' 

Fields

Instances

Instances details
FromJSON ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

Generic ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

Associated Types

type Rep ProfilingStatus :: Type -> Type #

Read ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

Show ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

NFData ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

Methods

rnf :: ProfilingStatus -> () #

Eq ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

Hashable ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

type Rep ProfilingStatus Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.ProfilingStatus

type Rep ProfilingStatus = D1 ('MetaData "ProfilingStatus" "Amazonka.CodeGuruProfiler.Types.ProfilingStatus" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "ProfilingStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "latestAgentOrchestratedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "latestAgentProfileReportedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "latestAggregatedProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AggregatedProfileTime)))))

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.

Constructors

Recommendation' 

Fields

  • allMatchesCount :: Int

    How many different places in the profile graph triggered a match.

  • allMatchesSum :: Double

    How much of the total sample count is potentially affected.

  • endTime :: ISO8601

    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.

  • pattern' :: Pattern

    The pattern that analysis recognized in the profile to make this recommendation.

  • startTime :: ISO8601

    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.

  • topMatches :: [Match]

    List of the matches with most impact.

Instances

Instances details
FromJSON Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Generic Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Associated Types

type Rep Recommendation :: Type -> Type #

Read Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Show Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

NFData Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Methods

rnf :: Recommendation -> () #

Eq Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Hashable Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

type Rep Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

type Rep Recommendation = D1 ('MetaData "Recommendation" "Amazonka.CodeGuruProfiler.Types.Recommendation" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "Recommendation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allMatchesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "allMatchesSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))) :*: (S1 ('MetaSel ('Just "pattern'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Pattern) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "topMatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Match])))))

newRecommendation Source #

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.

Constructors

TimestampStructure' 

Fields

  • value :: ISO8601

    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.

Instances

Instances details
FromJSON TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

Generic TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

Associated Types

type Rep TimestampStructure :: Type -> Type #

Read TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

Show TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

NFData TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

Methods

rnf :: TimestampStructure -> () #

Eq TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

Hashable TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

type Rep TimestampStructure Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.TimestampStructure

type Rep TimestampStructure = D1 ('MetaData "TimestampStructure" "Amazonka.CodeGuruProfiler.Types.TimestampStructure" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "TimestampStructure'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))

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.

Constructors

UserFeedback' 

Fields

  • type' :: FeedbackType

    Optional Positive or Negative feedback submitted by the user about whether the recommendation is useful or not.

Instances

Instances details
FromJSON UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

Generic UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

Associated Types

type Rep UserFeedback :: Type -> Type #

Read UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

Show UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

NFData UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

Methods

rnf :: UserFeedback -> () #

Eq UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

Hashable UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

type Rep UserFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.UserFeedback

type Rep UserFeedback = D1 ('MetaData "UserFeedback" "Amazonka.CodeGuruProfiler.Types.UserFeedback" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "UserFeedback'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FeedbackType)))

newUserFeedback Source #

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.