| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs
Description
Swaps the CNAMEs of two environments.
Synopsis
- data SwapEnvironmentCNAMEs = SwapEnvironmentCNAMEs' {}
- newSwapEnvironmentCNAMEs :: SwapEnvironmentCNAMEs
- swapEnvironmentCNAMEs_destinationEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- swapEnvironmentCNAMEs_destinationEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- swapEnvironmentCNAMEs_sourceEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- swapEnvironmentCNAMEs_sourceEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text)
- data SwapEnvironmentCNAMEsResponse = SwapEnvironmentCNAMEsResponse' {
- newSwapEnvironmentCNAMEsResponse :: SwapEnvironmentCNAMEsResponse
Creating a Request
data SwapEnvironmentCNAMEs Source #
Swaps the CNAMEs of two environments.
See: newSwapEnvironmentCNAMEs smart constructor.
Constructors
| SwapEnvironmentCNAMEs' | |
Fields
| |
Instances
newSwapEnvironmentCNAMEs :: SwapEnvironmentCNAMEs Source #
Create a value of SwapEnvironmentCNAMEs with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationEnvironmentId:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_destinationEnvironmentId - 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.
$sel:destinationEnvironmentName:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_destinationEnvironmentName - 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.
$sel:sourceEnvironmentId:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_sourceEnvironmentId - 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.
$sel:sourceEnvironmentName:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_sourceEnvironmentName - 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.
Request Lenses
swapEnvironmentCNAMEs_destinationEnvironmentId :: 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.
swapEnvironmentCNAMEs_destinationEnvironmentName :: 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.
swapEnvironmentCNAMEs_sourceEnvironmentId :: 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.
swapEnvironmentCNAMEs_sourceEnvironmentName :: 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.
Destructuring the Response
data SwapEnvironmentCNAMEsResponse Source #
See: newSwapEnvironmentCNAMEsResponse smart constructor.
Constructors
| SwapEnvironmentCNAMEsResponse' | |
Instances
| Generic SwapEnvironmentCNAMEsResponse Source # | |
Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs Associated Types type Rep SwapEnvironmentCNAMEsResponse :: Type -> Type # | |
| Read SwapEnvironmentCNAMEsResponse Source # | |
| Show SwapEnvironmentCNAMEsResponse Source # | |
Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs Methods showsPrec :: Int -> SwapEnvironmentCNAMEsResponse -> ShowS # show :: SwapEnvironmentCNAMEsResponse -> String # showList :: [SwapEnvironmentCNAMEsResponse] -> ShowS # | |
| NFData SwapEnvironmentCNAMEsResponse Source # | |
Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs Methods rnf :: SwapEnvironmentCNAMEsResponse -> () # | |
| Eq SwapEnvironmentCNAMEsResponse Source # | |
| type Rep SwapEnvironmentCNAMEsResponse Source # | |
newSwapEnvironmentCNAMEsResponse :: SwapEnvironmentCNAMEsResponse Source #
Create a value of SwapEnvironmentCNAMEsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.