| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElasticBeanstalk.SwapEnvironmentCNAMEs
Description
Swaps the CNAMEs of two environments.
See: AWS API Reference for SwapEnvironmentCNAMEs.
- swapEnvironmentCNAMEs :: SwapEnvironmentCNAMEs
- data SwapEnvironmentCNAMEs
- secnameDestinationEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- secnameDestinationEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- secnameSourceEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- secnameSourceEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- swapEnvironmentCNAMEsResponse :: SwapEnvironmentCNAMEsResponse
- data SwapEnvironmentCNAMEsResponse
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:
data SwapEnvironmentCNAMEs Source
Swaps the CNAMEs of two environments.
See: swapEnvironmentCNAMEs smart constructor.
Instances
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.