Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IndexDocumentsCommand

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.

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);
see

IndexDocumentsCommandInput for command's input shape.

see

IndexDocumentsCommandOutput for command's response shape.

see

config for CloudSearchClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: IndexDocumentsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<IndexDocumentsCommandInput, IndexDocumentsCommandOutput>

Methods

Static getEndpointParameterInstructions