describe_capacity_block_extension_offerings
async
¶
describe_capacity_block_extension_offerings(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
capacity_block_extension_duration_hours: Optional[Integer] = None,
capacity_reservation_id: Optional[CapacityReservationId] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeCapacityBlockExtensionOfferingsMaxResults] = None,
) -> DescribeCapacityBlockExtensionOfferingsResult
Describes Capacity Block extension offerings available for purchase in the Amazon Web Services Region that you're currently using.
Parameters:
-
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. -
capacity_block_extension_duration_hours(Optional[Integer], default:None) –The duration of the Capacity Block extension offering in hours.
-
capacity_reservation_id(Optional[CapacityReservationId], default:None) –The ID of the Capacity reservation to be extended.
-
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
-
max_results(Optional[DescribeCapacityBlockExtensionOfferingsMaxResults], 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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 22457 22458 | |