list_fleets
async
¶
list_fleets(
farm_id: FarmId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
principal_id: Optional[IdentityCenterPrincipalId] = None,
display_name: Optional[ResourceName] = None,
status: Optional[FleetStatus] = None,
) -> ListFleetsResponse
Lists fleets.
Parameters:
-
farm_id(FarmId) –The farm ID of the fleets.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results, or
nullto start from the beginning. -
max_results(Optional[MaxResults], default:None) –The maximum number of results to return. Use this parameter with
NextTokento get results as a set of sequential pages. -
principal_id(Optional[IdentityCenterPrincipalId], default:None) –The principal ID of the members to include in the fleet.
-
display_name(Optional[ResourceName], default:None) –The display names of a list of fleets.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
-
status(Optional[FleetStatus], default:None) –The status of the fleet.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_deadline/_services/async_deadline.py
4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 | |