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.ListOrganizationInsights

Description

Returns a list of insights associated with the account or OU Id.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOrganizationInsights Source #

See: newListOrganizationInsights smart constructor.

Constructors

ListOrganizationInsights' 

Fields

Instances

Instances details
ToJSON ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

ToHeaders ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

ToPath ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

ToQuery ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

AWSPager ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

AWSRequest ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Generic ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Associated Types

type Rep ListOrganizationInsights :: Type -> Type #

Read ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Show ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

NFData ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Eq ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Hashable ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

type AWSResponse ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

type Rep ListOrganizationInsights Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

type Rep ListOrganizationInsights = D1 ('MetaData "ListOrganizationInsights" "Amazonka.DevOpsGuru.ListOrganizationInsights" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "ListOrganizationInsights'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "organizationalUnitIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "statusFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListInsightsStatusFilter)))))

newListOrganizationInsights Source #

Create a value of ListOrganizationInsights 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:accountIds:ListOrganizationInsights', listOrganizationInsights_accountIds - The ID of the Amazon Web Services account.

$sel:maxResults:ListOrganizationInsights', listOrganizationInsights_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.

ListOrganizationInsights, listOrganizationInsights_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:organizationalUnitIds:ListOrganizationInsights', listOrganizationInsights_organizationalUnitIds - The ID of the organizational unit.

$sel:statusFilter:ListOrganizationInsights', listOrganizationInsights_statusFilter - Undocumented member.

Request Lenses

listOrganizationInsights_accountIds :: Lens' ListOrganizationInsights (Maybe [Text]) Source #

The ID of the Amazon Web Services account.

listOrganizationInsights_maxResults :: Lens' ListOrganizationInsights (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.

listOrganizationInsights_nextToken :: Lens' ListOrganizationInsights (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.

Destructuring the Response

data ListOrganizationInsightsResponse Source #

See: newListOrganizationInsightsResponse smart constructor.

Constructors

ListOrganizationInsightsResponse' 

Fields

Instances

Instances details
Generic ListOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Associated Types

type Rep ListOrganizationInsightsResponse :: Type -> Type #

Read ListOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Show ListOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

NFData ListOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

Eq ListOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

type Rep ListOrganizationInsightsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListOrganizationInsights

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

newListOrganizationInsightsResponse Source #

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

ListOrganizationInsights, listOrganizationInsightsResponse_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:ListOrganizationInsightsResponse', listOrganizationInsightsResponse_proactiveInsights - An integer that specifies the number of open proactive insights in your Amazon Web Services account.

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

$sel:httpStatus:ListOrganizationInsightsResponse', listOrganizationInsightsResponse_httpStatus - The response's http status code.

Response Lenses

listOrganizationInsightsResponse_nextToken :: Lens' ListOrganizationInsightsResponse (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.

listOrganizationInsightsResponse_proactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ProactiveOrganizationInsightSummary]) Source #

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

listOrganizationInsightsResponse_reactiveInsights :: Lens' ListOrganizationInsightsResponse (Maybe [ReactiveOrganizationInsightSummary]) Source #

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