| 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 |
Network.AWS.EC2.AcceptReservedInstancesExchangeQuote
Description
Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.
Synopsis
- 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 #
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 #
Contains the parameters for accepting the quote.
See: acceptReservedInstancesExchangeQuote smart constructor.
Instances
Request Lenses
arieqTargetConfigurations :: Lens' AcceptReservedInstancesExchangeQuote [TargetConfigurationRequest] #
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
arieqDryRun :: Lens' AcceptReservedInstancesExchangeQuote (Maybe Bool) #
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] #
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
Destructuring the Response
acceptReservedInstancesExchangeQuoteResponse #
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 #
The result of the exchange and whether it was successful .
See: acceptReservedInstancesExchangeQuoteResponse smart constructor.
Instances
Response Lenses
arieqrsExchangeId :: Lens' AcceptReservedInstancesExchangeQuoteResponse (Maybe Text) #
The ID of the successful exchange.
arieqrsResponseStatus :: Lens' AcceptReservedInstancesExchangeQuoteResponse Int #
- - | The response status code.