amazonka-elasticbeanstalk-1.4.5: Amazon Elastic Beanstalk 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.ElasticBeanstalk.SwapEnvironmentCNAMEs

Contents

Description

Swaps the CNAMEs of two environments.

Synopsis

Creating a Request

swapEnvironmentCNAMEs :: SwapEnvironmentCNAMEs Source #

Creates a value of SwapEnvironmentCNAMEs with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • secnameDestinationEnvironmentName - The name of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName . You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName .
  • secnameDestinationEnvironmentId - The ID of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName . You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId .
  • secnameSourceEnvironmentName - The name of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName . You may also specify both. If you specify the SourceEnvironmentName , you must specify the DestinationEnvironmentName .
  • secnameSourceEnvironmentId - The ID of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName . You may also specify both. If you specify the SourceEnvironmentId , you must specify the DestinationEnvironmentId .

data SwapEnvironmentCNAMEs Source #

Swaps the CNAMEs of two environments.

See: swapEnvironmentCNAMEs smart constructor.

Instances

Eq SwapEnvironmentCNAMEs Source # 
Data SwapEnvironmentCNAMEs Source # 

Methods

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

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

toConstr :: SwapEnvironmentCNAMEs -> Constr #

dataTypeOf :: SwapEnvironmentCNAMEs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SwapEnvironmentCNAMEs Source # 
Show SwapEnvironmentCNAMEs Source # 
Generic SwapEnvironmentCNAMEs Source # 
Hashable SwapEnvironmentCNAMEs Source # 
NFData SwapEnvironmentCNAMEs Source # 

Methods

rnf :: SwapEnvironmentCNAMEs -> () #

AWSRequest SwapEnvironmentCNAMEs Source # 
ToPath SwapEnvironmentCNAMEs Source # 
ToHeaders SwapEnvironmentCNAMEs Source # 
ToQuery SwapEnvironmentCNAMEs Source # 
type Rep SwapEnvironmentCNAMEs Source # 
type Rep SwapEnvironmentCNAMEs = D1 (MetaData "SwapEnvironmentCNAMEs" "Network.AWS.ElasticBeanstalk.SwapEnvironmentCNAMEs" "amazonka-elasticbeanstalk-1.4.5-9zMrDsTBP1RFx5BKCNaBTX" False) (C1 (MetaCons "SwapEnvironmentCNAMEs'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_secnameDestinationEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_secnameDestinationEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_secnameSourceEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_secnameSourceEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs SwapEnvironmentCNAMEs Source # 

Request Lenses

secnameDestinationEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

The name of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName . You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName .

secnameDestinationEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

The ID of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName . You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId .

secnameSourceEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

The name of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName . You may also specify both. If you specify the SourceEnvironmentName , you must specify the DestinationEnvironmentName .

secnameSourceEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

The ID of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName . You may also specify both. If you specify the SourceEnvironmentId , you must specify the DestinationEnvironmentId .

Destructuring the Response

swapEnvironmentCNAMEsResponse :: SwapEnvironmentCNAMEsResponse Source #

Creates a value of SwapEnvironmentCNAMEsResponse with the minimum fields required to make a request.

data SwapEnvironmentCNAMEsResponse Source #

See: swapEnvironmentCNAMEsResponse smart constructor.

Instances

Eq SwapEnvironmentCNAMEsResponse Source # 
Data SwapEnvironmentCNAMEsResponse Source # 

Methods

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

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

toConstr :: SwapEnvironmentCNAMEsResponse -> Constr #

dataTypeOf :: SwapEnvironmentCNAMEsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SwapEnvironmentCNAMEsResponse Source # 
Show SwapEnvironmentCNAMEsResponse Source # 
Generic SwapEnvironmentCNAMEsResponse Source # 
NFData SwapEnvironmentCNAMEsResponse Source # 
type Rep SwapEnvironmentCNAMEsResponse Source # 
type Rep SwapEnvironmentCNAMEsResponse = D1 (MetaData "SwapEnvironmentCNAMEsResponse" "Network.AWS.ElasticBeanstalk.SwapEnvironmentCNAMEs" "amazonka-elasticbeanstalk-1.4.5-9zMrDsTBP1RFx5BKCNaBTX" False) (C1 (MetaCons "SwapEnvironmentCNAMEsResponse'" PrefixI False) U1)