list_environments
¶
list_environments(
*,
config_overrides: Optional[ProtonClientConfig] = 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/proton.py
3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 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 | |