describe_capacity_block_extension_history
async
¶
describe_capacity_block_extension_history(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
capacity_reservation_ids: Optional[CapacityReservationIdSet] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeFutureCapacityMaxResults] = None,
filters: Optional[FilterList] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeCapacityBlockExtensionHistoryResult
Describes the events for the specified Capacity Block extension during the specified time.
Parameters:
-
capacity_reservation_ids(Optional[CapacityReservationIdSet], default:None) –The IDs of Capacity Block reservations that you want to display the history for.
-
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
-
max_results(Optional[DescribeFutureCapacityMaxResults], 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
-
availability-zone- The Availability Zone of the extension. -
availability-zone-id- The Availability Zone ID of the extension. -
capacity-block-extension-offering-id- The ID of the extension offering. -
capacity-block-extension-status- The status of the extension (payment-pending|payment-failed|payment-succeeded). -
capacity-reservation-id- The reservation ID of the extension. -
instance-type- The instance type of the extension.
-
-
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/async_ec2.py
22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 | |