amazonka-cloudsearch-1.3.0: Amazon CloudSearch 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.CloudSearch.UpdateAvailabilityOptions

Contents

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.

See: AWS API Reference for UpdateAvailabilityOptions.

Synopsis

Creating a Request

updateAvailabilityOptions Source

Creates a value of UpdateAvailabilityOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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.

Destructuring the Response

updateAvailabilityOptionsResponse Source

Creates a value of UpdateAvailabilityOptionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

uaorsAvailabilityOptions :: Lens' UpdateAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus) Source

The newly-configured availability options. Indicates whether Multi-AZ is enabled for the domain.