| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
Synopsis
- 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:
secnameDestinationEnvironmentName- The name of the destination environment. Condition: You must specify at least theDestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.secnameDestinationEnvironmentId- The ID of the destination environment. Condition: You must specify at least theDestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.secnameSourceEnvironmentName- The name of the source environment. Condition: You must specify at least theSourceEnvironmentIDor theSourceEnvironmentName. You may also specify both. If you specify theSourceEnvironmentName, you must specify theDestinationEnvironmentName.secnameSourceEnvironmentId- The ID of the source environment. Condition: You must specify at least theSourceEnvironmentIDor theSourceEnvironmentName. You may also specify both. If you specify theSourceEnvironmentId, you must specify theDestinationEnvironmentId.
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.