amazonka-xray-2.0: Amazon X-Ray 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.XRay.GetInsightSummaries

Description

Retrieves the summaries of all insights in the specified group matching the provided filter values.

Synopsis

Creating a Request

data GetInsightSummaries Source #

See: newGetInsightSummaries smart constructor.

Constructors

GetInsightSummaries' 

Fields

Instances

Instances details
ToJSON GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

ToHeaders GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

ToPath GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

ToQuery GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

AWSRequest GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Associated Types

type AWSResponse GetInsightSummaries #

Generic GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Associated Types

type Rep GetInsightSummaries :: Type -> Type #

Read GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Show GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

NFData GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Methods

rnf :: GetInsightSummaries -> () #

Eq GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Hashable GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

type AWSResponse GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

type Rep GetInsightSummaries Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

newGetInsightSummaries Source #

Create a value of GetInsightSummaries 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:

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

GetInsightSummaries, getInsightSummaries_groupName - The name of the group. Required if the GroupARN isn't provided.

$sel:maxResults:GetInsightSummaries', getInsightSummaries_maxResults - The maximum number of results to display.

GetInsightSummaries, getInsightSummaries_nextToken - Pagination token.

$sel:states:GetInsightSummaries', getInsightSummaries_states - The list of insight states.

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

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

Request Lenses

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.

Destructuring the Response

data GetInsightSummariesResponse Source #

See: newGetInsightSummariesResponse smart constructor.

Constructors

GetInsightSummariesResponse' 

Fields

  • insightSummaries :: Maybe [InsightSummary]

    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.

  • nextToken :: Maybe Text

    Pagination token.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetInsightSummariesResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Associated Types

type Rep GetInsightSummariesResponse :: Type -> Type #

Read GetInsightSummariesResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Show GetInsightSummariesResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

NFData GetInsightSummariesResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

Eq GetInsightSummariesResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

type Rep GetInsightSummariesResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightSummaries

type Rep GetInsightSummariesResponse = D1 ('MetaData "GetInsightSummariesResponse" "Amazonka.XRay.GetInsightSummaries" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "GetInsightSummariesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetInsightSummariesResponse Source #

Create a value of GetInsightSummariesResponse 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:insightSummaries:GetInsightSummariesResponse', getInsightSummariesResponse_insightSummaries - 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.

GetInsightSummaries, getInsightSummariesResponse_nextToken - Pagination token.

GetInsightSummariesResponse, getInsightSummariesResponse_httpStatus - The response's http status code.

Response Lenses

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.