// Lists the search indices.
Lists the search indices.
// Lists the search indices .
func (c *Client) ListIndices(ctx context.Context, params *ListIndicesInput, optFns ...func(*Options)) (*ListIndicesOutput, error) {
	if params == nil {
		params = &ListIndicesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListIndices", params, optFns, addOperationListIndicesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListIndicesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListIndices ( ctx context . Context , params * ListIndicesInput , optFns ... func ( * Options ) ) ( * ListIndicesOutput , error ) { if params == nil { params = & ListIndicesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListIndicesMiddlewares ) if err != nil { return nil , err } out := result . ( * ListIndicesOutput ) out . ResultMetadata = metadata return out , nil }
Lists the search indices.
Lists the search indices .