list_environments
async
¶
list_environments(
*,
config_overrides: Optional[AsyncProtonClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxPageResults] = None,
environment_templates: Optional[EnvironmentTemplateFilterList] = None,
) -> ListEnvironmentsOutput
List environments with detail data summaries.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
-
max_results(Optional[MaxPageResults], default:None) –The maximum number of environments to list.
-
environment_templates(Optional[EnvironmentTemplateFilterList], default:None) –An array of the versions of the environment template.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
InternalServerException–The request failed to register with the service.
-
ResourceNotFoundException–The requested resource wasn't found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/async_proton.py
3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 | |