Package cloudsearch

Overview ▹

Overview ▾

Package cloudsearch provides the client and types for making API
requests to Amazon CloudSearch.

You use the Amazon CloudSearch configuration service to create, configure,
and manage search domains. Configuration service requests are submitted using
the AWS Query protocol. AWS Query requests are HTTP or HTTPS requests submitted
via HTTP GET or POST with a query parameter named Action.

Using the Client

To use the client for Amazon CloudSearch you will first need
to create a new instance of it.

When creating a client for an AWS service you'll first need to have a Session
already created. The Session provides configuration that can be shared
between multiple service clients. Additional configuration can be applied to
the Session and service's client when they are constructed. The aws package's
Config type contains several fields such as Region for the AWS Region the
client should make API requests too. The optional Config value can be provided
as the variadic argument for Sessions and client creation.

Once the service's client is created you can use it to make API requests the
AWS service. These clients are safe to use concurrently.

Once the client is created you can make an API request to the service.
Each API method takes a input parameter, and returns the service response
and an error.

The API method will document which error codes the service can be returned
by the operation if the service models the API operation's errors. These
errors will also be available as const strings prefixed with "ErrCode".

Using the Client with Context

The service's client also provides methods to make API requests with a Context
value. This allows you to control the timeout, and cancellation of pending
requests. These methods also take request Option as variadic parameter to apply
additional configuration to the API request.

Package files

Internal call graph ▹

Internal call graph ▾

In the call graph viewer below, each node
is a function belonging to this package
and its children are the functions it
calls—perhaps dynamically.

The root nodes are the entry points of the
package: functions that may be called from
outside the package.
There may be non-exported or anonymous
functions among them if they are called
dynamically from another package.

Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring func
token.

Functions may be omitted if they were
determined to be unreachable in the
particular programs or tests that were
analyzed.

* RequiresIndexDocuments: The option's latest value will not be deployed
until IndexDocuments has been called and indexing is complete.
* Processing: The option's latest value is in the process of being activated.
* Active: The option's latest value is fully deployed.
* FailedToValidate: The option value is not compatible with the domain's
data and cannot be used to index the data. You must either modify the
option value or update or remove the incompatible documents.

const (
// ErrCodeBaseException for service response error code// "BaseException".//// An error occurred while processing the request.
ErrCodeBaseException = "BaseException"
// ErrCodeDisabledOperationException for service response error code// "DisabledAction".//// The request was rejected because it attempted an operation which is not enabled.
ErrCodeDisabledOperationException = "DisabledAction"
// ErrCodeInternalException for service response error code// "InternalException".//// An internal error occurred while processing the request. If this problem// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
ErrCodeInternalException = "InternalException"
// ErrCodeInvalidTypeException for service response error code// "InvalidType".//// The request was rejected because it specified an invalid type definition.
ErrCodeInvalidTypeException = "InvalidType"
// ErrCodeLimitExceededException for service response error code// "LimitExceeded".//// The request was rejected because a resource limit has already been met.
ErrCodeLimitExceededException = "LimitExceeded"
// ErrCodeResourceNotFoundException for service response error code// "ResourceNotFound".//// The request was rejected because it attempted to reference a resource that// does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFound"
)

Synonyms, stopwords, and stemming options for an analysis scheme. Includes
tokenization dictionary for Japanese.

type AnalysisOptions struct {
// The level of algorithmic stemming to perform: none, minimal, light, or full.// The available levels vary depending on the language. For more information,// see Language Specific Text Processing Settings (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/text-processing.html#text-processing-settings)// in the Amazon CloudSearch Developer Guide
AlgorithmicStemming *string `type:"string" enum:"AlgorithmicStemming"`
// A JSON array that contains a collection of terms, tokens, readings and part// of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary// enables you to override the default tokenization for selected terms. This// is only valid for Japanese language fields.
JapaneseTokenizationDictionary *string `type:"string"`
// A JSON object that contains a collection of string:value pairs that each// map a term to its stem. For example, {"term1": "stem1", "term2": "stem2",// "term3": "stem3"}. The stemming dictionary is applied in addition to any// algorithmic stemming. This enables you to override the results of the algorithmic// stemming to correct specific cases of overstemming or understemming. The// maximum size of a stemming dictionary is 500 KB.
StemmingDictionary *string `type:"string"`
// A JSON array of terms to ignore during indexing and searching. For example,// ["a", "an", "the", "of"]. The stopwords dictionary must explicitly list each// word you want to ignore. Wildcards and regular expressions are not supported.
Stopwords *string `type:"string"`
// A JSON object that defines synonym groups and aliases. A synonym group is// an array of arrays, where each sub-array is a group of terms where each term// in the group is considered a synonym of every other term in the group. The// aliases value is an object that contains a collection of string:value pairs// where the string specifies a term and the array of values specifies each// of the aliases for that term. An alias is considered a synonym of the specified// term, but the term is not considered a synonym of the alias. For more information// about specifying synonyms, see Synonyms (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html#synonyms)// in the Amazon CloudSearch Developer Guide.
Synonyms *string `type:"string"`
// contains filtered or unexported fields
}

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.

type AnalysisSchemeStatus struct {
// 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.//// Options is a required field
Options *AnalysisScheme `type:"structure" required:"true"`
// The status of domain configuration option.//// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the BuildSuggester operation. Specifies the
name of the domain you want to update.

type BuildSuggestersInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

BuildSuggestersRequest generates a "aws/request.Request" representing the
client's request for the BuildSuggesters operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See BuildSuggesters for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the BuildSuggesters method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

BuildSuggestersWithContext is the same as BuildSuggesters with the addition of
the ability to pass a context and additional request options.

See BuildSuggesters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.

CreateDomainRequest generates a "aws/request.Request" representing the
client's request for the CreateDomain operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See CreateDomain for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the CreateDomain method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

CreateDomainWithContext is the same as CreateDomain with the addition of
the ability to pass a context and additional request options.

See CreateDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DefineAnalysisSchemeRequest generates a "aws/request.Request" representing the
client's request for the DefineAnalysisScheme operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DefineAnalysisScheme for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DefineAnalysisScheme method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DefineAnalysisSchemeWithContext is the same as DefineAnalysisScheme with the addition of
the ability to pass a context and additional request options.

See DefineAnalysisScheme for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DefineExpressionRequest generates a "aws/request.Request" representing the
client's request for the DefineExpression operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DefineExpression for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DefineExpression method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DefineExpressionWithContext is the same as DefineExpression with the addition of
the ability to pass a context and additional request options.

See DefineExpression for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Configures an IndexField for the search domain. Used to create new fields
and modify existing ones. You must specify the name of the domain you are
configuring and an index field configuration. The index field configuration
specifies a unique name, the index field type, and the options you want to
configure for the field. The options you can specify depend on the IndexFieldType.
If the field exists, the new configuration replaces the old one. For more
information, see Configuring Index Fields (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DefineIndexFieldRequest generates a "aws/request.Request" representing the
client's request for the DefineIndexField operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DefineIndexField for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DefineIndexField method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DefineIndexFieldWithContext is the same as DefineIndexField with the addition of
the ability to pass a context and additional request options.

See DefineIndexField for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Configures a suggester for a domain. A suggester enables you to display possible
matches before users finish typing their queries. When you configure a suggester,
you must specify the name of the text field you want to search for possible
matches and a unique name for the suggester. For more information, see Getting
Search Suggestions (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DefineSuggesterRequest generates a "aws/request.Request" representing the
client's request for the DefineSuggester operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DefineSuggester for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DefineSuggester method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DefineSuggesterWithContext is the same as DefineSuggester with the addition of
the ability to pass a context and additional request options.

See DefineSuggester for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DeleteAnalysisSchemeRequest generates a "aws/request.Request" representing the
client's request for the DeleteAnalysisScheme operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DeleteAnalysisScheme for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DeleteAnalysisScheme method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DeleteAnalysisSchemeWithContext is the same as DeleteAnalysisScheme with the addition of
the ability to pass a context and additional request options.

See DeleteAnalysisScheme for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).

DeleteDomainRequest generates a "aws/request.Request" representing the
client's request for the DeleteDomain operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DeleteDomain for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DeleteDomain method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DeleteDomainWithContext is the same as DeleteDomain with the addition of
the ability to pass a context and additional request options.

See DeleteDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DeleteExpressionRequest generates a "aws/request.Request" representing the
client's request for the DeleteExpression operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DeleteExpression for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DeleteExpression method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DeleteExpressionWithContext is the same as DeleteExpression with the addition of
the ability to pass a context and additional request options.

See DeleteExpression for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DeleteIndexFieldRequest generates a "aws/request.Request" representing the
client's request for the DeleteIndexField operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DeleteIndexField for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DeleteIndexField method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DeleteIndexFieldWithContext is the same as DeleteIndexField with the addition of
the ability to pass a context and additional request options.

See DeleteIndexField for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DeleteSuggesterRequest generates a "aws/request.Request" representing the
client's request for the DeleteSuggester operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DeleteSuggester for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DeleteSuggester method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DeleteSuggesterWithContext is the same as DeleteSuggester with the addition of
the ability to pass a context and additional request options.

See DeleteSuggester for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Gets the analysis schemes configured for a domain. An analysis scheme defines
language-specific text processing options for a text field. Can be limited
to specific analysis schemes by name. By default, shows all analysis schemes
and includes any pending changes to the configuration. Set the Deployed option
to true to show the active configuration and exclude pending changes. For
more information, see Configuring Analysis Schemes (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DescribeAnalysisSchemesRequest generates a "aws/request.Request" representing the
client's request for the DescribeAnalysisSchemes operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeAnalysisSchemes for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeAnalysisSchemes method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeAnalysisSchemesWithContext is the same as DescribeAnalysisSchemes with the addition of
the ability to pass a context and additional request options.

See DescribeAnalysisSchemes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.
* ErrCodeDisabledOperationException "DisabledAction"
The request was rejected because it attempted an operation which is not enabled.

DescribeAvailabilityOptionsRequest generates a "aws/request.Request" representing the
client's request for the DescribeAvailabilityOptions operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeAvailabilityOptions for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeAvailabilityOptions method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeAvailabilityOptionsWithContext is the same as DescribeAvailabilityOptions with the addition of
the ability to pass a context and additional request options.

See DescribeAvailabilityOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Gets information about the search domains owned by this account. Can be limited
to specific domains. Shows all domains by default. To get the number of searchable
documents in a domain, use the console or submit a matchall request to your
domain's search endpoint: q=matchall&q.parser=structured&size=0.
For more information, see Getting Information about a Search Domain (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-domain-info.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).

DescribeDomainsRequest generates a "aws/request.Request" representing the
client's request for the DescribeDomains operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeDomains for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeDomains method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeDomainsWithContext is the same as DescribeDomains with the addition of
the ability to pass a context and additional request options.

See DescribeDomains for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Gets the expressions configured for the search domain. Can be limited to
specific expressions by name. By default, shows all expressions and includes
any pending changes to the configuration. Set the Deployed option to true
to show the active configuration and exclude pending changes. For more information,
see Configuring Expressions (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DescribeExpressionsRequest generates a "aws/request.Request" representing the
client's request for the DescribeExpressions operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeExpressions for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeExpressions method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeExpressionsWithContext is the same as DescribeExpressions with the addition of
the ability to pass a context and additional request options.

See DescribeExpressions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Gets information about the index fields configured for the search domain.
Can be limited to specific fields by name. By default, shows all fields and
includes any pending changes to the configuration. Set the Deployed option
to true to show the active configuration and exclude pending changes. For
more information, see Getting Domain Information (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-domain-info.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DescribeIndexFieldsRequest generates a "aws/request.Request" representing the
client's request for the DescribeIndexFields operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeIndexFields for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeIndexFields method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeIndexFieldsWithContext is the same as DescribeIndexFields with the addition of
the ability to pass a context and additional request options.

See DescribeIndexFields for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DescribeScalingParametersRequest generates a "aws/request.Request" representing the
client's request for the DescribeScalingParameters operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeScalingParameters for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeScalingParameters method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeScalingParametersWithContext is the same as DescribeScalingParameters with the addition of
the ability to pass a context and additional request options.

See DescribeScalingParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Gets information about the access policies that control access to the domain's
document and search endpoints. By default, shows the configuration with any
pending changes. Set the Deployed option to true to show the active configuration
and exclude pending changes. For more information, see Configuring Access
for a Search Domain (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DescribeServiceAccessPoliciesRequest generates a "aws/request.Request" representing the
client's request for the DescribeServiceAccessPolicies operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeServiceAccessPolicies for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeServiceAccessPolicies method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeServiceAccessPoliciesWithContext is the same as DescribeServiceAccessPolicies with the addition of
the ability to pass a context and additional request options.

See DescribeServiceAccessPolicies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Gets the suggesters configured for a domain. A suggester enables you to display
possible matches before users finish typing their queries. Can be limited
to specific suggesters by name. By default, shows all suggesters and includes
any pending changes to the configuration. Set the Deployed option to true
to show the active configuration and exclude pending changes. For more information,
see Getting Search Suggestions (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

DescribeSuggestersRequest generates a "aws/request.Request" representing the
client's request for the DescribeSuggesters operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See DescribeSuggesters for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the DescribeSuggesters method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

DescribeSuggestersWithContext is the same as DescribeSuggesters with the addition of
the ability to pass a context and additional request options.

See DescribeSuggesters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.

IndexDocumentsRequest generates a "aws/request.Request" representing the
client's request for the IndexDocuments operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See IndexDocuments for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the IndexDocuments method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

IndexDocumentsWithContext is the same as IndexDocuments with the addition of
the ability to pass a context and additional request options.

See IndexDocuments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

ListDomainNamesRequest generates a "aws/request.Request" representing the
client's request for the ListDomainNames operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See ListDomainNames for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the ListDomainNames method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

ListDomainNamesWithContext is the same as ListDomainNames with the addition of
the ability to pass a context and additional request options.

See ListDomainNames for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

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 (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-availability-options.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.
* ErrCodeDisabledOperationException "DisabledAction"
The request was rejected because it attempted an operation which is not enabled.

UpdateAvailabilityOptionsRequest generates a "aws/request.Request" representing the
client's request for the UpdateAvailabilityOptions operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See UpdateAvailabilityOptions for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the UpdateAvailabilityOptions method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

UpdateAvailabilityOptionsWithContext is the same as UpdateAvailabilityOptions with the addition of
the ability to pass a context and additional request options.

See UpdateAvailabilityOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Configures scaling parameters for a domain. A domain's scaling parameters
specify the desired search instance type and replication count. Amazon CloudSearch
will still automatically scale your domain based on the volume of data and
traffic, but not below the desired instance type and replication count. If
the Multi-AZ option is enabled, these values control the resources used per
Availability Zone. For more information, see Configuring Scaling Options
(http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-scaling-options.html)
in the Amazon CloudSearch Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.

UpdateScalingParametersRequest generates a "aws/request.Request" representing the
client's request for the UpdateScalingParameters operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See UpdateScalingParameters for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the UpdateScalingParameters method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

UpdateScalingParametersWithContext is the same as UpdateScalingParameters with the addition of
the ability to pass a context and additional request options.

See UpdateScalingParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeBaseException "BaseException"
An error occurred while processing the request.
* ErrCodeInternalException "InternalException"
An internal error occurred while processing the request. If this problem
persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/).
* ErrCodeLimitExceededException "LimitExceeded"
The request was rejected because a resource limit has already been met.
* ErrCodeResourceNotFoundException "ResourceNotFound"
The request was rejected because it attempted to reference a resource that
does not exist.
* ErrCodeInvalidTypeException "InvalidType"
The request was rejected because it specified an invalid type definition.

UpdateServiceAccessPoliciesRequest generates a "aws/request.Request" representing the
client's request for the UpdateServiceAccessPolicies operation. The "output" return
value can be used to capture response data after the request's "Send" method
is called.

See UpdateServiceAccessPolicies for usage and error information.

Creating a request object using this method should be used when you want to inject
custom logic into the request's lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the UpdateServiceAccessPolicies method directly
instead.

Note: You must call the "Send" method on the returned request object in order
to execute the request.

UpdateServiceAccessPoliciesWithContext is the same as UpdateServiceAccessPolicies with the addition of
the ability to pass a context and additional request options.

See UpdateServiceAccessPolicies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Container for the parameters to the CreateDomain operation. Specifies a name
for the new search domain.

type CreateDomainInput struct {
// A name for the domain you are creating. Allowed characters are a-z (lower-case// letters), 0-9, and hyphen (-). Domain names must start with a letter or number// and be at least 3 and no more than 28 characters long.//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Options for a field that contains an array of dates. Present if IndexFieldType
specifies the field is of type date-array. All options are enabled by default.

type DateArrayOptions struct {
// A value to use for the field if the field isn't specified for a document.
DefaultValue *string `type:"string"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// A list of source fields to map to the field.
SourceFields *string `type:"string"`
// contains filtered or unexported fields
}

Options for a date field. Dates and times are specified in UTC (Coordinated
Universal Time) according to IETF RFC3339: yyyy-mm-ddT00:00:00Z. Present
if IndexFieldType specifies the field is of type date. All options are enabled
by default.

type DateOptions struct {
// A value to use for the field if the field isn't specified for a document.
DefaultValue *string `type:"string"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// Whether the field can be used to sort the search results.
SortEnabled *bool `type:"boolean"`
// A string that represents the name of an index field. CloudSearch supports// regular index fields as well as dynamic fields. A dynamic field's name defines// a pattern that begins or ends with a wildcard. Any document fields that don't// map to a regular index field but do match a dynamic field's pattern are configured// with the dynamic field's indexing options.//// Regular field names begin with a letter and can contain the following characters:// a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin// or end with a wildcard (*). The wildcard can also be the only character in// a dynamic field name. Multiple wildcards, and wildcards embedded within a// string are not supported.//// The name score is reserved and cannot be used as a field name. To reference// a document's ID, you can use the name _id.
SourceField *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

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

type DefineAnalysisSchemeInput struct {
// 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.//// AnalysisScheme is a required field
AnalysisScheme *AnalysisScheme `type:"structure" required:"true"`
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DefineExpression operation. Specifies
the name of the domain you want to update and the expression you want to
configure.

type DefineExpressionInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// A named expression that can be evaluated at search time. Can be used to sort// the search results, define other expressions, or return computed information// in the search results.//// Expression is a required field
Expression *Expression `type:"structure" required:"true"`
// contains filtered or unexported fields
}

The result of a DefineExpression request. Contains the status of the newly-configured
expression.

type DefineExpressionOutput struct {
// The value of an Expression and its current status.//// Expression is a required field
Expression *ExpressionStatus `type:"structure" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DefineIndexField operation. Specifies
the name of the domain you want to update and the index field configuration.

type DefineIndexFieldInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// The index field and field options you want to configure.//// IndexField is a required field
IndexField *IndexField `type:"structure" required:"true"`
// contains filtered or unexported fields
}

The result of a DefineIndexField request. Contains the status of the newly-configured
index field.

type DefineIndexFieldOutput struct {
// The value of an IndexField and its current status.//// IndexField is a required field
IndexField *IndexFieldStatus `type:"structure" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DefineSuggester operation. Specifies
the name of the domain you want to update and the suggester configuration.

type DefineSuggesterInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// Configuration information for a search suggester. Each suggester has a unique// name and specifies the text field you want to use for suggestions. The following// options can be configured for a suggester: FuzzyMatching, SortExpression.//// Suggester is a required field
Suggester *Suggester `type:"structure" required:"true"`
// contains filtered or unexported fields
}

The result of a DefineSuggester request. Contains the status of the newly-configured
suggester.

type DefineSuggesterOutput struct {
// The value of a Suggester and its current status.//// Suggester is a required field
Suggester *SuggesterStatus `type:"structure" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DeleteAnalysisScheme operation. Specifies
the name of the domain you want to update and the analysis scheme you want
to delete.

type DeleteAnalysisSchemeInput struct {
// The name of the analysis scheme you want to delete.//// AnalysisSchemeName is a required field
AnalysisSchemeName *string `min:"1" type:"string" required:"true"`
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DeleteExpression operation. Specifies
the name of the domain you want to update and the name of the expression
you want to delete.

type DeleteExpressionInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// The name of the Expression to delete.//// ExpressionName is a required field
ExpressionName *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DeleteIndexField operation. Specifies
the name of the domain you want to update and the name of the index field
you want to delete.

type DeleteIndexFieldInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// The name of the index field your want to remove from the domain's indexing// options.//// IndexFieldName is a required field
IndexFieldName *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DeleteSuggester operation. Specifies
the name of the domain you want to update and name of the suggester you want
to delete.

type DeleteSuggesterInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// Specifies the name of the suggester you want to delete.//// SuggesterName is a required field
SuggesterName *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeAnalysisSchemes operation. Specifies
the name of the domain you want to describe. To limit the response to particular
analysis schemes, specify the names of the analysis schemes you want to describe.
To show the active configuration and exclude any pending changes, set the
Deployed option to true.

type DescribeAnalysisSchemesInput struct {
// The analysis schemes you want to describe.
AnalysisSchemeNames []*string `type:"list"`
// Whether to display the deployed configuration (true) or include any pending// changes (false). Defaults to false.
Deployed *bool `type:"boolean"`
// The name of the domain you want to describe.//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeAvailabilityOptions operation.
Specifies the name of the domain you want to describe. To show the active
configuration and exclude any pending changes, set the Deployed option to
true.

type DescribeAvailabilityOptionsInput struct {
// Whether to display the deployed configuration (true) or include any pending// changes (false). Defaults to false.
Deployed *bool `type:"boolean"`
// The name of the domain you want to describe.//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeDomains operation. By default
shows the status of all domains. To restrict the response to particular domains,
specify the names of the domains you want to describe.

type DescribeDomainsInput struct {
// The names of the domains you want to include in the response.
DomainNames []*string `type:"list"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeDomains operation. Specifies
the name of the domain you want to describe. To restrict the response to
particular expressions, specify the names of the expressions you want to
describe. To show the active configuration and exclude any pending changes,
set the Deployed option to true.

type DescribeExpressionsInput struct {
// Whether to display the deployed configuration (true) or include any pending// changes (false). Defaults to false.
Deployed *bool `type:"boolean"`
// The name of the domain you want to describe.//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// Limits the DescribeExpressions response to the specified expressions. If// not specified, all expressions are shown.
ExpressionNames []*string `type:"list"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeIndexFields operation. Specifies
the name of the domain you want to describe. To restrict the response to
particular index fields, specify the names of the index fields you want to
describe. To show the active configuration and exclude any pending changes,
set the Deployed option to true.

type DescribeIndexFieldsInput struct {
// Whether to display the deployed configuration (true) or include any pending// changes (false). Defaults to false.
Deployed *bool `type:"boolean"`
// The name of the domain you want to describe.//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// A list of the index fields you want to describe. If not specified, information// is returned for all configured index fields.
FieldNames []*string `type:"list"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeScalingParameters operation.
Specifies the name of the domain you want to describe.

type DescribeScalingParametersInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeServiceAccessPolicies operation.
Specifies the name of the domain you want to describe. To show the active
configuration and exclude any pending changes, set the Deployed option to
true.

type DescribeServiceAccessPoliciesInput struct {
// Whether to display the deployed configuration (true) or include any pending// changes (false). Defaults to false.
Deployed *bool `type:"boolean"`
// The name of the domain you want to describe.//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the DescribeSuggester operation. Specifies
the name of the domain you want to describe. To restrict the response to
particular suggesters, specify the names of the suggesters you want to describe.
To show the active configuration and exclude any pending changes, set the
Deployed option to true.

type DescribeSuggestersInput struct {
// Whether to display the deployed configuration (true) or include any pending// changes (false). Defaults to false.
Deployed *bool `type:"boolean"`
// The name of the domain you want to describe.//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// The suggesters you want to describe.
SuggesterNames []*string `type:"list"`
// contains filtered or unexported fields
}

type DocumentSuggesterOptions struct {
// The level of fuzziness allowed when suggesting matches for a string: none,// low, or high. With none, the specified string is treated as an exact prefix.// With low, suggestions must differ from the specified string by no more than// one character. With high, suggestions can differ by up to two characters.// The default is none.
FuzzyMatching *string `type:"string" enum:"SuggesterFuzzyMatching"`
// An expression that computes a score for each suggestion to control how they// are sorted. The scores are rounded to the nearest integer, with a floor of// 0 and a ceiling of 2^31-1. A document's relevance score is not computed for// suggestions, so sort expressions cannot reference the _score value. To sort// suggestions using a numeric field or existing expression, simply specify// the name of the field or expression. If no expression is configured for the// suggester, the suggestions are sorted with the closest matches listed first.
SortExpression *string `type:"string"`
// The name of the index field you want to use for suggestions.//// SourceField is a required field
SourceField *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

type DomainStatus struct {
// The Amazon Resource Name (ARN) of the search domain. See Identifiers for// IAM Entities (http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html)// in Using AWS Identity and Access Management for more information.
ARN *string `type:"string"`
// True if the search domain is created. It can take several minutes to initialize// a domain when CreateDomain is called. Newly created search domains are returned// from DescribeDomains with a false value for Created until domain creation// is complete.
Created *bool `type:"boolean"`
// True if the search domain has been deleted. The system must clean up resources// dedicated to the search domain when DeleteDomain is called. Newly deleted// search domains are returned from DescribeDomains with a true value for IsDeleted// for several minutes until resource cleanup is complete.
Deleted *bool `type:"boolean"`
// The service endpoint for updating documents in a search domain.
DocService *ServiceEndpoint `type:"structure"`
// An internally generated unique identifier for a domain.//// DomainId is a required field
DomainId *string `min:"1" type:"string" required:"true"`
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
Limits *Limits `type:"structure"`
// True if processing is being done to activate the current domain configuration.
Processing *bool `type:"boolean"`
// True if IndexDocuments needs to be called to activate the current domain// configuration.//// RequiresIndexDocuments is a required field
RequiresIndexDocuments *bool `type:"boolean" required:"true"`
// The number of search instances that are available to process search requests.
SearchInstanceCount *int64 `min:"1" type:"integer"`
// The instance type that is being used to process search requests.
SearchInstanceType *string `type:"string"`
// The number of partitions across which the search index is spread.
SearchPartitionCount *int64 `min:"1" type:"integer"`
// The service endpoint for requesting search results from a search domain.
SearchService *ServiceEndpoint `type:"structure"`
// contains filtered or unexported fields
}

Options for a field that contains an array of double-precision 64-bit floating
point values. Present if IndexFieldType specifies the field is of type double-array.
All options are enabled by default.

type DoubleArrayOptions struct {
// A value to use for the field if the field isn't specified for a document.
DefaultValue *float64 `type:"double"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// A list of source fields to map to the field.
SourceFields *string `type:"string"`
// contains filtered or unexported fields
}

Options for a double-precision 64-bit floating point field. Present if IndexFieldType
specifies the field is of type double. All options are enabled by default.

type DoubleOptions struct {
// A value to use for the field if the field isn't specified for a document.// This can be important if you are using the field in an expression and that// field is not present in every document.
DefaultValue *float64 `type:"double"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// Whether the field can be used to sort the search results.
SortEnabled *bool `type:"boolean"`
// The name of the source field to map to the field.
SourceField *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

A named expression that can be evaluated at search time. Can be used to sort
the search results, define other expressions, or return computed information
in the search results.

type Expression struct {
// Names must begin with a letter and can contain the following characters:// a-z (lowercase), 0-9, and _ (underscore).//// ExpressionName is a required field
ExpressionName *string `min:"1" type:"string" required:"true"`
// The expression to evaluate for sorting while processing a search request.// The Expression syntax is based on JavaScript expressions. For more information,// see Configuring Expressions (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html)// in the Amazon CloudSearch Developer Guide.//// ExpressionValue is a required field
ExpressionValue *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the IndexDocuments operation. Specifies the
name of the domain you want to re-index.

type IndexDocumentsInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}

Configuration information for a field in the index, including its name, type,
and options. The supported options depend on the IndexFieldType.

type IndexField struct {
// Options for a field that contains an array of dates. Present if IndexFieldType// specifies the field is of type date-array. All options are enabled by default.
DateArrayOptions *DateArrayOptions `type:"structure"`
// Options for a date field. Dates and times are specified in UTC (Coordinated// Universal Time) according to IETF RFC3339: yyyy-mm-ddT00:00:00Z. Present// if IndexFieldType specifies the field is of type date. All options are enabled// by default.
DateOptions *DateOptions `type:"structure"`
// Options for a field that contains an array of double-precision 64-bit floating// point values. Present if IndexFieldType specifies the field is of type double-array.// All options are enabled by default.
DoubleArrayOptions *DoubleArrayOptions `type:"structure"`
// Options for a double-precision 64-bit floating point field. Present if IndexFieldType// specifies the field is of type double. All options are enabled by default.
DoubleOptions *DoubleOptions `type:"structure"`
// A string that represents the name of an index field. CloudSearch supports// regular index fields as well as dynamic fields. A dynamic field's name defines// a pattern that begins or ends with a wildcard. Any document fields that don't// map to a regular index field but do match a dynamic field's pattern are configured// with the dynamic field's indexing options.//// Regular field names begin with a letter and can contain the following characters:// a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin// or end with a wildcard (*). The wildcard can also be the only character in// a dynamic field name. Multiple wildcards, and wildcards embedded within a// string are not supported.//// The name score is reserved and cannot be used as a field name. To reference// a document's ID, you can use the name _id.//// IndexFieldName is a required field
IndexFieldName *string `min:"1" type:"string" required:"true"`
// The type of field. The valid options for a field depend on the field type.// For more information about the supported field types, see Configuring Index// Fields (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html)// in the Amazon CloudSearch Developer Guide.//// IndexFieldType is a required field
IndexFieldType *string `type:"string" required:"true" enum:"IndexFieldType"`
// Options for a field that contains an array of 64-bit signed integers. Present// if IndexFieldType specifies the field is of type int-array. All options are// enabled by default.
IntArrayOptions *IntArrayOptions `type:"structure"`
// Options for a 64-bit signed integer field. Present if IndexFieldType specifies// the field is of type int. All options are enabled by default.
IntOptions *IntOptions `type:"structure"`
// Options for a latlon field. A latlon field contains a location stored as// a latitude and longitude value pair. Present if IndexFieldType specifies// the field is of type latlon. All options are enabled by default.
LatLonOptions *LatLonOptions `type:"structure"`
// Options for a field that contains an array of literal strings. Present if// IndexFieldType specifies the field is of type literal-array. All options// are enabled by default.
LiteralArrayOptions *LiteralArrayOptions `type:"structure"`
// Options for literal field. Present if IndexFieldType specifies the field// is of type literal. All options are enabled by default.
LiteralOptions *LiteralOptions `type:"structure"`
// Options for a field that contains an array of text strings. Present if IndexFieldType// specifies the field is of type text-array. A text-array field is always searchable.// All options are enabled by default.
TextArrayOptions *TextArrayOptions `type:"structure"`
// Options for text field. Present if IndexFieldType specifies the field is// of type text. A text field is always searchable. All options are enabled// by default.
TextOptions *TextOptions `type:"structure"`
// contains filtered or unexported fields
}

type IndexFieldStatus struct {
// Configuration information for a field in the index, including its name, type,// and options. The supported options depend on the IndexFieldType.//// Options is a required field
Options *IndexField `type:"structure" required:"true"`
// The status of domain configuration option.//// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
// contains filtered or unexported fields
}

Options for a field that contains an array of 64-bit signed integers. Present
if IndexFieldType specifies the field is of type int-array. All options are
enabled by default.

type IntArrayOptions struct {
// A value to use for the field if the field isn't specified for a document.
DefaultValue *int64 `type:"long"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// A list of source fields to map to the field.
SourceFields *string `type:"string"`
// contains filtered or unexported fields
}

Options for a 64-bit signed integer field. Present if IndexFieldType specifies
the field is of type int. All options are enabled by default.

type IntOptions struct {
// A value to use for the field if the field isn't specified for a document.// This can be important if you are using the field in an expression and that// field is not present in every document.
DefaultValue *int64 `type:"long"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// Whether the field can be used to sort the search results.
SortEnabled *bool `type:"boolean"`
// The name of the source field to map to the field.
SourceField *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

Options for a latlon field. A latlon field contains a location stored as
a latitude and longitude value pair. Present if IndexFieldType specifies
the field is of type latlon. All options are enabled by default.

type LatLonOptions struct {
// A value to use for the field if the field isn't specified for a document.
DefaultValue *string `type:"string"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// Whether the field can be used to sort the search results.
SortEnabled *bool `type:"boolean"`
// A string that represents the name of an index field. CloudSearch supports// regular index fields as well as dynamic fields. A dynamic field's name defines// a pattern that begins or ends with a wildcard. Any document fields that don't// map to a regular index field but do match a dynamic field's pattern are configured// with the dynamic field's indexing options.//// Regular field names begin with a letter and can contain the following characters:// a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin// or end with a wildcard (*). The wildcard can also be the only character in// a dynamic field name. Multiple wildcards, and wildcards embedded within a// string are not supported.//// The name score is reserved and cannot be used as a field name. To reference// a document's ID, you can use the name _id.
SourceField *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

Options for a field that contains an array of literal strings. Present if
IndexFieldType specifies the field is of type literal-array. All options
are enabled by default.

type LiteralArrayOptions struct {
// A value to use for the field if the field isn't specified for a document.
DefaultValue *string `type:"string"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// A list of source fields to map to the field.
SourceFields *string `type:"string"`
// contains filtered or unexported fields
}

Options for literal field. Present if IndexFieldType specifies the field
is of type literal. All options are enabled by default.

type LiteralOptions struct {
// A value to use for the field if the field isn't specified for a document.
DefaultValue *string `type:"string"`
// Whether facet information can be returned for the field.
FacetEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the contents of the field are searchable.
SearchEnabled *bool `type:"boolean"`
// Whether the field can be used to sort the search results.
SortEnabled *bool `type:"boolean"`
// A string that represents the name of an index field. CloudSearch supports// regular index fields as well as dynamic fields. A dynamic field's name defines// a pattern that begins or ends with a wildcard. Any document fields that don't// map to a regular index field but do match a dynamic field's pattern are configured// with the dynamic field's indexing options.//// Regular field names begin with a letter and can contain the following characters:// a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin// or end with a wildcard (*). The wildcard can also be the only character in// a dynamic field name. Multiple wildcards, and wildcards embedded within a// string are not supported.//// The name score is reserved and cannot be used as a field name. To reference// a document's ID, you can use the name _id.
SourceField *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

type OptionStatus struct {
// A timestamp for when this option was created.//// CreationDate is a required field
CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
// Indicates that the option will be deleted once processing is complete.
PendingDeletion *bool `type:"boolean"`
// The state of processing a change to an option. Possible values://// * RequiresIndexDocuments: the option's latest value will not be deployed// until IndexDocuments has been called and indexing is complete.// * Processing: the option's latest value is in the process of being activated.//// * Active: the option's latest value is completely deployed.// * FailedToValidate: the option value is not compatible with the domain's// data and cannot be used to index the data. You must either modify the// option value or update or remove the incompatible documents.//// State is a required field
State *string `type:"string" required:"true" enum:"OptionState"`
// A timestamp for when this option was last updated.//// UpdateDate is a required field
UpdateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
// A unique integer that indicates when this option was last updated.
UpdateVersion *int64 `type:"integer"`
// contains filtered or unexported fields
}

The desired instance type and desired number of replicas of each index partition.

type ScalingParameters struct {
// The instance type that you want to preconfigure for your domain. For example,// search.m1.small.
DesiredInstanceType *string `type:"string" enum:"PartitionInstanceType"`
// The number of partitions you want to preconfigure for your domain. Only valid// when you select m2.2xlarge as the desired instance type.
DesiredPartitionCount *int64 `type:"integer"`
// The number of replicas you want to preconfigure for each index partition.
DesiredReplicationCount *int64 `type:"integer"`
// contains filtered or unexported fields
}

Configuration information for a search suggester. Each suggester has a unique
name and specifies the text field you want to use for suggestions. The following
options can be configured for a suggester: FuzzyMatching, SortExpression.

type Suggester struct {
// Options for a search suggester.//// DocumentSuggesterOptions is a required field
DocumentSuggesterOptions *DocumentSuggesterOptions `type:"structure" required:"true"`
// Names must begin with a letter and can contain the following characters:// a-z (lowercase), 0-9, and _ (underscore).//// SuggesterName is a required field
SuggesterName *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

type SuggesterStatus struct {
// Configuration information for a search suggester. Each suggester has a unique// name and specifies the text field you want to use for suggestions. The following// options can be configured for a suggester: FuzzyMatching, SortExpression.//// Options is a required field
Options *Suggester `type:"structure" required:"true"`
// The status of domain configuration option.//// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
// contains filtered or unexported fields
}

Options for a field that contains an array of text strings. Present if IndexFieldType
specifies the field is of type text-array. A text-array field is always searchable.
All options are enabled by default.

type TextArrayOptions struct {
// The name of an analysis scheme for a text-array field.
AnalysisScheme *string `type:"string"`
// A value to use for the field if the field isn't specified for a document.
DefaultValue *string `type:"string"`
// Whether highlights can be returned for the field.
HighlightEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// A list of source fields to map to the field.
SourceFields *string `type:"string"`
// contains filtered or unexported fields
}

Options for text field. Present if IndexFieldType specifies the field is
of type text. A text field is always searchable. All options are enabled
by default.

type TextOptions struct {
// The name of an analysis scheme for a text field.
AnalysisScheme *string `type:"string"`
// A value to use for the field if the field isn't specified for a document.
DefaultValue *string `type:"string"`
// Whether highlights can be returned for the field.
HighlightEnabled *bool `type:"boolean"`
// Whether the contents of the field can be returned in the search results.
ReturnEnabled *bool `type:"boolean"`
// Whether the field can be used to sort the search results.
SortEnabled *bool `type:"boolean"`
// A string that represents the name of an index field. CloudSearch supports// regular index fields as well as dynamic fields. A dynamic field's name defines// a pattern that begins or ends with a wildcard. Any document fields that don't// map to a regular index field but do match a dynamic field's pattern are configured// with the dynamic field's indexing options.//// Regular field names begin with a letter and can contain the following characters:// a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin// or end with a wildcard (*). The wildcard can also be the only character in// a dynamic field name. Multiple wildcards, and wildcards embedded within a// string are not supported.//// The name score is reserved and cannot be used as a field name. To reference// a document's ID, you can use the name _id.
SourceField *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

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

type UpdateAvailabilityOptionsInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// 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.//// MultiAZ is a required field
MultiAZ *bool `type:"boolean" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the UpdateScalingParameters operation. Specifies
the name of the domain you want to update and the scaling parameters you
want to configure.

type UpdateScalingParametersInput struct {
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// The desired instance type and desired number of replicas of each index partition.//// ScalingParameters is a required field
ScalingParameters *ScalingParameters `type:"structure" required:"true"`
// contains filtered or unexported fields
}

Container for the parameters to the UpdateServiceAccessPolicies operation.
Specifies the name of the domain you want to update and the access rules
you want to configure.

type UpdateServiceAccessPoliciesInput struct {
// The access rules you want to configure. These rules replace any existing// rules.//// AccessPolicies is a required field
AccessPolicies *string `type:"string" required:"true"`
// 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).//// DomainName is a required field
DomainName *string `min:"3" type:"string" required:"true"`
// contains filtered or unexported fields
}