Class: Aws::CloudSearch::Types::DefineAnalysisSchemeRequest

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 DefineAnalysisSchemeRequest data as a hash:

{
  domain_name: "DomainName", # required
  analysis_scheme: { # required
    analysis_scheme_name: "StandardName", # required
    analysis_scheme_language: "ar", # required, accepts ar, bg, ca, cs, da, de, el, en, es, eu, fa, fi, fr, ga, gl, he, hi, hu, hy, id, it, ja, ko, lv, mul, nl, no, pt, ro, ru, sv, th, tr, zh-Hans, zh-Hant
    analysis_options: {
      synonyms: "String",
      stopwords: "String",
      stemming_dictionary: "String",
      japanese_tokenization_dictionary: "String",
      algorithmic_stemming: "none", # accepts none, minimal, light, full
    },
  },
}

Container for the parameters to the `DefineAnalysisScheme` operation. Specifies the name of the domain you want to update and the analysis scheme configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_schemeTypes::AnalysisScheme

Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: `Synonyms`, `Stopwords`, `StemmingDictionary`, `JapaneseTokenizationDictionary` and `AlgorithmicStemming`.


442
443
444
445
446
447
# File 'lib/aws-sdk-cloudsearch/types.rb', line 442

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

#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)

442
443
444
445
446
447
# File 'lib/aws-sdk-cloudsearch/types.rb', line 442

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