| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.CloudSearch.UpdateAvailabilityOptions
Description
Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
http://docs.aws.amazon.com/cloudsearch/latest/developerguide/API_UpdateAvailabilityOptions.html
- data UpdateAvailabilityOptions
- updateAvailabilityOptions :: Text -> Bool -> UpdateAvailabilityOptions
- uaoDomainName :: Lens' UpdateAvailabilityOptions Text
- uaoMultiAZ :: Lens' UpdateAvailabilityOptions Bool
- data UpdateAvailabilityOptionsResponse
- updateAvailabilityOptionsResponse :: UpdateAvailabilityOptionsResponse
- uaorAvailabilityOptions :: Lens' UpdateAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus)
Request
data UpdateAvailabilityOptions Source
Instances
Request constructor
updateAvailabilityOptions Source
Arguments
| :: Text | |
| -> Bool | |
| -> UpdateAvailabilityOptions |
UpdateAvailabilityOptions constructor.
The fields accessible through corresponding lenses are:
uaoDomainName::TextuaoMultiAZ::Bool
Request lenses
uaoMultiAZ :: Lens' UpdateAvailabilityOptions Bool Source
You expand an existing search domain to a second Availability Zone by setting
the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option
to downgrade the domain to a single Availability Zone by setting the Multi-AZ
option to false.
Response
Response constructor
updateAvailabilityOptionsResponse :: UpdateAvailabilityOptionsResponse Source
UpdateAvailabilityOptionsResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
uaorAvailabilityOptions :: Lens' UpdateAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus) Source
The newly-configured availability options. Indicates whether Multi-AZ is enabled for the domain.