describe_capacity_reservation_fleets
¶
describe_capacity_reservation_fleets(
*,
config_overrides: Optional[EC2ClientConfig] = None,
capacity_reservation_fleet_ids: Optional[CapacityReservationFleetIdSet] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeCapacityReservationFleetsMaxResults] = None,
filters: Optional[FilterList] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeCapacityReservationFleetsResult
Describes one or more Capacity Reservation Fleets.
Parameters:
-
capacity_reservation_fleet_ids(Optional[CapacityReservationFleetIdSet], default:None) –The IDs of the Capacity Reservation Fleets to describe.
-
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
-
max_results(Optional[DescribeCapacityReservationFleetsMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
filters(Optional[FilterList], default:None) –One or more filters.
-
state- The state of the Fleet (submitted|modifying|active|partially_fulfilled|expiring|expired|cancelling|cancelled|failed). -
instance-match-criteria- The instance matching criteria for the Fleet. Onlyopenis supported. -
tenancy- The tenancy of the Fleet (default|dedicated). -
allocation-strategy- The allocation strategy used by the Fleet. Onlyprioritizedis supported.
-
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 22889 22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 | |