Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.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 another Convertible Reserved Instance 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 configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
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 another Convertible Reserved Instance 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.