Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _TagsAlreadyExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype CloudWatchEventSource where
- newtype ConfigurationEventResourceType where
- ConfigurationEventResourceType' { }
- pattern ConfigurationEventResourceType_CLOUDFORMATION :: ConfigurationEventResourceType
- pattern ConfigurationEventResourceType_CLOUDWATCH_ALARM :: ConfigurationEventResourceType
- pattern ConfigurationEventResourceType_CLOUDWATCH_LOG :: ConfigurationEventResourceType
- pattern ConfigurationEventResourceType_SSM_ASSOCIATION :: ConfigurationEventResourceType
- newtype ConfigurationEventStatus where
- newtype FeedbackKey where
- FeedbackKey' { }
- pattern FeedbackKey_INSIGHTS_FEEDBACK :: FeedbackKey
- newtype FeedbackValue where
- FeedbackValue' { }
- pattern FeedbackValue_NOT_SPECIFIED :: FeedbackValue
- pattern FeedbackValue_NOT_USEFUL :: FeedbackValue
- pattern FeedbackValue_USEFUL :: FeedbackValue
- newtype LogFilter where
- LogFilter' { }
- pattern LogFilter_ERROR :: LogFilter
- pattern LogFilter_INFO :: LogFilter
- pattern LogFilter_WARN :: LogFilter
- newtype OsType where
- OsType' {
- fromOsType :: Text
- pattern OsType_LINUX :: OsType
- pattern OsType_WINDOWS :: OsType
- OsType' {
- newtype SeverityLevel where
- SeverityLevel' { }
- pattern SeverityLevel_High :: SeverityLevel
- pattern SeverityLevel_Low :: SeverityLevel
- pattern SeverityLevel_Medium :: SeverityLevel
- newtype Status where
- Status' {
- fromStatus :: Text
- pattern Status_IGNORE :: Status
- pattern Status_PENDING :: Status
- pattern Status_RESOLVED :: Status
- Status' {
- newtype Tier where
- Tier' { }
- pattern Tier_CUSTOM :: Tier
- pattern Tier_DEFAULT :: Tier
- pattern Tier_DOT_NET_CORE :: Tier
- pattern Tier_DOT_NET_WEB :: Tier
- pattern Tier_DOT_NET_WEB_TIER :: Tier
- pattern Tier_DOT_NET_WORKER :: Tier
- pattern Tier_JAVA_JMX :: Tier
- pattern Tier_MYSQL :: Tier
- pattern Tier_ORACLE :: Tier
- pattern Tier_POSTGRESQL :: Tier
- pattern Tier_SQL_SERVER :: Tier
- pattern Tier_SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP :: Tier
- data ApplicationComponent = ApplicationComponent' {}
- newApplicationComponent :: ApplicationComponent
- applicationComponent_osType :: Lens' ApplicationComponent (Maybe OsType)
- applicationComponent_resourceType :: Lens' ApplicationComponent (Maybe Text)
- applicationComponent_detectedWorkload :: Lens' ApplicationComponent (Maybe (HashMap Tier (HashMap Text Text)))
- applicationComponent_monitor :: Lens' ApplicationComponent (Maybe Bool)
- applicationComponent_tier :: Lens' ApplicationComponent (Maybe Tier)
- applicationComponent_componentName :: Lens' ApplicationComponent (Maybe Text)
- applicationComponent_componentRemarks :: Lens' ApplicationComponent (Maybe Text)
- data ApplicationInfo = ApplicationInfo' {}
- newApplicationInfo :: ApplicationInfo
- applicationInfo_resourceGroupName :: Lens' ApplicationInfo (Maybe Text)
- applicationInfo_cWEMonitorEnabled :: Lens' ApplicationInfo (Maybe Bool)
- applicationInfo_opsItemSNSTopicArn :: Lens' ApplicationInfo (Maybe Text)
- applicationInfo_lifeCycle :: Lens' ApplicationInfo (Maybe Text)
- applicationInfo_opsCenterEnabled :: Lens' ApplicationInfo (Maybe Bool)
- applicationInfo_remarks :: Lens' ApplicationInfo (Maybe Text)
- data ConfigurationEvent = ConfigurationEvent' {}
- newConfigurationEvent :: ConfigurationEvent
- configurationEvent_monitoredResourceARN :: Lens' ConfigurationEvent (Maybe Text)
- configurationEvent_eventStatus :: Lens' ConfigurationEvent (Maybe ConfigurationEventStatus)
- configurationEvent_eventResourceName :: Lens' ConfigurationEvent (Maybe Text)
- configurationEvent_eventTime :: Lens' ConfigurationEvent (Maybe UTCTime)
- configurationEvent_eventDetail :: Lens' ConfigurationEvent (Maybe Text)
- configurationEvent_eventResourceType :: Lens' ConfigurationEvent (Maybe ConfigurationEventResourceType)
- data LogPattern = LogPattern' {}
- newLogPattern :: LogPattern
- logPattern_pattern :: Lens' LogPattern (Maybe Text)
- logPattern_patternName :: Lens' LogPattern (Maybe Text)
- logPattern_patternSetName :: Lens' LogPattern (Maybe Text)
- logPattern_rank :: Lens' LogPattern (Maybe Int)
- data Observation = Observation' {
- codeDeployApplication :: Maybe Text
- rdsEventMessage :: Maybe Text
- codeDeployDeploymentId :: Maybe Text
- startTime :: Maybe POSIX
- sourceType :: Maybe Text
- sourceARN :: Maybe Text
- xRayRequestAverageLatency :: Maybe Integer
- statesStatus :: Maybe Text
- codeDeployDeploymentGroup :: Maybe Text
- healthEventTypeCategory :: Maybe Text
- xRayRequestCount :: Maybe Int
- s3EventName :: Maybe Text
- metricName :: Maybe Text
- ec2State :: Maybe Text
- logGroup :: Maybe Text
- value :: Maybe Double
- healthEventDescription :: Maybe Text
- cloudWatchEventSource :: Maybe CloudWatchEventSource
- codeDeployState :: Maybe Text
- xRayErrorPercent :: Maybe Int
- statesArn :: Maybe Text
- cloudWatchEventId :: Maybe Text
- logText :: Maybe Text
- logFilter :: Maybe LogFilter
- metricNamespace :: Maybe Text
- rdsEventCategories :: Maybe Text
- xRayNodeType :: Maybe Text
- endTime :: Maybe POSIX
- statesInput :: Maybe Text
- xRayNodeName :: Maybe Text
- id :: Maybe Text
- healthEventArn :: Maybe Text
- healthEventTypeCode :: Maybe Text
- ebsResult :: Maybe Text
- cloudWatchEventDetailType :: Maybe Text
- codeDeployInstanceGroupId :: Maybe Text
- ebsCause :: Maybe Text
- ebsEvent :: Maybe Text
- ebsRequestId :: Maybe Text
- xRayFaultPercent :: Maybe Int
- statesExecutionArn :: Maybe Text
- lineTime :: Maybe POSIX
- unit :: Maybe Text
- xRayThrottlePercent :: Maybe Int
- healthService :: Maybe Text
- newObservation :: Observation
- observation_codeDeployApplication :: Lens' Observation (Maybe Text)
- observation_rdsEventMessage :: Lens' Observation (Maybe Text)
- observation_codeDeployDeploymentId :: Lens' Observation (Maybe Text)
- observation_startTime :: Lens' Observation (Maybe UTCTime)
- observation_sourceType :: Lens' Observation (Maybe Text)
- observation_sourceARN :: Lens' Observation (Maybe Text)
- observation_xRayRequestAverageLatency :: Lens' Observation (Maybe Integer)
- observation_statesStatus :: Lens' Observation (Maybe Text)
- observation_codeDeployDeploymentGroup :: Lens' Observation (Maybe Text)
- observation_healthEventTypeCategory :: Lens' Observation (Maybe Text)
- observation_xRayRequestCount :: Lens' Observation (Maybe Int)
- observation_s3EventName :: Lens' Observation (Maybe Text)
- observation_metricName :: Lens' Observation (Maybe Text)
- observation_ec2State :: Lens' Observation (Maybe Text)
- observation_logGroup :: Lens' Observation (Maybe Text)
- observation_value :: Lens' Observation (Maybe Double)
- observation_healthEventDescription :: Lens' Observation (Maybe Text)
- observation_cloudWatchEventSource :: Lens' Observation (Maybe CloudWatchEventSource)
- observation_codeDeployState :: Lens' Observation (Maybe Text)
- observation_xRayErrorPercent :: Lens' Observation (Maybe Int)
- observation_statesArn :: Lens' Observation (Maybe Text)
- observation_cloudWatchEventId :: Lens' Observation (Maybe Text)
- observation_logText :: Lens' Observation (Maybe Text)
- observation_logFilter :: Lens' Observation (Maybe LogFilter)
- observation_metricNamespace :: Lens' Observation (Maybe Text)
- observation_rdsEventCategories :: Lens' Observation (Maybe Text)
- observation_xRayNodeType :: Lens' Observation (Maybe Text)
- observation_endTime :: Lens' Observation (Maybe UTCTime)
- observation_statesInput :: Lens' Observation (Maybe Text)
- observation_xRayNodeName :: Lens' Observation (Maybe Text)
- observation_id :: Lens' Observation (Maybe Text)
- observation_healthEventArn :: Lens' Observation (Maybe Text)
- observation_healthEventTypeCode :: Lens' Observation (Maybe Text)
- observation_ebsResult :: Lens' Observation (Maybe Text)
- observation_cloudWatchEventDetailType :: Lens' Observation (Maybe Text)
- observation_codeDeployInstanceGroupId :: Lens' Observation (Maybe Text)
- observation_ebsCause :: Lens' Observation (Maybe Text)
- observation_ebsEvent :: Lens' Observation (Maybe Text)
- observation_ebsRequestId :: Lens' Observation (Maybe Text)
- observation_xRayFaultPercent :: Lens' Observation (Maybe Int)
- observation_statesExecutionArn :: Lens' Observation (Maybe Text)
- observation_lineTime :: Lens' Observation (Maybe UTCTime)
- observation_unit :: Lens' Observation (Maybe Text)
- observation_xRayThrottlePercent :: Lens' Observation (Maybe Int)
- observation_healthService :: Lens' Observation (Maybe Text)
- data Problem = Problem' {}
- newProblem :: Problem
- problem_status :: Lens' Problem (Maybe Status)
- problem_resourceGroupName :: Lens' Problem (Maybe Text)
- problem_startTime :: Lens' Problem (Maybe UTCTime)
- problem_insights :: Lens' Problem (Maybe Text)
- problem_endTime :: Lens' Problem (Maybe UTCTime)
- problem_id :: Lens' Problem (Maybe Text)
- problem_severityLevel :: Lens' Problem (Maybe SeverityLevel)
- problem_title :: Lens' Problem (Maybe Text)
- problem_affectedResource :: Lens' Problem (Maybe Text)
- problem_feedback :: Lens' Problem (Maybe (HashMap FeedbackKey FeedbackValue))
- data RelatedObservations = RelatedObservations' {}
- newRelatedObservations :: RelatedObservations
- relatedObservations_observationList :: Lens' RelatedObservations (Maybe [Observation])
- data Tag = Tag' {}
- newTag :: Text -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_value :: Lens' Tag Text
Service Configuration
defaultService :: Service Source #
API version 2018-11-25
of the Amazon CloudWatch Application Insights SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The parameter is not valid.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
User does not have permissions to perform this action.
_TagsAlreadyExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Tags are already registered for the specified application ARN.
_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The server encountered an internal error and is unable to complete the request.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource does not exist in the customer account.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request is not understood by the server.
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource is already created or in use.
CloudWatchEventSource
newtype CloudWatchEventSource Source #
pattern CloudWatchEventSource_CODE_DEPLOY :: CloudWatchEventSource | |
pattern CloudWatchEventSource_EC2 :: CloudWatchEventSource | |
pattern CloudWatchEventSource_HEALTH :: CloudWatchEventSource | |
pattern CloudWatchEventSource_RDS :: CloudWatchEventSource |
Instances
ConfigurationEventResourceType
newtype ConfigurationEventResourceType Source #
Instances
ConfigurationEventStatus
newtype ConfigurationEventStatus Source #
pattern ConfigurationEventStatus_ERROR :: ConfigurationEventStatus | |
pattern ConfigurationEventStatus_INFO :: ConfigurationEventStatus | |
pattern ConfigurationEventStatus_WARN :: ConfigurationEventStatus |
Instances
FeedbackKey
newtype FeedbackKey Source #
pattern FeedbackKey_INSIGHTS_FEEDBACK :: FeedbackKey |
Instances
FeedbackValue
newtype FeedbackValue Source #
pattern FeedbackValue_NOT_SPECIFIED :: FeedbackValue | |
pattern FeedbackValue_NOT_USEFUL :: FeedbackValue | |
pattern FeedbackValue_USEFUL :: FeedbackValue |
Instances
LogFilter
pattern LogFilter_ERROR :: LogFilter | |
pattern LogFilter_INFO :: LogFilter | |
pattern LogFilter_WARN :: LogFilter |
Instances
OsType
pattern OsType_LINUX :: OsType | |
pattern OsType_WINDOWS :: OsType |
Instances
SeverityLevel
newtype SeverityLevel Source #
pattern SeverityLevel_High :: SeverityLevel | |
pattern SeverityLevel_Low :: SeverityLevel | |
pattern SeverityLevel_Medium :: SeverityLevel |
Instances
Status
pattern Status_IGNORE :: Status | |
pattern Status_PENDING :: Status | |
pattern Status_RESOLVED :: Status |
Instances
Tier
pattern Tier_CUSTOM :: Tier | |
pattern Tier_DEFAULT :: Tier | |
pattern Tier_DOT_NET_CORE :: Tier | |
pattern Tier_DOT_NET_WEB :: Tier | |
pattern Tier_DOT_NET_WEB_TIER :: Tier | |
pattern Tier_DOT_NET_WORKER :: Tier | |
pattern Tier_JAVA_JMX :: Tier | |
pattern Tier_MYSQL :: Tier | |
pattern Tier_ORACLE :: Tier | |
pattern Tier_POSTGRESQL :: Tier | |
pattern Tier_SQL_SERVER :: Tier | |
pattern Tier_SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP :: Tier |
Instances
ApplicationComponent
data ApplicationComponent Source #
Describes a standalone resource or similarly grouped resources that the application is made up of.
See: newApplicationComponent
smart constructor.
ApplicationComponent' | |
|
Instances
newApplicationComponent :: ApplicationComponent Source #
Create a value of ApplicationComponent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:osType:ApplicationComponent'
, applicationComponent_osType
- The operating system of the component.
$sel:resourceType:ApplicationComponent'
, applicationComponent_resourceType
- The resource type. Supported resource types include EC2 instances, Auto
Scaling group, Classic ELB, Application ELB, and SQS Queue.
$sel:detectedWorkload:ApplicationComponent'
, applicationComponent_detectedWorkload
- Workloads detected in the application component.
$sel:monitor:ApplicationComponent'
, applicationComponent_monitor
- Indicates whether the application component is monitored.
$sel:tier:ApplicationComponent'
, applicationComponent_tier
- The stack tier of the application component.
$sel:componentName:ApplicationComponent'
, applicationComponent_componentName
- The name of the component.
$sel:componentRemarks:ApplicationComponent'
, applicationComponent_componentRemarks
- If logging is supported for the resource type, indicates whether the
component has configured logs to be monitored.
applicationComponent_osType :: Lens' ApplicationComponent (Maybe OsType) Source #
The operating system of the component.
applicationComponent_resourceType :: Lens' ApplicationComponent (Maybe Text) Source #
The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
applicationComponent_detectedWorkload :: Lens' ApplicationComponent (Maybe (HashMap Tier (HashMap Text Text))) Source #
Workloads detected in the application component.
applicationComponent_monitor :: Lens' ApplicationComponent (Maybe Bool) Source #
Indicates whether the application component is monitored.
applicationComponent_tier :: Lens' ApplicationComponent (Maybe Tier) Source #
The stack tier of the application component.
applicationComponent_componentName :: Lens' ApplicationComponent (Maybe Text) Source #
The name of the component.
applicationComponent_componentRemarks :: Lens' ApplicationComponent (Maybe Text) Source #
If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.
ApplicationInfo
data ApplicationInfo Source #
Describes the status of the application.
See: newApplicationInfo
smart constructor.
ApplicationInfo' | |
|
Instances
newApplicationInfo :: ApplicationInfo Source #
Create a value of ApplicationInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceGroupName:ApplicationInfo'
, applicationInfo_resourceGroupName
- The name of the resource group used for the application.
$sel:cWEMonitorEnabled:ApplicationInfo'
, applicationInfo_cWEMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events
for the application resources, such as instance terminated
,
failed deployment
, and others.
$sel:opsItemSNSTopicArn:ApplicationInfo'
, applicationInfo_opsItemSNSTopicArn
- The SNS topic provided to Application Insights that is associated to the
created opsItems to receive SNS notifications for opsItem updates.
$sel:lifeCycle:ApplicationInfo'
, applicationInfo_lifeCycle
- The lifecycle of the application.
$sel:opsCenterEnabled:ApplicationInfo'
, applicationInfo_opsCenterEnabled
- Indicates whether Application Insights will create opsItems for any
problem detected by Application Insights for an application.
$sel:remarks:ApplicationInfo'
, applicationInfo_remarks
- The issues on the user side that block Application Insights from
successfully monitoring an application. Example remarks include:
- “Configuring application, detected 1 Errors, 3 Warnings”
- “Configuring application, detected 1 Unconfigured Components”
applicationInfo_resourceGroupName :: Lens' ApplicationInfo (Maybe Text) Source #
The name of the resource group used for the application.
applicationInfo_cWEMonitorEnabled :: Lens' ApplicationInfo (Maybe Bool) Source #
Indicates whether Application Insights can listen to CloudWatch events
for the application resources, such as instance terminated
,
failed deployment
, and others.
applicationInfo_opsItemSNSTopicArn :: Lens' ApplicationInfo (Maybe Text) Source #
The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
applicationInfo_lifeCycle :: Lens' ApplicationInfo (Maybe Text) Source #
The lifecycle of the application.
applicationInfo_opsCenterEnabled :: Lens' ApplicationInfo (Maybe Bool) Source #
Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
applicationInfo_remarks :: Lens' ApplicationInfo (Maybe Text) Source #
The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include:
- “Configuring application, detected 1 Errors, 3 Warnings”
- “Configuring application, detected 1 Unconfigured Components”
ConfigurationEvent
data ConfigurationEvent Source #
The event information.
See: newConfigurationEvent
smart constructor.
ConfigurationEvent' | |
|
Instances
newConfigurationEvent :: ConfigurationEvent Source #
Create a value of ConfigurationEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:monitoredResourceARN:ConfigurationEvent'
, configurationEvent_monitoredResourceARN
- The resource monitored by Application Insights.
$sel:eventStatus:ConfigurationEvent'
, configurationEvent_eventStatus
- The status of the configuration update event. Possible values include
INFO, WARN, and ERROR.
$sel:eventResourceName:ConfigurationEvent'
, configurationEvent_eventResourceName
- The name of the resource Application Insights attempted to configure.
$sel:eventTime:ConfigurationEvent'
, configurationEvent_eventTime
- The timestamp of the event.
$sel:eventDetail:ConfigurationEvent'
, configurationEvent_eventDetail
- The details of the event in plain text.
$sel:eventResourceType:ConfigurationEvent'
, configurationEvent_eventResourceType
- The resource type that Application Insights attempted to configure, for
example, CLOUDWATCH_ALARM.
configurationEvent_monitoredResourceARN :: Lens' ConfigurationEvent (Maybe Text) Source #
The resource monitored by Application Insights.
configurationEvent_eventStatus :: Lens' ConfigurationEvent (Maybe ConfigurationEventStatus) Source #
The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
configurationEvent_eventResourceName :: Lens' ConfigurationEvent (Maybe Text) Source #
The name of the resource Application Insights attempted to configure.
configurationEvent_eventTime :: Lens' ConfigurationEvent (Maybe UTCTime) Source #
The timestamp of the event.
configurationEvent_eventDetail :: Lens' ConfigurationEvent (Maybe Text) Source #
The details of the event in plain text.
configurationEvent_eventResourceType :: Lens' ConfigurationEvent (Maybe ConfigurationEventResourceType) Source #
The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.
LogPattern
data LogPattern Source #
An object that defines the log patterns that belongs to a
LogPatternSet
.
See: newLogPattern
smart constructor.
LogPattern' | |
|
Instances
newLogPattern :: LogPattern Source #
Create a value of LogPattern
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:pattern':LogPattern'
, logPattern_pattern
- A regular expression that defines the log pattern. A log pattern can
contain as many as 50 characters, and it cannot be empty. The pattern
must be DFA compatible. Patterns that utilize forward lookahead or
backreference constructions are not supported.
$sel:patternName:LogPattern'
, logPattern_patternName
- The name of the log pattern. A log pattern name can contain as many as
50 characters, and it cannot be empty. The characters can be Unicode
letters, digits, or one of the following symbols: period, dash,
underscore.
$sel:patternSetName:LogPattern'
, logPattern_patternSetName
- The name of the log pattern. A log pattern name can contain as many as
30 characters, and it cannot be empty. The characters can be Unicode
letters, digits, or one of the following symbols: period, dash,
underscore.
$sel:rank:LogPattern'
, logPattern_rank
- Rank of the log pattern. Must be a value between 1
and 1,000,000
.
The patterns are sorted by rank, so we recommend that you set your
highest priority patterns with the lowest rank. A pattern of rank 1
will be the first to get matched to a log line. A pattern of rank
1,000,000
will be last to get matched. When you configure custom log
patterns from the console, a Low
severity pattern translates to a
750,000
rank. A Medium
severity pattern translates to a 500,000
rank. And a High
severity pattern translates to a 250,000
rank. Rank
values less than 1
or greater than 1,000,000
are reserved for
AWS-provided patterns.
logPattern_pattern :: Lens' LogPattern (Maybe Text) Source #
A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
logPattern_patternName :: Lens' LogPattern (Maybe Text) Source #
The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
logPattern_patternSetName :: Lens' LogPattern (Maybe Text) Source #
The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
logPattern_rank :: Lens' LogPattern (Maybe Int) Source #
Rank of the log pattern. Must be a value between 1
and 1,000,000
.
The patterns are sorted by rank, so we recommend that you set your
highest priority patterns with the lowest rank. A pattern of rank 1
will be the first to get matched to a log line. A pattern of rank
1,000,000
will be last to get matched. When you configure custom log
patterns from the console, a Low
severity pattern translates to a
750,000
rank. A Medium
severity pattern translates to a 500,000
rank. And a High
severity pattern translates to a 250,000
rank. Rank
values less than 1
or greater than 1,000,000
are reserved for
AWS-provided patterns.
Observation
data Observation Source #
Describes an anomaly or error with the application.
See: newObservation
smart constructor.
Observation' | |
|
Instances
newObservation :: Observation Source #
Create a value of Observation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeDeployApplication:Observation'
, observation_codeDeployApplication
- The CodeDeploy application to which the deployment belongs.
$sel:rdsEventMessage:Observation'
, observation_rdsEventMessage
- The message of an RDS event.
$sel:codeDeployDeploymentId:Observation'
, observation_codeDeployDeploymentId
- The deployment ID of the CodeDeploy-based observation related to the
detected problem.
$sel:startTime:Observation'
, observation_startTime
- The time when the observation was first detected, in epoch seconds.
$sel:sourceType:Observation'
, observation_sourceType
- The source type of the observation.
$sel:sourceARN:Observation'
, observation_sourceARN
- The source resource ARN of the observation.
$sel:xRayRequestAverageLatency:Observation'
, observation_xRayRequestAverageLatency
- The X-Ray node request average latency for this node.
$sel:statesStatus:Observation'
, observation_statesStatus
- The status of the step function-related observation.
$sel:codeDeployDeploymentGroup:Observation'
, observation_codeDeployDeploymentGroup
- The deployment group to which the CodeDeploy deployment belongs.
$sel:healthEventTypeCategory:Observation'
, observation_healthEventTypeCategory
- The category of the AWS Health event, such as issue
.
$sel:xRayRequestCount:Observation'
, observation_xRayRequestCount
- The X-Ray request count for this node.
$sel:s3EventName:Observation'
, observation_s3EventName
- The name of the S3 CloudWatch Event-based observation.
$sel:metricName:Observation'
, observation_metricName
- The name of the observation metric.
$sel:ec2State:Observation'
, observation_ec2State
- The state of the instance, such as STOPPING
or TERMINATING
.
$sel:logGroup:Observation'
, observation_logGroup
- The log group name.
$sel:value:Observation'
, observation_value
- The value of the source observation metric.
$sel:healthEventDescription:Observation'
, observation_healthEventDescription
- The description of the AWS Health event provided by the service, such as
Amazon EC2.
$sel:cloudWatchEventSource:Observation'
, observation_cloudWatchEventSource
- The source of the CloudWatch Event.
$sel:codeDeployState:Observation'
, observation_codeDeployState
- The status of the CodeDeploy deployment, for example SUCCESS
or
FAILURE
.
$sel:xRayErrorPercent:Observation'
, observation_xRayErrorPercent
- The X-Ray request error percentage for this node.
$sel:statesArn:Observation'
, observation_statesArn
- The Amazon Resource Name (ARN) of the step function-based observation.
$sel:cloudWatchEventId:Observation'
, observation_cloudWatchEventId
- The ID of the CloudWatch Event-based observation related to the detected
problem.
$sel:logText:Observation'
, observation_logText
- The log text of the observation.
$sel:logFilter:Observation'
, observation_logFilter
- The log filter of the observation.
$sel:metricNamespace:Observation'
, observation_metricNamespace
- The namespace of the observation metric.
$sel:rdsEventCategories:Observation'
, observation_rdsEventCategories
- The category of an RDS event.
$sel:xRayNodeType:Observation'
, observation_xRayNodeType
- The type of the X-Ray node.
$sel:endTime:Observation'
, observation_endTime
- The time when the observation ended, in epoch seconds.
$sel:statesInput:Observation'
, observation_statesInput
- The input to the step function-based observation.
$sel:xRayNodeName:Observation'
, observation_xRayNodeName
- The name of the X-Ray node.
$sel:id:Observation'
, observation_id
- The ID of the observation type.
$sel:healthEventArn:Observation'
, observation_healthEventArn
- The Amazon Resource Name (ARN) of the AWS Health Event-based
observation.
$sel:healthEventTypeCode:Observation'
, observation_healthEventTypeCode
- The type of the AWS Health event, for example,
AWS_EC2_POWER_CONNECTIVITY_ISSUE
.
$sel:ebsResult:Observation'
, observation_ebsResult
- The result of an EBS CloudWatch event, such as failed
or succeeded
.
$sel:cloudWatchEventDetailType:Observation'
, observation_cloudWatchEventDetailType
- The detail type of the CloudWatch Event-based observation, for example,
EC2 Instance State-change Notification
.
$sel:codeDeployInstanceGroupId:Observation'
, observation_codeDeployInstanceGroupId
- The instance group to which the CodeDeploy instance belongs.
$sel:ebsCause:Observation'
, observation_ebsCause
- The cause of an EBS CloudWatch event.
$sel:ebsEvent:Observation'
, observation_ebsEvent
- The type of EBS CloudWatch event, such as createVolume
, deleteVolume
or attachVolume
.
$sel:ebsRequestId:Observation'
, observation_ebsRequestId
- The request ID of an EBS CloudWatch event.
$sel:xRayFaultPercent:Observation'
, observation_xRayFaultPercent
- The X-Ray request fault percentage for this node.
$sel:statesExecutionArn:Observation'
, observation_statesExecutionArn
- The Amazon Resource Name (ARN) of the step function execution-based
observation.
$sel:lineTime:Observation'
, observation_lineTime
- The timestamp in the CloudWatch Logs that specifies when the matched
line occurred.
$sel:unit:Observation'
, observation_unit
- The unit of the source observation metric.
$sel:xRayThrottlePercent:Observation'
, observation_xRayThrottlePercent
- The X-Ray request throttle percentage for this node.
$sel:healthService:Observation'
, observation_healthService
- The service to which the AWS Health Event belongs, such as EC2.
observation_codeDeployApplication :: Lens' Observation (Maybe Text) Source #
The CodeDeploy application to which the deployment belongs.
observation_rdsEventMessage :: Lens' Observation (Maybe Text) Source #
The message of an RDS event.
observation_codeDeployDeploymentId :: Lens' Observation (Maybe Text) Source #
The deployment ID of the CodeDeploy-based observation related to the detected problem.
observation_startTime :: Lens' Observation (Maybe UTCTime) Source #
The time when the observation was first detected, in epoch seconds.
observation_sourceType :: Lens' Observation (Maybe Text) Source #
The source type of the observation.
observation_sourceARN :: Lens' Observation (Maybe Text) Source #
The source resource ARN of the observation.
observation_xRayRequestAverageLatency :: Lens' Observation (Maybe Integer) Source #
The X-Ray node request average latency for this node.
observation_statesStatus :: Lens' Observation (Maybe Text) Source #
The status of the step function-related observation.
observation_codeDeployDeploymentGroup :: Lens' Observation (Maybe Text) Source #
The deployment group to which the CodeDeploy deployment belongs.
observation_healthEventTypeCategory :: Lens' Observation (Maybe Text) Source #
The category of the AWS Health event, such as issue
.
observation_xRayRequestCount :: Lens' Observation (Maybe Int) Source #
The X-Ray request count for this node.
observation_s3EventName :: Lens' Observation (Maybe Text) Source #
The name of the S3 CloudWatch Event-based observation.
observation_metricName :: Lens' Observation (Maybe Text) Source #
The name of the observation metric.
observation_ec2State :: Lens' Observation (Maybe Text) Source #
The state of the instance, such as STOPPING
or TERMINATING
.
observation_logGroup :: Lens' Observation (Maybe Text) Source #
The log group name.
observation_value :: Lens' Observation (Maybe Double) Source #
The value of the source observation metric.
observation_healthEventDescription :: Lens' Observation (Maybe Text) Source #
The description of the AWS Health event provided by the service, such as Amazon EC2.
observation_cloudWatchEventSource :: Lens' Observation (Maybe CloudWatchEventSource) Source #
The source of the CloudWatch Event.
observation_codeDeployState :: Lens' Observation (Maybe Text) Source #
The status of the CodeDeploy deployment, for example SUCCESS
or
FAILURE
.
observation_xRayErrorPercent :: Lens' Observation (Maybe Int) Source #
The X-Ray request error percentage for this node.
observation_statesArn :: Lens' Observation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the step function-based observation.
observation_cloudWatchEventId :: Lens' Observation (Maybe Text) Source #
The ID of the CloudWatch Event-based observation related to the detected problem.
observation_logText :: Lens' Observation (Maybe Text) Source #
The log text of the observation.
observation_logFilter :: Lens' Observation (Maybe LogFilter) Source #
The log filter of the observation.
observation_metricNamespace :: Lens' Observation (Maybe Text) Source #
The namespace of the observation metric.
observation_rdsEventCategories :: Lens' Observation (Maybe Text) Source #
The category of an RDS event.
observation_xRayNodeType :: Lens' Observation (Maybe Text) Source #
The type of the X-Ray node.
observation_endTime :: Lens' Observation (Maybe UTCTime) Source #
The time when the observation ended, in epoch seconds.
observation_statesInput :: Lens' Observation (Maybe Text) Source #
The input to the step function-based observation.
observation_xRayNodeName :: Lens' Observation (Maybe Text) Source #
The name of the X-Ray node.
observation_id :: Lens' Observation (Maybe Text) Source #
The ID of the observation type.
observation_healthEventArn :: Lens' Observation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
observation_healthEventTypeCode :: Lens' Observation (Maybe Text) Source #
The type of the AWS Health event, for example,
AWS_EC2_POWER_CONNECTIVITY_ISSUE
.
observation_ebsResult :: Lens' Observation (Maybe Text) Source #
The result of an EBS CloudWatch event, such as failed
or succeeded
.
observation_cloudWatchEventDetailType :: Lens' Observation (Maybe Text) Source #
The detail type of the CloudWatch Event-based observation, for example,
EC2 Instance State-change Notification
.
observation_codeDeployInstanceGroupId :: Lens' Observation (Maybe Text) Source #
The instance group to which the CodeDeploy instance belongs.
observation_ebsCause :: Lens' Observation (Maybe Text) Source #
The cause of an EBS CloudWatch event.
observation_ebsEvent :: Lens' Observation (Maybe Text) Source #
The type of EBS CloudWatch event, such as createVolume
, deleteVolume
or attachVolume
.
observation_ebsRequestId :: Lens' Observation (Maybe Text) Source #
The request ID of an EBS CloudWatch event.
observation_xRayFaultPercent :: Lens' Observation (Maybe Int) Source #
The X-Ray request fault percentage for this node.
observation_statesExecutionArn :: Lens' Observation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the step function execution-based observation.
observation_lineTime :: Lens' Observation (Maybe UTCTime) Source #
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
observation_unit :: Lens' Observation (Maybe Text) Source #
The unit of the source observation metric.
observation_xRayThrottlePercent :: Lens' Observation (Maybe Int) Source #
The X-Ray request throttle percentage for this node.
observation_healthService :: Lens' Observation (Maybe Text) Source #
The service to which the AWS Health Event belongs, such as EC2.
Problem
Describes a problem that is detected by correlating observations.
See: newProblem
smart constructor.
Problem' | |
|
Instances
newProblem :: Problem Source #
Create a value of Problem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:Problem'
, problem_status
- The status of the problem.
$sel:resourceGroupName:Problem'
, problem_resourceGroupName
- The name of the resource group affected by the problem.
$sel:startTime:Problem'
, problem_startTime
- The time when the problem started, in epoch seconds.
$sel:insights:Problem'
, problem_insights
- A detailed analysis of the problem using machine learning.
$sel:endTime:Problem'
, problem_endTime
- The time when the problem ended, in epoch seconds.
$sel:id:Problem'
, problem_id
- The ID of the problem.
$sel:severityLevel:Problem'
, problem_severityLevel
- A measure of the level of impact of the problem.
$sel:title:Problem'
, problem_title
- The name of the problem.
$sel:affectedResource:Problem'
, problem_affectedResource
- The resource affected by the problem.
$sel:feedback:Problem'
, problem_feedback
- Feedback provided by the user about the problem.
problem_resourceGroupName :: Lens' Problem (Maybe Text) Source #
The name of the resource group affected by the problem.
problem_startTime :: Lens' Problem (Maybe UTCTime) Source #
The time when the problem started, in epoch seconds.
problem_insights :: Lens' Problem (Maybe Text) Source #
A detailed analysis of the problem using machine learning.
problem_endTime :: Lens' Problem (Maybe UTCTime) Source #
The time when the problem ended, in epoch seconds.
problem_severityLevel :: Lens' Problem (Maybe SeverityLevel) Source #
A measure of the level of impact of the problem.
problem_affectedResource :: Lens' Problem (Maybe Text) Source #
The resource affected by the problem.
problem_feedback :: Lens' Problem (Maybe (HashMap FeedbackKey FeedbackValue)) Source #
Feedback provided by the user about the problem.
RelatedObservations
data RelatedObservations Source #
Describes observations related to the problem.
See: newRelatedObservations
smart constructor.
RelatedObservations' | |
|
Instances
newRelatedObservations :: RelatedObservations Source #
Create a value of RelatedObservations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:observationList:RelatedObservations'
, relatedObservations_observationList
- The list of observations related to the problem.
relatedObservations_observationList :: Lens' RelatedObservations (Maybe [Observation]) Source #
The list of observations related to the problem.
Tag
An object that defines the tags associated with an application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:
- Tag keys and values are case sensitive.
- For each associated resource, each tag key must be unique and it can have only one value.
- The
aws:
prefix is reserved for use by AWS; you can’t use it in any tag keys or values that you define. In addition, you can't edit or remove tag keys or values that use this prefix.
See: newTag
smart constructor.
Tag' | |
|
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.ApplicationInsights.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.ApplicationInsights.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.ApplicationInsights.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.ApplicationInsights.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ApplicationInsights.Types.Tag" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:Tag'
, tag_key
- One part of a key-value pair that defines a tag. The maximum length of a
tag key is 128 characters. The minimum length is 1 character.
$sel:value:Tag'
, tag_value
- The optional part of a key-value pair that defines a tag. The maximum
length of a tag value is 256 characters. The minimum length is 0
characters. If you don't want an application to have a specific tag
value, don't specify a value for this parameter.