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 |
Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote
call.
- acceptReservedInstancesExchangeQuote :: AcceptReservedInstancesExchangeQuote
- data AcceptReservedInstancesExchangeQuote
- arieqTargetConfigurations :: Lens' AcceptReservedInstancesExchangeQuote [TargetConfigurationRequest]
- arieqDryRun :: Lens' AcceptReservedInstancesExchangeQuote (Maybe Bool)
- arieqReservedInstanceIds :: Lens' AcceptReservedInstancesExchangeQuote [Text]
- acceptReservedInstancesExchangeQuoteResponse :: Int -> AcceptReservedInstancesExchangeQuoteResponse
- data AcceptReservedInstancesExchangeQuoteResponse
- arieqrsExchangeId :: Lens' AcceptReservedInstancesExchangeQuoteResponse (Maybe Text)
- arieqrsResponseStatus :: Lens' AcceptReservedInstancesExchangeQuoteResponse Int
Creating a Request
acceptReservedInstancesExchangeQuote :: AcceptReservedInstancesExchangeQuote Source #
Creates a value of AcceptReservedInstancesExchangeQuote
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arieqTargetConfigurations
- The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.arieqDryRun
- 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
.arieqReservedInstanceIds
- The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value.
data AcceptReservedInstancesExchangeQuote Source #
Contains the parameters for accepting the quote.
See: acceptReservedInstancesExchangeQuote
smart constructor.
Request Lenses
arieqTargetConfigurations :: Lens' AcceptReservedInstancesExchangeQuote [TargetConfigurationRequest] Source #
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
arieqDryRun :: Lens' AcceptReservedInstancesExchangeQuote (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
.
arieqReservedInstanceIds :: Lens' AcceptReservedInstancesExchangeQuote [Text] Source #
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value.
Destructuring the Response
acceptReservedInstancesExchangeQuoteResponse Source #
Creates a value of AcceptReservedInstancesExchangeQuoteResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arieqrsExchangeId
- The ID of the successful exchange.arieqrsResponseStatus
- -- | The response status code.
data AcceptReservedInstancesExchangeQuoteResponse Source #
The result of the exchange and whether it was successful
.
See: acceptReservedInstancesExchangeQuoteResponse
smart constructor.
Response Lenses
arieqrsExchangeId :: Lens' AcceptReservedInstancesExchangeQuoteResponse (Maybe Text) Source #
The ID of the successful exchange.
arieqrsResponseStatus :: Lens' AcceptReservedInstancesExchangeQuoteResponse Int Source #
- - | The response status code.