get_reserved_instances_exchange_quote
¶
get_reserved_instances_exchange_quote(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
reserved_instance_ids: Optional[ReservedInstanceIdSet] = None,
target_configurations: Optional[TargetConfigurationRequestSet] = None,
) -> GetReservedInstancesExchangeQuoteResult
Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.
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. -
reserved_instance_ids(Optional[ReservedInstanceIdSet], default:None) –The IDs of the Convertible Reserved Instances to exchange.
-
target_configurations(Optional[TargetConfigurationRequestSet], default:None) –The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
46260 46261 46262 46263 46264 46265 46266 46267 46268 46269 46270 46271 46272 46273 46274 46275 46276 46277 46278 46279 46280 46281 46282 46283 46284 46285 46286 46287 46288 46289 46290 46291 46292 46293 46294 46295 46296 46297 46298 46299 46300 46301 46302 46303 46304 46305 46306 46307 46308 46309 46310 46311 46312 46313 46314 | |