amazonka-cloudsearch-1.5.0: Amazon CloudSearch SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 .

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:

  • uaoDomainName - Undocumented member.
  • uaoMultiAZ - 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 .

data UpdateAvailabilityOptions Source #

Container for the parameters to the UpdateAvailabilityOptions operation. Specifies the name of the domain you want to update and the Multi-AZ availability option.

See: updateAvailabilityOptions smart constructor.

Instances

Eq UpdateAvailabilityOptions Source # 
Data UpdateAvailabilityOptions Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAvailabilityOptions -> c UpdateAvailabilityOptions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAvailabilityOptions #

toConstr :: UpdateAvailabilityOptions -> Constr #

dataTypeOf :: UpdateAvailabilityOptions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAvailabilityOptions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAvailabilityOptions) #

gmapT :: (forall b. Data b => b -> b) -> UpdateAvailabilityOptions -> UpdateAvailabilityOptions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAvailabilityOptions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAvailabilityOptions -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateAvailabilityOptions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAvailabilityOptions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAvailabilityOptions -> m UpdateAvailabilityOptions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAvailabilityOptions -> m UpdateAvailabilityOptions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAvailabilityOptions -> m UpdateAvailabilityOptions #

Read UpdateAvailabilityOptions Source # 
Show UpdateAvailabilityOptions Source # 
Generic UpdateAvailabilityOptions Source # 
Hashable UpdateAvailabilityOptions Source # 
NFData UpdateAvailabilityOptions Source # 
AWSRequest UpdateAvailabilityOptions Source # 
ToQuery UpdateAvailabilityOptions Source # 
ToPath UpdateAvailabilityOptions Source # 
ToHeaders UpdateAvailabilityOptions Source # 
type Rep UpdateAvailabilityOptions Source # 
type Rep UpdateAvailabilityOptions = D1 (MetaData "UpdateAvailabilityOptions" "Network.AWS.CloudSearch.UpdateAvailabilityOptions" "amazonka-cloudsearch-1.5.0-D2W9VBKK6n8BWb4ttIsoqc" False) (C1 (MetaCons "UpdateAvailabilityOptions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uaoDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uaoMultiAZ") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))
type Rs UpdateAvailabilityOptions Source # 

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:

data UpdateAvailabilityOptionsResponse Source #

The result of a UpdateAvailabilityOptions request. Contains the status of the domain's availability options.

See: updateAvailabilityOptionsResponse smart constructor.

Instances

Eq UpdateAvailabilityOptionsResponse Source # 
Data UpdateAvailabilityOptionsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAvailabilityOptionsResponse -> c UpdateAvailabilityOptionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAvailabilityOptionsResponse #

toConstr :: UpdateAvailabilityOptionsResponse -> Constr #

dataTypeOf :: UpdateAvailabilityOptionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAvailabilityOptionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAvailabilityOptionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateAvailabilityOptionsResponse -> UpdateAvailabilityOptionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAvailabilityOptionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAvailabilityOptionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateAvailabilityOptionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAvailabilityOptionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAvailabilityOptionsResponse -> m UpdateAvailabilityOptionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAvailabilityOptionsResponse -> m UpdateAvailabilityOptionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAvailabilityOptionsResponse -> m UpdateAvailabilityOptionsResponse #

Read UpdateAvailabilityOptionsResponse Source # 
Show UpdateAvailabilityOptionsResponse Source # 
Generic UpdateAvailabilityOptionsResponse Source # 
NFData UpdateAvailabilityOptionsResponse Source # 
type Rep UpdateAvailabilityOptionsResponse Source # 
type Rep UpdateAvailabilityOptionsResponse = D1 (MetaData "UpdateAvailabilityOptionsResponse" "Network.AWS.CloudSearch.UpdateAvailabilityOptions" "amazonka-cloudsearch-1.5.0-D2W9VBKK6n8BWb4ttIsoqc" False) (C1 (MetaCons "UpdateAvailabilityOptionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uaorsAvailabilityOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AvailabilityOptionsStatus))) (S1 (MetaSel (Just Symbol "_uaorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

uaorsAvailabilityOptions :: Lens' UpdateAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus) Source #

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