describe_capacity_block_extension_offerings
¶
describe_capacity_block_extension_offerings(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 22127 22128 22129 22130 22131 22132 22133 22134 22135 22136 22137 22138 22139 22140 22141 22142 22143 | |