Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateAvailabilityOptionsCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { CloudSearchClient, UpdateAvailabilityOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
// const { CloudSearchClient, UpdateAvailabilityOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
const client = new CloudSearchClient(config);
const command = new UpdateAvailabilityOptionsCommand(input);
const response = await client.send(command);
see

UpdateAvailabilityOptionsCommandInput for command's input shape.

see

UpdateAvailabilityOptionsCommandOutput for command's response shape.

see

config for CloudSearchClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: UpdateAvailabilityOptionsCommandInput

Readonly middlewareStack