search_organization_insights
async
¶
search_organization_insights(
account_ids: SearchInsightsAccountIdList,
start_time_range: StartTimeRange,
type: InsightType,
*,
config_overrides: Optional[AsyncDevOpsGuruClientConfig] = 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/async_dev_ops_guru.py
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 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 | |