Class: Aws::CloudSearch::Types::UpdateAvailabilityOptionsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudsearch/types.rb

Overview

Note:

When making an API call, you may pass UpdateAvailabilityOptionsRequest data as a hash:

{
  domain_name: "DomainName", # required
  multi_az: false, # required
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domain_nameString

A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

Returns:

  • (String)

2541
2542
2543
2544
2545
2546
# File 'lib/aws-sdk-cloudsearch/types.rb', line 2541

class UpdateAvailabilityOptionsRequest < Struct.new(
  :domain_name,
  :multi_az)
  SENSITIVE = []
  include Aws::Structure
end

#multi_azBoolean

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`.

Returns:

  • (Boolean)

2541
2542
2543
2544
2545
2546
# File 'lib/aws-sdk-cloudsearch/types.rb', line 2541

class UpdateAvailabilityOptionsRequest < Struct.new(
  :domain_name,
  :multi_az)
  SENSITIVE = []
  include Aws::Structure
end