list_dashboards
¶
list_dashboards(
*,
config_overrides: Optional[CloudTrailClientConfig] = 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/cloud_trail.py
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 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 | |