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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • 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.

Instances
Eq AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Data AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Show AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Generic AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Hashable AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

AWSRequest AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

ToHeaders AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

ToPath AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

ToQuery AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

NFData AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

type Rep AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

type Rep AcceptReservedInstancesExchangeQuote = D1 (MetaData "AcceptReservedInstancesExchangeQuote" "Network.AWS.EC2.AcceptReservedInstancesExchangeQuote" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "AcceptReservedInstancesExchangeQuote'" PrefixI True) (S1 (MetaSel (Just "_arieqTargetConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TargetConfigurationRequest])) :*: (S1 (MetaSel (Just "_arieqDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_arieqReservedInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs AcceptReservedInstancesExchangeQuote Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

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:

data AcceptReservedInstancesExchangeQuoteResponse Source #

The result of the exchange and whether it was successful .

See: acceptReservedInstancesExchangeQuoteResponse smart constructor.

Instances
Eq AcceptReservedInstancesExchangeQuoteResponse Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Data AcceptReservedInstancesExchangeQuoteResponse Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

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 Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Show AcceptReservedInstancesExchangeQuoteResponse Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

Generic AcceptReservedInstancesExchangeQuoteResponse Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

NFData AcceptReservedInstancesExchangeQuoteResponse Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

type Rep AcceptReservedInstancesExchangeQuoteResponse Source # 
Instance details

Defined in Network.AWS.EC2.AcceptReservedInstancesExchangeQuote

type Rep AcceptReservedInstancesExchangeQuoteResponse = D1 (MetaData "AcceptReservedInstancesExchangeQuoteResponse" "Network.AWS.EC2.AcceptReservedInstancesExchangeQuote" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "AcceptReservedInstancesExchangeQuoteResponse'" PrefixI True) (S1 (MetaSel (Just "_arieqrsExchangeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_arieqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses