get_reserved_instances_exchange_quote
async
¶
get_reserved_instances_exchange_quote(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
46897 46898 46899 46900 46901 46902 46903 46904 46905 46906 46907 46908 46909 46910 46911 46912 46913 46914 46915 46916 46917 46918 46919 46920 46921 46922 46923 46924 46925 46926 46927 46928 46929 46930 46931 46932 46933 46934 46935 46936 46937 46938 46939 46940 46941 46942 46943 46944 46945 46946 46947 46948 46949 46950 46951 46952 | |