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.
example
Use a bare-bones client and the command you need to make an API call.
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.Use a bare-bones client and the command you need to make an API call.
import { CloudSearchClient, DefineExpressionCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import // const { CloudSearchClient, DefineExpressionCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import const client = new CloudSearchClient(config); const command = new DefineExpressionCommand(input); const response = await client.send(command);
DefineExpressionCommandInput for command's
input
shape.DefineExpressionCommandOutput for command's
response
shape.config for CloudSearchClient's
config
shape.