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