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.
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.
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);
UpdateAvailabilityOptionsCommandInput for command's
input
shape.UpdateAvailabilityOptionsCommandOutput for command's
response
shape.config for CloudSearchClient's
config
shape.