search_organization_insights
¶
search_organization_insights(
account_ids: SearchInsightsAccountIdList,
start_time_range: StartTimeRange,
type: InsightType,
*,
config_overrides: Optional[DevOpsGuruClientConfig] = None,
filters: Optional[SearchOrganizationInsightsFilters] = None,
max_results: Optional[SearchOrganizationInsightsMaxResults] = None,
next_token: Optional[UuidNextToken] = None,
) -> SearchOrganizationInsightsResponse
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.
Parameters:
-
account_ids(SearchInsightsAccountIdList) –The ID of the Amazon Web Services account.
-
filters(Optional[SearchOrganizationInsightsFilters], default:None) –A
SearchOrganizationInsightsFiltersobject that is used to set the severity and status filters on your insight search. -
max_results(Optional[SearchOrganizationInsightsMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[UuidNextToken], default:None) –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.
-
type(InsightType) –The type of insights you are searching for (
REACTIVEorPROACTIVE).
Raises:
-
AccessDeniedException–You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
-
InternalServerException–An internal failure in an Amazon service occurred.
-
ThrottlingException–The request was denied due to a request throttling.
-
ValidationException–Contains information about data passed in to a field during a request that is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_guru/_services/dev_ops_guru.py
2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 | |