Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns details about the values and term of your specified Convertible Reserved Instances. When a target configuration is specified, it returns information about whether the exchange is valid and can be performed.
- getReservedInstancesExchangeQuote :: GetReservedInstancesExchangeQuote
- data GetReservedInstancesExchangeQuote
- grieqTargetConfigurations :: Lens' GetReservedInstancesExchangeQuote [TargetConfigurationRequest]
- grieqDryRun :: Lens' GetReservedInstancesExchangeQuote (Maybe Bool)
- grieqReservedInstanceIds :: Lens' GetReservedInstancesExchangeQuote [Text]
- getReservedInstancesExchangeQuoteResponse :: Int -> GetReservedInstancesExchangeQuoteResponse
- data GetReservedInstancesExchangeQuoteResponse
- grieqrsValidationFailureReason :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Text)
- grieqrsTargetConfigurationValueRollup :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe ReservationValue)
- grieqrsCurrencyCode :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Text)
- grieqrsTargetConfigurationValueSet :: Lens' GetReservedInstancesExchangeQuoteResponse [TargetReservationValue]
- grieqrsReservedInstanceValueRollup :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe ReservationValue)
- grieqrsOutputReservedInstancesWillExpireAt :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe UTCTime)
- grieqrsReservedInstanceValueSet :: Lens' GetReservedInstancesExchangeQuoteResponse [ReservedInstanceReservationValue]
- grieqrsIsValidExchange :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Bool)
- grieqrsPaymentDue :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Text)
- grieqrsResponseStatus :: Lens' GetReservedInstancesExchangeQuoteResponse Int
Creating a Request
getReservedInstancesExchangeQuote :: GetReservedInstancesExchangeQuote Source #
Creates a value of GetReservedInstancesExchangeQuote
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grieqTargetConfigurations
- The configuration requirements of the Convertible Reserved Instances to exchange for your current Convertible Reserved Instances.grieqDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.grieqReservedInstanceIds
- The IDs of the Convertible Reserved Instances to exchange.
data GetReservedInstancesExchangeQuote Source #
Contains the parameters for GetReservedInstanceExchangeQuote.
See: getReservedInstancesExchangeQuote
smart constructor.
Request Lenses
grieqTargetConfigurations :: Lens' GetReservedInstancesExchangeQuote [TargetConfigurationRequest] Source #
The configuration requirements of the Convertible Reserved Instances to exchange for your current Convertible Reserved Instances.
grieqDryRun :: Lens' GetReservedInstancesExchangeQuote (Maybe Bool) Source #
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
.
grieqReservedInstanceIds :: Lens' GetReservedInstancesExchangeQuote [Text] Source #
The IDs of the Convertible Reserved Instances to exchange.
Destructuring the Response
getReservedInstancesExchangeQuoteResponse Source #
Creates a value of GetReservedInstancesExchangeQuoteResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grieqrsValidationFailureReason
- Describes the reason why the exchange cannot be completed.grieqrsTargetConfigurationValueRollup
- Undocumented member.grieqrsCurrencyCode
- The currency of the transaction.grieqrsTargetConfigurationValueSet
- The values of the target Convertible Reserved Instances.grieqrsReservedInstanceValueRollup
- Undocumented member.grieqrsOutputReservedInstancesWillExpireAt
- The new end date of the reservation term.grieqrsReservedInstanceValueSet
- The configuration of your Convertible Reserved Instances.grieqrsIsValidExchange
- Iftrue
, the exchange is valid. Iffalse
, the exchange cannot be completed.grieqrsPaymentDue
- The total true upfront charge for the exchange.grieqrsResponseStatus
- -- | The response status code.
data GetReservedInstancesExchangeQuoteResponse Source #
Contains the output of GetReservedInstancesExchangeQuote.
See: getReservedInstancesExchangeQuoteResponse
smart constructor.
Response Lenses
grieqrsValidationFailureReason :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Text) Source #
Describes the reason why the exchange cannot be completed.
grieqrsTargetConfigurationValueRollup :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe ReservationValue) Source #
Undocumented member.
grieqrsCurrencyCode :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Text) Source #
The currency of the transaction.
grieqrsTargetConfigurationValueSet :: Lens' GetReservedInstancesExchangeQuoteResponse [TargetReservationValue] Source #
The values of the target Convertible Reserved Instances.
grieqrsReservedInstanceValueRollup :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe ReservationValue) Source #
Undocumented member.
grieqrsOutputReservedInstancesWillExpireAt :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe UTCTime) Source #
The new end date of the reservation term.
grieqrsReservedInstanceValueSet :: Lens' GetReservedInstancesExchangeQuoteResponse [ReservedInstanceReservationValue] Source #
The configuration of your Convertible Reserved Instances.
grieqrsIsValidExchange :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Bool) Source #
If true
, the exchange is valid. If false
, the exchange cannot be completed.
grieqrsPaymentDue :: Lens' GetReservedInstancesExchangeQuoteResponse (Maybe Text) Source #
The total true upfront charge for the exchange.
grieqrsResponseStatus :: Lens' GetReservedInstancesExchangeQuoteResponse Int Source #
- - | The response status code.