amazonka-devops-guru-2.0: Amazon DevOps Guru 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.DevOpsGuru.SearchOrganizationInsights

Description

Returns a list of insights in your organization. You can specify which insights are returned by their start time, one or more statuses (ONGOING, CLOSED, and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE or PROACTIVE).

Use the Filters parameter to specify status and severity search parameters. Use the Type parameter to specify REACTIVE or PROACTIVE in your search.

This operation returns paginated results.

Synopsis

Creating a Request

data SearchOrganizationInsights Source #

See: newSearchOrganizationInsights smart constructor.

Constructors

SearchOrganizationInsights' 

Fields

Instances

Instances details
ToJSON SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

ToHeaders SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

ToPath SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

ToQuery SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

AWSPager SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

AWSRequest SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Generic SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Associated Types

type Rep SearchOrganizationInsights :: Type -> Type #

Read SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Show SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

NFData SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Eq SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Hashable SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

type AWSResponse SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

type Rep SearchOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

type Rep SearchOrganizationInsights = D1 ('MetaData "SearchOrganizationInsights" "Amazonka.DevOpsGuru.SearchOrganizationInsights" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "SearchOrganizationInsights'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SearchOrganizationInsightsFilters)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: (S1 ('MetaSel ('Just "startTimeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StartTimeRange) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InsightType)))))

newSearchOrganizationInsights Source #

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

SearchOrganizationInsights, searchOrganizationInsights_filters - A SearchOrganizationInsightsFilters object that is used to set the severity and status filters on your insight search.

$sel:maxResults:SearchOrganizationInsights', searchOrganizationInsights_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.

SearchOrganizationInsights, searchOrganizationInsights_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:accountIds:SearchOrganizationInsights', searchOrganizationInsights_accountIds - The ID of the Amazon Web Services account.

SearchOrganizationInsights, searchOrganizationInsights_startTimeRange - Undocumented member.

SearchOrganizationInsights, searchOrganizationInsights_type - The type of insights you are searching for (REACTIVE or PROACTIVE).

Request Lenses

searchOrganizationInsights_filters :: Lens' SearchOrganizationInsights (Maybe SearchOrganizationInsightsFilters) Source #

A SearchOrganizationInsightsFilters object that is used to set the severity and status filters on your insight search.

searchOrganizationInsights_maxResults :: Lens' SearchOrganizationInsights (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.

searchOrganizationInsights_nextToken :: Lens' SearchOrganizationInsights (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.

searchOrganizationInsights_type :: Lens' SearchOrganizationInsights InsightType Source #

The type of insights you are searching for (REACTIVE or PROACTIVE).

Destructuring the Response

data SearchOrganizationInsightsResponse Source #

Constructors

SearchOrganizationInsightsResponse' 

Fields

Instances

Instances details
Generic SearchOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Associated Types

type Rep SearchOrganizationInsightsResponse :: Type -> Type #

Read SearchOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Show SearchOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

NFData SearchOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

Eq SearchOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

type Rep SearchOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.SearchOrganizationInsights

type Rep SearchOrganizationInsightsResponse = D1 ('MetaData "SearchOrganizationInsightsResponse" "Amazonka.DevOpsGuru.SearchOrganizationInsights" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "SearchOrganizationInsightsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "proactiveInsights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProactiveInsightSummary]))) :*: (S1 ('MetaSel ('Just "reactiveInsights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReactiveInsightSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchOrganizationInsightsResponse Source #

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

SearchOrganizationInsights, searchOrganizationInsightsResponse_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:proactiveInsights:SearchOrganizationInsightsResponse', searchOrganizationInsightsResponse_proactiveInsights - An integer that specifies the number of open proactive insights in your Amazon Web Services account.

$sel:reactiveInsights:SearchOrganizationInsightsResponse', searchOrganizationInsightsResponse_reactiveInsights - An integer that specifies the number of open reactive insights in your Amazon Web Services account.

$sel:httpStatus:SearchOrganizationInsightsResponse', searchOrganizationInsightsResponse_httpStatus - The response's http status code.

Response Lenses

searchOrganizationInsightsResponse_nextToken :: Lens' SearchOrganizationInsightsResponse (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.

searchOrganizationInsightsResponse_proactiveInsights :: Lens' SearchOrganizationInsightsResponse (Maybe [ProactiveInsightSummary]) Source #

An integer that specifies the number of open proactive insights in your Amazon Web Services account.

searchOrganizationInsightsResponse_reactiveInsights :: Lens' SearchOrganizationInsightsResponse (Maybe [ReactiveInsightSummary]) Source #

An integer that specifies the number of open reactive insights in your Amazon Web Services account.