Skip to content

Define Expression

cloudsearch_define_expression R Documentation

Configures an Expression for the search domain

Description

Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.

Usage

cloudsearch_define_expression(DomainName, Expression)

Arguments

DomainName

[required]

Expression

[required]

Value

A list with the following syntax:

list(
  Expression = list(
    Options = list(
      ExpressionName = "string",
      ExpressionValue = "string"
    ),
    Status = list(
      CreationDate = as.POSIXct(
        "2015-01-01"
      ),
      UpdateDate = as.POSIXct(
        "2015-01-01"
      ),
      UpdateVersion = 123,
      State = "RequiresIndexDocuments"|"Processing"|"Active"|"FailedToValidate",
      PendingDeletion = TRUE|FALSE
    )
  )
)

Request syntax

svc$define_expression(
  DomainName = "string",
  Expression = list(
    ExpressionName = "string",
    ExpressionValue = "string"
  )
)