libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.ListAnomaliesForInsight

Description

Returns a list of the anomalies that belong to an insight that you specify using its ID.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAnomaliesForInsight Source #

See: newListAnomaliesForInsight smart constructor.

Constructors

ListAnomaliesForInsight' 

Fields

  • startTimeRange :: Maybe StartTimeRange

    A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • insightId :: Text

    The ID of the insight. The returned anomalies belong to this insight.

Instances

Instances details
Eq ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Read ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Show ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Generic ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Associated Types

type Rep ListAnomaliesForInsight :: Type -> Type #

NFData ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Methods

rnf :: ListAnomaliesForInsight -> () #

Hashable ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

ToJSON ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

AWSPager ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

AWSRequest ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

ToHeaders ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

ToPath ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

ToQuery ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

type Rep ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

type Rep ListAnomaliesForInsight = D1 ('MetaData "ListAnomaliesForInsight" "Amazonka.DevOpsGuru.ListAnomaliesForInsight" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "ListAnomaliesForInsight'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "startTimeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StartTimeRange)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "insightId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListAnomaliesForInsight Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

newListAnomaliesForInsight Source #

Create a value of ListAnomaliesForInsight 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:startTimeRange:ListAnomaliesForInsight', listAnomaliesForInsight_startTimeRange - A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.

$sel:nextToken:ListAnomaliesForInsight', listAnomaliesForInsight_nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:maxResults:ListAnomaliesForInsight', listAnomaliesForInsight_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

$sel:insightId:ListAnomaliesForInsight', listAnomaliesForInsight_insightId - The ID of the insight. The returned anomalies belong to this insight.

Request Lenses

listAnomaliesForInsight_startTimeRange :: Lens' ListAnomaliesForInsight (Maybe StartTimeRange) Source #

A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.

listAnomaliesForInsight_nextToken :: Lens' ListAnomaliesForInsight (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

listAnomaliesForInsight_maxResults :: Lens' ListAnomaliesForInsight (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

listAnomaliesForInsight_insightId :: Lens' ListAnomaliesForInsight Text Source #

The ID of the insight. The returned anomalies belong to this insight.

Destructuring the Response

data ListAnomaliesForInsightResponse Source #

See: newListAnomaliesForInsightResponse smart constructor.

Constructors

ListAnomaliesForInsightResponse' 

Fields

Instances

Instances details
Eq ListAnomaliesForInsightResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Read ListAnomaliesForInsightResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Show ListAnomaliesForInsightResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Generic ListAnomaliesForInsightResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

Associated Types

type Rep ListAnomaliesForInsightResponse :: Type -> Type #

NFData ListAnomaliesForInsightResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

type Rep ListAnomaliesForInsightResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListAnomaliesForInsight

type Rep ListAnomaliesForInsightResponse = D1 ('MetaData "ListAnomaliesForInsightResponse" "Amazonka.DevOpsGuru.ListAnomaliesForInsight" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "ListAnomaliesForInsightResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "proactiveAnomalies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProactiveAnomalySummary])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reactiveAnomalies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReactiveAnomalySummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAnomaliesForInsightResponse Source #

Create a value of ListAnomaliesForInsightResponse 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:proactiveAnomalies:ListAnomaliesForInsightResponse', listAnomaliesForInsightResponse_proactiveAnomalies - An array of ProactiveAnomalySummary objects that represent the requested anomalies

$sel:nextToken:ListAnomaliesForInsight', listAnomaliesForInsightResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:reactiveAnomalies:ListAnomaliesForInsightResponse', listAnomaliesForInsightResponse_reactiveAnomalies - An array of ReactiveAnomalySummary objects that represent the requested anomalies

$sel:httpStatus:ListAnomaliesForInsightResponse', listAnomaliesForInsightResponse_httpStatus - The response's http status code.

Response Lenses

listAnomaliesForInsightResponse_proactiveAnomalies :: Lens' ListAnomaliesForInsightResponse (Maybe [ProactiveAnomalySummary]) Source #

An array of ProactiveAnomalySummary objects that represent the requested anomalies

listAnomaliesForInsightResponse_nextToken :: Lens' ListAnomaliesForInsightResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

listAnomaliesForInsightResponse_reactiveAnomalies :: Lens' ListAnomaliesForInsightResponse (Maybe [ReactiveAnomalySummary]) Source #

An array of ReactiveAnomalySummary objects that represent the requested anomalies