amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Contents

Description

Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.

Synopsis

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 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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • arieqReservedInstanceIds - The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value.

data AcceptReservedInstancesExchangeQuote #

Contains the parameters for accepting the quote.

See: acceptReservedInstancesExchangeQuote smart constructor.

Instances

Eq AcceptReservedInstancesExchangeQuote # 
Data AcceptReservedInstancesExchangeQuote # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AcceptReservedInstancesExchangeQuote -> c AcceptReservedInstancesExchangeQuote #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AcceptReservedInstancesExchangeQuote #

toConstr :: AcceptReservedInstancesExchangeQuote -> Constr #

dataTypeOf :: AcceptReservedInstancesExchangeQuote -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AcceptReservedInstancesExchangeQuote) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AcceptReservedInstancesExchangeQuote) #

gmapT :: (forall b. Data b => b -> b) -> AcceptReservedInstancesExchangeQuote -> AcceptReservedInstancesExchangeQuote #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AcceptReservedInstancesExchangeQuote -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AcceptReservedInstancesExchangeQuote -> r #

gmapQ :: (forall d. Data d => d -> u) -> AcceptReservedInstancesExchangeQuote -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AcceptReservedInstancesExchangeQuote -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AcceptReservedInstancesExchangeQuote -> m AcceptReservedInstancesExchangeQuote #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AcceptReservedInstancesExchangeQuote -> m AcceptReservedInstancesExchangeQuote #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AcceptReservedInstancesExchangeQuote -> m AcceptReservedInstancesExchangeQuote #

Read AcceptReservedInstancesExchangeQuote # 
Show AcceptReservedInstancesExchangeQuote # 
Generic AcceptReservedInstancesExchangeQuote # 
Hashable AcceptReservedInstancesExchangeQuote # 
NFData AcceptReservedInstancesExchangeQuote # 
AWSRequest AcceptReservedInstancesExchangeQuote # 
ToQuery AcceptReservedInstancesExchangeQuote # 
ToPath AcceptReservedInstancesExchangeQuote # 
ToHeaders AcceptReservedInstancesExchangeQuote # 
type Rep AcceptReservedInstancesExchangeQuote # 
type Rep AcceptReservedInstancesExchangeQuote = D1 (MetaData "AcceptReservedInstancesExchangeQuote" "Network.AWS.EC2.AcceptReservedInstancesExchangeQuote" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "AcceptReservedInstancesExchangeQuote'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_arieqTargetConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TargetConfigurationRequest]))) ((:*:) (S1 (MetaSel (Just Symbol "_arieqDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_arieqReservedInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs AcceptReservedInstancesExchangeQuote # 

Request Lenses

arieqTargetConfigurations :: Lens' AcceptReservedInstancesExchangeQuote [TargetConfigurationRequest] #

The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.

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 other Convertible Reserved Instances 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:

data AcceptReservedInstancesExchangeQuoteResponse #

The result of the exchange and whether it was successful .

See: acceptReservedInstancesExchangeQuoteResponse smart constructor.

Instances

Eq AcceptReservedInstancesExchangeQuoteResponse # 
Data AcceptReservedInstancesExchangeQuoteResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AcceptReservedInstancesExchangeQuoteResponse -> c AcceptReservedInstancesExchangeQuoteResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AcceptReservedInstancesExchangeQuoteResponse #

toConstr :: AcceptReservedInstancesExchangeQuoteResponse -> Constr #

dataTypeOf :: AcceptReservedInstancesExchangeQuoteResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AcceptReservedInstancesExchangeQuoteResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AcceptReservedInstancesExchangeQuoteResponse) #

gmapT :: (forall b. Data b => b -> b) -> AcceptReservedInstancesExchangeQuoteResponse -> AcceptReservedInstancesExchangeQuoteResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AcceptReservedInstancesExchangeQuoteResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AcceptReservedInstancesExchangeQuoteResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AcceptReservedInstancesExchangeQuoteResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AcceptReservedInstancesExchangeQuoteResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AcceptReservedInstancesExchangeQuoteResponse -> m AcceptReservedInstancesExchangeQuoteResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AcceptReservedInstancesExchangeQuoteResponse -> m AcceptReservedInstancesExchangeQuoteResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AcceptReservedInstancesExchangeQuoteResponse -> m AcceptReservedInstancesExchangeQuoteResponse #

Read AcceptReservedInstancesExchangeQuoteResponse # 
Show AcceptReservedInstancesExchangeQuoteResponse # 
Generic AcceptReservedInstancesExchangeQuoteResponse # 
NFData AcceptReservedInstancesExchangeQuoteResponse # 
type Rep AcceptReservedInstancesExchangeQuoteResponse # 
type Rep AcceptReservedInstancesExchangeQuoteResponse = D1 (MetaData "AcceptReservedInstancesExchangeQuoteResponse" "Network.AWS.EC2.AcceptReservedInstancesExchangeQuote" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "AcceptReservedInstancesExchangeQuoteResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_arieqrsExchangeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_arieqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses