list_dashboards
async
¶
list_dashboards(
*,
config_overrides: Optional[AsyncCloudTrailClientConfig] = None,
name_prefix: Optional[DashboardName] = None,
type: Optional[DashboardType] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[ListDashboardsMaxResultsCount] = None,
) -> ListDashboardsResponse
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.
Returns information about all dashboards in the account, in the current Region.
Parameters:
-
name_prefix(Optional[DashboardName], default:None) –Specify a name prefix to filter on.
-
type(Optional[DashboardType], default:None) –Specify a dashboard type to filter on:
CUSTOMorMANAGED. -
next_token(Optional[PaginationToken], default:None) –A token you can use to get the next page of dashboard results.
-
max_results(Optional[ListDashboardsMaxResultsCount], default:None) –The maximum number of dashboards to display on a single page.
Raises:
-
UnsupportedOperationException–This exception is thrown when the requested operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudtrail/_services/async_cloud_trail.py
2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 | |