libZSservicesZSamazonka-xrayZSamazonka-xray
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.XRay.Lens

Description

 
Synopsis

Operations

PutEncryptionConfig

putEncryptionConfig_keyId :: Lens' PutEncryptionConfig (Maybe Text) Source #

An Amazon Web Services KMS key in one of the following formats:

  • Alias - The name of the key. For example, alias/MyKey.
  • Key ID - The KMS key ID of the key. For example, ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Amazon Web Services X-Ray does not support asymmetric KMS keys.
  • ARN - The full Amazon Resource Name of the key ID or alias. For example, arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Use this format to specify a key in a different account.

Omit this key if you set Type to NONE.

putEncryptionConfig_type :: Lens' PutEncryptionConfig EncryptionType Source #

The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.

GetServiceGraph

getServiceGraph_groupARN :: Lens' GetServiceGraph (Maybe Text) Source #

The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.

getServiceGraph_groupName :: Lens' GetServiceGraph (Maybe Text) Source #

The name of a group based on which you want to generate a graph.

getServiceGraph_startTime :: Lens' GetServiceGraph UTCTime Source #

The start of the time frame for which to generate a graph.

getServiceGraph_endTime :: Lens' GetServiceGraph UTCTime Source #

The end of the timeframe for which to generate a graph.

getServiceGraphResponse_containsOldGroupVersions :: Lens' GetServiceGraphResponse (Maybe Bool) Source #

A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.

getServiceGraphResponse_startTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #

The start of the time frame for which the graph was generated.

getServiceGraphResponse_endTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #

The end of the time frame for which the graph was generated.

getServiceGraphResponse_services :: Lens' GetServiceGraphResponse (Maybe [ServiceInfo]) Source #

The services that have processed a traced request during the specified time frame.

GetSamplingTargets

getSamplingTargets_samplingStatisticsDocuments :: Lens' GetSamplingTargets [SamplingStatisticsDocument] Source #

Information about rules that the service is using to sample requests.

getSamplingTargetsResponse_lastRuleModification :: Lens' GetSamplingTargetsResponse (Maybe UTCTime) Source #

The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.

ListTagsForResource

listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text) Source #

A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results as the value of this parameter to get the next page of results.

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text) Source #

A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results to get the next page of results.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.

GetTraceSummaries

getTraceSummaries_filterExpression :: Lens' GetTraceSummaries (Maybe Text) Source #

Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.

getTraceSummaries_nextToken :: Lens' GetTraceSummaries (Maybe Text) Source #

Specify the pagination token returned by a previous request to retrieve the next page of results.

getTraceSummaries_timeRangeType :: Lens' GetTraceSummaries (Maybe TimeRangeType) Source #

A parameter to indicate whether to query trace summaries by TraceId or Event time.

getTraceSummaries_samplingStrategy :: Lens' GetTraceSummaries (Maybe SamplingStrategy) Source #

A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.

getTraceSummaries_sampling :: Lens' GetTraceSummaries (Maybe Bool) Source #

Set to true to get summaries for only a subset of available traces.

getTraceSummaries_startTime :: Lens' GetTraceSummaries UTCTime Source #

The start of the time frame for which to retrieve traces.

getTraceSummaries_endTime :: Lens' GetTraceSummaries UTCTime Source #

The end of the time frame for which to retrieve traces.

getTraceSummariesResponse_tracesProcessedCount :: Lens' GetTraceSummariesResponse (Maybe Integer) Source #

The total number of traces processed, including traces that did not match the specified filter expression.

getTraceSummariesResponse_nextToken :: Lens' GetTraceSummariesResponse (Maybe Text) Source #

If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most recent results, closest to the end of the time frame.

getTraceSummariesResponse_traceSummaries :: Lens' GetTraceSummariesResponse (Maybe [TraceSummary]) Source #

Trace IDs and annotations for traces that were found in the specified time frame.

PutTraceSegments

putTraceSegments_traceSegmentDocuments :: Lens' PutTraceSegments [Text] Source #

A string containing a JSON document defining one or more segments or subsegments.

BatchGetTraces

batchGetTraces_traceIds :: Lens' BatchGetTraces [Text] Source #

Specify the trace IDs of requests for which to retrieve segments.

batchGetTracesResponse_traces :: Lens' BatchGetTracesResponse (Maybe [Trace]) Source #

Full traces for the specified requests.

batchGetTracesResponse_unprocessedTraceIds :: Lens' BatchGetTracesResponse (Maybe [Text]) Source #

Trace IDs of requests that haven't been processed.

GetInsight

getInsight_insightId :: Lens' GetInsight Text Source #

The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

getInsightResponse_insight :: Lens' GetInsightResponse (Maybe Insight) Source #

The summary information of an insight.

GetTimeSeriesServiceStatistics

getTimeSeriesServiceStatistics_entitySelectorExpression :: Lens' GetTimeSeriesServiceStatistics (Maybe Text) Source #

A filter expression defining entities that will be aggregated for statistics. Supports ID, service, and edge functions. If no selector expression is specified, edge statistics are returned.

getTimeSeriesServiceStatistics_forecastStatistics :: Lens' GetTimeSeriesServiceStatistics (Maybe Bool) Source #

The forecasted high and low fault count values. Forecast enabled requests require the EntitySelectorExpression ID be provided.

getTimeSeriesServiceStatistics_groupARN :: Lens' GetTimeSeriesServiceStatistics (Maybe Text) Source #

The Amazon Resource Name (ARN) of the group for which to pull statistics from.

getTimeSeriesServiceStatistics_groupName :: Lens' GetTimeSeriesServiceStatistics (Maybe Text) Source #

The case-sensitive name of the group for which to pull statistics from.

getTimeSeriesServiceStatistics_startTime :: Lens' GetTimeSeriesServiceStatistics UTCTime Source #

The start of the time frame for which to aggregate statistics.

getTimeSeriesServiceStatistics_endTime :: Lens' GetTimeSeriesServiceStatistics UTCTime Source #

The end of the time frame for which to aggregate statistics.

getTimeSeriesServiceStatisticsResponse_containsOldGroupVersions :: Lens' GetTimeSeriesServiceStatisticsResponse (Maybe Bool) Source #

A flag indicating whether or not a group's filter expression has been consistent, or if a returned aggregation might show statistics from an older version of the group's filter expression.

GetEncryptionConfig

GetInsightImpactGraph

getInsightImpactGraph_nextToken :: Lens' GetInsightImpactGraph (Maybe Text) Source #

Specify the pagination token returned by a previous request to retrieve the next page of results.

getInsightImpactGraph_insightId :: Lens' GetInsightImpactGraph Text Source #

The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

getInsightImpactGraph_startTime :: Lens' GetInsightImpactGraph UTCTime Source #

The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.

getInsightImpactGraph_endTime :: Lens' GetInsightImpactGraph UTCTime Source #

The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.

getInsightImpactGraphResponse_serviceGraphStartTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #

The time, in Unix seconds, at which the service graph started.

getInsightImpactGraphResponse_serviceGraphEndTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #

The time, in Unix seconds, at which the service graph ended.

getInsightImpactGraphResponse_services :: Lens' GetInsightImpactGraphResponse (Maybe [InsightImpactGraphService]) Source #

The Amazon Web Services instrumented services related to the insight.

UpdateSamplingRule

DeleteSamplingRule

deleteSamplingRule_ruleName :: Lens' DeleteSamplingRule (Maybe Text) Source #

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

deleteSamplingRule_ruleARN :: Lens' DeleteSamplingRule (Maybe Text) Source #

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

GetInsightEvents

getInsightEvents_nextToken :: Lens' GetInsightEvents (Maybe Text) Source #

Specify the pagination token returned by a previous request to retrieve the next page of events.

getInsightEvents_maxResults :: Lens' GetInsightEvents (Maybe Natural) Source #

Used to retrieve at most the specified value of events.

getInsightEvents_insightId :: Lens' GetInsightEvents Text Source #

The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

getInsightEventsResponse_insightEvents :: Lens' GetInsightEventsResponse (Maybe [InsightEvent]) Source #

A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.

getInsightEventsResponse_nextToken :: Lens' GetInsightEventsResponse (Maybe Text) Source #

Use this token to retrieve the next page of insight events.

GetGroups

getGroupsResponse_groups :: Lens' GetGroupsResponse (Maybe [GroupSummary]) Source #

The collection of all active groups.

getGroupsResponse_httpStatus :: Lens' GetGroupsResponse Int Source #

The response's http status code.

GetInsightSummaries

getInsightSummaries_groupARN :: Lens' GetInsightSummaries (Maybe Text) Source #

The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.

getInsightSummaries_groupName :: Lens' GetInsightSummaries (Maybe Text) Source #

The name of the group. Required if the GroupARN isn't provided.

getInsightSummaries_maxResults :: Lens' GetInsightSummaries (Maybe Natural) Source #

The maximum number of results to display.

getInsightSummaries_startTime :: Lens' GetInsightSummaries UTCTime Source #

The beginning of the time frame in which the insights started. The start time can't be more than 30 days old.

getInsightSummaries_endTime :: Lens' GetInsightSummaries UTCTime Source #

The end of the time frame in which the insights ended. The end time can't be more than 30 days old.

getInsightSummariesResponse_insightSummaries :: Lens' GetInsightSummariesResponse (Maybe [InsightSummary]) Source #

The summary of each insight within the group matching the provided filters. The summary contains the InsightID, start and end time, the root cause service, the root cause and client impact statistics, the top anomalous services, and the status of the insight.

PutTelemetryRecords

GetSamplingRules

TagResource

tagResource_resourceARN :: Lens' TagResource Text Source #

The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

tagResource_tags :: Lens' TagResource [Tag] Source #

A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

  • Maximum number of user-applied tags per resource: 50
  • Maximum tag key length: 128 Unicode characters
  • Maximum tag value length: 256 Unicode characters
  • Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
  • Tag keys and values are case sensitive.
  • Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use. You cannot edit or delete system tags.

GetTraceGraph

getTraceGraph_traceIds :: Lens' GetTraceGraph [Text] Source #

Trace IDs of requests for which to generate a service graph.

getTraceGraphResponse_services :: Lens' GetTraceGraphResponse (Maybe [ServiceInfo]) Source #

The services that have processed one of the specified requests.

CreateGroup

createGroup_filterExpression :: Lens' CreateGroup (Maybe Text) Source #

The filter expression defining criteria by which to group traces.

createGroup_insightsConfiguration :: Lens' CreateGroup (Maybe InsightsConfiguration) Source #

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the new group or false to disable insights for the new group.
  • The NotifcationsEnabled boolean can be set to true to enable insights notifications for the new group. Notifications may only be enabled on a group with InsightsEnabled set to true.

createGroup_tags :: Lens' CreateGroup (Maybe [Tag]) Source #

A map that contains one or more tag keys and tag values to attach to an X-Ray group. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

  • Maximum number of user-applied tags per resource: 50
  • Maximum tag key length: 128 Unicode characters
  • Maximum tag value length: 256 Unicode characters
  • Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
  • Tag keys and values are case sensitive.
  • Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.

createGroup_groupName :: Lens' CreateGroup Text Source #

The case-sensitive name of the new group. Default is a reserved name and names must be unique.

createGroupResponse_group :: Lens' CreateGroupResponse (Maybe Group) Source #

The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the group.

UntagResource

untagResource_resourceARN :: Lens' UntagResource Text Source #

The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.

DeleteGroup

deleteGroup_groupARN :: Lens' DeleteGroup (Maybe Text) Source #

The ARN of the group that was generated on creation.

deleteGroup_groupName :: Lens' DeleteGroup (Maybe Text) Source #

The case-sensitive name of the group.

UpdateGroup

updateGroup_filterExpression :: Lens' UpdateGroup (Maybe Text) Source #

The updated filter expression defining criteria by which to group traces.

updateGroup_insightsConfiguration :: Lens' UpdateGroup (Maybe InsightsConfiguration) Source #

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
  • The NotifcationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.

updateGroup_groupARN :: Lens' UpdateGroup (Maybe Text) Source #

The ARN that was generated upon creation.

updateGroup_groupName :: Lens' UpdateGroup (Maybe Text) Source #

The case-sensitive name of the group.

updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group) Source #

The group that was updated. Contains the name of the group that was updated, the ARN of the group that was updated, the updated filter expression, and the updated insight configuration assigned to the group.

GetGroup

getGroup_groupARN :: Lens' GetGroup (Maybe Text) Source #

The ARN of the group that was generated on creation.

getGroup_groupName :: Lens' GetGroup (Maybe Text) Source #

The case-sensitive name of the group.

getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group) Source #

The group that was requested. Contains the name of the group, the ARN of the group, the filter expression, and the insight configuration assigned to the group.

getGroupResponse_httpStatus :: Lens' GetGroupResponse Int Source #

The response's http status code.

GetSamplingStatisticSummaries

CreateSamplingRule

createSamplingRule_tags :: Lens' CreateSamplingRule (Maybe [Tag]) Source #

A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The following restrictions apply to tags:

  • Maximum number of user-applied tags per resource: 50
  • Maximum tag key length: 128 Unicode characters
  • Maximum tag value length: 256 Unicode characters
  • Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
  • Tag keys and values are case sensitive.
  • Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.

Types

Alias

alias_names :: Lens' Alias (Maybe [Text]) Source #

A list of names for the alias, including the canonical name.

alias_name :: Lens' Alias (Maybe Text) Source #

The canonical name of the alias.

alias_type :: Lens' Alias (Maybe Text) Source #

The type of the alias.

AnnotationValue

AnomalousService

AvailabilityZoneDetail

availabilityZoneDetail_name :: Lens' AvailabilityZoneDetail (Maybe Text) Source #

The name of a corresponding Availability Zone.

BackendConnectionErrors

Edge

edge_startTime :: Lens' Edge (Maybe UTCTime) Source #

The start time of the first segment on the edge.

edge_aliases :: Lens' Edge (Maybe [Alias]) Source #

Aliases for the edge.

edge_responseTimeHistogram :: Lens' Edge (Maybe [HistogramEntry]) Source #

A histogram that maps the spread of client response times on an edge.

edge_referenceId :: Lens' Edge (Maybe Int) Source #

Identifier of the edge. Unique within a service map.

edge_endTime :: Lens' Edge (Maybe UTCTime) Source #

The end time of the last segment on the edge.

edge_summaryStatistics :: Lens' Edge (Maybe EdgeStatistics) Source #

Response statistics for segments on the edge.

EdgeStatistics

edgeStatistics_faultStatistics :: Lens' EdgeStatistics (Maybe FaultStatistics) Source #

Information about requests that failed with a 5xx Server Error status code.

edgeStatistics_okCount :: Lens' EdgeStatistics (Maybe Integer) Source #

The number of requests that completed with a 2xx Success status code.

edgeStatistics_totalResponseTime :: Lens' EdgeStatistics (Maybe Double) Source #

The aggregate response time of completed requests.

edgeStatistics_errorStatistics :: Lens' EdgeStatistics (Maybe ErrorStatistics) Source #

Information about requests that failed with a 4xx Client Error status code.

edgeStatistics_totalCount :: Lens' EdgeStatistics (Maybe Integer) Source #

The total number of completed requests.

EncryptionConfig

encryptionConfig_status :: Lens' EncryptionConfig (Maybe EncryptionStatus) Source #

The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of the new and old settings.

encryptionConfig_keyId :: Lens' EncryptionConfig (Maybe Text) Source #

The ID of the KMS key used for encryption, if applicable.

encryptionConfig_type :: Lens' EncryptionConfig (Maybe EncryptionType) Source #

The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for default encryption.

ErrorRootCause

errorRootCause_clientImpacting :: Lens' ErrorRootCause (Maybe Bool) Source #

A flag that denotes that the root cause impacts the trace client.

errorRootCause_services :: Lens' ErrorRootCause (Maybe [ErrorRootCauseService]) Source #

A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

ErrorRootCauseEntity

errorRootCauseEntity_remote :: Lens' ErrorRootCauseEntity (Maybe Bool) Source #

A flag that denotes a remote subsegment.

ErrorRootCauseService

errorRootCauseService_entityPath :: Lens' ErrorRootCauseService (Maybe [ErrorRootCauseEntity]) Source #

The path of root cause entities found on the service.

errorRootCauseService_accountId :: Lens' ErrorRootCauseService (Maybe Text) Source #

The account ID associated to the service.

errorRootCauseService_names :: Lens' ErrorRootCauseService (Maybe [Text]) Source #

A collection of associated service names.

errorRootCauseService_inferred :: Lens' ErrorRootCauseService (Maybe Bool) Source #

A Boolean value indicating if the service is inferred from the trace.

errorRootCauseService_type :: Lens' ErrorRootCauseService (Maybe Text) Source #

The type associated to the service.

ErrorStatistics

errorStatistics_otherCount :: Lens' ErrorStatistics (Maybe Integer) Source #

The number of requests that failed with untracked 4xx Client Error status codes.

errorStatistics_throttleCount :: Lens' ErrorStatistics (Maybe Integer) Source #

The number of requests that failed with a 419 throttling status code.

errorStatistics_totalCount :: Lens' ErrorStatistics (Maybe Integer) Source #

The total number of requests that failed with a 4xx Client Error status code.

FaultRootCause

faultRootCause_clientImpacting :: Lens' FaultRootCause (Maybe Bool) Source #

A flag that denotes that the root cause impacts the trace client.

faultRootCause_services :: Lens' FaultRootCause (Maybe [FaultRootCauseService]) Source #

A list of corresponding services. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

FaultRootCauseEntity

faultRootCauseEntity_remote :: Lens' FaultRootCauseEntity (Maybe Bool) Source #

A flag that denotes a remote subsegment.

FaultRootCauseService

faultRootCauseService_entityPath :: Lens' FaultRootCauseService (Maybe [FaultRootCauseEntity]) Source #

The path of root cause entities found on the service.

faultRootCauseService_accountId :: Lens' FaultRootCauseService (Maybe Text) Source #

The account ID associated to the service.

faultRootCauseService_names :: Lens' FaultRootCauseService (Maybe [Text]) Source #

A collection of associated service names.

faultRootCauseService_inferred :: Lens' FaultRootCauseService (Maybe Bool) Source #

A Boolean value indicating if the service is inferred from the trace.

faultRootCauseService_type :: Lens' FaultRootCauseService (Maybe Text) Source #

The type associated to the service.

FaultStatistics

faultStatistics_otherCount :: Lens' FaultStatistics (Maybe Integer) Source #

The number of requests that failed with untracked 5xx Server Error status codes.

faultStatistics_totalCount :: Lens' FaultStatistics (Maybe Integer) Source #

The total number of requests that failed with a 5xx Server Error status code.

ForecastStatistics

forecastStatistics_faultCountLow :: Lens' ForecastStatistics (Maybe Integer) Source #

The lower limit of fault counts for a service.

forecastStatistics_faultCountHigh :: Lens' ForecastStatistics (Maybe Integer) Source #

The upper limit of fault counts for a service.

Group

group_filterExpression :: Lens' Group (Maybe Text) Source #

The filter expression defining the parameters to include traces.

group_insightsConfiguration :: Lens' Group (Maybe InsightsConfiguration) Source #

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
  • The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.

group_groupARN :: Lens' Group (Maybe Text) Source #

The Amazon Resource Name (ARN) of the group generated based on the GroupName.

group_groupName :: Lens' Group (Maybe Text) Source #

The unique case-sensitive name of the group.

GroupSummary

groupSummary_filterExpression :: Lens' GroupSummary (Maybe Text) Source #

The filter expression defining the parameters to include traces.

groupSummary_insightsConfiguration :: Lens' GroupSummary (Maybe InsightsConfiguration) Source #

The structure containing configurations related to insights.

  • The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
  • The NotificationsEnabled boolean can be set to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

groupSummary_groupARN :: Lens' GroupSummary (Maybe Text) Source #

The ARN of the group generated based on the GroupName.

groupSummary_groupName :: Lens' GroupSummary (Maybe Text) Source #

The unique case-sensitive name of the group.

HistogramEntry

histogramEntry_count :: Lens' HistogramEntry (Maybe Int) Source #

The prevalence of the entry.

Http

http_httpMethod :: Lens' Http (Maybe Text) Source #

The request method.

http_httpStatus :: Lens' Http (Maybe Int) Source #

The response status.

http_clientIp :: Lens' Http (Maybe Text) Source #

The IP address of the requestor.

http_userAgent :: Lens' Http (Maybe Text) Source #

The request's user agent string.

http_httpURL :: Lens' Http (Maybe Text) Source #

The request URL.

Insight

insight_summary :: Lens' Insight (Maybe Text) Source #

A brief description of the insight.

insight_state :: Lens' Insight (Maybe InsightState) Source #

The current state of the insight.

insight_startTime :: Lens' Insight (Maybe UTCTime) Source #

The time, in Unix seconds, at which the insight began.

insight_insightId :: Lens' Insight (Maybe Text) Source #

The insights unique identifier.

insight_categories :: Lens' Insight (Maybe [InsightCategory]) Source #

The categories that label and describe the type of insight.

insight_rootCauseServiceRequestImpactStatistics :: Lens' Insight (Maybe RequestImpactStatistics) Source #

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

insight_topAnomalousServices :: Lens' Insight (Maybe [AnomalousService]) Source #

The service within the insight that is most impacted by the incident.

insight_clientRequestImpactStatistics :: Lens' Insight (Maybe RequestImpactStatistics) Source #

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

insight_endTime :: Lens' Insight (Maybe UTCTime) Source #

The time, in Unix seconds, at which the insight ended.

insight_groupARN :: Lens' Insight (Maybe Text) Source #

The Amazon Resource Name (ARN) of the group that the insight belongs to.

insight_groupName :: Lens' Insight (Maybe Text) Source #

The name of the group that the insight belongs to.

InsightEvent

insightEvent_summary :: Lens' InsightEvent (Maybe Text) Source #

A brief description of the event.

insightEvent_eventTime :: Lens' InsightEvent (Maybe UTCTime) Source #

The time, in Unix seconds, at which the event was recorded.

insightEvent_rootCauseServiceRequestImpactStatistics :: Lens' InsightEvent (Maybe RequestImpactStatistics) Source #

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

insightEvent_topAnomalousServices :: Lens' InsightEvent (Maybe [AnomalousService]) Source #

The service during the event that is most impacted by the incident.

insightEvent_clientRequestImpactStatistics :: Lens' InsightEvent (Maybe RequestImpactStatistics) Source #

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

InsightImpactGraphEdge

insightImpactGraphEdge_referenceId :: Lens' InsightImpactGraphEdge (Maybe Int) Source #

Identifier of the edge. Unique within a service map.

InsightImpactGraphService

insightImpactGraphService_referenceId :: Lens' InsightImpactGraphService (Maybe Int) Source #

Identifier for the service. Unique within the service map.

insightImpactGraphService_accountId :: Lens' InsightImpactGraphService (Maybe Text) Source #

Identifier of the Amazon Web Services account in which the service runs.

insightImpactGraphService_names :: Lens' InsightImpactGraphService (Maybe [Text]) Source #

A list of names for the service, including the canonical name.

insightImpactGraphService_type :: Lens' InsightImpactGraphService (Maybe Text) Source #

Identifier for the service. Unique within the service map.

  • Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used.
  • Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table.
  • Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table.
  • remote - A downstream service of indeterminate type.

InsightSummary

insightSummary_summary :: Lens' InsightSummary (Maybe Text) Source #

A brief description of the insight.

insightSummary_state :: Lens' InsightSummary (Maybe InsightState) Source #

The current state of the insight.

insightSummary_startTime :: Lens' InsightSummary (Maybe UTCTime) Source #

The time, in Unix seconds, at which the insight began.

insightSummary_insightId :: Lens' InsightSummary (Maybe Text) Source #

The insights unique identifier.

insightSummary_categories :: Lens' InsightSummary (Maybe [InsightCategory]) Source #

Categories The categories that label and describe the type of insight.

insightSummary_rootCauseServiceRequestImpactStatistics :: Lens' InsightSummary (Maybe RequestImpactStatistics) Source #

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

insightSummary_topAnomalousServices :: Lens' InsightSummary (Maybe [AnomalousService]) Source #

The service within the insight that is most impacted by the incident.

insightSummary_clientRequestImpactStatistics :: Lens' InsightSummary (Maybe RequestImpactStatistics) Source #

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

insightSummary_endTime :: Lens' InsightSummary (Maybe UTCTime) Source #

The time, in Unix seconds, at which the insight ended.

insightSummary_groupARN :: Lens' InsightSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the group that the insight belongs to.

insightSummary_groupName :: Lens' InsightSummary (Maybe Text) Source #

The name of the group that the insight belongs to.

insightSummary_lastUpdateTime :: Lens' InsightSummary (Maybe UTCTime) Source #

The time, in Unix seconds, that the insight was last updated.

InsightsConfiguration

insightsConfiguration_notificationsEnabled :: Lens' InsightsConfiguration (Maybe Bool) Source #

Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

insightsConfiguration_insightsEnabled :: Lens' InsightsConfiguration (Maybe Bool) Source #

Set the InsightsEnabled value to true to enable insights or false to disable insights.

InstanceIdDetail

instanceIdDetail_id :: Lens' InstanceIdDetail (Maybe Text) Source #

The ID of a corresponding EC2 instance.

RequestImpactStatistics

requestImpactStatistics_faultCount :: Lens' RequestImpactStatistics (Maybe Integer) Source #

The number of requests that have resulted in a fault,

requestImpactStatistics_totalCount :: Lens' RequestImpactStatistics (Maybe Integer) Source #

The total number of requests to the service.

ResourceARNDetail

resourceARNDetail_arn :: Lens' ResourceARNDetail (Maybe Text) Source #

The ARN of a corresponding resource.

ResponseTimeRootCause

responseTimeRootCause_clientImpacting :: Lens' ResponseTimeRootCause (Maybe Bool) Source #

A flag that denotes that the root cause impacts the trace client.

responseTimeRootCause_services :: Lens' ResponseTimeRootCause (Maybe [ResponseTimeRootCauseService]) Source #

A list of corresponding services. A service identifies a segment and contains a name, account ID, type, and inferred flag.

ResponseTimeRootCauseEntity

ResponseTimeRootCauseService

responseTimeRootCauseService_inferred :: Lens' ResponseTimeRootCauseService (Maybe Bool) Source #

A Boolean value indicating if the service is inferred from the trace.

RootCauseException

SamplingRule

samplingRule_ruleName :: Lens' SamplingRule (Maybe Text) Source #

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

samplingRule_attributes :: Lens' SamplingRule (Maybe (HashMap Text Text)) Source #

Matches attributes derived from the request.

samplingRule_ruleARN :: Lens' SamplingRule (Maybe Text) Source #

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

samplingRule_resourceARN :: Lens' SamplingRule Text Source #

Matches the ARN of the Amazon Web Services resource on which the service runs.

samplingRule_priority :: Lens' SamplingRule Natural Source #

The priority of the sampling rule.

samplingRule_fixedRate :: Lens' SamplingRule Double Source #

The percentage of matching requests to instrument, after the reservoir is exhausted.

samplingRule_reservoirSize :: Lens' SamplingRule Natural Source #

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

samplingRule_serviceName :: Lens' SamplingRule Text Source #

Matches the name that the service uses to identify itself in segments.

samplingRule_serviceType :: Lens' SamplingRule Text Source #

Matches the origin that the service uses to identify its type in segments.

samplingRule_host :: Lens' SamplingRule Text Source #

Matches the hostname from a request URL.

samplingRule_hTTPMethod :: Lens' SamplingRule Text Source #

Matches the HTTP method of a request.

samplingRule_uRLPath :: Lens' SamplingRule Text Source #

Matches the path from a request URL.

samplingRule_version :: Lens' SamplingRule Natural Source #

The version of the sampling rule format (1).

SamplingRuleRecord

SamplingRuleUpdate

samplingRuleUpdate_hTTPMethod :: Lens' SamplingRuleUpdate (Maybe Text) Source #

Matches the HTTP method of a request.

samplingRuleUpdate_priority :: Lens' SamplingRuleUpdate (Maybe Int) Source #

The priority of the sampling rule.

samplingRuleUpdate_ruleName :: Lens' SamplingRuleUpdate (Maybe Text) Source #

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

samplingRuleUpdate_reservoirSize :: Lens' SamplingRuleUpdate (Maybe Int) Source #

A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

samplingRuleUpdate_fixedRate :: Lens' SamplingRuleUpdate (Maybe Double) Source #

The percentage of matching requests to instrument, after the reservoir is exhausted.

samplingRuleUpdate_resourceARN :: Lens' SamplingRuleUpdate (Maybe Text) Source #

Matches the ARN of the Amazon Web Services resource on which the service runs.

samplingRuleUpdate_attributes :: Lens' SamplingRuleUpdate (Maybe (HashMap Text Text)) Source #

Matches attributes derived from the request.

samplingRuleUpdate_serviceName :: Lens' SamplingRuleUpdate (Maybe Text) Source #

Matches the name that the service uses to identify itself in segments.

samplingRuleUpdate_serviceType :: Lens' SamplingRuleUpdate (Maybe Text) Source #

Matches the origin that the service uses to identify its type in segments.

samplingRuleUpdate_host :: Lens' SamplingRuleUpdate (Maybe Text) Source #

Matches the hostname from a request URL.

samplingRuleUpdate_ruleARN :: Lens' SamplingRuleUpdate (Maybe Text) Source #

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

samplingRuleUpdate_uRLPath :: Lens' SamplingRuleUpdate (Maybe Text) Source #

Matches the path from a request URL.

SamplingStatisticSummary

samplingStatisticSummary_requestCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #

The number of requests that matched the rule.

samplingStatisticSummary_borrowCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #

The number of requests recorded with borrowed reservoir quota.

SamplingStatisticsDocument

samplingStatisticsDocument_borrowCount :: Lens' SamplingStatisticsDocument (Maybe Natural) Source #

The number of requests recorded with borrowed reservoir quota.

samplingStatisticsDocument_clientID :: Lens' SamplingStatisticsDocument Text Source #

A unique identifier for the service in hexadecimal.

SamplingStrategy

SamplingTargetDocument

samplingTargetDocument_reservoirQuota :: Lens' SamplingTargetDocument (Maybe Int) Source #

The number of requests per second that X-Ray allocated for this service.

samplingTargetDocument_fixedRate :: Lens' SamplingTargetDocument (Maybe Double) Source #

The percentage of matching requests to instrument, after the reservoir is exhausted.

samplingTargetDocument_interval :: Lens' SamplingTargetDocument (Maybe Int) Source #

The number of seconds for the service to wait before getting sampling targets again.

Segment

segment_document :: Lens' Segment (Maybe Text) Source #

The segment document.

segment_id :: Lens' Segment (Maybe Text) Source #

The segment's ID.

ServiceId

ServiceInfo

serviceInfo_startTime :: Lens' ServiceInfo (Maybe UTCTime) Source #

The start time of the first segment that the service generated.

serviceInfo_root :: Lens' ServiceInfo (Maybe Bool) Source #

Indicates that the service was the first service to process a request.

serviceInfo_responseTimeHistogram :: Lens' ServiceInfo (Maybe [HistogramEntry]) Source #

A histogram that maps the spread of service response times.

serviceInfo_durationHistogram :: Lens' ServiceInfo (Maybe [HistogramEntry]) Source #

A histogram that maps the spread of service durations.

serviceInfo_referenceId :: Lens' ServiceInfo (Maybe Int) Source #

Identifier for the service. Unique within the service map.

serviceInfo_accountId :: Lens' ServiceInfo (Maybe Text) Source #

Identifier of the Amazon Web Services account in which the service runs.

serviceInfo_names :: Lens' ServiceInfo (Maybe [Text]) Source #

A list of names for the service, including the canonical name.

serviceInfo_name :: Lens' ServiceInfo (Maybe Text) Source #

The canonical name of the service.

serviceInfo_endTime :: Lens' ServiceInfo (Maybe UTCTime) Source #

The end time of the last segment that the service generated.

serviceInfo_type :: Lens' ServiceInfo (Maybe Text) Source #

The type of service.

  • Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used.
  • Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table.
  • client - Represents the clients that sent requests to a root service.
  • remote - A downstream service of indeterminate type.

serviceInfo_edges :: Lens' ServiceInfo (Maybe [Edge]) Source #

Connections to downstream services.

ServiceStatistics

serviceStatistics_faultStatistics :: Lens' ServiceStatistics (Maybe FaultStatistics) Source #

Information about requests that failed with a 5xx Server Error status code.

serviceStatistics_okCount :: Lens' ServiceStatistics (Maybe Integer) Source #

The number of requests that completed with a 2xx Success status code.

serviceStatistics_totalResponseTime :: Lens' ServiceStatistics (Maybe Double) Source #

The aggregate response time of completed requests.

serviceStatistics_errorStatistics :: Lens' ServiceStatistics (Maybe ErrorStatistics) Source #

Information about requests that failed with a 4xx Client Error status code.

serviceStatistics_totalCount :: Lens' ServiceStatistics (Maybe Integer) Source #

The total number of completed requests.

Tag

tag_key :: Lens' Tag Text Source #

A tag key, such as Stage or Name. A tag key cannot be empty. The key can be a maximum of 128 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

tag_value :: Lens' Tag Text Source #

An optional tag value, such as Production or test-only. The value can be a maximum of 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

TelemetryRecord

TimeSeriesServiceStatistics

timeSeriesServiceStatistics_timestamp :: Lens' TimeSeriesServiceStatistics (Maybe UTCTime) Source #

Timestamp of the window for which statistics are aggregated.

Trace

trace_limitExceeded :: Lens' Trace (Maybe Bool) Source #

LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For more information about quotas, see Amazon Web Services X-Ray endpoints and quotas.

trace_id :: Lens' Trace (Maybe Text) Source #

The unique identifier for the request that generated the trace's segments and subsegments.

trace_segments :: Lens' Trace (Maybe [Segment]) Source #

Segment documents for the segments and subsegments that comprise the trace.

trace_duration :: Lens' Trace (Maybe Double) Source #

The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.

TraceSummary

traceSummary_annotations :: Lens' TraceSummary (Maybe (HashMap Text [ValueWithServiceIds])) Source #

Annotations from the trace's segment documents.

traceSummary_hasThrottle :: Lens' TraceSummary (Maybe Bool) Source #

One or more of the segment documents has a 429 throttling error.

traceSummary_users :: Lens' TraceSummary (Maybe [TraceUser]) Source #

Users from the trace's segment documents.

traceSummary_hasFault :: Lens' TraceSummary (Maybe Bool) Source #

The root segment document has a 500 series error.

traceSummary_serviceIds :: Lens' TraceSummary (Maybe [ServiceId]) Source #

Service IDs from the trace's segment documents.

traceSummary_matchedEventTime :: Lens' TraceSummary (Maybe UTCTime) Source #

The matched time stamp of a defined event.

traceSummary_isPartial :: Lens' TraceSummary (Maybe Bool) Source #

One or more of the segment documents is in progress.

traceSummary_errorRootCauses :: Lens' TraceSummary (Maybe [ErrorRootCause]) Source #

A collection of ErrorRootCause structures corresponding to the trace segments.

traceSummary_resourceARNs :: Lens' TraceSummary (Maybe [ResourceARNDetail]) Source #

A list of resource ARNs for any resource corresponding to the trace segments.

traceSummary_availabilityZones :: Lens' TraceSummary (Maybe [AvailabilityZoneDetail]) Source #

A list of Availability Zones for any zone corresponding to the trace segments.

traceSummary_instanceIds :: Lens' TraceSummary (Maybe [InstanceIdDetail]) Source #

A list of EC2 instance IDs for any instance corresponding to the trace segments.

traceSummary_responseTimeRootCauses :: Lens' TraceSummary (Maybe [ResponseTimeRootCause]) Source #

A collection of ResponseTimeRootCause structures corresponding to the trace segments.

traceSummary_hasError :: Lens' TraceSummary (Maybe Bool) Source #

The root segment document has a 400 series error.

traceSummary_id :: Lens' TraceSummary (Maybe Text) Source #

The unique identifier for the request that generated the trace's segments and subsegments.

traceSummary_http :: Lens' TraceSummary (Maybe Http) Source #

Information about the HTTP request served by the trace.

traceSummary_revision :: Lens' TraceSummary (Maybe Int) Source #

The revision number of a trace.

traceSummary_duration :: Lens' TraceSummary (Maybe Double) Source #

The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.

traceSummary_faultRootCauses :: Lens' TraceSummary (Maybe [FaultRootCause]) Source #

A collection of FaultRootCause structures corresponding to the trace segments.

traceSummary_responseTime :: Lens' TraceSummary (Maybe Double) Source #

The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes.

TraceUser

traceUser_serviceIds :: Lens' TraceUser (Maybe [ServiceId]) Source #

Services that the user's request hit.

UnprocessedStatistics

UnprocessedTraceSegment

unprocessedTraceSegment_errorCode :: Lens' UnprocessedTraceSegment (Maybe Text) Source #

The error that caused processing to fail.

ValueWithServiceIds

valueWithServiceIds_serviceIds :: Lens' ValueWithServiceIds (Maybe [ServiceId]) Source #

Services to which the annotation applies.