amazonka-elasticbeanstalk-1.3.0: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for SwapEnvironmentCNAMEs.

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:

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.