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
accept_reserved_instances_exchange_quote
to perform the exchange.
ec2_get_reserved_instances_exchange_quote(DryRun, ReservedInstanceIds,
TargetConfigurations)
A list with the following syntax:
list(
CurrencyCode = "string",
IsValidExchange = TRUE|FALSE,
OutputReservedInstancesWillExpireAt = as.POSIXct(
"2015-01-01"
),
PaymentDue = "string",
ReservedInstanceValueRollup = list(
HourlyPrice = "string",
RemainingTotalValue = "string",
RemainingUpfrontValue = "string"
),
ReservedInstanceValueSet = list(
list(
ReservationValue = list(
HourlyPrice = "string",
RemainingTotalValue = "string",
RemainingUpfrontValue = "string"
),
ReservedInstanceId = "string"
)
),
TargetConfigurationValueRollup = list(
HourlyPrice = "string",
RemainingTotalValue = "string",
RemainingUpfrontValue = "string"
),
TargetConfigurationValueSet = list(
list(
ReservationValue = list(
HourlyPrice = "string",
RemainingTotalValue = "string",
RemainingUpfrontValue = "string"
),
TargetConfiguration = list(
InstanceCount = 123,
OfferingId = "string"
)
)
),
ValidationFailureReason = "string"
)
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 is UnauthorizedOperation
.
[required] The IDs of the Convertible Reserved Instances to exchange.
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
svc$get_reserved_instances_exchange_quote(
DryRun = TRUE|FALSE,
ReservedInstanceIds = list(
"string"
),
TargetConfigurations = list(
list(
InstanceCount = 123,
OfferingId = "string"
)
)
)