Class CloudSearchClient
Client to interact with Amazon CloudSearch
- Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
-
Guzzle\Http\Client implements Guzzle\Http\ClientInterface
-
Guzzle\Service\Client implements Guzzle\Service\ClientInterface
-
Aws\Common\Client\AbstractClient implements Aws\Common\Client\AwsClientInterface
-
Aws\CloudSearch\CloudSearchClient
Link: User guide
Link: API docs
Located at Aws/CloudSearch/CloudSearchClient.php
Methods summary
-
public static
factory ( array|Collection $config = array() )
Factory method to create a new Amazon CloudSearch client using an array of configuration options.
-
public
buildSuggesters ( array $args = array() )
Executes the BuildSuggesters operation.
-
public
createDomain ( array $args = array() )
Executes the CreateDomain operation.
-
public
defineAnalysisScheme ( array $args = array() )
Executes the DefineAnalysisScheme operation.
-
public
defineExpression ( array $args = array() )
Executes the DefineExpression operation.
-
public
defineIndexField ( array $args = array() )
Executes the DefineIndexField operation.
-
public
defineSuggester ( array $args = array() )
Executes the DefineSuggester operation.
-
public
deleteAnalysisScheme ( array $args = array() )
Executes the DeleteAnalysisScheme operation.
-
public
deleteDomain ( array $args = array() )
Executes the DeleteDomain operation.
-
public
deleteExpression ( array $args = array() )
Executes the DeleteExpression operation.
-
public
deleteIndexField ( array $args = array() )
Executes the DeleteIndexField operation.
-
public
deleteSuggester ( array $args = array() )
Executes the DeleteSuggester operation.
-
public
describeAnalysisSchemes ( array $args = array() )
Executes the DescribeAnalysisSchemes operation.
-
public
describeAvailabilityOptions ( array $args = array() )
Executes the DescribeAvailabilityOptions operation.
-
public
describeDomains ( array $args = array() )
Executes the DescribeDomains operation.
-
public
describeExpressions ( array $args = array() )
Executes the DescribeExpressions operation.
-
public
describeIndexFields ( array $args = array() )
Executes the DescribeIndexFields operation.
-
public
describeScalingParameters ( array $args = array() )
Executes the DescribeScalingParameters operation.
-
public
describeServiceAccessPolicies ( array $args = array() )
Executes the DescribeServiceAccessPolicies operation.
-
public
describeSuggesters ( array $args = array() )
Executes the DescribeSuggesters operation.
-
public
indexDocuments ( array $args = array() )
Executes the IndexDocuments operation.
-
public
listDomainNames ( array $args = array() )
Executes the ListDomainNames operation.
-
public
updateAvailabilityOptions ( array $args = array() )
Executes the UpdateAvailabilityOptions operation.
-
public
updateScalingParameters ( array $args = array() )
Executes the UpdateScalingParameters operation.
-
public
updateServiceAccessPolicies ( array $args = array() )
Executes the UpdateServiceAccessPolicies operation.
-
public
getDescribeAnalysisSchemesIterator ( array $args = array() )
The input array uses the parameters of the DescribeAnalysisSchemes operation
-
public
getDescribeDomainsIterator ( array $args = array() )
The input array uses the parameters of the DescribeDomains operation
-
public
getDescribeExpressionsIterator ( array $args = array() )
The input array uses the parameters of the DescribeExpressions operation
-
public
getDescribeIndexFieldsIterator ( array $args = array() )
The input array uses the parameters of the DescribeIndexFields operation
-
public
getDescribeSuggestersIterator ( array $args = array() )
The input array uses the parameters of the DescribeSuggesters operation
Methods detail
public static
Aws\CloudSearch\CloudSearchClient
factory( array|Guzzle\Common\Collection
$config = array() )
Factory method to create a new Amazon CloudSearch client using an array of configuration options.
Parameters
- $config
array|
Guzzle\Common\Collection
$config Client configuration data
Returns
Link
Overrides
Executes the BuildSuggesters operation.
Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->buildSuggesters(array( // DomainName is required 'DomainName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
FieldNames => (array<string>)A list of field names.
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.
Executes the CreateDomain operation.
Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->createDomain(array( // DomainName is required 'DomainName' => 'string', ));
- Create a domain
$result = $client->createDomain(array( 'DomainName' => 'integdomain' ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
DomainStatus => (associative-array)The current status of the search domain.
-
DomainId => (string)An internally generated unique identifier for a domain.
-
DomainName => (string)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).
-
ARN => (string)The Amazon Resource Name (ARN) of the search domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
-
Created => (bool)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.
-
Deleted => (bool)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.
-
DocService => (associative-array)The service endpoint for updating documents in a search domain.
-
Endpoint => (string)The endpoint to which service requests can be submitted. For example, search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com or doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com.
-
-
SearchService => (associative-array)The service endpoint for requesting search results from a search domain.
-
Endpoint => (string)The endpoint to which service requests can be submitted. For example, search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com or doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com.
-
-
RequiresIndexDocuments => (bool)True if IndexDocuments needs to be called to activate the current domain configuration.
-
Processing => (bool)True if processing is being done to activate the current domain configuration.
-
SearchInstanceType => (string)The instance type that is being used to process search requests.
-
SearchPartitionCount => (int)The number of partitions across which the search index is spread.
-
SearchInstanceCount => (int)The number of search instances that are available to process search requests.
-
Limits => (associative-array)-
MaximumReplicationCount => (int) -
MaximumPartitionCount => (int)
-
-
Executes the DefineAnalysisScheme operation.
Configures an analysis scheme that can be applied to a
Examples
- Basic formatting example
$result = $client->defineAnalysisScheme(array( // DomainName is required 'DomainName' => 'string', // AnalysisScheme is required 'AnalysisScheme' => array( // AnalysisSchemeName is required 'AnalysisSchemeName' => 'string', // AnalysisSchemeLanguage is required 'AnalysisSchemeLanguage' => 'string', 'AnalysisOptions' => array( 'Synonyms' => 'string', 'Stopwords' => 'string', 'StemmingDictionary' => 'string', 'JapaneseTokenizationDictionary' => 'string', 'AlgorithmicStemming' => 'string', ), ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
AnalysisScheme => (associative-array)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.
-
AnalysisSchemeName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
AnalysisSchemeLanguage => (string:ar |bg |ca |cs |da |de |el |en |es |eu |fa |fi |fr |ga |gl |he |hi |hu |hy |id |it |ja |ko |lv |mul |nl |no |pt |ro |ru |sv |th |tr |zh-Hans |zh-Hant ) -
AnalysisOptions => (associative-array)Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
-
Synonyms => (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 in the Amazon CloudSearch Developer Guide.
-
Stopwords => (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.
-
StemmingDictionary => (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.
-
JapaneseTokenizationDictionary => (string)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.
-
AlgorithmicStemming => (string:none |minimal |light |full )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 in the Amazon CloudSearch Developer Guide
-
-
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
AnalysisScheme => (associative-array)The status and configuration of an AnalysisScheme.
-
Options => (associative-array)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.
-
AnalysisSchemeName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
AnalysisSchemeLanguage => (string) -
AnalysisOptions => (associative-array)Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
-
Synonyms => (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 in the Amazon CloudSearch Developer Guide.
-
Stopwords => (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.
-
StemmingDictionary => (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.
-
JapaneseTokenizationDictionary => (string)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.
-
AlgorithmicStemming => (string)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 in the Amazon CloudSearch Developer Guide
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DefineExpression operation.
Configures an
Examples
- Basic formatting example
$result = $client->defineExpression(array( // DomainName is required 'DomainName' => 'string', // Expression is required 'Expression' => array( // ExpressionName is required 'ExpressionName' => 'string', // ExpressionValue is required 'ExpressionValue' => 'string', ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
Expression => (associative-array)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.
-
ExpressionName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
ExpressionValue => (string)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 in the Amazon CloudSearch Developer Guide.
-
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Expression => (associative-array)The value of an Expression and its current status.
-
Options => (associative-array)The expression that is evaluated for sorting while processing a search request.
-
ExpressionName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
ExpressionValue => (string)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 in the Amazon CloudSearch Developer Guide.
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DefineIndexField operation.
Configures an
Examples
- Basic formatting example
$result = $client->defineIndexField(array( // DomainName is required 'DomainName' => 'string', // IndexField is required 'IndexField' => array( // IndexFieldName is required 'IndexFieldName' => 'string', // IndexFieldType is required 'IndexFieldType' => 'string', 'IntOptions' => array( 'DefaultValue' => integer, 'SourceField' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, 'SortEnabled' => true || false, ), 'DoubleOptions' => array( 'DefaultValue' => integer, 'SourceField' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, 'SortEnabled' => true || false, ), 'LiteralOptions' => array( 'DefaultValue' => 'string', 'SourceField' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, 'SortEnabled' => true || false, ), 'TextOptions' => array( 'DefaultValue' => 'string', 'SourceField' => 'string', 'ReturnEnabled' => true || false, 'SortEnabled' => true || false, 'HighlightEnabled' => true || false, 'AnalysisScheme' => 'string', ), 'DateOptions' => array( 'DefaultValue' => 'string', 'SourceField' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, 'SortEnabled' => true || false, ), 'LatLonOptions' => array( 'DefaultValue' => 'string', 'SourceField' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, 'SortEnabled' => true || false, ), 'IntArrayOptions' => array( 'DefaultValue' => integer, 'SourceFields' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, ), 'DoubleArrayOptions' => array( 'DefaultValue' => integer, 'SourceFields' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, ), 'LiteralArrayOptions' => array( 'DefaultValue' => 'string', 'SourceFields' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, ), 'TextArrayOptions' => array( 'DefaultValue' => 'string', 'SourceFields' => 'string', 'ReturnEnabled' => true || false, 'HighlightEnabled' => true || false, 'AnalysisScheme' => 'string', ), 'DateArrayOptions' => array( 'DefaultValue' => 'string', 'SourceFields' => 'string', 'FacetEnabled' => true || false, 'SearchEnabled' => true || false, 'ReturnEnabled' => true || false, ), ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
IndexField => (associative-array)The index field and field options you want to configure.
-
IndexFieldName => (string)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.
-
IndexFieldType => (string:int |double |literal |text |date |latlon |int-array |double-array |literal-array |text-array |date-array )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 in the Amazon CloudSearch Developer Guide.
-
IntOptions => (associative-array)Options for a 64-bit signed integer field. Present if IndexFieldType specifies the field is of type int. All options are enabled by default.
-
DefaultValue => (int)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. -
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
DoubleOptions => (associative-array)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.
-
DefaultValue => (int)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.
-
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LiteralOptions => (associative-array)Options for literal field. Present if IndexFieldType specifies the field is of type literal. All options are enabled by default.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
TextOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text field.
-
-
DateOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LatLonOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
IntArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
DoubleArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
LiteralArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
TextArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text-array field.
-
-
DateArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
IndexField => (associative-array)The value of an IndexField and its current status.
-
Options => (associative-array)Configuration information for a field in the index, including its name, type, and options. The supported options depend on the IndexFieldType.
-
IndexFieldName => (string)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.
-
IndexFieldType => (string)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 in the Amazon CloudSearch Developer Guide.
-
IntOptions => (associative-array)Options for a 64-bit signed integer field. Present if IndexFieldType specifies the field is of type int. All options are enabled by default.
-
DefaultValue => (int)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. -
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
DoubleOptions => (associative-array)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.
-
DefaultValue => (int)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.
-
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LiteralOptions => (associative-array)Options for literal field. Present if IndexFieldType specifies the field is of type literal. All options are enabled by default.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
TextOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text field.
-
-
DateOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LatLonOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
IntArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
DoubleArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
LiteralArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
TextArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text-array field.
-
-
DateArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DefineSuggester operation.
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 in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->defineSuggester(array( // DomainName is required 'DomainName' => 'string', // Suggester is required 'Suggester' => array( // SuggesterName is required 'SuggesterName' => 'string', // DocumentSuggesterOptions is required 'DocumentSuggesterOptions' => array( // SourceField is required 'SourceField' => 'string', 'FuzzyMatching' => 'string', 'SortExpression' => 'string', ), ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
Suggester => (associative-array)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.
-
SuggesterName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
DocumentSuggesterOptions => (associative-array)Options for a search suggester.
-
SourceField => (string)The name of the index field you want to use for suggestions.
-
FuzzyMatching => (string:none |low |high )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.
-
SortExpression => (string)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 231−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.
-
-
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Suggester => (associative-array)The value of a Suggester and its current status.
-
Options => (associative-array)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.
-
SuggesterName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
DocumentSuggesterOptions => (associative-array)Options for a search suggester.
-
SourceField => (string)The name of the index field you want to use for suggestions.
-
FuzzyMatching => (string)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.
-
SortExpression => (string)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 231−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.
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DeleteAnalysisScheme operation.
Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->deleteAnalysisScheme(array( // DomainName is required 'DomainName' => 'string', // AnalysisSchemeName is required 'AnalysisSchemeName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
AnalysisSchemeName => (string)The name of the analysis scheme you want to delete.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
AnalysisScheme => (associative-array)The status of the analysis scheme being deleted.
-
Options => (associative-array)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.
-
AnalysisSchemeName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
AnalysisSchemeLanguage => (string) -
AnalysisOptions => (associative-array)Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
-
Synonyms => (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 in the Amazon CloudSearch Developer Guide.
-
Stopwords => (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.
-
StemmingDictionary => (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.
-
JapaneseTokenizationDictionary => (string)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.
-
AlgorithmicStemming => (string)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 in the Amazon CloudSearch Developer Guide
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DeleteDomain operation.
Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->deleteDomain(array( // DomainName is required 'DomainName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)The name of the domain you want to permanently delete.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
DomainStatus => (associative-array)The current status of the search domain.
-
DomainId => (string)An internally generated unique identifier for a domain.
-
DomainName => (string)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).
-
ARN => (string)The Amazon Resource Name (ARN) of the search domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
-
Created => (bool)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.
-
Deleted => (bool)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.
-
DocService => (associative-array)The service endpoint for updating documents in a search domain.
-
Endpoint => (string)The endpoint to which service requests can be submitted. For example, search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com or doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com.
-
-
SearchService => (associative-array)The service endpoint for requesting search results from a search domain.
-
Endpoint => (string)The endpoint to which service requests can be submitted. For example, search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com or doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com.
-
-
RequiresIndexDocuments => (bool)True if IndexDocuments needs to be called to activate the current domain configuration.
-
Processing => (bool)True if processing is being done to activate the current domain configuration.
-
SearchInstanceType => (string)The instance type that is being used to process search requests.
-
SearchPartitionCount => (int)The number of partitions across which the search index is spread.
-
SearchInstanceCount => (int)The number of search instances that are available to process search requests.
-
Limits => (associative-array)-
MaximumReplicationCount => (int) -
MaximumPartitionCount => (int)
-
-
Executes the DeleteExpression operation.
Removes an
Examples
- Basic formatting example
$result = $client->deleteExpression(array( // DomainName is required 'DomainName' => 'string', // ExpressionName is required 'ExpressionName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
ExpressionName => (string)The name of the Expression to delete.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Expression => (associative-array)The status of the expression being deleted.
-
Options => (associative-array)The expression that is evaluated for sorting while processing a search request.
-
ExpressionName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
ExpressionValue => (string)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 in the Amazon CloudSearch Developer Guide.
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DeleteIndexField operation.
Removes an
Examples
- Basic formatting example
$result = $client->deleteIndexField(array( // DomainName is required 'DomainName' => 'string', // IndexFieldName is required 'IndexFieldName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
IndexFieldName => (string)The name of the index field your want to remove from the domain's indexing options.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
IndexField => (associative-array)The status of the index field being deleted.
-
Options => (associative-array)Configuration information for a field in the index, including its name, type, and options. The supported options depend on the IndexFieldType.
-
IndexFieldName => (string)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.
-
IndexFieldType => (string)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 in the Amazon CloudSearch Developer Guide.
-
IntOptions => (associative-array)Options for a 64-bit signed integer field. Present if IndexFieldType specifies the field is of type int. All options are enabled by default.
-
DefaultValue => (int)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. -
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
DoubleOptions => (associative-array)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.
-
DefaultValue => (int)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.
-
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LiteralOptions => (associative-array)Options for literal field. Present if IndexFieldType specifies the field is of type literal. All options are enabled by default.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
TextOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text field.
-
-
DateOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LatLonOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
IntArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
DoubleArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
LiteralArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
TextArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text-array field.
-
-
DateArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DeleteSuggester operation.
Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->deleteSuggester(array( // DomainName is required 'DomainName' => 'string', // SuggesterName is required 'SuggesterName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
SuggesterName => (string)Specifies the name of the suggester you want to delete.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Suggester => (associative-array)The status of the suggester being deleted.
-
Options => (associative-array)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.
-
SuggesterName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
DocumentSuggesterOptions => (associative-array)Options for a search suggester.
-
SourceField => (string)The name of the index field you want to use for suggestions.
-
FuzzyMatching => (string)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.
-
SortExpression => (string)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 231−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.
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DescribeAnalysisSchemes operation.
Gets the analysis schemes configured for a domain. An analysis scheme defines
language-specific text processing options for a
Examples
- Basic formatting example
$result = $client->describeAnalysisSchemes(array( // DomainName is required 'DomainName' => 'string', 'AnalysisSchemeNames' => array('string', ... ), 'Deployed' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)The name of the domain you want to describe.
-
AnalysisSchemeNames => (array<string>)The analysis schemes you want to describe.
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
Deployed => (bool)Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
AnalysisSchemes => (array<associative-array>)The analysis scheme descriptions.
- (associative-array)
The status and configuration of an AnalysisScheme.
-
Options => (associative-array)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.
-
AnalysisSchemeName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
AnalysisSchemeLanguage => (string) -
AnalysisOptions => (associative-array)Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
-
Synonyms => (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 in the Amazon CloudSearch Developer Guide.
-
Stopwords => (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.
-
StemmingDictionary => (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.
-
JapaneseTokenizationDictionary => (string)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.
-
AlgorithmicStemming => (string)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 in the Amazon CloudSearch Developer Guide
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
- (associative-array)
Executes the DescribeAvailabilityOptions operation.
Gets the availability options configured for a domain. By default, shows the
configuration with any pending changes. Set the
Examples
- Basic formatting example
$result = $client->describeAvailabilityOptions(array( // DomainName is required 'DomainName' => 'string', 'Deployed' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)The name of the domain you want to describe.
-
Deployed => (bool)Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
AvailabilityOptions => (associative-array)The availability options configured for the domain. Indicates whether Multi-AZ is enabled for the domain.
-
Options => (bool)The availability options configured for the domain.
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DescribeDomains operation.
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
Examples
- Basic formatting example
$result = $client->describeDomains(array( 'DomainNames' => array('string', ... ), ));
- List domains
$iterator = $client->getIterator('DescribeDomains'); foreach ($iterator as $domain) { echo "{$domain['DomainName']}: {$domain['SearchService']['Endpoint']}\n"; }
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainNames => (array<string>)The names of the domains you want to include in the response.
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
DomainStatusList => (array<associative-array>)A list that contains the status of each requested domain.
- (associative-array)
The current status of the search domain.
-
DomainId => (string)An internally generated unique identifier for a domain.
-
DomainName => (string)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).
-
ARN => (string)The Amazon Resource Name (ARN) of the search domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
-
Created => (bool)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.
-
Deleted => (bool)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.
-
DocService => (associative-array)The service endpoint for updating documents in a search domain.
-
Endpoint => (string)The endpoint to which service requests can be submitted. For example, search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com or doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com.
-
-
SearchService => (associative-array)The service endpoint for requesting search results from a search domain.
-
Endpoint => (string)The endpoint to which service requests can be submitted. For example, search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com or doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com.
-
-
RequiresIndexDocuments => (bool)True if IndexDocuments needs to be called to activate the current domain configuration.
-
Processing => (bool)True if processing is being done to activate the current domain configuration.
-
SearchInstanceType => (string)The instance type that is being used to process search requests.
-
SearchPartitionCount => (int)The number of partitions across which the search index is spread.
-
SearchInstanceCount => (int)The number of search instances that are available to process search requests.
-
Limits => (associative-array)-
MaximumReplicationCount => (int) -
MaximumPartitionCount => (int)
-
-
- (associative-array)
Executes the DescribeExpressions operation.
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
Examples
- Basic formatting example
$result = $client->describeExpressions(array( // DomainName is required 'DomainName' => 'string', 'ExpressionNames' => array('string', ... ), 'Deployed' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)The name of the domain you want to describe.
-
ExpressionNames => (array<string>)Limits the DescribeExpressions response to the specified expressions. If not specified, all expressions are shown.
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
Deployed => (bool)Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Expressions => (array<associative-array>)The expressions configured for the domain.
- (associative-array)
The value of an Expression and its current status.
-
Options => (associative-array)The expression that is evaluated for sorting while processing a search request.
-
ExpressionName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
ExpressionValue => (string)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 in the Amazon CloudSearch Developer Guide.
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
- (associative-array)
Executes the DescribeIndexFields operation.
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
Examples
- Basic formatting example
$result = $client->describeIndexFields(array( // DomainName is required 'DomainName' => 'string', 'FieldNames' => array('string', ... ), 'Deployed' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)The name of the domain you want to describe.
-
FieldNames => (array<string>)A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
-
Deployed => (bool)Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
IndexFields => (array<associative-array>)The index fields configured for the domain.
- (associative-array)
The value of an IndexField and its current status.
-
Options => (associative-array)Configuration information for a field in the index, including its name, type, and options. The supported options depend on the IndexFieldType.
-
IndexFieldName => (string)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.
-
IndexFieldType => (string)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 in the Amazon CloudSearch Developer Guide.
-
IntOptions => (associative-array)Options for a 64-bit signed integer field. Present if IndexFieldType specifies the field is of type int. All options are enabled by default.
-
DefaultValue => (int)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. -
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
DoubleOptions => (associative-array)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.
-
DefaultValue => (int)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.
-
SourceField => (string)The name of the source field to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LiteralOptions => (associative-array)Options for literal field. Present if IndexFieldType specifies the field is of type literal. All options are enabled by default.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
TextOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text field.
-
-
DateOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
LatLonOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceField => (string)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.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
SortEnabled => (bool)Whether the field can be used to sort the search results.
-
-
IntArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
DoubleArrayOptions => (associative-array)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.
-
DefaultValue => (int)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
LiteralArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
TextArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
HighlightEnabled => (bool)Whether highlights can be returned for the field.
-
AnalysisScheme => (string)The name of an analysis scheme for a text-array field.
-
-
DateArrayOptions => (associative-array)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.
-
DefaultValue => (string)A value to use for the field if the field isn't specified for a document. -
SourceFields => (string)A list of source fields to map to the field.
-
FacetEnabled => (bool)Whether facet information can be returned for the field.
-
SearchEnabled => (bool)Whether the contents of the field are searchable.
-
ReturnEnabled => (bool)Whether the contents of the field can be returned in the search results.
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
- (associative-array)
Executes the DescribeScalingParameters operation.
Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->describeScalingParameters(array( // DomainName is required 'DomainName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
ScalingParameters => (associative-array)The status and configuration of a search domain's scaling parameters.
-
Options => (associative-array)The desired instance type and desired number of replicas of each index partition.
-
DesiredInstanceType => (string)The instance type that you want to preconfigure for your domain. For example, search.m1.small.
-
DesiredReplicationCount => (int)The number of replicas you want to preconfigure for each index partition.
-
DesiredPartitionCount => (int)The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DescribeServiceAccessPolicies operation.
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
Examples
- Basic formatting example
$result = $client->describeServiceAccessPolicies(array( // DomainName is required 'DomainName' => 'string', 'Deployed' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)The name of the domain you want to describe.
-
Deployed => (bool)Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
AccessPolicies => (associative-array)The access rules configured for the domain specified in the request.
-
Options => (string)Access rules for a domain's document or search service endpoints. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide. The maximum size of a policy document is 100 KB.
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the DescribeSuggesters operation.
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
Examples
- Basic formatting example
$result = $client->describeSuggesters(array( // DomainName is required 'DomainName' => 'string', 'SuggesterNames' => array('string', ... ), 'Deployed' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)The name of the domain you want to describe.
-
SuggesterNames => (array<string>)The suggesters you want to describe.
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
Deployed => (bool)Whether to display the deployed configuration (true) or include any pending changes (false). Defaults to false.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Suggesters => (array<associative-array>)The suggesters configured for the domain specified in the request.
- (associative-array)
The value of a Suggester and its current status.
-
Options => (associative-array)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.
-
SuggesterName => (string)Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
DocumentSuggesterOptions => (associative-array)Options for a search suggester.
-
SourceField => (string)The name of the index field you want to use for suggestions.
-
FuzzyMatching => (string)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.
-
SortExpression => (string)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 231−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.
-
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
- (associative-array)
Executes the IndexDocuments operation.
Tells the search domain to start indexing its documents using the latest
indexing options. This operation must be invoked to activate options whose
OptionStatus is
Examples
- Basic formatting example
$result = $client->indexDocuments(array( // DomainName is required 'DomainName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
FieldNames => (array<string>)The names of the fields that are currently being indexed.
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.
Executes the ListDomainNames operation.
Lists all search domains owned by an account.
Examples
- Basic formatting example
$result = $client->listDomainNames(array( ));
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
DomainNames => (array<associative-array>)The names of the search domains owned by an account.
- (associative-array)
-
key => (string) -
value => (string)The Amazon CloudSearch API version for a domain: 2011-02-01 or 2013-01-01.
-
- (associative-array)
Executes the UpdateAvailabilityOptions operation.
Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->updateAvailabilityOptions(array( // DomainName is required 'DomainName' => 'string', // MultiAZ is required 'MultiAZ' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
MultiAZ => (bool)You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
AvailabilityOptions => (associative-array)The newly-configured availability options. Indicates whether Multi-AZ is enabled for the domain.
-
Options => (bool)The availability options configured for the domain.
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the UpdateScalingParameters operation.
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 in the Amazon CloudSearch Developer Guide.
Examples
- Basic formatting example
$result = $client->updateScalingParameters(array( // DomainName is required 'DomainName' => 'string', // ScalingParameters is required 'ScalingParameters' => array( 'DesiredInstanceType' => 'string', 'DesiredReplicationCount' => integer, 'DesiredPartitionCount' => integer, ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
ScalingParameters => (associative-array)The desired instance type and desired number of replicas of each index partition.
-
DesiredInstanceType => (string:search.m1.small |search.m1.large |search.m2.xlarge |search.m2.2xlarge |search.m3.medium |search.m3.large |search.m3.xlarge |search.m3.2xlarge )The instance type that you want to preconfigure for your domain. For example, search.m1.small.
-
DesiredReplicationCount => (int)The number of replicas you want to preconfigure for each index partition.
-
DesiredPartitionCount => (int)The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.
-
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
ScalingParameters => (associative-array)The status and configuration of a search domain's scaling parameters.
-
Options => (associative-array)The desired instance type and desired number of replicas of each index partition.
-
DesiredInstanceType => (string)The instance type that you want to preconfigure for your domain. For example, search.m1.small.
-
DesiredReplicationCount => (int)The number of replicas you want to preconfigure for each index partition.
-
DesiredPartitionCount => (int)The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.
-
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
Executes the UpdateServiceAccessPolicies operation.
Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain.
Examples
- Basic formatting example
$result = $client->updateServiceAccessPolicies(array( // DomainName is required 'DomainName' => 'string', // AccessPolicies is required 'AccessPolicies' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
DomainName => (string)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).
-
AccessPolicies => (string)The access rules you want to configure. These rules replace any existing rules.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
AccessPolicies => (associative-array)The access rules configured for the domain.
-
Options => (string)Access rules for a domain's document or search service endpoints. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide. The maximum size of a policy document is 100 KB.
-
Status => (associative-array)The status of domain configuration option.
-
CreationDate => (string)A timestamp for when this option was created.
-
UpdateDate => (string)A timestamp for when this option was last updated.
-
UpdateVersion => (int)A unique integer that indicates when this option was last updated.
-
State => (string)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.
-
PendingDeletion => (bool)Indicates that the option will be deleted once processing is complete.
-
-
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeAnalysisSchemesIterator( array $args = array() )
The input array uses the parameters of the DescribeAnalysisSchemes operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeDomainsIterator( array $args = array() )
The input array uses the parameters of the DescribeDomains operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeExpressionsIterator( array $args = array() )
The input array uses the parameters of the DescribeExpressions operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeIndexFieldsIterator( array $args = array() )
The input array uses the parameters of the DescribeIndexFields operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeSuggestersIterator( array $args = array() )
The input array uses the parameters of the DescribeSuggesters operation
Parameters
- $args
array
$args
Returns
Methods inherited from Aws\Common\Client\AbstractClient
__call()
,
__construct()
,
createRequest()
,
getAllEvents()
,
getApiVersion()
,
getCredentials()
,
getRegion()
,
getRegions()
,
getSignature()
,
getWaiter()
,
getWaiterFactory()
,
send()
,
setCredentials()
,
setRegion()
,
setWaiterFactory()
,
waitUntil()
Methods inherited from Guzzle\Service\Client
execute()
,
executeMultiple()
,
getCommand()
,
getCommandFactory()
,
getDescription()
,
getInflector()
,
getIterator()
,
getResourceIteratorFactory()
,
prepareCommand()
,
setCommandFactory()
,
setDescription()
,
setInflector()
,
setResourceIteratorFactory()
Methods inherited from Guzzle\Http\Client
delete()
,
expandTemplate()
,
extractPharCacert()
,
get()
,
getBaseUrl()
,
getConfig()
,
getCurlMulti()
,
getDefaultOption()
,
getDefaultUserAgent()
,
getUriTemplate()
,
head()
,
initSsl()
,
options()
,
patch()
,
post()
,
prepareRequest()
,
put()
,
sendMultiple()
,
setBaseUrl()
,
setConfig()
,
setCurlMulti()
,
setDefaultOption()
,
setRequestFactory()
,
setSslVerification()
,
setUriTemplate()
,
setUserAgent()
Methods inherited from Guzzle\Common\AbstractHasDispatcher
addSubscriber()
,
dispatch()
,
getEventDispatcher()
,
setEventDispatcher()
Magic methods summary
Constants summary
string |
LATEST_API_VERSION |
'2013-01-01' |
Constants inherited from Guzzle\Service\Client
Constants inherited from Guzzle\Http\Client
CURL_OPTIONS
,
DEFAULT_SELECT_TIMEOUT
,
DISABLE_REDIRECTS
,
MAX_HANDLES
,
REQUEST_OPTIONS
,
SSL_CERT_AUTHORITY
Constants inherited from Guzzle\Http\ClientInterface
Properties summary
Properties inherited from Aws\Common\Client\AbstractClient
$aggregator
,
$credentials
,
$signature
,
$waiterFactory
Properties inherited from Guzzle\Service\Client
$commandFactory
,
$inflector
,
$resourceIteratorFactory
,
$serviceDescription
Properties inherited from Guzzle\Http\Client
$defaultHeaders
,
$requestFactory
,
$userAgent